@mobileaction/action-kit 1.50.1 → 1.50.3-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 (475) hide show
  1. package/.vscode/settings.json +93 -0
  2. package/CHANGELOG.md +21 -0
  3. package/dist/action-kit.mjs +11 -11
  4. package/dist/{annotations-CTHR7t-5.js → annotations-CWwm4nmk.js} +285 -270
  5. package/dist/{src/components → components}/alert/index.vue.d.ts +3 -9
  6. package/dist/{src/components → components}/alert/stories/alert.stories.d.ts +1 -1
  7. package/dist/{src/components → components}/animation/index.vue.d.ts +3 -3
  8. package/dist/{src/components → components}/animation/stories/animation.stories.d.ts +1 -1
  9. package/dist/{src/components → components}/app-icon/index.vue.d.ts +4 -4
  10. package/dist/{src/components → components}/app-icon/stories/constants.d.ts +1 -2
  11. package/dist/{src/components → components}/app-icon/stories/default.stories.d.ts +2 -2
  12. package/dist/{src/components → components}/app-track-button/index.vue.d.ts +1 -1
  13. package/dist/{src/components → components}/app-track-button/stories/default.stories.d.ts +2 -2
  14. package/dist/{src/components → components}/avatar/index.vue.d.ts +2 -2
  15. package/dist/{src/components → components}/avatar/stories/default.stories.d.ts +1 -1
  16. package/dist/components/badge/index.vue.d.ts +27 -0
  17. package/dist/components/badge/stories/basic.stories.d.ts +733 -0
  18. package/dist/components/badge/stories/blue.stories.d.ts +733 -0
  19. package/dist/components/badge/stories/constants.d.ts +323 -0
  20. package/dist/components/badge/stories/dark.stories.d.ts +733 -0
  21. package/dist/components/badge/stories/green.stories.d.ts +733 -0
  22. package/dist/components/badge/stories/orange.stories.d.ts +733 -0
  23. package/dist/components/badge/stories/pink.stories.d.ts +733 -0
  24. package/dist/components/badge/stories/purple.stories.d.ts +733 -0
  25. package/dist/components/badge/stories/red.stories.d.ts +733 -0
  26. package/dist/{src/components → components}/badge/stories/status.stories.d.ts +2 -2
  27. package/dist/components/badge/stories/teal.stories.d.ts +733 -0
  28. package/dist/components/badge/stories/yellow.stories.d.ts +733 -0
  29. package/dist/{src/components → components}/button/index.vue.d.ts +8 -13
  30. package/dist/{src/components → components}/button/link-button/index.vue.d.ts +8 -13
  31. package/dist/{src/components → components}/button/link-button/stories/link.stories.d.ts +1 -1
  32. package/dist/{src/components → components}/button/social-button/index.vue.d.ts +7 -12
  33. package/dist/{src/components → components}/button/social-button/stories/social.stories.d.ts +1 -1
  34. package/dist/{src/components → components}/button/stories/filled.stories.d.ts +1 -1
  35. package/dist/{src/components → components}/button/stories/ghost.stories.d.ts +1 -1
  36. package/dist/{src/components → components}/button/stories/lighter.stories.d.ts +1 -1
  37. package/dist/{src/components → components}/button/stories/stroke.stories.d.ts +1 -1
  38. package/dist/components/button/utils.d.ts +3 -0
  39. package/dist/components/card/index.vue.d.ts +62 -0
  40. package/dist/{src/components → components}/card/stories/default.stories.d.ts +1 -1
  41. package/dist/{src/components → components}/card/stories/footer.stories.d.ts +1 -1
  42. package/dist/{src/components → components}/card/stories/header.stories.d.ts +1 -1
  43. package/dist/{src/components → components}/cascader/components/option.vue.d.ts +9 -14
  44. package/dist/{src/components → components}/cascader/components/options.vue.d.ts +15 -21
  45. package/dist/{src/components → components}/cascader/composables/useCascaderOverflow.d.ts +2 -2
  46. package/dist/components/cascader/composables/usePopoverAttributeWatcher.d.ts +6 -0
  47. package/dist/components/cascader/index.vue.d.ts +44 -0
  48. package/dist/{src/components → components}/cascader/stories/default.stories.d.ts +1713 -729
  49. package/dist/{src/components → components}/cascader/utils/index.d.ts +4 -4
  50. package/dist/{src/components → components}/chart/components/ChartLoadingContainer.vue.d.ts +12 -16
  51. package/dist/{src/components → components}/chart/components/ChartWatermarkContainer.vue.d.ts +6 -11
  52. package/dist/{src/components → components}/chart/index.vue.d.ts +2 -2
  53. package/dist/{src/components → components}/chart/stories/chart.stories.d.ts +1 -1
  54. package/dist/{src/components → components}/chart/types.d.ts +2 -2
  55. package/dist/{src/components → components}/chart/utils.d.ts +2 -2
  56. package/dist/components/checkbox/group.vue.d.ts +24 -0
  57. package/dist/components/checkbox/index.vue.d.ts +23 -0
  58. package/dist/{src/components → components}/checkbox/stories/default.stories.d.ts +1 -1
  59. package/dist/{src/components → components}/checkbox/stories/group.stories.d.ts +2 -2
  60. package/dist/{src/components → components}/checkbox/stories/indeterminate.stories.d.ts +1 -1
  61. package/dist/components/checkbox-2/card.vue.d.ts +36 -0
  62. package/dist/components/checkbox-2/group.vue.d.ts +38 -0
  63. package/dist/components/checkbox-2/index.vue.d.ts +31 -0
  64. package/dist/{src/components → components}/checkbox-2/stories/card.stories.d.ts +1 -1
  65. package/dist/{src/components → components}/checkbox-2/stories/default.stories.d.ts +2 -1
  66. package/dist/{src/components → components}/checkbox-2/stories/group.stories.d.ts +1 -1
  67. package/dist/{src/components → components}/checkbox-2/types.d.ts +1 -0
  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/{src/components → components}/notification/components/notification.vue.d.ts +2 -2
  141. package/dist/components/notification/components/notificationContainer.vue.d.ts +10 -0
  142. package/dist/{src/components → components}/notification/composables/useNotificationAnimation.d.ts +2 -2
  143. package/dist/{src/components → components}/notification/index.d.ts +1 -1
  144. package/dist/{src/components → components}/notification/stories/commonStories.d.ts +2 -2
  145. package/dist/{src/components → components}/notification/stories/filled.stories.d.ts +1 -1
  146. package/dist/{src/components → components}/notification/stories/light.stories.d.ts +1 -1
  147. package/dist/{src/components → components}/notification/stories/stroke.stories.d.ts +1 -1
  148. package/dist/{src/components → components}/notification/types.d.ts +1 -1
  149. package/dist/{src/components → components}/numeric-input/components/singleNumericInput.vue.d.ts +2 -2
  150. package/dist/{src/components → components}/numeric-input/index.vue.d.ts +3 -3
  151. package/dist/{src/components → components}/numeric-input/stories/default.stories.d.ts +2 -2
  152. package/dist/{src/components → components}/pagination/index.vue.d.ts +10 -7
  153. package/dist/{src/components → components}/pagination/stories/default.stories.d.ts +1 -1
  154. package/dist/components/pagination/types.d.ts +19 -0
  155. package/dist/{src/components → components}/popconfirm/index.vue.d.ts +19 -13
  156. package/dist/{src/components → components}/popconfirm/stories/default.stories.d.ts +1 -1
  157. package/dist/{src/components → components}/popconfirm-2/index.vue.d.ts +17 -19
  158. package/dist/{src/components → components}/popconfirm-2/stories/default.stories.d.ts +1 -1
  159. package/dist/{src/components → components}/popconfirm-2/types.d.ts +1 -1
  160. package/dist/{src/components → components}/popover/index.vue.d.ts +16 -11
  161. package/dist/{src/components → components}/popover/stories/default.stories.d.ts +1 -1
  162. package/dist/{src/components → components}/popover-2/index.vue.d.ts +12 -16
  163. package/dist/{src/components → components}/popover-2/stories/default.stories.d.ts +1 -1
  164. package/dist/{src/components → components}/progress/components/circle.vue.d.ts +8 -13
  165. package/dist/{src/components → components}/progress/components/halfCircle.vue.d.ts +8 -13
  166. package/dist/{src/components → components}/progress/components/line.vue.d.ts +9 -13
  167. package/dist/{src/components → components}/progress/components/stepLine.vue.d.ts +8 -13
  168. package/dist/components/progress/index.vue.d.ts +32 -0
  169. package/dist/{src/components → components}/progress/stories/circle.stories.d.ts +1 -1
  170. package/dist/{src/components → components}/progress/stories/half-circle.stories.d.ts +1 -1
  171. package/dist/{src/components → components}/progress/stories/line-step.stories.d.ts +1 -1
  172. package/dist/{src/components → components}/progress/stories/line.stories.d.ts +1 -1
  173. package/dist/{src/components → components}/radio/group.vue.d.ts +9 -4
  174. package/dist/components/radio/index.vue.d.ts +29 -0
  175. package/dist/{src/components → components}/radio/stories/default.stories.d.ts +1 -1
  176. package/dist/components/radio-card/index.vue.d.ts +26 -0
  177. package/dist/{src/components → components}/radio-card/stories/default.stories.d.ts +1 -1
  178. package/dist/{src/components → components}/rate/components/star.vue.d.ts +1 -1
  179. package/dist/{src/components → components}/rate/index.vue.d.ts +2 -2
  180. package/dist/{src/components → components}/rate/stories/default.stories.d.ts +1 -1
  181. package/dist/components/result/index.vue.d.ts +28 -0
  182. package/dist/{src/components → components}/result/stories/constants.d.ts +16 -14
  183. package/dist/{src/components → components}/result/stories/default.stories.d.ts +1 -1
  184. package/dist/{src/components → components}/select/components/dropdownRender.vue.d.ts +2 -2
  185. package/dist/components/select/components/option.vue.d.ts +12 -0
  186. package/dist/{src/components → components}/select/index.vue.d.ts +34 -21
  187. package/dist/{src/components → components}/select/stories/default.stories.d.ts +1 -1
  188. package/dist/{src/components → components}/select/stories/group.stories.d.ts +1 -1
  189. package/dist/{src/components → components}/select/stories/multi-select.stories.d.ts +2 -2
  190. package/dist/{src/components → components}/select/stories/single.stories.d.ts +2 -2
  191. package/dist/{src/components → components}/select-2/components/selectOption.vue.d.ts +9 -20
  192. package/dist/components/select-2/components/selectOptionGroup.vue.d.ts +15 -0
  193. package/dist/{src/components → components}/select-2/composables/use-keyboard-navigation.d.ts +3 -3
  194. package/dist/{src/components → components}/select-2/composables/use-options-registry.d.ts +2 -2
  195. package/dist/components/select-2/index.vue.d.ts +77 -0
  196. package/dist/{src/components → components}/select-2/stories/borderless.stories.d.ts +2 -2
  197. package/dist/{src/components → components}/select-2/stories/inline.stories.d.ts +2 -2
  198. package/dist/{src/components → components}/select-2/stories/multiple.stories.d.ts +2 -2
  199. package/dist/{src/components → components}/select-2/stories/select-option-group.stories.d.ts +12 -10
  200. package/dist/{src/components → components}/select-2/stories/select-option.stories.d.ts +10 -14
  201. package/dist/{src/components → components}/select-2/stories/single.stories.d.ts +2 -2
  202. package/dist/components/select-2/types.d.ts +181 -0
  203. package/dist/components/side-menu/add-new-app-button/index.vue.d.ts +21 -0
  204. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/constants.d.ts +1 -1
  205. package/dist/{src/components → components}/side-menu/add-new-app-button/stories/default.stories.d.ts +2 -2
  206. package/dist/components/side-menu/app-button/index.vue.d.ts +19 -0
  207. package/dist/{src/components → components}/side-menu/app-button/stories/default.stories.d.ts +1 -1
  208. package/dist/components/side-menu/button/index.vue.d.ts +24 -0
  209. package/dist/{src/components → components}/side-menu/button/stories/default.stories.d.ts +1 -1
  210. package/dist/components/side-menu/icon-button/index.vue.d.ts +25 -0
  211. package/dist/{src/components → components}/side-menu/icon-button/stories/default.stories.d.ts +1 -1
  212. package/dist/components/side-menu/menu-item/index.vue.d.ts +32 -0
  213. package/dist/{src/components → components}/side-menu/menu-item/stories/default.stories.d.ts +1 -1
  214. package/dist/components/side-menu/round-icon-button/index.vue.d.ts +15 -0
  215. package/dist/{src/components → components}/side-menu/round-icon-button/stories/default.stories.d.ts +1 -1
  216. package/dist/components/side-menu-2/menu-button/index.vue.d.ts +27 -0
  217. package/dist/{src/components → components}/side-menu-2/menu-button/stories/default.stories.d.ts +1 -1
  218. package/dist/components/side-menu-2/menu-item/index.vue.d.ts +20 -0
  219. package/dist/{src/components → components}/side-menu-2/menu-item/stories/default.stories.d.ts +1 -1
  220. package/dist/{src/components → components}/slider/index.vue.d.ts +14 -11
  221. package/dist/{src/components → components}/slider/stories/default.stories.d.ts +1 -1
  222. package/dist/components/spin/index.vue.d.ts +27 -0
  223. package/dist/{src/components → components}/spin/stories/container.stories.d.ts +1 -1
  224. package/dist/{src/components → components}/spin/stories/default.stories.d.ts +1 -1
  225. package/dist/{src/components → components}/step-items/components/index.vue.d.ts +13 -16
  226. package/dist/{src/components → components}/step-items/index.vue.d.ts +8 -5
  227. package/dist/{src/components → components}/step-items/stories/default.stories.d.ts +1 -1
  228. package/dist/{src/components → components}/step-items/stories/step-item.stories.d.ts +1 -1
  229. package/dist/{src/components → components}/steps/components/index.vue.d.ts +8 -14
  230. package/dist/{src/components → components}/steps/index.vue.d.ts +10 -7
  231. package/dist/{src/components → components}/steps/stories/constants.d.ts +1 -1
  232. package/dist/{src/components → components}/steps/stories/default.stories.d.ts +1 -1
  233. package/dist/{src/components → components}/steps/stories/step.stories.d.ts +1 -1
  234. package/dist/{src/components → components}/switch/index.vue.d.ts +13 -10
  235. package/dist/{src/components → components}/switch/stories/default.stories.d.ts +2 -2
  236. package/dist/{src/components → components}/table/preview.vue.d.ts +1 -1
  237. package/dist/{src/components → components}/table/row-detail.vue.d.ts +1 -1
  238. package/dist/{src/components → components}/table/stories/default.stories.d.ts +1 -1
  239. package/dist/components/tabs/components/tabPane.vue.d.ts +12 -0
  240. package/dist/{src/components → components}/tabs/index.vue.d.ts +9 -4
  241. package/dist/{src/components → components}/tabs/stories/card.stories.d.ts +1 -1
  242. package/dist/{src/components → components}/tabs/stories/line.stories.d.ts +1 -1
  243. package/dist/{src/components → components}/tabs-2/components/tabButton.vue.d.ts +9 -13
  244. package/dist/components/tabs-2/components/tabPane.vue.d.ts +21 -0
  245. package/dist/{src/components → components}/tabs-2/index.vue.d.ts +7 -12
  246. package/dist/{src/components → components}/tabs-2/stories/default.stories.d.ts +22 -22
  247. package/dist/{src/components → components}/tabs-2/stories/tab-button.stories.d.ts +37 -30
  248. package/dist/{src/components → components}/tabs-2/stories/tab-pane.stories.d.ts +6 -9
  249. package/dist/{src/components → components}/tabs-2/types.d.ts +30 -30
  250. package/dist/{src/components → components}/tag-input/index.vue.d.ts +12 -8
  251. package/dist/{src/components → components}/tag-input/stories/default.stories.d.ts +1 -1
  252. package/dist/{src/components → components}/toggle/index.vue.d.ts +2 -2
  253. package/dist/{src/components → components}/toggle/stories/default.stories.d.ts +1 -1
  254. package/dist/components/tooltip/index.vue.d.ts +40 -0
  255. package/dist/{src/components → components}/tooltip/stories/default.stories.d.ts +1 -1
  256. package/dist/{src/components → components}/tooltip-2/index.vue.d.ts +18 -20
  257. package/dist/{src/components → components}/tooltip-2/stories/default.stories.d.ts +1 -1
  258. package/dist/{src/components → components}/tooltip-2/types.d.ts +1 -1
  259. package/dist/{src/components → components}/track-button/index.vue.d.ts +7 -12
  260. package/dist/{src/components → components}/track-button/stories/default.stories.d.ts +1 -1
  261. package/dist/components/tree/components/treeNode.vue.d.ts +86 -0
  262. package/dist/{src/components → components}/tree/index.vue.d.ts +44 -34
  263. package/dist/{src/components → components}/tree/stories/default.stories.d.ts +1 -1
  264. package/dist/{src/components → components}/tree/stories/useTreeData.d.ts +2 -2
  265. package/dist/components/typography/index.vue.d.ts +22 -0
  266. package/dist/{src/components → components}/typography/stories/default.stories.d.ts +1 -1
  267. package/dist/components/upload/composables/file.d.ts +7 -0
  268. package/dist/{src/components → components}/upload/index.vue.d.ts +14 -20
  269. package/dist/{src/components → components}/upload/singleFile.vue.d.ts +2 -2
  270. package/dist/{src/components → components}/upload/stories/box.stories.d.ts +1 -1
  271. package/dist/{src/components → components}/upload/stories/button.stories.d.ts +1 -1
  272. package/dist/{src/components → components}/upload/stories/small-box.stories.d.ts +1 -1
  273. package/dist/{src/components → components}/watchlist-button/components/button.vue.d.ts +7 -12
  274. package/dist/components/watchlist-button/index.vue.d.ts +38 -0
  275. package/dist/{src/components → components}/watchlist-button/stories/dashed.stories.d.ts +1 -1
  276. package/dist/{src/components → components}/watchlist-button/stories/default.stories.d.ts +1 -1
  277. package/dist/composables/ssr.d.ts +4 -0
  278. package/dist/export-data-CHLtCPKw.js +327 -0
  279. package/dist/exporting-SxR9gG1N.js +535 -0
  280. package/dist/index-Pkisqyzc.js +21240 -0
  281. package/dist/like-dislike-CHlo8ZOK.js +41 -0
  282. package/dist/like-dislike-QQeH_i2r.js +10 -0
  283. package/dist/{map-DbmnARB-.js → map-DNmKKOCy.js} +142 -131
  284. package/dist/offline-exporting-D5oDbA8l.js +192 -0
  285. package/dist/{stock-KH3UUncR.js → stock-LrgFv6CV.js} +569 -543
  286. package/dist/style.css +1 -1
  287. package/dist/table.css +20 -9
  288. package/dist/{src/utils → utils}/breakpoints.d.ts +7 -7
  289. package/dist/{src/utils → utils}/slots.d.ts +1 -1
  290. package/dist/{venn-ClaI9bvv.js → venn-rWBj7Y1S.js} +11 -1
  291. package/dist/wordcloud-tAa60GDl.js +235 -0
  292. package/package.json +67 -67
  293. package/dist/export-data-CIA_-R0D.js +0 -292
  294. package/dist/exporting-DEpW6N5L.js +0 -385
  295. package/dist/index-DYOJoVZ1.js +0 -21107
  296. package/dist/offline-exporting-CtSYO9HP.js +0 -578
  297. package/dist/src/components/badge/index.vue.d.ts +0 -24
  298. package/dist/src/components/badge/stories/basic.stories.d.ts +0 -12
  299. package/dist/src/components/badge/stories/blue.stories.d.ts +0 -13
  300. package/dist/src/components/badge/stories/constants.d.ts +0 -5
  301. package/dist/src/components/badge/stories/dark.stories.d.ts +0 -13
  302. package/dist/src/components/badge/stories/green.stories.d.ts +0 -13
  303. package/dist/src/components/badge/stories/orange.stories.d.ts +0 -13
  304. package/dist/src/components/badge/stories/pink.stories.d.ts +0 -13
  305. package/dist/src/components/badge/stories/purple.stories.d.ts +0 -13
  306. package/dist/src/components/badge/stories/red.stories.d.ts +0 -13
  307. package/dist/src/components/badge/stories/teal.stories.d.ts +0 -13
  308. package/dist/src/components/badge/stories/yellow.stories.d.ts +0 -13
  309. package/dist/src/components/button/utils.d.ts +0 -3
  310. package/dist/src/components/card/index.vue.d.ts +0 -49
  311. package/dist/src/components/cascader/composables/usePopoverAttributeWatcher.d.ts +0 -6
  312. package/dist/src/components/cascader/index.vue.d.ts +0 -145
  313. package/dist/src/components/checkbox/group.vue.d.ts +0 -19
  314. package/dist/src/components/checkbox/index.vue.d.ts +0 -18
  315. package/dist/src/components/checkbox-2/card.vue.d.ts +0 -59
  316. package/dist/src/components/checkbox-2/group.vue.d.ts +0 -42
  317. package/dist/src/components/checkbox-2/index.vue.d.ts +0 -48
  318. package/dist/src/components/collapse/components/CollapseContent.vue.d.ts +0 -17
  319. package/dist/src/components/collapse/components/CollapseHeader.vue.d.ts +0 -21
  320. package/dist/src/components/country-select/components/multiCountrySelect.vue.d.ts +0 -37
  321. package/dist/src/components/country-select/components/singleCountrySelect.vue.d.ts +0 -34
  322. package/dist/src/components/date-picker-2/index.vue.d.ts +0 -147
  323. package/dist/src/components/ellipsis/index.vue.d.ts +0 -13
  324. package/dist/src/components/empty/index.vue.d.ts +0 -26
  325. package/dist/src/components/form-item/index.vue.d.ts +0 -7
  326. package/dist/src/components/icon-button/index.vue.d.ts +0 -36
  327. package/dist/src/components/image/group.vue.d.ts +0 -35
  328. package/dist/src/components/image/index.vue.d.ts +0 -21
  329. package/dist/src/components/image-2/group.vue.d.ts +0 -26
  330. package/dist/src/components/notification/components/notificationContainer.vue.d.ts +0 -7
  331. package/dist/src/components/pagination/types.d.ts +0 -19
  332. package/dist/src/components/progress/index.vue.d.ts +0 -29
  333. package/dist/src/components/radio/index.vue.d.ts +0 -24
  334. package/dist/src/components/radio-card/index.vue.d.ts +0 -21
  335. package/dist/src/components/result/index.vue.d.ts +0 -23
  336. package/dist/src/components/select/components/option.vue.d.ts +0 -7
  337. package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
  338. package/dist/src/components/select-2/index.vue.d.ts +0 -332
  339. package/dist/src/components/select-2/types.d.ts +0 -181
  340. package/dist/src/components/side-menu/add-new-app-button/index.vue.d.ts +0 -18
  341. package/dist/src/components/side-menu/app-button/index.vue.d.ts +0 -16
  342. package/dist/src/components/side-menu/button/index.vue.d.ts +0 -21
  343. package/dist/src/components/side-menu/icon-button/index.vue.d.ts +0 -21
  344. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +0 -29
  345. package/dist/src/components/side-menu/round-icon-button/index.vue.d.ts +0 -12
  346. package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +0 -24
  347. package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +0 -17
  348. package/dist/src/components/spin/index.vue.d.ts +0 -22
  349. package/dist/src/components/tabs/components/tabPane.vue.d.ts +0 -15
  350. package/dist/src/components/tabs-2/components/tabPane.vue.d.ts +0 -36
  351. package/dist/src/components/tooltip/index.vue.d.ts +0 -34
  352. package/dist/src/components/tree/components/treeNode.vue.d.ts +0 -78
  353. package/dist/src/components/typography/index.vue.d.ts +0 -19
  354. package/dist/src/components/upload/composables/file.d.ts +0 -7
  355. package/dist/src/components/watchlist-button/index.vue.d.ts +0 -33
  356. package/dist/src/composables/ssr.d.ts +0 -4
  357. package/dist/wordcloud-5sGoIEcj.js +0 -222
  358. package/dist/{src/components → components}/alert/alert.test.d.ts +0 -0
  359. package/dist/{src/components → components}/alert/types.d.ts +0 -0
  360. package/dist/{src/components → components}/animation/stories/constants.d.ts +0 -0
  361. package/dist/{src/components → components}/animation/types.d.ts +0 -0
  362. package/dist/{src/components → components}/app-icon/types.d.ts +0 -0
  363. package/dist/{src/components → components}/app-track-button/stories/constants.d.ts +0 -0
  364. package/dist/{src/components → components}/avatar/avatar.test.d.ts +0 -0
  365. package/dist/{src/components → components}/avatar/types.d.ts +0 -0
  366. package/dist/{src/components → components}/badge/badge.test.d.ts +0 -0
  367. package/dist/{src/components → components}/badge/types.d.ts +0 -0
  368. package/dist/{src/components → components}/button/button.test.d.ts +0 -0
  369. package/dist/{src/components → components}/button/link-button/types.d.ts +0 -0
  370. package/dist/{src/components → components}/button/social-button/types.d.ts +0 -0
  371. package/dist/{src/components → components}/button/stories/constants.d.ts +0 -0
  372. package/dist/{src/components → components}/button/types.d.ts +0 -0
  373. package/dist/{src/components → components}/card/stories/constants.d.ts +0 -0
  374. package/dist/{src/components → components}/card/types.d.ts +0 -0
  375. package/dist/{src/components → components}/cascader/cascader.test.d.ts +0 -0
  376. package/dist/{src/components → components}/cascader/types.d.ts +0 -0
  377. package/dist/{src/components → components}/cascader/utils/index.test.d.ts +0 -0
  378. package/dist/{src/components → components}/chart/chart.test.d.ts +0 -0
  379. package/dist/{src/components → components}/checkbox/stories/constants.d.ts +0 -0
  380. package/dist/{src/components → components}/checkbox/types.d.ts +0 -0
  381. package/dist/{src/components → components}/checkbox-2/checkbox-2.test.d.ts +0 -0
  382. package/dist/{src/components → components}/checkbox-2/composables/useCheckbox.d.ts +0 -0
  383. package/dist/{src/components → components}/collapse/collapse.test.d.ts +0 -0
  384. package/dist/{src/components → components}/collapse/types.d.ts +0 -0
  385. package/dist/{src/components → components}/content-scroller/types.d.ts +0 -0
  386. package/dist/{src/components → components}/country-select/types.d.ts +0 -0
  387. package/dist/{src/components → components}/date-picker/stories/constants.d.ts +0 -0
  388. package/dist/{src/components → components}/date-picker/types.d.ts +0 -0
  389. package/dist/{src/components → components}/date-picker-2/date-picker.test.d.ts +0 -0
  390. package/dist/{src/components → components}/date-picker-2/stories/constants.d.ts +0 -0
  391. package/dist/{src/components → components}/drawer/drawer.test.d.ts +0 -0
  392. package/dist/{src/components → components}/dropdown/stories/constants.d.ts +0 -0
  393. package/dist/{src/components → components}/dropdown/types.d.ts +0 -0
  394. package/dist/{src/components → components}/ellipsis/stories/constants.d.ts +0 -0
  395. package/dist/{src/components → components}/empty/stories/constants.d.ts +0 -0
  396. package/dist/{src/components → components}/empty/types.d.ts +0 -0
  397. package/dist/{src/components → components}/form/components/nonHSFormsIgnore.vue.d.ts +0 -0
  398. package/dist/{src/components → components}/form/stories/constants.d.ts +0 -0
  399. package/dist/{src/components → components}/form/types.d.ts +0 -0
  400. package/dist/{src/components → components}/icon/icon.test.d.ts +0 -0
  401. package/dist/{src/components → components}/icon/types.d.ts +0 -0
  402. package/dist/{src/components → components}/icon/utils.d.ts +0 -0
  403. package/dist/{src/components → components}/icon-button/stories/constants.d.ts +0 -0
  404. package/dist/{src/components → components}/icon-button/types.d.ts +0 -0
  405. package/dist/{src/components → components}/image/stories/constants.d.ts +0 -0
  406. package/dist/{src/components → components}/image-2/image2.test.d.ts +0 -0
  407. package/dist/{src/components → components}/image-2/preview.vue.d.ts +0 -0
  408. package/dist/{src/components → components}/modal/index.d.ts +0 -0
  409. package/dist/{src/components → components}/modal/stories/constants.d.ts +0 -0
  410. package/dist/{src/components → components}/notification/notification.test.d.ts +0 -0
  411. package/dist/{src/components → components}/notification/stories/constants.d.ts +0 -0
  412. package/dist/{src/components → components}/numeric-input/stories/constants.d.ts +0 -0
  413. package/dist/{src/components → components}/numeric-input/types.d.ts +0 -0
  414. package/dist/{src/components → components}/pagination/pagination.test.d.ts +0 -0
  415. package/dist/{src/components → components}/popconfirm/types.d.ts +0 -0
  416. package/dist/{src/components → components}/popconfirm-2/popconfirm2.test.d.ts +0 -0
  417. package/dist/{src/components → components}/popover/stories/constants.d.ts +0 -0
  418. package/dist/{src/components → components}/popover/types.d.ts +0 -0
  419. package/dist/{src/components → components}/popover-2/popover2.test.d.ts +0 -0
  420. package/dist/{src/components → components}/popover-2/types.d.ts +0 -0
  421. package/dist/{src/components → components}/progress/stories/constants.d.ts +0 -0
  422. package/dist/{src/components → components}/progress/types.d.ts +0 -0
  423. package/dist/{src/components → components}/radio/types.d.ts +0 -0
  424. package/dist/{src/components → components}/rate/types.d.ts +0 -0
  425. package/dist/{src/components → components}/result/types.d.ts +0 -0
  426. package/dist/{src/components → components}/select/components/optionCheckbox.vue.d.ts +0 -0
  427. package/dist/{src/components → components}/select/stories/constants.d.ts +0 -0
  428. package/dist/{src/components → components}/select/types.d.ts +0 -0
  429. package/dist/{src/components → components}/select-2/select.test.d.ts +0 -0
  430. package/dist/{src/components → components}/select-2/stories/constants.d.ts +0 -0
  431. package/dist/{src/components → components}/side-menu/app-button/stories/constants.d.ts +0 -0
  432. package/dist/{src/components → components}/side-menu/button/stories/constants.d.ts +0 -0
  433. package/dist/{src/components → components}/side-menu/icon-button/stories/constants.d.ts +0 -0
  434. package/dist/{src/components → components}/side-menu/menu-item/stories/constants.d.ts +0 -0
  435. package/dist/{src/components → components}/side-menu/menu-item/types.d.ts +0 -0
  436. package/dist/{src/components → components}/side-menu/round-icon-button/stories/constants.d.ts +0 -0
  437. package/dist/{src/components → components}/side-menu-2/menu-button/types.d.ts +0 -0
  438. package/dist/{src/components → components}/side-menu-2/menu-item/stories/constants.d.ts +0 -0
  439. package/dist/{src/components → components}/side-menu-2/side-menu-2.test.d.ts +0 -0
  440. package/dist/{src/components → components}/slider/types.d.ts +0 -0
  441. package/dist/{src/components → components}/spin/stories/constants.d.ts +0 -0
  442. package/dist/{src/components → components}/spin/types.d.ts +0 -0
  443. package/dist/{src/components → components}/steps/types.d.ts +0 -0
  444. package/dist/{src/components → components}/switch/stories/constants.d.ts +0 -0
  445. package/dist/{src/components → components}/switch/switch.test.d.ts +0 -0
  446. package/dist/{src/components → components}/switch/types.d.ts +0 -0
  447. package/dist/{src/components → components}/table/stories/data/fields.d.ts +0 -0
  448. package/dist/{src/components → components}/tabs/stories/constants.d.ts +0 -0
  449. package/dist/{src/components → components}/tabs/types.d.ts +0 -0
  450. package/dist/{src/components → components}/tabs-2/tabButton.test.d.ts +0 -0
  451. package/dist/{src/components → components}/tabs-2/tabs.test.d.ts +0 -0
  452. package/dist/{src/components → components}/tag-input/stories/constants.d.ts +0 -0
  453. package/dist/{src/components → components}/tag-input/types.d.ts +0 -0
  454. package/dist/{src/components → components}/toggle/types.d.ts +0 -0
  455. package/dist/{src/components → components}/tooltip/stories/constants.d.ts +0 -0
  456. package/dist/{src/components → components}/tooltip/tooltip.test.d.ts +0 -0
  457. package/dist/{src/components → components}/tooltip/types.d.ts +0 -0
  458. package/dist/{src/components → components}/tooltip-2/tooltip2.test.d.ts +0 -0
  459. package/dist/{src/components → components}/track-button/stories/constants.d.ts +0 -0
  460. package/dist/{src/components → components}/track-button/track-button.test.d.ts +0 -0
  461. package/dist/{src/components → components}/track-button/types.d.ts +0 -0
  462. package/dist/{src/components → components}/tree/stories/constants.d.ts +0 -0
  463. package/dist/{src/components → components}/tree/tree.test.d.ts +0 -0
  464. package/dist/{src/components → components}/tree/types.d.ts +0 -0
  465. package/dist/{src/components → components}/typography/stories/constants.d.ts +0 -0
  466. package/dist/{src/components → components}/typography/types.d.ts +0 -0
  467. package/dist/{src/components → components}/typography/typography.test.d.ts +0 -0
  468. package/dist/{src/components → components}/upload/stories/constants.d.ts +0 -0
  469. package/dist/{src/components → components}/upload/types.d.ts +0 -0
  470. package/dist/{src/components → components}/watchlist-button/stories/constants.d.ts +0 -0
  471. package/dist/{src/components → components}/watchlist-button/types.d.ts +0 -0
  472. package/dist/{src/composables → composables}/config.d.ts +0 -0
  473. package/dist/{src/index.d.ts → index.d.ts} +103 -103
  474. /package/dist/{src/services → services}/config.d.ts +0 -0
  475. /package/dist/{src/utils → utils}/breakpoints.test.d.ts +0 -0
@@ -1,40 +1,51 @@
1
- import { g as Ze } from "./index-DYOJoVZ1.js";
2
- function _e(U, Z) {
3
- for (var E = 0; E < Z.length; E++) {
4
- const B = Z[E];
1
+ import { g as ts } from "./index-Pkisqyzc.js";
2
+ function is(W, Z) {
3
+ for (var C = 0; C < Z.length; C++) {
4
+ const B = Z[C];
5
5
  if (typeof B != "string" && !Array.isArray(B)) {
6
6
  for (const I in B)
7
- if (I !== "default" && !(I in U)) {
8
- const W = Object.getOwnPropertyDescriptor(B, I);
9
- W && Object.defineProperty(U, I, W.get ? W : {
7
+ if (I !== "default" && !(I in W)) {
8
+ const j = Object.getOwnPropertyDescriptor(B, I);
9
+ j && Object.defineProperty(W, I, j.get ? j : {
10
10
  enumerable: !0,
11
11
  get: () => B[I]
12
12
  });
13
13
  }
14
14
  }
15
15
  }
16
- return Object.freeze(Object.defineProperty(U, Symbol.toStringTag, { value: "Module" }));
16
+ return Object.freeze(Object.defineProperty(W, Symbol.toStringTag, { value: "Module" }));
17
17
  }
18
- var $ = { exports: {} }, Je = $.exports, ui;
19
- function Qe() {
20
- return ui || (ui = 1, function(U, Z) {
21
- (function(E, B) {
22
- U.exports = B(E._Highcharts, E._Highcharts.SeriesRegistry, E._Highcharts.Templating, E._Highcharts.AST);
23
- })(typeof window > "u" ? Je : window, (E, B, I, W) => (() => {
24
- var _, J, Q, tt, fi = { 512: (o) => {
18
+ var $ = { exports: {} }, es = $.exports, fi;
19
+ function ss() {
20
+ return fi || (fi = 1, function(W, Z) {
21
+ /**
22
+ * Highcharts JS v12.3.0 (2025-06-21)
23
+ * @module highcharts/modules/annotations
24
+ * @requires highcharts
25
+ *
26
+ * Annotations module
27
+ *
28
+ * (c) 2009-2025 Torstein Honsi
29
+ *
30
+ * License: www.highcharts.com/license
31
+ */
32
+ (function(C, B) {
33
+ W.exports = B(C._Highcharts, C._Highcharts.SeriesRegistry, C._Highcharts.Templating, C._Highcharts.AST);
34
+ })(typeof window > "u" ? es : window, (C, B, I, j) => (() => {
35
+ var _, J, Q, tt, xi = { 512: (o) => {
25
36
  o.exports = B;
26
37
  }, 660: (o) => {
27
- o.exports = W;
38
+ o.exports = j;
28
39
  }, 944: (o) => {
29
- o.exports = E;
40
+ o.exports = C;
30
41
  }, 984: (o) => {
31
42
  o.exports = I;
32
- } }, ft = {};
43
+ } }, mt = {};
33
44
  function A(o) {
34
- var t = ft[o];
45
+ var t = mt[o];
35
46
  if (t !== void 0) return t.exports;
36
- var i = ft[o] = { exports: {} };
37
- return fi[o](i, i.exports, A), i.exports;
47
+ var i = mt[o] = { exports: {} };
48
+ return xi[o](i, i.exports, A), i.exports;
38
49
  }
39
50
  A.n = (o) => {
40
51
  var t = o && o.__esModule ? () => o.default : () => o;
@@ -42,15 +53,15 @@ function Qe() {
42
53
  }, A.d = (o, t) => {
43
54
  for (var i in t) A.o(t, i) && !A.o(o, i) && Object.defineProperty(o, i, { enumerable: !0, get: t[i] });
44
55
  }, A.o = (o, t) => Object.prototype.hasOwnProperty.call(o, t);
45
- var mt = {};
46
- A.d(mt, { default: () => $e });
47
- var mi = A(944), x = A.n(mi);
48
- let { addEvent: H, erase: xt, find: xi, fireEvent: yi, pick: vi, wrap: bi } = x();
49
- function yt(o, t) {
56
+ var xt = {};
57
+ A.d(xt, { default: () => Qe });
58
+ var yi = A(944), x = A.n(yi);
59
+ let { addEvent: H, erase: yt, find: vi, fireEvent: bi, isArray: Ai, isObject: vt, pick: ki, wrap: wi } = x();
60
+ function bt(o, t) {
50
61
  let i = this.initAnnotation(o);
51
- return this.options.annotations.push(i.options), vi(t, !0) && (i.redraw(), i.graphic.attr({ opacity: 1 })), i;
62
+ return this.options.annotations.push(i.options), ki(t, !0) && (i.redraw(), i.graphic.attr({ opacity: 1 })), i;
52
63
  }
53
- function Ai() {
64
+ function Ci() {
54
65
  let o = this;
55
66
  o.plotBoxClip = this.renderer.clipRect(this.plotBox), o.controlPointsGroup = o.renderer.g("control-points").attr({ zIndex: 99 }).clip(o.plotBoxClip).add(), o.options.annotations.forEach((t, i) => {
56
67
  if (!o.annotations.some((e) => e.options === t)) {
@@ -97,43 +108,46 @@ function Qe() {
97
108
  }
98
109
  });
99
110
  }
100
- function ki() {
111
+ function Ei() {
101
112
  this.plotBoxClip.attr(this.plotBox), this.annotations.forEach((o) => {
102
113
  o.redraw(), o.graphic.animate({ opacity: 1 }, o.animationConfig);
103
114
  });
104
115
  }
105
- function wi(o) {
106
- let t = this.annotations, i = o.coll === "annotations" ? o : xi(t, function(e) {
116
+ function Pi(o) {
117
+ let t = this.annotations, i = o.coll === "annotations" ? o : vi(t, function(e) {
107
118
  return e.options.id === o;
108
119
  });
109
- i && (yi(i, "remove"), xt(this.options.annotations, i.options), xt(t, i), i.destroy());
120
+ i && (bi(i, "remove"), yt(this.options.annotations, i.options), yt(t, i), i.destroy());
110
121
  }
111
- function Ei() {
112
- this.annotations = [], this.options.annotations || (this.options.annotations = []);
122
+ function Oi() {
123
+ let o = this.options.annotations, t = this.userOptions.annotations;
124
+ this.annotations = [], Ai(this.options.annotations) || (this.options.annotations = []), vt(t, !0) && vt(o, !0) && this.options.annotations.push(o);
113
125
  }
114
- function Pi(o) {
126
+ function Bi(o) {
115
127
  this.chart.hasDraggedAnnotation || o.apply(this, Array.prototype.slice.call(arguments, 1));
116
128
  }
117
129
  (_ || (_ = {})).compose = function(o, t, i) {
118
130
  let e = t.prototype;
119
131
  if (!e.addAnnotation) {
120
132
  let s = i.prototype;
121
- H(t, "afterInit", Ei), e.addAnnotation = yt, e.callbacks.push(Ai), e.collectionsWithInit.annotations = [yt], e.collectionsWithUpdate.push("annotations"), e.drawAnnotations = ki, e.removeAnnotation = wi, e.initAnnotation = function(n) {
133
+ H(t, "afterInit", Oi), e.addAnnotation = bt, e.callbacks.push(Ci), e.collectionsWithInit.annotations = [bt], e.collectionsWithUpdate.push("annotations"), e.drawAnnotations = Ei, e.removeAnnotation = Pi, e.initAnnotation = function(n) {
122
134
  let a = new (o.types[n.type] || o)(this, n);
123
135
  return this.annotations.push(a), a;
124
- }, bi(s, "onContainerMouseDown", Pi);
136
+ }, wi(s, "onContainerMouseDown", Bi);
125
137
  }
126
138
  };
127
- let Ci = _, { defined: Oi } = x(), { doc: vt, isTouchDevice: j } = x(), { addEvent: S, fireEvent: it, objectEach: Bi, pick: bt, removeEvent: Mi } = x(), At = class {
139
+ let Ni = _, { defined: Mi } = x(), At = { visible: !0, animation: {}, crop: !0, draggable: "xy", labelOptions: { align: "center", allowOverlap: !1, backgroundColor: "rgba(0, 0, 0, 0.75)", borderColor: "#000000", borderRadius: 3, borderWidth: 1, className: "highcharts-no-tooltip", crop: !1, formatter: function() {
140
+ return Mi(this.y) ? "" + this.y : "Annotation label";
141
+ }, includeInDataExport: !0, overflow: "justify", padding: 5, shadow: !1, shape: "callout", style: { fontSize: "0.7em", fontWeight: "normal", color: "contrast" }, useHTML: !1, verticalAlign: "bottom", x: 0, y: -16 }, shapeOptions: { stroke: "rgba(0, 0, 0, 0.75)", strokeWidth: 1, fill: "rgba(0, 0, 0, 0.75)", r: 0, snap: 2 }, controlPointOptions: { events: {}, style: { cursor: "pointer", fill: "#ffffff", stroke: "#000000", "stroke-width": 2 }, height: 10, symbol: "circle", visible: !1, width: 10 }, events: {}, types: {}, zIndex: 6 }, { doc: kt, isTouchDevice: q } = x(), { addEvent: S, fireEvent: it, objectEach: Ti, pick: wt, removeEvent: Di } = x(), Ct = class {
128
142
  addEvents() {
129
143
  let o = this, t = function(i) {
130
- S(i, j ? "touchstart" : "mousedown", (e) => {
144
+ S(i, q ? "touchstart" : "mousedown", (e) => {
131
145
  o.onMouseDown(e);
132
146
  }, { passive: !1 });
133
147
  };
134
148
  if (t(this.graphic.element), (o.labels || []).forEach((i) => {
135
149
  i.options.useHTML && i.graphic.text && !i.graphic.text.foreignObject && t(i.graphic.text.element);
136
- }), Bi(o.options.events, (i, e) => {
150
+ }), Ti(o.options.events, (i, e) => {
137
151
  let s = function(n) {
138
152
  e === "click" && o.cancelClick || i.call(o, o.chart.pointer?.normalize(n), o.target);
139
153
  };
@@ -147,7 +161,7 @@ function Qe() {
147
161
  o.isUpdating || it(o, "add");
148
162
  }
149
163
  destroy() {
150
- this.removeDocEvents(), Mi(this), this.hcEvents = null;
164
+ this.removeDocEvents(), Di(this), this.hcEvents = null;
151
165
  }
152
166
  mouseMoveToRadians(o, t, i) {
153
167
  let e = o.prevChartY - i, s = o.prevChartX - t, n = o.chartY - i, a = o.chartX - t, r;
@@ -174,12 +188,12 @@ function Qe() {
174
188
  onMouseDown(o) {
175
189
  if (o.preventDefault && o.preventDefault(), o.button === 2) return;
176
190
  let t = this, i = t.chart.pointer, e = o?.sourceCapabilities?.firesTouchEvents || !1, s = (o = i?.normalize(o) || o).chartX, n = o.chartY;
177
- t.cancelClick = !1, t.chart.hasDraggedAnnotation = !0, t.removeDrag = S(vt, j || e ? "touchmove" : "mousemove", function(a) {
191
+ t.cancelClick = !1, t.chart.hasDraggedAnnotation = !0, t.removeDrag = S(kt, q || e ? "touchmove" : "mousemove", function(a) {
178
192
  t.hasDragged = !0, (a = i?.normalize(a) || a).prevChartX = s, a.prevChartY = n, it(t, "drag", a), s = a.chartX, n = a.chartY;
179
- }, j || e ? { passive: !1 } : void 0), t.removeMouseUp = S(vt, j || e ? "touchend" : "mouseup", function() {
180
- let a = bt(t.target && t.target.annotation, t.target);
181
- a && (a.cancelClick = t.hasDragged), t.cancelClick = t.hasDragged, t.chart.hasDraggedAnnotation = !1, t.hasDragged && it(bt(a, t), "afterUpdate"), t.hasDragged = !1, t.onMouseUp();
182
- }, j || e ? { passive: !1 } : void 0);
193
+ }, q || e ? { passive: !1 } : void 0), t.removeMouseUp = S(kt, q || e ? "touchend" : "mouseup", function() {
194
+ let a = wt(t.target && t.target.annotation, t.target);
195
+ a && (a.cancelClick = t.hasDragged), t.cancelClick = t.hasDragged, t.chart.hasDraggedAnnotation = !1, t.hasDragged && it(wt(a, t), "afterUpdate"), t.hasDragged = !1, t.onMouseUp();
196
+ }, q || e ? { passive: !1 } : void 0);
183
197
  }
184
198
  onMouseUp() {
185
199
  this.removeDocEvents();
@@ -187,9 +201,9 @@ function Qe() {
187
201
  removeDocEvents() {
188
202
  this.removeDrag && (this.removeDrag = this.removeDrag()), this.removeMouseUp && (this.removeMouseUp = this.removeMouseUp());
189
203
  }
190
- }, { merge: Ni, pick: Ti } = x(), kt = class extends At {
204
+ }, { merge: Ii, pick: Si } = x(), Et = class extends Ct {
191
205
  constructor(o, t, i, e) {
192
- super(), this.nonDOMEvents = ["drag"], this.chart = o, this.target = t, this.options = i, this.index = Ti(i.index, e);
206
+ super(), this.nonDOMEvents = ["drag"], this.chart = o, this.target = t, this.options = i, this.index = Si(i.index, e);
193
207
  }
194
208
  destroy() {
195
209
  super.destroy(), this.graphic && (this.graphic = this.graphic.destroy()), this.chart = null, this.target = null, this.options = null;
@@ -205,12 +219,12 @@ function Qe() {
205
219
  this.graphic[o ? "show" : "hide"](), this.options.visible = o;
206
220
  }
207
221
  update(o) {
208
- let t = this.chart, i = this.target, e = this.index, s = Ni(!0, this.options, o);
222
+ let t = this.chart, i = this.target, e = this.index, s = Ii(!0, this.options, o);
209
223
  this.destroy(), this.constructor(t, i, s, e), this.render(t.controlPointsGroup), this.redraw();
210
224
  }
211
225
  };
212
- var Di = A(512), wt = A.n(Di);
213
- let { series: { prototype: Li } } = wt(), { defined: et, fireEvent: Ii } = x();
226
+ var Yi = A(512), Pt = A.n(Yi);
227
+ let { series: { prototype: Li } } = Pt(), { defined: et, fireEvent: Xi } = x();
214
228
  class Y {
215
229
  static fromPoint(t) {
216
230
  return new Y(t.series.chart, null, { x: t.x, y: t.y, xAxis: t.series.xAxis, yAxis: t.series.yAxis });
@@ -236,7 +250,7 @@ function Qe() {
236
250
  }
237
251
  isInsidePlot() {
238
252
  let t = this.plotX, i = this.plotY, e = this.series.xAxis, s = this.series.yAxis, n = { x: t, y: i, isInsidePlot: !0, options: {} };
239
- return e && (n.isInsidePlot = et(t) && t >= 0 && t <= e.len), s && (n.isInsidePlot = n.isInsidePlot && et(i) && i >= 0 && i <= s.len), Ii(this.series.chart, "afterIsInsidePlot", n), n.isInsidePlot;
253
+ return e && (n.isInsidePlot = et(t) && t >= 0 && t <= e.len), s && (n.isInsidePlot = n.isInsidePlot && et(i) && i >= 0 && i <= s.len), Xi(this.series.chart, "afterIsInsidePlot", n), n.isInsidePlot;
240
254
  }
241
255
  refresh() {
242
256
  let t = this.series, i = t.xAxis, e = t.yAxis, s = this.getOptions();
@@ -275,7 +289,7 @@ function Qe() {
275
289
  let d = this.controlPoints, p = this.options.controlPoints || [];
276
290
  p.forEach((u, m) => {
277
291
  let y = x().merge(this.options.controlPointOptions, u);
278
- y.index || (y.index = m), p[m] = y, d.push(new kt(this.chart, this, y));
292
+ y.index || (y.index = m), p[m] = y, d.push(new Et(this.chart, this, y));
279
293
  });
280
294
  }
281
295
  function i(d) {
@@ -340,8 +354,8 @@ function Qe() {
340
354
  p.addControlPoints || x().merge(!0, p, { addControlPoints: t, anchor: i, destroyControlTarget: e, getPointsOptions: s, linkPoints: n, point: a, redrawControlPoints: r, renderControlPoints: h, transform: c, transformPoint: l, translate: g, translatePoint: f });
341
355
  };
342
356
  })(J || (J = {}));
343
- let Et = J, { merge: Pt } = x();
344
- class Ct {
357
+ let Ot = J, { merge: Bt } = x();
358
+ class Nt {
345
359
  constructor(t, i, e, s) {
346
360
  this.annotation = t, this.chart = t.chart, this.collection = s === "label" ? "labels" : "shapes", this.controlPoints = [], this.options = i, this.points = [], this.index = e, this.itemType = s, this.init(t, i, e);
347
361
  }
@@ -384,32 +398,32 @@ function Qe() {
384
398
  this.translatePoint(t, i, 0), e && this.translatePoint(t, i, 1), r[this.collection][this.index].point = this.options.point, n[this.collection][this.index].point = this.options.point;
385
399
  }
386
400
  update(t) {
387
- let i = this.annotation, e = Pt(!0, this.options, t), s = this.graphic.parentGroup, n = this.constructor;
388
- this.destroy(), Pt(!0, this, new n(i, e, this.index, this.itemType)), this.render(s), this.redraw();
401
+ let i = this.annotation, e = Bt(!0, this.options, t), s = this.graphic.parentGroup, n = this.constructor;
402
+ this.destroy(), Bt(!0, this, new n(i, e, this.index, this.itemType)), this.render(s), this.redraw();
389
403
  }
390
404
  }
391
- Et.compose(Ct);
392
- let F = Ct, { defaultMarkers: Si } = { defaultMarkers: { arrow: { tagName: "marker", attributes: { id: "arrow", refY: 5, refX: 9, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 0 L 10 5 L 0 10 Z", "stroke-width": 0 } }] }, "reverse-arrow": { tagName: "marker", attributes: { id: "reverse-arrow", refY: 5, refX: 1, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 5 L 10 0 L 10 10 Z", "stroke-width": 0 } }] } } }, { addEvent: Yi, defined: Xi, extend: Fi, merge: z, uniqueKey: Ri } = x(), Ui = Bt("marker-end"), Wi = Bt("marker-start"), Ot = "rgba(192,192,192," + (x().svg ? 1e-4 : 2e-3) + ")";
393
- function Bt(o) {
405
+ Ot.compose(Nt);
406
+ let R = Nt, { defaultMarkers: Fi } = { defaultMarkers: { arrow: { tagName: "marker", attributes: { id: "arrow", refY: 5, refX: 9, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 0 L 10 5 L 0 10 Z", "stroke-width": 0 } }] }, "reverse-arrow": { tagName: "marker", attributes: { id: "reverse-arrow", refY: 5, refX: 1, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 5 L 10 0 L 10 10 Z", "stroke-width": 0 } }] } } }, { addEvent: Ri, defined: Ui, extend: Wi, merge: V, uniqueKey: ji } = x(), qi = Tt("marker-end"), Hi = Tt("marker-start"), Mt = "rgba(192,192,192," + (x().svg ? 1e-4 : 2e-3) + ")";
407
+ function Tt(o) {
394
408
  return function(t) {
395
409
  this.attr(o, "url(#" + t + ")");
396
410
  };
397
411
  }
398
- function ji() {
399
- this.options.defs = z(Si, this.options.defs || {});
412
+ function Vi() {
413
+ this.options.defs = V(Fi, this.options.defs || {});
400
414
  }
401
- function qi(o, t) {
415
+ function zi(o, t) {
402
416
  let i = { attributes: { id: o } }, e = { stroke: t.color || "none", fill: t.color || "rgba(0, 0, 0, 0.75)" };
403
417
  i.children = t.children && t.children.map(function(a) {
404
- return z(e, a);
418
+ return V(e, a);
405
419
  });
406
- let s = z(!0, { attributes: { markerWidth: 20, markerHeight: 20, refX: 0, refY: 0, orient: "auto" } }, t, i), n = this.definition(s);
420
+ let s = V(!0, { attributes: { markerWidth: 20, markerHeight: 20, refX: 0, refY: 0, orient: "auto" } }, t, i), n = this.definition(s);
407
421
  return n.id = o, n;
408
422
  }
409
- class R extends F {
423
+ class U extends R {
410
424
  static compose(t, i) {
411
425
  let e = i.prototype;
412
- e.addMarker || (Yi(t, "afterGetContainer", ji), e.addMarker = qi);
426
+ e.addMarker || (Ri(t, "afterGetContainer", Vi), e.addMarker = zi);
413
427
  }
414
428
  constructor(t, i, e) {
415
429
  super(t, i, e, "shape"), this.type = "path";
@@ -418,7 +432,7 @@ function Qe() {
418
432
  let t = this.options.d;
419
433
  if (t) return typeof t == "function" ? t.call(this) : t;
420
434
  let i = this.points, e = i.length, s = [], n = e, a = i[0], r = n && this.anchor(a).absolutePosition, h = 0, c;
421
- if (r) for (s.push(["M", r.x, r.y]); ++h < e && n; ) c = (a = i[h]).command || "L", r = this.anchor(a).absolutePosition, c === "M" ? s.push([c, r.x, r.y]) : c === "L" ? s.push([c, r.x, r.y]) : c === "Z" && s.push([c]), n = a.series.visible;
435
+ if (r) for (s.push(["M", r.x, r.y]); ++h < e && n; ) c = (a = i[h]).command || "L", r = this.anchor(a).absolutePosition, c === "M" || c === "L" ? s.push([c, r.x, r.y]) : c === "Z" && s.push([c]), n = a.series.visible;
422
436
  return n && this.graphic ? this.chart.renderer.crispLine(s, this.graphic.strokeWidth()) : null;
423
437
  }
424
438
  shouldBeDrawn() {
@@ -426,7 +440,7 @@ function Qe() {
426
440
  }
427
441
  render(t) {
428
442
  let i = this.options, e = this.attrsFromOptions(i);
429
- this.graphic = this.annotation.chart.renderer.path([["M", 0, 0]]).attr(e).add(t), this.tracker = this.annotation.chart.renderer.path([["M", 0, 0]]).addClass("highcharts-tracker-line").attr({ zIndex: 2 }).add(t), this.annotation.chart.styledMode || this.tracker.attr({ "stroke-linejoin": "round", stroke: Ot, fill: Ot, "stroke-width": this.graphic.strokeWidth() + 2 * i.snap }), super.render(), Fi(this.graphic, { markerStartSetter: Wi, markerEndSetter: Ui }), this.setMarkers(this);
443
+ this.graphic = this.annotation.chart.renderer.path([["M", 0, 0]]).attr(e).add(t), this.tracker = this.annotation.chart.renderer.path([["M", 0, 0]]).addClass("highcharts-tracker-line").attr({ zIndex: 2 }).add(t), this.annotation.chart.styledMode || this.tracker.attr({ "stroke-linejoin": "round", stroke: Mt, fill: Mt, "stroke-width": this.graphic.strokeWidth() + 2 * i.snap }), super.render(), Wi(this.graphic, { markerStartSetter: Hi, markerEndSetter: qi }), this.setMarkers(this);
430
444
  }
431
445
  redraw(t) {
432
446
  if (this.graphic) {
@@ -436,7 +450,7 @@ function Qe() {
436
450
  super.redraw(t);
437
451
  }
438
452
  setMarkers(t) {
439
- let i = t.options, e = t.chart, s = e.options.defs, n = i.fill, a = Xi(n) && n !== "none" ? n : i.stroke;
453
+ let i = t.options, e = t.chart, s = e.options.defs, n = i.fill, a = Ui(n) && n !== "none" ? n : i.stroke;
440
454
  ["markerStart", "markerEnd"].forEach(function(r) {
441
455
  let h, c, l, g, f = i[r];
442
456
  if (f) {
@@ -444,14 +458,14 @@ function Qe() {
444
458
  c = h;
445
459
  break;
446
460
  }
447
- c && (g = t[r] = e.renderer.addMarker((i.id || Ri()) + "-" + f, z(c, { color: a })), t.attr(r, g.getAttribute("id")));
461
+ c && (g = t[r] = e.renderer.addMarker((i.id || ji()) + "-" + f, V(c, { color: a })), t.attr(r, g.getAttribute("id")));
448
462
  }
449
463
  });
450
464
  }
451
465
  }
452
- R.attrsMap = { dashStyle: "dashstyle", strokeWidth: "stroke-width", stroke: "stroke", fill: "fill", zIndex: "zIndex" };
453
- let { merge: Hi } = x();
454
- class Mt extends F {
466
+ U.attrsMap = { dashStyle: "dashstyle", strokeWidth: "stroke-width", stroke: "stroke", fill: "fill", zIndex: "zIndex" };
467
+ let { merge: Gi } = x();
468
+ class Dt extends R {
455
469
  constructor(t, i, e) {
456
470
  super(t, i, e, "shape"), this.type = "rect", this.translate = super.translateShape;
457
471
  }
@@ -467,9 +481,9 @@ function Qe() {
467
481
  super.redraw(t);
468
482
  }
469
483
  }
470
- Mt.attrsMap = Hi(R.attrsMap, { width: "width", height: "height" });
471
- let { merge: zi } = x();
472
- class Nt extends F {
484
+ Dt.attrsMap = Gi(U.attrsMap, { width: "width", height: "height" });
485
+ let { merge: Ki } = x();
486
+ class It extends R {
473
487
  constructor(t, i, e) {
474
488
  super(t, i, e, "shape"), this.type = "circle", this.translate = super.translateShape;
475
489
  }
@@ -488,9 +502,9 @@ function Qe() {
488
502
  this.options.r = t;
489
503
  }
490
504
  }
491
- Nt.attrsMap = zi(R.attrsMap, { r: "r" });
492
- let { merge: Vi, defined: st } = x();
493
- class Tt extends F {
505
+ It.attrsMap = Ki(U.attrsMap, { r: "r" });
506
+ let { merge: $i, defined: st } = x();
507
+ class St extends R {
494
508
  constructor(t, i, e) {
495
509
  super(t, i, e, "shape"), this.type = "ellipse";
496
510
  }
@@ -537,19 +551,19 @@ function Qe() {
537
551
  this.options.ry = t, i && i[0] && (i[0].ry = t, i[0].ry = t);
538
552
  }
539
553
  }
540
- Tt.attrsMap = Vi(R.attrsMap, { ry: "ry" });
541
- var Gi = A(984), Dt = A.n(Gi);
542
- let { format: Ki } = Dt(), { extend: $i, getAlignFactor: Lt, isNumber: It, pick: Zi } = x();
543
- function _i(o, t, i, e, s) {
554
+ St.attrsMap = $i(U.attrsMap, { ry: "ry" });
555
+ var Zi = A(984), Yt = A.n(Zi);
556
+ let { format: _i } = Yt(), { extend: Ji, getAlignFactor: Lt, isNumber: Xt, pick: Qi } = x();
557
+ function te(o, t, i, e, s) {
544
558
  let n = s && s.anchorX, a = s && s.anchorY, r, h, c = i / 2;
545
- return It(n) && It(a) && (r = [["M", n, a]], (h = t - a) < 0 && (h = -e - h), h < i && (c = n < o + i / 2 ? h : i - h), a > t + e ? r.push(["L", o + c, t + e]) : a < t ? r.push(["L", o + c, t]) : n < o ? r.push(["L", o, t + e / 2]) : n > o + i && r.push(["L", o + i, t + e / 2])), r || [];
559
+ return Xt(n) && Xt(a) && (r = [["M", n, a]], (h = t - a) < 0 && (h = -e - h), h < i && (c = n < o + i / 2 ? h : i - h), a > t + e ? r.push(["L", o + c, t + e]) : a < t ? r.push(["L", o + c, t]) : n < o ? r.push(["L", o, t + e / 2]) : n > o + i && r.push(["L", o + i, t + e / 2])), r || [];
546
560
  }
547
- class P extends F {
561
+ class E extends R {
548
562
  static alignedPosition(t, i) {
549
563
  return { x: Math.round((i.x || 0) + (t.x || 0) + (i.width - (t.width || 0)) * Lt(t.align)), y: Math.round((i.y || 0) + (t.y || 0) + (i.height - (t.height || 0)) * Lt(t.verticalAlign)) };
550
564
  }
551
565
  static compose(t) {
552
- t.prototype.symbols.connector = _i;
566
+ t.prototype.symbols.connector = te;
553
567
  }
554
568
  static justifiedOptions(t, i, e, s) {
555
569
  let n, a = e.align, r = e.verticalAlign, h = i.box ? 0 : i.padding || 0, c = i.getBBox(), l = { align: a, verticalAlign: r, x: e.x, y: e.y, width: i.width, height: i.height }, g = (s.x || 0) - t.plotLeft, f = (s.y || 0) - t.plotTop;
@@ -570,16 +584,20 @@ function Qe() {
570
584
  this.options.x += t, this.options.y += i, a[this.collection][this.index].x = this.options.x, a[this.collection][this.index].y = this.options.y, s[this.collection][this.index].x = this.options.x, s[this.collection][this.index].y = this.options.y;
571
585
  }
572
586
  render(t) {
573
- let i = this.options, e = this.attrsFromOptions(i), s = i.style;
574
- this.graphic = this.annotation.chart.renderer.label("", 0, -9999, i.shape, null, null, i.useHTML, null, "annotation-label").attr(e).add(t), this.annotation.chart.styledMode || (s.color === "contrast" && (s.color = this.annotation.chart.renderer.getContrast(P.shapesWithoutBackground.indexOf(i.shape) > -1 ? "#FFFFFF" : i.backgroundColor)), this.graphic.css(i.style).shadow(i.shadow)), this.graphic.labelrank = i.labelrank, super.render();
587
+ let i = this.options, e = this.attrsFromOptions(i), s = i.style, n = this.annotation.chart.options.chart, a = n.plotBackgroundColor || n.backgroundColor;
588
+ if (this.graphic = this.annotation.chart.renderer.label("", 0, -9999, i.shape, void 0, void 0, i.useHTML, void 0, "annotation-label").attr(e).add(t), !this.annotation.chart.styledMode) {
589
+ if (s.color === "contrast") {
590
+ let r = E.shapesWithoutBackground.indexOf(i.shape) > -1 || i.backgroundColor === "none" ? a : i.backgroundColor;
591
+ s.color = this.annotation.chart.renderer.getContrast(typeof r == "string" ? r : typeof a == "string" ? a : "#ffffff");
592
+ }
593
+ this.graphic.css(i.style).shadow(i.shadow);
594
+ }
595
+ this.graphic.labelrank = i.labelrank, super.render();
575
596
  }
576
597
  redraw(t) {
577
598
  let i = this.options, e = this.text || i.format || i.text, s = this.graphic, n = this.points[0];
578
- if (!s) {
579
- this.redraw(t);
580
- return;
581
- }
582
- s.attr({ text: e ? Ki(String(e), n, this.annotation.chart) : i.formatter.call(n, this) });
599
+ if (!s) return void this.redraw(t);
600
+ s.attr({ text: e ? _i(String(e), n, this.annotation.chart) : i.formatter.call(n, this) });
583
601
  let a = this.anchor(n), r = this.position(a);
584
602
  r ? (s.alignAttr = r, r.anchorX = a.absolutePosition.x, r.anchorY = a.absolutePosition.y, s[t ? "animate" : "attr"](r)) : s.attr({ x: 0, y: -9999 }), s.placed = !!r, super.redraw(t);
585
603
  }
@@ -591,13 +609,13 @@ function Qe() {
591
609
  let i = this.graphic, e = this.annotation.chart, s = e.tooltip, n = this.points[0], a = this.options, r = t.absolutePosition, h = t.relativePosition, c, l, g, f, d = n.series.visible && Y.prototype.isInsidePlot.call(n);
592
610
  if (i && d) {
593
611
  let { width: p = 0, height: u = 0 } = i;
594
- a.distance && s ? c = s.getPosition.call({ chart: e, distance: Zi(a.distance, 16), getPlayingField: s.getPlayingField, pointer: s.pointer }, p, u, { plotX: h.x, plotY: h.y, negative: n.negative, ttBelow: n.ttBelow, h: h.height || h.width }) : a.positioner ? c = a.positioner.call(this) : (l = { x: r.x, y: r.y, width: 0, height: 0 }, c = P.alignedPosition($i(a, { width: p, height: u }), l), this.options.overflow === "justify" && (c = P.alignedPosition(P.justifiedOptions(e, i, a, c), l))), a.crop && (g = c.x - e.plotLeft, f = c.y - e.plotTop, d = e.isInsidePlot(g, f) && e.isInsidePlot(g + p, f + u));
612
+ a.distance && s ? c = s.getPosition.call({ chart: e, distance: Qi(a.distance, 16), getPlayingField: s.getPlayingField, pointer: s.pointer }, p, u, { plotX: h.x, plotY: h.y, negative: n.negative, ttBelow: n.ttBelow, h: h.height || h.width }) : a.positioner ? c = a.positioner.call(this) : (l = { x: r.x, y: r.y, width: 0, height: 0 }, c = E.alignedPosition(Ji(a, { width: p, height: u }), l), this.options.overflow === "justify" && (c = E.alignedPosition(E.justifiedOptions(e, i, a, c), l))), a.crop && (g = c.x - e.plotLeft, f = c.y - e.plotTop, d = e.isInsidePlot(g, f) && e.isInsidePlot(g + p, f + u));
595
613
  }
596
614
  return d ? c : null;
597
615
  }
598
616
  }
599
- P.attrsMap = { backgroundColor: "fill", borderColor: "stroke", borderWidth: "stroke-width", zIndex: "zIndex", borderRadius: "r", padding: "padding" }, P.shapesWithoutBackground = ["connector"];
600
- class St extends F {
617
+ E.attrsMap = { backgroundColor: "fill", borderColor: "stroke", borderWidth: "stroke-width", zIndex: "zIndex", borderRadius: "r", padding: "padding" }, E.shapesWithoutBackground = ["connector"];
618
+ class Ft extends R {
601
619
  constructor(t, i, e) {
602
620
  super(t, i, e, "shape"), this.type = "image", this.translate = super.translateShape;
603
621
  }
@@ -607,26 +625,26 @@ function Qe() {
607
625
  }
608
626
  redraw(t) {
609
627
  if (this.graphic) {
610
- let i = this.anchor(this.points[0]), e = P.prototype.position.call(this, i);
628
+ let i = this.anchor(this.points[0]), e = E.prototype.position.call(this, i);
611
629
  e ? this.graphic[t ? "animate" : "attr"]({ x: e.x, y: e.y }) : this.graphic.attr({ x: 0, y: -9e9 }), this.graphic.placed = !!e;
612
630
  }
613
631
  super.redraw(t);
614
632
  }
615
633
  }
616
- St.attrsMap = { width: "width", height: "height", zIndex: "zIndex" };
617
- var Ji = A(660), ot = A.n(Ji);
618
- let { addEvent: Yt, createElement: Xt } = x(), Qi = class {
634
+ Ft.attrsMap = { width: "width", height: "height", zIndex: "zIndex" };
635
+ var ie = A(660), ot = A.n(ie);
636
+ let { addEvent: Rt, createElement: nt } = x(), ee = class {
619
637
  constructor(o, t) {
620
638
  this.iconsURL = t, this.container = this.createPopupContainer(o), this.closeButton = this.addCloseButton();
621
639
  }
622
640
  createPopupContainer(o, t = "highcharts-popup highcharts-no-tooltip") {
623
- return Xt("div", { className: t }, void 0, o);
641
+ return nt("div", { className: t }, void 0, o);
624
642
  }
625
643
  addCloseButton(o = "highcharts-popup-close") {
626
- let t = this, i = this.iconsURL, e = Xt("button", { className: o }, void 0, this.container);
627
- return e.style["background-image"] = "url(" + (i.match(/png|svg|jpeg|jpg|gif/ig) ? i : i + "close.svg") + ")", ["click", "touchstart"].forEach((s) => {
628
- Yt(e, s, t.closeButtonEvents.bind(t));
629
- }), Yt(document, "keydown", function(s) {
644
+ let t = this, i = this.iconsURL, e = nt("button", { className: o }, void 0, this.container);
645
+ return nt("span", { className: "highcharts-icon" }, { backgroundImage: "url(" + (i.match(/png|svg|jpeg|jpg|gif/ig) ? i : i + "close.svg") + ")" }, e), ["click", "touchstart"].forEach((s) => {
646
+ Rt(e, s, t.closeButtonEvents.bind(t));
647
+ }), Rt(document, "keydown", function(s) {
630
648
  s.code === "Escape" && t.closeButtonEvents();
631
649
  }), e;
632
650
  }
@@ -640,39 +658,39 @@ function Qe() {
640
658
  closePopup() {
641
659
  this.container.style.display = "none";
642
660
  }
643
- }, { doc: nt, isFirefox: te } = x(), { createElement: q, isArray: Ft, isObject: Rt, objectEach: ie, pick: ee, stableSort: se } = x();
644
- function Ut(o, t, i, e, s, n) {
661
+ }, { doc: at, isFirefox: se } = x(), { createElement: L, isArray: Ut, isObject: Wt, objectEach: oe, pick: ne, stableSort: ae } = x();
662
+ function jt(o, t, i, e, s, n) {
645
663
  let a, r;
646
664
  if (!t) return;
647
665
  let h = this.addInput, c = this.lang;
648
- ie(e, (l, g) => {
649
- a = i !== "" ? i + "." + g : g, Rt(l) && (!Ft(l) || Ft(l) && Rt(l[0]) ? ((r = c[g] || g).match(/\d/g) || s.push([!0, r, o]), Ut.call(this, o, t, a, l, s, !1)) : s.push([this, a, "annotation", o, l]));
650
- }), n && (se(s, (l) => l[1].match(/format/g) ? -1 : 1), te && s.reverse(), s.forEach((l) => {
651
- l[0] === !0 ? q("span", { className: "highcharts-annotation-title" }, void 0, l[2]).appendChild(nt.createTextNode(l[1])) : (l[4] = { value: l[4][0], type: l[4][1] }, h.apply(l[0], l.splice(1)));
666
+ oe(e, (l, g) => {
667
+ a = i !== "" ? i + "." + g : g, Wt(l) && (!Ut(l) || Ut(l) && Wt(l[0]) ? ((r = c[g] || g).match(/\d/g) || s.push([!0, r, o]), jt.call(this, o, t, a, l, s, !1)) : s.push([this, a, "annotation", o, l]));
668
+ }), n && (ae(s, (l) => l[1].match(/format/g) ? -1 : 1), se && s.reverse(), s.forEach((l) => {
669
+ l[0] === !0 ? L("span", { className: "highcharts-annotation-title" }, void 0, l[2]).appendChild(at.createTextNode(l[1])) : (l[4] = { value: l[4][0], type: l[4][1] }, h.apply(l[0], l.splice(1)));
652
670
  }));
653
671
  }
654
- let { doc: V } = x(), { seriesTypes: Wt } = wt(), { addEvent: at, createElement: k, defined: G, isArray: rt, isObject: oe, objectEach: jt, stableSort: ne } = x();
672
+ let { doc: z } = x(), { seriesTypes: qt } = Pt(), { addEvent: rt, createElement: k, defined: G, isArray: ht, isObject: re, objectEach: Ht, stableSort: he } = x();
655
673
  (function(o) {
656
674
  o[o["params.algorithm"] = 0] = "params.algorithm", o[o["params.average"] = 1] = "params.average";
657
675
  })(Q || (Q = {}));
658
- let ae = { "algorithm-pivotpoints": ["standard", "fibonacci", "camarilla"], "average-disparityindex": ["sma", "ema", "dema", "tema", "wma"] };
659
- function qt(o) {
676
+ let le = { "algorithm-pivotpoints": ["standard", "fibonacci", "camarilla"], "average-disparityindex": ["sma", "ema", "dema", "tema", "wma"] };
677
+ function Vt(o) {
660
678
  let t = k("div", { className: "highcharts-popup-lhs-col" }, void 0, o), i = k("div", { className: "highcharts-popup-rhs-col" }, void 0, o);
661
679
  return k("div", { className: "highcharts-popup-rhs-col-wrapper" }, void 0, i), { lhsCol: t, rhsCol: i };
662
680
  }
663
- function re(o, t, i, e) {
681
+ function ce(o, t, i, e) {
664
682
  let s = t.params || t.options.params;
665
- e.innerHTML = ot().emptyHTML, k("h3", { className: "highcharts-indicator-title" }, void 0, e).appendChild(V.createTextNode(Gt(t, i).indicatorFullName)), k("input", { type: "hidden", name: "highcharts-type-" + i, value: i }, void 0, e), Kt.call(this, i, "series", o, e, t, t.linkedParent && t.linkedParent.options.id), s.volumeSeriesID && Kt.call(this, i, "volume", o, e, t, t.linkedParent && s.volumeSeriesID), Ht.call(this, o, "params", s, i, e);
683
+ e.innerHTML = ot().emptyHTML, k("h3", { className: "highcharts-indicator-title" }, void 0, e).appendChild(z.createTextNode($t(t, i).indicatorFullName)), k("input", { type: "hidden", name: "highcharts-type-" + i, value: i }, void 0, e), Zt.call(this, i, "series", o, e, t, t.linkedParent && t.linkedParent.options.id), s.volumeSeriesID && Zt.call(this, i, "volume", o, e, t, t.linkedParent && s.volumeSeriesID), zt.call(this, o, "params", s, i, e);
666
684
  }
667
- function ht(o, t, i, e) {
685
+ function lt(o, t, i, e) {
668
686
  function s(u, m) {
669
687
  let y = p.parentNode.children[1];
670
- re.call(n, o, u, m, p), y && (y.style.display = "block"), c && u.options && k("input", { type: "hidden", name: "highcharts-id-" + m, value: u.options.id }, void 0, p).setAttribute("highcharts-data-series-id", u.options.id);
688
+ ce.call(n, o, u, m, p), y && (y.style.display = "block"), c && u.options && k("input", { type: "hidden", name: "highcharts-id-" + m, value: u.options.id }, void 0, p).setAttribute("highcharts-data-series-id", u.options.id);
671
689
  }
672
690
  let n = this, a = n.lang, r = t.querySelectorAll(".highcharts-popup-lhs-col")[0], h = t.querySelectorAll(".highcharts-popup-rhs-col")[0], c = i === "edit", l = c ? o.series : o.options.plotOptions || {};
673
691
  if (!o && l) return;
674
692
  let g, f = [];
675
- c || rt(l) ? rt(l) && (f = ce.call(this, l)) : f = le.call(this, l, e), ne(f, (u, m) => {
693
+ c || ht(l) ? ht(l) && (f = ue.call(this, l)) : f = de.call(this, l, e), he(f, (u, m) => {
676
694
  let y = u.indicatorFullName.toLowerCase(), v = m.indicatorFullName.toLowerCase();
677
695
  return y < v ? -1 : +(y > v);
678
696
  }), r.children[1] && r.children[1].remove();
@@ -682,7 +700,7 @@ function Qe() {
682
700
  g = k("li", { className: "highcharts-indicator-list" }, void 0, d);
683
701
  let b = k("button", { className: "highcharts-indicator-list-item", textContent: m }, void 0, g);
684
702
  ["click", "touchstart"].forEach((D) => {
685
- at(b, D, function() {
703
+ rt(b, D, function() {
686
704
  s(v, y);
687
705
  });
688
706
  });
@@ -691,50 +709,49 @@ function Qe() {
691
709
  s(u, m);
692
710
  } else c || (ot().setElementHTML(p.parentNode.children[0], a.noFilterMatch || ""), p.parentNode.children[1].style.display = "none");
693
711
  }
694
- function Ht(o, t, i, e, s) {
712
+ function zt(o, t, i, e, s) {
695
713
  if (!o) return;
696
714
  let n = this.addInput;
697
- jt(i, (a, r) => {
715
+ Ht(i, (a, r) => {
698
716
  let h = t + "." + r;
699
- if (G(a) && h)
700
- if (oe(a) && (n.call(this, h, e, s, {}), Ht.call(this, o, h, a, e, s)), h in Q) {
701
- let c = zt.call(this, e, h, s);
702
- Vt.call(this, o, t, c, e, r, a);
703
- } else h === "params.volumeSeriesID" || rt(a) || n.call(this, h, e, s, { value: a, type: "number" });
717
+ if (G(a) && h) if (re(a) && (n.call(this, h, e, s, {}), zt.call(this, o, h, a, e, s)), h in Q) {
718
+ let c = Gt.call(this, e, h, s);
719
+ Kt.call(this, o, t, c, e, r, a);
720
+ } else h === "params.volumeSeriesID" || ht(a) || n.call(this, h, e, s, { value: a, type: "number" });
704
721
  });
705
722
  }
706
- function he(o, t) {
723
+ function pe(o, t) {
707
724
  let i = this, e = t.querySelectorAll(".highcharts-popup-lhs-col")[0], s = this.lang.clearFilter, n = k("div", { className: "highcharts-input-wrapper" }, void 0, e), a = function(c) {
708
- ht.call(i, o, i.container, "add", c);
725
+ lt.call(i, o, i.container, "add", c);
709
726
  }, r = this.addInput("searchIndicators", "input", n, { value: "", type: "text", htmlFor: "search-indicators", labelClassName: "highcharts-input-search-indicators-label" }), h = k("a", { textContent: s }, void 0, n);
710
- r.classList.add("highcharts-input-search-indicators"), h.classList.add("clear-filter-button"), at(r, "input", function() {
727
+ r.classList.add("highcharts-input-search-indicators"), h.classList.add("clear-filter-button"), rt(r, "input", function() {
711
728
  a(this.value), this.value.length ? h.style.display = "inline-block" : h.style.display = "none";
712
729
  }), ["click", "touchstart"].forEach((c) => {
713
- at(h, c, function() {
730
+ rt(h, c, function() {
714
731
  r.value = "", a(""), h.style.display = "none";
715
732
  });
716
733
  });
717
734
  }
718
- function zt(o, t, i) {
735
+ function Gt(o, t, i) {
719
736
  let e = t.split("."), s = e[e.length - 1], n = "highcharts-" + t + "-type-" + o, a = this.lang;
720
- k("label", { htmlFor: n }, null, i).appendChild(V.createTextNode(a[s] || t));
737
+ k("label", { htmlFor: n }, null, i).appendChild(z.createTextNode(a[s] || t));
721
738
  let r = k("select", { name: n, className: "highcharts-popup-field", id: "highcharts-select-" + t }, null, i);
722
739
  return r.setAttribute("id", "highcharts-select-" + t), r;
723
740
  }
724
- function Vt(o, t, i, e, s, n, a) {
741
+ function Kt(o, t, i, e, s, n, a) {
725
742
  t === "series" || t === "volume" ? o.series.forEach((r) => {
726
743
  let h = r.options, c = h.name || h.params ? r.name : h.id || "";
727
- h.id !== "highcharts-navigator-series" && h.id !== (a && a.options && a.options.id) && (G(n) || t !== "volume" || r.type !== "column" || (n = h.id), k("option", { value: h.id }, void 0, i).appendChild(V.createTextNode(c)));
728
- }) : e && s && ae[s + "-" + e].forEach((r) => {
729
- k("option", { value: r }, void 0, i).appendChild(V.createTextNode(r));
744
+ h.id !== "highcharts-navigator-series" && h.id !== (a && a.options && a.options.id) && (G(n) || t !== "volume" || r.type !== "column" || (n = h.id), k("option", { value: h.id }, void 0, i).appendChild(z.createTextNode(c)));
745
+ }) : e && s && le[s + "-" + e].forEach((r) => {
746
+ k("option", { value: r }, void 0, i).appendChild(z.createTextNode(r));
730
747
  }), G(n) && (i.value = n);
731
748
  }
732
- function le(o, t) {
749
+ function de(o, t) {
733
750
  let i, e = this.chart && this.chart.options.lang, s = e && e.navigation && e.navigation.popup && e.navigation.popup.indicatorAliases, n = [];
734
- return jt(o, (a, r) => {
751
+ return Ht(o, (a, r) => {
735
752
  let h = a && a.options;
736
753
  if (a.params || h && h.params) {
737
- let { indicatorFullName: c, indicatorType: l } = Gt(a, r);
754
+ let { indicatorFullName: c, indicatorType: l } = $t(a, r);
738
755
  if (t) {
739
756
  let g = RegExp(t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "i"), f = s && s[l] && s[l].join(" ") || "";
740
757
  (c.match(g) || f.match(g)) && (i = { indicatorFullName: c, indicatorType: l, series: a }, n.push(i));
@@ -742,57 +759,57 @@ function Qe() {
742
759
  }
743
760
  }), n;
744
761
  }
745
- function ce(o) {
762
+ function ue(o) {
746
763
  let t = [];
747
764
  return o.forEach((i) => {
748
765
  i.is("sma") && t.push({ indicatorFullName: i.name, indicatorType: i.type, series: i });
749
766
  }), t;
750
767
  }
751
- function Gt(o, t) {
752
- let i = o.options, e = Wt[t] && Wt[t].prototype.nameBase || t.toUpperCase(), s = t;
768
+ function $t(o, t) {
769
+ let i = o.options, e = qt[t] && qt[t].prototype.nameBase || t.toUpperCase(), s = t;
753
770
  return i && i.type && (s = o.options.type, e = o.name), { indicatorFullName: e, indicatorType: s };
754
771
  }
755
- function Kt(o, t, i, e, s, n) {
772
+ function Zt(o, t, i, e, s, n) {
756
773
  if (!i) return;
757
- let a = zt.call(this, o, t, e);
758
- Vt.call(this, i, t, a, void 0, void 0, void 0, s), G(n) && (a.value = n);
774
+ let a = Gt.call(this, o, t, e);
775
+ Kt.call(this, i, t, a, void 0, void 0, void 0, s), G(n) && (a.value = n);
759
776
  }
760
- let { doc: pe } = x(), { addEvent: de, createElement: $t } = x();
761
- function Zt() {
762
- return $t("div", { className: "highcharts-tab-item-content highcharts-no-mousewheel" }, void 0, this.container);
777
+ let { doc: ge } = x(), { addEvent: fe, createElement: _t } = x();
778
+ function Jt() {
779
+ return _t("div", { className: "highcharts-tab-item-content highcharts-no-mousewheel" }, void 0, this.container);
763
780
  }
764
- function _t(o, t) {
781
+ function Qt(o, t) {
765
782
  let i = this.container, e = this.lang, s = "highcharts-tab-item";
766
783
  t === 0 && (s += " highcharts-tab-disabled");
767
- let n = $t("button", { className: s }, void 0, i);
768
- return n.appendChild(pe.createTextNode(e[o + "Button"] || o)), n.setAttribute("highcharts-data-tab-type", o), n;
784
+ let n = _t("button", { className: s }, void 0, i);
785
+ return n.appendChild(ge.createTextNode(e[o + "Button"] || o)), n.setAttribute("highcharts-data-tab-type", o), n;
769
786
  }
770
- function ue() {
787
+ function me() {
771
788
  let o = this.container, t = o.querySelectorAll(".highcharts-tab-item"), i = o.querySelectorAll(".highcharts-tab-item-content");
772
789
  for (let e = 0; e < t.length; e++) t[e].classList.remove("highcharts-tab-item-active"), i[e].classList.remove("highcharts-tab-item-show");
773
790
  }
774
- function Jt(o, t) {
791
+ function ti(o, t) {
775
792
  let i = this.container.querySelectorAll(".highcharts-tab-item-content");
776
793
  o.className += " highcharts-tab-item-active", i[t].className += " highcharts-tab-item-show";
777
794
  }
778
- function ge(o) {
795
+ function xe(o) {
779
796
  let t = this;
780
797
  this.container.querySelectorAll(".highcharts-tab-item").forEach((i, e) => {
781
798
  (o !== 0 || i.getAttribute("highcharts-data-tab-type") !== "edit") && ["click", "touchstart"].forEach((s) => {
782
- de(i, s, function() {
783
- ue.call(t), Jt.call(t, this, e);
799
+ fe(i, s, function() {
800
+ me.call(t), ti.call(t, this, e);
784
801
  });
785
802
  });
786
803
  });
787
804
  }
788
- let { doc: lt } = x(), { getOptions: fe } = x(), { addEvent: ct, createElement: pt, extend: me, fireEvent: Qt, pick: xe } = x();
789
- class ti extends Qi {
805
+ let { doc: ct } = x(), { getOptions: ye } = x(), { addEvent: pt, createElement: dt, extend: ve, fireEvent: ii, pick: be } = x();
806
+ class ei extends ee {
790
807
  constructor(t, i, e) {
791
- super(t, i), this.chart = e, this.lang = (fe().lang.navigation || {}).popup || {}, ct(this.container, "mousedown", () => {
808
+ super(t, i), this.chart = e, this.lang = (ye().lang.navigation || {}).popup || {}, pt(this.container, "mousedown", () => {
792
809
  let s = e && e.navigationBindings && e.navigationBindings.activeAnnotation;
793
810
  if (s) {
794
811
  s.cancelClick = !0;
795
- let n = ct(lt, "click", () => {
812
+ let n = pt(ct, "click", () => {
796
813
  setTimeout(() => {
797
814
  s.cancelClick = !1;
798
815
  }, 0), n();
@@ -801,21 +818,21 @@ function Qe() {
801
818
  });
802
819
  }
803
820
  addInput(t, i, e, s) {
804
- let n = t.split("."), a = n[n.length - 1], r = this.lang, h = "highcharts-" + i + "-" + xe(s.htmlFor, a);
805
- a.match(/^\d+$/) || pt("label", { htmlFor: h, className: s.labelClassName }, void 0, e).appendChild(lt.createTextNode(r[a] || a));
806
- let c = pt("input", { name: h, value: s.value, type: s.type, className: "highcharts-popup-field" }, void 0, e);
821
+ let n = t.split("."), a = n[n.length - 1], r = this.lang, h = "highcharts-" + i + "-" + be(s.htmlFor, a);
822
+ a.match(/^\d+$/) || dt("label", { htmlFor: h, className: s.labelClassName }, void 0, e).appendChild(ct.createTextNode(r[a] || a));
823
+ let c = dt("input", { name: h, value: s.value, type: s.type, className: "highcharts-popup-field" }, void 0, e);
807
824
  return c.setAttribute("highcharts-data-name", t), c;
808
825
  }
809
826
  closeButtonEvents() {
810
827
  if (this.chart) {
811
828
  let t = this.chart.navigationBindings;
812
- Qt(t, "closePopup"), t && t.selectedButtonElement && Qt(t, "deselectButton", { button: t.selectedButtonElement });
829
+ ii(t, "closePopup"), t && t.selectedButtonElement && ii(t, "deselectButton", { button: t.selectedButtonElement });
813
830
  } else super.closeButtonEvents();
814
831
  }
815
832
  addButton(t, i, e, s, n) {
816
- let a = pt("button", void 0, void 0, t);
817
- return a.appendChild(lt.createTextNode(i)), n && ["click", "touchstart"].forEach((r) => {
818
- ct(a, r, () => (this.closePopup(), n(function(h, c) {
833
+ let a = dt("button", void 0, void 0, t);
834
+ return a.appendChild(ct.createTextNode(i)), n && ["click", "touchstart"].forEach((r) => {
835
+ pt(a, r, () => (this.closePopup(), n(function(h, c) {
819
836
  let l = Array.prototype.slice.call(h.querySelectorAll("input")), g = Array.prototype.slice.call(h.querySelectorAll("select")), f = h.querySelectorAll("#highcharts-select-series > option:checked")[0], d = h.querySelectorAll("#highcharts-select-volume > option:checked")[0], p = { actionType: c, linkedTo: f && f.getAttribute("value") || "", fields: {} };
820
837
  return l.forEach((u) => {
821
838
  let m = u.getAttribute("highcharts-data-name");
@@ -834,27 +851,27 @@ function Qe() {
834
851
  i && (this.showPopup(), t === "indicators" && this.indicators.addForm.call(this, i, e, s), t === "annotation-toolbar" && this.annotations.addToolbar.call(this, i, e, s), t === "annotation-edit" && this.annotations.addForm.call(this, i, e, s), t === "flag" && this.annotations.addForm.call(this, i, e, s, !0), this.type = t, this.container.style.height = this.container.offsetHeight + "px");
835
852
  }
836
853
  }
837
- me(ti.prototype, { annotations: { addForm: function(o, t, i, e) {
854
+ ve(ei.prototype, { annotations: { addForm: function(o, t, i, e) {
838
855
  if (!o) return;
839
- let s = this.container, n = this.lang, a = q("h2", { className: "highcharts-popup-main-title" }, void 0, s);
840
- a.appendChild(nt.createTextNode(n[t.langKey] || t.langKey || "")), a = q("div", { className: "highcharts-popup-lhs-col highcharts-popup-lhs-full" }, void 0, s);
841
- let r = q("div", { className: "highcharts-popup-bottom-row" }, void 0, s);
842
- Ut.call(this, a, o, "", t, [], !0), this.addButton(r, e ? n.addButton || "Add" : n.saveButton || "Save", e ? "add" : "save", s, i);
856
+ let s = this.container, n = this.lang, a = L("h2", { className: "highcharts-popup-main-title" }, void 0, s);
857
+ a.appendChild(at.createTextNode(n[t.langKey] || t.langKey || "")), a = L("div", { className: "highcharts-popup-lhs-col highcharts-popup-lhs-full" }, void 0, s);
858
+ let r = L("div", { className: "highcharts-popup-bottom-row" }, void 0, s);
859
+ jt.call(this, a, o, "", t, [], !0), this.addButton(r, e ? n.addButton || "Add" : n.saveButton || "Save", e ? "add" : "save", s, i);
843
860
  }, addToolbar: function(o, t, i) {
844
861
  let e = this.lang, s = this.container, n = this.showForm, a = "highcharts-annotation-toolbar";
845
862
  s.className.indexOf(a) === -1 && (s.className += " " + a + " highcharts-no-mousewheel"), o && (s.style.top = o.plotTop + 10 + "px");
846
- let r = q("p", { className: "highcharts-annotation-label" }, void 0, s);
847
- r.setAttribute("aria-label", "Annotation type"), r.appendChild(nt.createTextNode(ee(e[t.langKey] || t.langKey, t.shapes && t.shapes[0].type, "")));
863
+ let r = L("p", { className: "highcharts-annotation-label" }, void 0, s);
864
+ r.setAttribute("aria-label", "Annotation type"), r.appendChild(at.createTextNode(ne(e[t.langKey] || t.langKey, t.shapes && t.shapes[0].type, "")));
848
865
  let h = this.addButton(s, e.editButton || "Edit", "edit", s, () => {
849
866
  n.call(this, "annotation-edit", o, t, i);
850
867
  });
851
- h.className += " highcharts-annotation-edit-button", h.style["background-image"] = "url(" + this.iconsURL + "edit.svg)", h = this.addButton(s, e.removeButton || "Remove", "remove", s, i), h.className += " highcharts-annotation-remove-button", h.style["background-image"] = "url(" + this.iconsURL + "destroy.svg)";
868
+ h.className += " highcharts-annotation-edit-button", L("span", { className: "highcharts-icon" }, { backgroundImage: `url(${this.iconsURL}edit.svg)` }, h), h = this.addButton(s, e.removeButton || "Remove", "remove", s, i), h.className += " highcharts-annotation-remove-button", L("span", { className: "highcharts-icon" }, { backgroundImage: `url(${this.iconsURL}destroy.svg)` }, h);
852
869
  } }, indicators: { addForm: function(o, t, i) {
853
870
  let e, s = this.lang;
854
871
  if (!o) return;
855
872
  this.tabs.init.call(this, o);
856
873
  let n = this.container.querySelectorAll(".highcharts-tab-item-content");
857
- qt(n[0]), he.call(this, o, n[0]), ht.call(this, o, n[0], "add"), e = n[0].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.addButton || "add", "add", e, i), qt(n[1]), ht.call(this, o, n[1], "edit"), e = n[1].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.saveButton || "save", "edit", e, i), this.addButton(e, s.removeButton || "remove", "remove", e, i);
874
+ Vt(n[0]), pe.call(this, o, n[0]), lt.call(this, o, n[0], "add"), e = n[0].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.addButton || "add", "add", e, i), Vt(n[1]), lt.call(this, o, n[1], "edit"), e = n[1].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.saveButton || "save", "edit", e, i), this.addButton(e, s.removeButton || "remove", "remove", e, i);
858
875
  }, getAmount: function() {
859
876
  let o = 0;
860
877
  return this.series.forEach((t) => {
@@ -862,36 +879,36 @@ function Qe() {
862
879
  }), o;
863
880
  } }, tabs: { init: function(o) {
864
881
  if (!o) return;
865
- let t = this.indicators.getAmount.call(o), i = _t.call(this, "add");
866
- _t.call(this, "edit", t), Zt.call(this), Zt.call(this), ge.call(this, t), Jt.call(this, i, 0);
882
+ let t = this.indicators.getAmount.call(o), i = Qt.call(this, "add");
883
+ Qt.call(this, "edit", t), Jt.call(this), Jt.call(this), xe.call(this, t), ti.call(this, i, 0);
867
884
  } } });
868
- let { composed: ye } = x(), { addEvent: ii, pushUnique: ve, wrap: be } = x();
869
- function Ae() {
885
+ let { composed: Ae } = x(), { addEvent: si, pushUnique: ke, wrap: we } = x();
886
+ function Ce() {
870
887
  this.popup && this.popup.closePopup();
871
888
  }
872
- function ke(o) {
873
- this.popup || (this.popup = new ti(this.chart.container, this.chart.options.navigation.iconsURL || this.chart.options.stockTools && this.chart.options.stockTools.gui.iconsURL || "https://code.highcharts.com/12.2.0/gfx/stock-icons/", this.chart)), this.popup.showForm(o.formType, this.chart, o.options, o.onSubmit);
889
+ function Ee(o) {
890
+ this.popup || (this.popup = new ei(this.chart.container, this.chart.options.navigation.iconsURL || this.chart.options.stockTools && this.chart.options.stockTools.gui.iconsURL || "https://code.highcharts.com/12.3.0/gfx/stock-icons/", this.chart)), this.popup.showForm(o.formType, this.chart, o.options, o.onSubmit);
874
891
  }
875
- function we(o, t) {
892
+ function Pe(o, t) {
876
893
  this.inClass(t.target, "highcharts-popup") || o.apply(this, Array.prototype.slice.call(arguments, 1));
877
894
  }
878
- let Ee = { compose: function(o, t) {
879
- ve(ye, "Popup") && (ii(o, "closePopup", Ae), ii(o, "showPopup", ke), be(t.prototype, "onContainerMouseDown", we));
880
- } }, { getDeferredAnimation: Pe } = x(), { destroyObjectProperties: Ce, erase: ei, fireEvent: si, merge: L, pick: dt, splat: Oe } = x();
881
- function ut(o, t) {
895
+ let Oe = { compose: function(o, t) {
896
+ ke(Ae, "Popup") && (si(o, "closePopup", Ce), si(o, "showPopup", Ee), we(t.prototype, "onContainerMouseDown", Pe));
897
+ } }, { getDeferredAnimation: Be } = x(), { defaultOptions: Ne } = x(), { destroyObjectProperties: Me, erase: oi, fireEvent: ni, merge: X, pick: ut, splat: Te } = x();
898
+ function gt(o, t) {
882
899
  let i = {};
883
900
  return ["labels", "shapes"].forEach((e) => {
884
901
  let s = o[e], n = t[e];
885
- s && (n ? i[e] = Oe(n).map((a, r) => L(s[r], a)) : i[e] = o[e]);
902
+ s && (n ? i[e] = Te(n).map((a, r) => X(s[r], a)) : i[e] = o[e]);
886
903
  }), i;
887
904
  }
888
- class w extends At {
905
+ class w extends Ct {
889
906
  static compose(t, i, e, s) {
890
- Ci.compose(w, t, e), P.compose(s), R.compose(t, s), i.compose(w, t), Ee.compose(i, e);
907
+ Ni.compose(w, t, e), E.compose(s), U.compose(t, s), i.compose(w, t), Oe.compose(i, e);
891
908
  }
892
909
  constructor(t, i) {
893
- super(), this.coll = "annotations", this.chart = t, this.points = [], this.controlPoints = [], this.coll = "annotations", this.index = -1, this.labels = [], this.shapes = [], this.options = L(this.defaultOptions, i), this.userOptions = i;
894
- let e = ut(this.options, i);
910
+ super(), this.coll = "annotations", this.chart = t, this.points = [], this.controlPoints = [], this.coll = "annotations", this.index = -1, this.labels = [], this.shapes = [], this.setOptions(i), this.userOptions = i;
911
+ let e = gt(this.options, i);
895
912
  this.options.labels = e.labels, this.options.shapes = e.shapes, this.init(t, this.options);
896
913
  }
897
914
  addClipPaths() {
@@ -901,50 +918,50 @@ function Qe() {
901
918
  let t = this.options.labels || [];
902
919
  t.forEach((i, e) => {
903
920
  let s = this.initLabel(i, e);
904
- L(!0, t[e], s.options);
921
+ X(!0, t[e], s.options);
905
922
  });
906
923
  }
907
924
  addShapes() {
908
925
  let t = this.options.shapes || [];
909
926
  t.forEach((i, e) => {
910
927
  let s = this.initShape(i, e);
911
- L(!0, t[e], s.options);
928
+ X(!0, t[e], s.options);
912
929
  });
913
930
  }
914
931
  destroy() {
915
932
  let t = this.chart, i = function(e) {
916
933
  e.destroy();
917
934
  };
918
- this.labels.forEach(i), this.shapes.forEach(i), this.clipXAxis = null, this.clipYAxis = null, ei(t.labelCollectors, this.labelCollector), super.destroy(), this.destroyControlTarget(), Ce(this, t);
935
+ this.labels.forEach(i), this.shapes.forEach(i), this.clipXAxis = null, this.clipYAxis = null, oi(t.labelCollectors, this.labelCollector), super.destroy(), this.destroyControlTarget(), Me(this, t);
919
936
  }
920
937
  destroyItem(t) {
921
- ei(this[t.itemType + "s"], t), t.destroy();
938
+ oi(this[t.itemType + "s"], t), t.destroy();
922
939
  }
923
940
  getClipBox() {
924
941
  if (this.clipXAxis && this.clipYAxis) return { x: this.clipXAxis.left, y: this.clipYAxis.top, width: this.clipXAxis.width, height: this.clipYAxis.height };
925
942
  }
926
943
  initProperties(t, i) {
927
944
  this.setOptions(i);
928
- let e = ut(this.options, i);
945
+ let e = gt(this.options, i);
929
946
  this.options.labels = e.labels, this.options.shapes = e.shapes, this.chart = t, this.points = [], this.controlPoints = [], this.coll = "annotations", this.userOptions = i, this.labels = [], this.shapes = [];
930
947
  }
931
948
  init(t, i, e = this.index) {
932
949
  let s = this.chart, n = this.options.animation;
933
- this.index = e, this.linkPoints(), this.addControlPoints(), this.addShapes(), this.addLabels(), this.setLabelCollector(), this.animationConfig = Pe(s, n);
950
+ this.index = e, this.linkPoints(), this.addControlPoints(), this.addShapes(), this.addLabels(), this.setLabelCollector(), this.animationConfig = Be(s, n);
934
951
  }
935
952
  initLabel(t, i) {
936
- let e = new P(this, L(this.options.labelOptions, { controlPointOptions: this.options.controlPointOptions }, t), i);
953
+ let e = new E(this, X(this.options.labelOptions, { controlPointOptions: this.options.controlPointOptions }, t), i);
937
954
  return e.itemType = "label", this.labels.push(e), e;
938
955
  }
939
956
  initShape(t, i) {
940
- let e = L(this.options.shapeOptions, { controlPointOptions: this.options.controlPointOptions }, t), s = new w.shapesMap[e.type](this, e, i);
957
+ let e = X(this.options.shapeOptions, { controlPointOptions: this.options.controlPointOptions }, t), s = new w.shapesMap[e.type](this, e, i);
941
958
  return s.itemType = "shape", this.shapes.push(s), s;
942
959
  }
943
960
  redraw(t) {
944
961
  this.linkPoints(), this.graphic || this.render(), this.clipRect && this.clipRect.animate(this.getClipBox()), this.redrawItems(this.shapes, t), this.redrawItems(this.labels, t), this.redrawControlPoints(t);
945
962
  }
946
963
  redrawItem(t, i) {
947
- t.linkPoints(), t.shouldBeDrawn() ? (t.graphic || this.renderItem(t), t.redraw(dt(i, !0) && t.graphic.placed), t.points.length && function(e) {
964
+ t.linkPoints(), t.shouldBeDrawn() ? (t.graphic || this.renderItem(t), t.redraw(ut(i, !0) && t.graphic.placed), t.points.length && function(e) {
948
965
  let s = e.graphic, n = e.points.some((a) => a.series.visible !== !1 && a.visible !== !1);
949
966
  s && (n ? s.visibility === "hidden" && s.show() : s.hide());
950
967
  }(t)) : this.destroyItem(t);
@@ -991,26 +1008,24 @@ function Qe() {
991
1008
  }, t.chart.labelCollectors.push(t.labelCollector);
992
1009
  }
993
1010
  setOptions(t) {
994
- this.options = L(this.defaultOptions, t);
1011
+ this.options = X(this.defaultOptions, t.type && this.defaultOptions.types[t.type] || {}, t);
995
1012
  }
996
1013
  setVisibility(t) {
997
- let i = this.options, e = this.chart.navigationBindings, s = dt(t, !i.visible);
1014
+ let i = this.options, e = this.chart.navigationBindings, s = ut(t, !i.visible);
998
1015
  if (this.graphic.attr("visibility", s ? "inherit" : "hidden"), !s) {
999
1016
  let n = function(a) {
1000
1017
  a.setControlPointsVisibility(s);
1001
1018
  };
1002
- this.shapes.forEach(n), this.labels.forEach(n), e.activeAnnotation === this && e.popup && e.popup.type === "annotation-toolbar" && si(e, "closePopup");
1019
+ this.shapes.forEach(n), this.labels.forEach(n), e.activeAnnotation === this && e.popup && e.popup.type === "annotation-toolbar" && ni(e, "closePopup");
1003
1020
  }
1004
1021
  i.visible = s;
1005
1022
  }
1006
1023
  update(t, i) {
1007
- let e = this.chart, s = ut(this.userOptions, t), n = e.annotations.indexOf(this), a = L(!0, this.userOptions, t);
1008
- a.labels = s.labels, a.shapes = s.shapes, this.destroy(), this.initProperties(e, a), this.init(e, a), e.options.annotations[n] = this.options, this.isUpdating = !0, dt(i, !0) && e.drawAnnotations(), si(this, "afterUpdate"), this.isUpdating = !1;
1024
+ let e = this.chart, s = gt(this.userOptions, t), n = e.annotations.indexOf(this), a = X(!0, this.userOptions, t);
1025
+ a.labels = s.labels, a.shapes = s.shapes, this.destroy(), this.initProperties(e, a), this.init(e, a), e.options.annotations[n] = this.options, this.isUpdating = !0, ut(i, !0) && e.drawAnnotations(), ni(this, "afterUpdate"), this.isUpdating = !1;
1009
1026
  }
1010
1027
  }
1011
- w.ControlPoint = kt, w.MockPoint = Y, w.shapesMap = { rect: Mt, circle: Nt, ellipse: Tt, path: R, image: St }, w.types = {}, w.prototype.defaultOptions = { visible: !0, animation: {}, crop: !0, draggable: "xy", labelOptions: { align: "center", allowOverlap: !1, backgroundColor: "rgba(0, 0, 0, 0.75)", borderColor: "#000000", borderRadius: 3, borderWidth: 1, className: "highcharts-no-tooltip", crop: !1, formatter: function() {
1012
- return Oi(this.y) ? "" + this.y : "Annotation label";
1013
- }, includeInDataExport: !0, overflow: "justify", padding: 5, shadow: !1, shape: "callout", style: { fontSize: "0.7em", fontWeight: "normal", color: "contrast" }, useHTML: !1, verticalAlign: "bottom", x: 0, y: -16 }, shapeOptions: { stroke: "rgba(0, 0, 0, 0.75)", strokeWidth: 1, fill: "rgba(0, 0, 0, 0.75)", r: 0, snap: 2 }, controlPointOptions: { events: {}, style: { cursor: "pointer", fill: "#ffffff", stroke: "#000000", "stroke-width": 2 }, height: 10, symbol: "circle", visible: !1, width: 10 }, events: {}, zIndex: 6 }, w.prototype.nonDOMEvents = ["add", "afterUpdate", "drag", "remove"], Et.compose(w), function(o) {
1028
+ w.ControlPoint = Et, w.MockPoint = Y, w.shapesMap = { rect: Dt, circle: It, ellipse: St, path: U, image: Ft }, w.types = {}, w.prototype.defaultOptions = At, Ne.annotations = At, w.prototype.nonDOMEvents = ["add", "afterUpdate", "drag", "remove"], Ot.compose(w), function(o) {
1014
1029
  o.compose = function(i) {
1015
1030
  return i.navigation || (i.navigation = new t(i)), i;
1016
1031
  };
@@ -1029,26 +1044,26 @@ function Qe() {
1029
1044
  }
1030
1045
  o.Additions = t;
1031
1046
  }(tt || (tt = {}));
1032
- let Be = tt, { defined: Me, isNumber: oi, pick: Ne } = x(), Te = { backgroundColor: "string", borderColor: "string", borderRadius: "string", color: "string", fill: "string", fontSize: "string", labels: "string", name: "string", stroke: "string", title: "string" }, ni = { getAssignedAxis: function(o) {
1047
+ let De = tt, { defined: Ie, isNumber: ai, pick: Se } = x(), Ye = { backgroundColor: "string", borderColor: "string", borderRadius: "string", color: "string", fill: "string", fontSize: "string", labels: "string", name: "string", stroke: "string", title: "string" }, ri = { getAssignedAxis: function(o) {
1033
1048
  return o.filter((t) => {
1034
- let i = t.axis.getExtremes(), e = i.min, s = i.max, n = Ne(t.axis.minPointOffset, 0);
1035
- return oi(e) && oi(s) && t.value >= e - n && t.value <= s + n && !t.axis.options.isInternal;
1049
+ let i = t.axis.getExtremes(), e = i.min, s = i.max, n = Se(t.axis.minPointOffset, 0);
1050
+ return ai(e) && ai(s) && t.value >= e - n && t.value <= s + n && !t.axis.options.isInternal;
1036
1051
  })[0];
1037
1052
  }, getFieldType: function(o, t) {
1038
- let i = Te[o], e = typeof t;
1039
- return Me(i) && (e = i), { string: "text", number: "number", boolean: "checkbox" }[e];
1040
- } }, { getAssignedAxis: C } = ni, { isNumber: ai, merge: K } = x(), De = { lang: { navigation: { popup: { simpleShapes: "Simple shapes", lines: "Lines", circle: "Circle", ellipse: "Ellipse", rectangle: "Rectangle", label: "Label", shapeOptions: "Shape options", typeOptions: "Details", fill: "Fill", format: "Text", strokeWidth: "Line width", stroke: "Line color", title: "Title", name: "Name", labelOptions: "Label options", labels: "Labels", backgroundColor: "Background color", backgroundColors: "Background colors", borderColor: "Border color", borderRadius: "Border radius", borderWidth: "Border width", style: "Style", padding: "Padding", fontSize: "Font size", color: "Color", height: "Height", shapes: "Shape options" } } }, navigation: { bindingsClassName: "highcharts-bindings-container", bindings: { circleAnnotation: { className: "highcharts-circle-annotation", start: function(o) {
1041
- let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
1053
+ let i = Ye[o], e = typeof t;
1054
+ return Ie(i) && (e = i), { string: "text", number: "number", boolean: "checkbox" }[e];
1055
+ } }, { getAssignedAxis: P } = ri, { isNumber: hi, merge: K } = x(), Le = { lang: { navigation: { popup: { simpleShapes: "Simple shapes", lines: "Lines", circle: "Circle", ellipse: "Ellipse", rectangle: "Rectangle", label: "Label", shapeOptions: "Shape options", typeOptions: "Details", fill: "Fill", format: "Text", strokeWidth: "Line width", stroke: "Line color", title: "Title", name: "Name", labelOptions: "Label options", labels: "Labels", backgroundColor: "Background color", backgroundColors: "Background colors", borderColor: "Border color", borderRadius: "Border radius", borderWidth: "Border width", style: "Style", padding: "Padding", fontSize: "Font size", color: "Color", height: "Height", shapes: "Shape options" } } }, navigation: { bindingsClassName: "highcharts-bindings-container", bindings: { circleAnnotation: { className: "highcharts-circle-annotation", start: function(o) {
1056
+ let t = this.chart.pointer?.getCoordinates(o), i = t && P(t.xAxis), e = t && P(t.yAxis), s = this.chart.options.navigation;
1042
1057
  if (i && e) return this.chart.addAnnotation(K({ langKey: "circle", type: "basicAnnotation", shapes: [{ type: "circle", point: { x: i.value, y: e.value, xAxis: i.axis.index, yAxis: e.axis.index }, r: 5 }] }, s.annotationsOptions, s.bindings.circleAnnotation.annotationsOptions));
1043
1058
  }, steps: [function(o, t) {
1044
1059
  let i, e = t.options.shapes, s = e && e[0] && e[0].point || {};
1045
- if (ai(s.xAxis) && ai(s.yAxis)) {
1060
+ if (hi(s.xAxis) && hi(s.yAxis)) {
1046
1061
  let n = this.chart.inverted, a = this.chart.xAxis[s.xAxis].toPixels(s.x), r = this.chart.yAxis[s.yAxis].toPixels(s.y);
1047
1062
  i = Math.max(Math.sqrt(Math.pow(n ? r - o.chartX : a - o.chartX, 2) + Math.pow(n ? a - o.chartY : r - o.chartY, 2)), 5);
1048
1063
  }
1049
1064
  t.update({ shapes: [{ r: i }] });
1050
1065
  }] }, ellipseAnnotation: { className: "highcharts-ellipse-annotation", start: function(o) {
1051
- let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
1066
+ let t = this.chart.pointer?.getCoordinates(o), i = t && P(t.xAxis), e = t && P(t.yAxis), s = this.chart.options.navigation;
1052
1067
  if (i && e) return this.chart.addAnnotation(K({ langKey: "ellipse", type: "basicAnnotation", shapes: [{ type: "ellipse", xAxis: i.axis.index, yAxis: e.axis.index, points: [{ x: i.value, y: e.value }, { x: i.value, y: e.value }], ry: 1 }] }, s.annotationsOptions, s.bindings.ellipseAnnotation.annotationsOptions));
1053
1068
  }, steps: [function(o, t) {
1054
1069
  let i = t.shapes[0], e = i.getAbsolutePosition(i.points[1]);
@@ -1057,31 +1072,31 @@ function Qe() {
1057
1072
  let i = t.shapes[0], e = i.getAbsolutePosition(i.points[0]), s = i.getAbsolutePosition(i.points[1]), n = i.getDistanceFromLine(e, s, o.chartX, o.chartY), a = i.getYAxis(), r = Math.abs(a.toValue(0) - a.toValue(n));
1058
1073
  i.setYRadius(r), i.redraw(!1);
1059
1074
  }] }, rectangleAnnotation: { className: "highcharts-rectangle-annotation", start: function(o) {
1060
- let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis);
1075
+ let t = this.chart.pointer?.getCoordinates(o), i = t && P(t.xAxis), e = t && P(t.yAxis);
1061
1076
  if (!i || !e) return;
1062
1077
  let s = i.value, n = e.value, a = i.axis.index, r = e.axis.index, h = this.chart.options.navigation;
1063
1078
  return this.chart.addAnnotation(K({ langKey: "rectangle", type: "basicAnnotation", shapes: [{ type: "path", points: [{ xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { command: "Z" }] }] }, h.annotationsOptions, h.bindings.rectangleAnnotation.annotationsOptions));
1064
1079
  }, steps: [function(o, t) {
1065
- let i = t.options.shapes, e = i && i[0] && i[0].points || [], s = this.chart.pointer?.getCoordinates(o), n = s && C(s.xAxis), a = s && C(s.yAxis);
1080
+ let i = t.options.shapes, e = i && i[0] && i[0].points || [], s = this.chart.pointer?.getCoordinates(o), n = s && P(s.xAxis), a = s && P(s.yAxis);
1066
1081
  if (n && a) {
1067
1082
  let r = n.value, h = a.value;
1068
1083
  e[1].x = r, e[2].x = r, e[2].y = h, e[3].y = h, t.update({ shapes: [{ points: e }] });
1069
1084
  }
1070
1085
  }] }, labelAnnotation: { className: "highcharts-label-annotation", start: function(o) {
1071
- let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
1086
+ let t = this.chart.pointer?.getCoordinates(o), i = t && P(t.xAxis), e = t && P(t.yAxis), s = this.chart.options.navigation;
1072
1087
  if (i && e) return this.chart.addAnnotation(K({ langKey: "label", type: "basicAnnotation", labelOptions: { format: "{y:.2f}", overflow: "none", crop: !0 }, labels: [{ point: { xAxis: i.axis.index, yAxis: e.axis.index, x: i.value, y: e.value } }] }, s.annotationsOptions, s.bindings.labelAnnotation.annotationsOptions));
1073
- } } }, events: {}, annotationsOptions: { animation: { defer: 0 } } } }, { setOptions: Le } = x(), { format: Ie } = Dt(), { composed: Se, doc: Ye, win: Xe } = x(), { getAssignedAxis: ri, getFieldType: hi } = ni, { addEvent: O, attr: Fe, defined: Re, fireEvent: X, isArray: gt, isFunction: Ue, isNumber: We, isObject: li, merge: ci, objectEach: M, pick: pi, pushUnique: je } = x();
1074
- function qe() {
1088
+ } } }, events: {}, annotationsOptions: { animation: { defer: 0 } } } }, { setOptions: Xe } = x(), { format: Fe } = Yt(), { composed: Re, doc: Ue, win: We } = x(), { getAssignedAxis: li, getFieldType: ci } = ri, { addEvent: O, attr: je, defined: qe, fireEvent: F, isArray: ft, isFunction: He, isNumber: Ve, isObject: pi, merge: di, objectEach: N, pick: ui, pushUnique: ze } = x();
1089
+ function Ge() {
1075
1090
  this.chart.navigationBindings && this.chart.navigationBindings.deselectAnnotation();
1076
1091
  }
1077
- function He() {
1092
+ function Ke() {
1078
1093
  this.navigationBindings && this.navigationBindings.destroy();
1079
1094
  }
1080
- function ze() {
1095
+ function $e() {
1081
1096
  let o = this.options;
1082
- o && o.navigation && o.navigation.bindings && (this.navigationBindings = new N(this, o.navigation), this.navigationBindings.initEvents(), this.navigationBindings.initUpdate());
1097
+ o && o.navigation && o.navigation.bindings && (this.navigationBindings = new M(this, o.navigation), this.navigationBindings.initEvents(), this.navigationBindings.initUpdate());
1083
1098
  }
1084
- function Ve() {
1099
+ function Ze() {
1085
1100
  let o = this.navigationBindings, t = "highcharts-disabled-btn";
1086
1101
  if (this && o) {
1087
1102
  let i = !1;
@@ -1089,7 +1104,7 @@ function Qe() {
1089
1104
  !e.options.isInternal && e.visible && (i = !0);
1090
1105
  }), this.navigationBindings && this.navigationBindings.container && this.navigationBindings.container[0]) {
1091
1106
  let e = this.navigationBindings.container[0];
1092
- M(o.boundClassNames, (s, n) => {
1107
+ N(o.boundClassNames, (s, n) => {
1093
1108
  let a = e.querySelectorAll("." + n);
1094
1109
  if (a) for (let r = 0; r < a.length; r++) {
1095
1110
  let h = a[r], c = h.className;
@@ -1099,17 +1114,17 @@ function Qe() {
1099
1114
  }
1100
1115
  }
1101
1116
  }
1102
- function Ge() {
1117
+ function _e() {
1103
1118
  this.deselectAnnotation();
1104
1119
  }
1105
- function Ke() {
1120
+ function Je() {
1106
1121
  this.selectedButtonElement = null;
1107
1122
  }
1108
- function di(o) {
1123
+ function gi(o) {
1109
1124
  let t, i, e = o.prototype.defaultOptions.events && o.prototype.defaultOptions.events.click;
1110
1125
  function s(n) {
1111
1126
  let a = this, r = a.chart.navigationBindings, h = r.activeAnnotation;
1112
- e && e.call(a, n), h !== a ? (r.deselectAnnotation(), r.activeAnnotation = a, a.setControlPointsVisibility(!0), X(r, "showPopup", { annotation: a, formType: "annotation-toolbar", options: r.annotationToFields(a), onSubmit: function(c) {
1127
+ e && e.call(a, n), h !== a ? (r.deselectAnnotation(), r.activeAnnotation = a, a.setControlPointsVisibility(!0), F(r, "showPopup", { annotation: a, formType: "annotation-toolbar", options: r.annotationToFields(a), onSubmit: function(c) {
1113
1128
  if (c.actionType === "remove") r.activeAnnotation = !1, r.chart.removeAnnotation(a);
1114
1129
  else {
1115
1130
  let l = {};
@@ -1117,38 +1132,38 @@ function Qe() {
1117
1132
  let g = l.typeOptions;
1118
1133
  a.options.type === "measure" && (g.crosshairY.enabled = g.crosshairY.strokeWidth !== 0, g.crosshairX.enabled = g.crosshairX.strokeWidth !== 0), a.update(l);
1119
1134
  }
1120
- } })) : X(r, "closePopup"), n.activeAnnotation = !0;
1135
+ } })) : F(r, "closePopup"), n.activeAnnotation = !0;
1121
1136
  }
1122
- ci(!0, o.prototype.defaultOptions.events, { click: s, touchstart: function(n) {
1137
+ di(!0, o.prototype.defaultOptions.events, { click: s, touchstart: function(n) {
1123
1138
  t = n.touches[0].clientX, i = n.touches[0].clientY;
1124
1139
  }, touchend: function(n) {
1125
1140
  t && Math.sqrt(Math.pow(t - n.changedTouches[0].clientX, 2) + Math.pow(i - n.changedTouches[0].clientY, 2)) >= 4 || s.call(this, n);
1126
1141
  } });
1127
1142
  }
1128
- class N {
1143
+ class M {
1129
1144
  static compose(t, i) {
1130
- je(Se, "NavigationBindings") && (O(t, "remove", qe), di(t), M(t.types, (e) => {
1131
- di(e);
1132
- }), O(i, "destroy", He), O(i, "load", ze), O(i, "render", Ve), O(N, "closePopup", Ge), O(N, "deselectButton", Ke), Le(De));
1145
+ ze(Re, "NavigationBindings") && (O(t, "remove", Ge), gi(t), N(t.types, (e) => {
1146
+ gi(e);
1147
+ }), O(i, "destroy", Ke), O(i, "load", $e), O(i, "render", Ze), O(M, "closePopup", _e), O(M, "deselectButton", Je), Xe(Le));
1133
1148
  }
1134
1149
  constructor(t, i) {
1135
- this.boundClassNames = void 0, this.chart = t, this.options = i, this.eventsToUnbind = [], this.container = this.chart.container.getElementsByClassName(this.options.bindingsClassName || ""), this.container.length || (this.container = Ye.getElementsByClassName(this.options.bindingsClassName || ""));
1150
+ this.boundClassNames = void 0, this.chart = t, this.options = i, this.eventsToUnbind = [], this.container = this.chart.container.getElementsByClassName(this.options.bindingsClassName || ""), this.container.length || (this.container = Ue.getElementsByClassName(this.options.bindingsClassName || ""));
1136
1151
  }
1137
1152
  getCoords(t) {
1138
1153
  let i = this.chart.pointer?.getCoordinates(t);
1139
- return [i && ri(i.xAxis), i && ri(i.yAxis)];
1154
+ return [i && li(i.xAxis), i && li(i.yAxis)];
1140
1155
  }
1141
1156
  initEvents() {
1142
1157
  let t = this, i = t.chart, e = t.container, s = t.options;
1143
- t.boundClassNames = {}, M(s.bindings || {}, (n) => {
1158
+ t.boundClassNames = {}, N(s.bindings || {}, (n) => {
1144
1159
  t.boundClassNames[n.className] = n;
1145
1160
  }), [].forEach.call(e, (n) => {
1146
1161
  t.eventsToUnbind.push(O(n, "click", (a) => {
1147
1162
  let r = t.getButtonEvents(n, a);
1148
1163
  r && !r.button.classList.contains("highcharts-disabled-btn") && t.bindingsButtonClick(r.button, r.events, a);
1149
1164
  }));
1150
- }), M(s.events || {}, (n, a) => {
1151
- Ue(n) && t.eventsToUnbind.push(O(t, a, n, { passive: !1 }));
1165
+ }), N(s.events || {}, (n, a) => {
1166
+ He(n) && t.eventsToUnbind.push(O(t, a, n, { passive: !1 }));
1152
1167
  }), t.eventsToUnbind.push(O(i.container, "click", function(n) {
1153
1168
  !i.cancelClick && i.isInsidePlot(n.chartX - i.plotLeft, n.chartY - i.plotTop, { visiblePlotOnly: !0 }) && t.bindingsChartClick(this, n);
1154
1169
  })), t.eventsToUnbind.push(O(i.container, x().isTouchDevice ? "touchmove" : "mousemove", function(n) {
@@ -1157,19 +1172,19 @@ function Qe() {
1157
1172
  }
1158
1173
  initUpdate() {
1159
1174
  let t = this;
1160
- Be.compose(this.chart).navigation.addUpdate((i) => {
1175
+ De.compose(this.chart).navigation.addUpdate((i) => {
1161
1176
  t.update(i);
1162
1177
  });
1163
1178
  }
1164
1179
  bindingsButtonClick(t, i, e) {
1165
1180
  let s = this.chart, n = s.renderer.boxWrapper, a = !0;
1166
- this.selectedButtonElement && (this.selectedButtonElement.classList === t.classList && (a = !1), X(this, "deselectButton", { button: this.selectedButtonElement }), this.nextEvent && (this.currentUserDetails && this.currentUserDetails.coll === "annotations" && s.removeAnnotation(this.currentUserDetails), this.mouseMoveEvent = this.nextEvent = !1)), a ? (this.selectedButton = i, this.selectedButtonElement = t, X(this, "selectButton", { button: t }), i.init && i.init.call(this, t, e), (i.start || i.steps) && s.renderer.boxWrapper.addClass("highcharts-draw-mode")) : (s.stockTools && t.classList.remove("highcharts-active"), n.removeClass("highcharts-draw-mode"), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null);
1181
+ this.selectedButtonElement && (this.selectedButtonElement.classList === t.classList && (a = !1), F(this, "deselectButton", { button: this.selectedButtonElement }), this.nextEvent && (this.currentUserDetails && this.currentUserDetails.coll === "annotations" && s.removeAnnotation(this.currentUserDetails), this.mouseMoveEvent = this.nextEvent = !1)), a ? (this.selectedButton = i, this.selectedButtonElement = t, F(this, "selectButton", { button: t }), i.init && i.init.call(this, t, e), (i.start || i.steps) && s.renderer.boxWrapper.addClass("highcharts-draw-mode")) : (s.stockTools && t.classList.remove("highcharts-active"), n.removeClass("highcharts-draw-mode"), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null);
1167
1182
  }
1168
1183
  bindingsChartClick(t, i) {
1169
1184
  t = this.chart;
1170
1185
  let e = this.activeAnnotation, s = this.selectedButton, n = t.renderer.boxWrapper;
1171
1186
  e && (e.cancelClick || i.activeAnnotation || !i.target.parentNode || function(a, r) {
1172
- let h = Xe.Element.prototype, c = h.matches || h.msMatchesSelector || h.webkitMatchesSelector, l = null;
1187
+ let h = We.Element.prototype, c = h.matches || h.msMatchesSelector || h.webkitMatchesSelector, l = null;
1173
1188
  if (h.closest) l = h.closest.call(a, r);
1174
1189
  else do {
1175
1190
  if (c.call(a, r)) return a;
@@ -1178,19 +1193,19 @@ function Qe() {
1178
1193
  return l;
1179
1194
  }(i.target, ".highcharts-popup") ? e.cancelClick && setTimeout(() => {
1180
1195
  e.cancelClick = !1;
1181
- }, 0) : X(this, "closePopup")), s && s.start && (this.nextEvent ? (this.nextEvent(i, this.currentUserDetails), this.steps && (this.stepIndex++, s.steps[this.stepIndex] ? this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex] : (X(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), s.end && s.end.call(this, i, this.currentUserDetails), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null))) : (this.currentUserDetails = s.start.call(this, i), this.currentUserDetails && s.steps ? (this.stepIndex = 0, this.steps = !0, this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex]) : (X(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), this.steps = !1, this.selectedButton = null, s.end && s.end.call(this, i, this.currentUserDetails))));
1196
+ }, 0) : F(this, "closePopup")), s && s.start && (this.nextEvent ? (this.nextEvent(i, this.currentUserDetails), this.steps && (this.stepIndex++, s.steps[this.stepIndex] ? this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex] : (F(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), s.end && s.end.call(this, i, this.currentUserDetails), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null))) : (this.currentUserDetails = s.start.call(this, i), this.currentUserDetails && s.steps ? (this.stepIndex = 0, this.steps = !0, this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex]) : (F(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), this.steps = !1, this.selectedButton = null, s.end && s.end.call(this, i, this.currentUserDetails))));
1182
1197
  }
1183
1198
  bindingsContainerMouseMove(t, i) {
1184
1199
  this.mouseMoveEvent && this.mouseMoveEvent(i, this.currentUserDetails);
1185
1200
  }
1186
1201
  fieldsToOptions(t, i) {
1187
- return M(t, (e, s) => {
1202
+ return N(t, (e, s) => {
1188
1203
  let n = parseFloat(e), a = s.split("."), r = a.length - 1;
1189
- if (!We(n) || e.match(/px|em/g) || s.match(/format/g) || (e = n), e !== "undefined") {
1204
+ if (!Ve(n) || e.match(/px|em/g) || s.match(/format/g) || (e = n), e !== "undefined") {
1190
1205
  let h = i;
1191
1206
  a.forEach((c, l) => {
1192
1207
  if (c !== "__proto__" && c !== "constructor") {
1193
- let g = pi(a[l + 1], "");
1208
+ let g = ui(a[l + 1], "");
1194
1209
  r === l ? h[c] = e : (h[c] || (h[c] = g.match(/\d/g) ? [] : {}), h = h[c]);
1195
1210
  }
1196
1211
  });
@@ -1201,26 +1216,26 @@ function Qe() {
1201
1216
  this.activeAnnotation && (this.activeAnnotation.setControlPointsVisibility(!1), this.activeAnnotation = !1);
1202
1217
  }
1203
1218
  annotationToFields(t) {
1204
- let i = t.options, e = N.annotationsEditable, s = e.nestedOptions, n = pi(i.type, i.shapes && i.shapes[0] && i.shapes[0].type, i.labels && i.labels[0] && i.labels[0].type, "label"), a = N.annotationsNonEditable[i.langKey] || [], r = { langKey: i.langKey, type: n };
1219
+ let i = t.options, e = M.annotationsEditable, s = e.nestedOptions, n = ui(i.type, i.shapes && i.shapes[0] && i.shapes[0].type, i.labels && i.labels[0] && i.labels[0].type, "label"), a = M.annotationsNonEditable[i.langKey] || [], r = { langKey: i.langKey, type: n };
1205
1220
  function h(c, l, g, f, d) {
1206
1221
  let p;
1207
- g && Re(c) && a.indexOf(l) === -1 && ((g.indexOf && g.indexOf(l)) >= 0 || g[l] || g === !0) && (gt(c) ? (f[l] = [], c.forEach((u, m) => {
1208
- li(u) ? (f[l][m] = {}, M(u, (y, v) => {
1222
+ g && qe(c) && a.indexOf(l) === -1 && ((g.indexOf && g.indexOf(l)) >= 0 || g[l] || g === !0) && (ft(c) ? (f[l] = [], c.forEach((u, m) => {
1223
+ pi(u) ? (f[l][m] = {}, N(u, (y, v) => {
1209
1224
  h(y, v, s[l], f[l][m], l);
1210
1225
  })) : h(u, 0, s[l], f[l], l);
1211
- })) : li(c) ? (p = {}, gt(f) ? (f.push(p), p[l] = {}, p = p[l]) : f[l] = p, M(c, (u, m) => {
1226
+ })) : pi(c) ? (p = {}, ft(f) ? (f.push(p), p[l] = {}, p = p[l]) : f[l] = p, N(c, (u, m) => {
1212
1227
  h(u, m, l === 0 ? g : s[l], p, l);
1213
- })) : l === "format" ? f[l] = [Ie(c, t.labels[0].points[0]).toString(), "text"] : gt(f) ? f.push([c, hi(d, c)]) : f[l] = [c, hi(l, c)]);
1228
+ })) : l === "format" ? f[l] = [Fe(c, t.labels[0].points[0]).toString(), "text"] : ft(f) ? f.push([c, ci(d, c)]) : f[l] = [c, ci(l, c)]);
1214
1229
  }
1215
- return M(i, (c, l) => {
1216
- l === "typeOptions" ? (r[l] = {}, M(i[l], (g, f) => {
1230
+ return N(i, (c, l) => {
1231
+ l === "typeOptions" ? (r[l] = {}, N(i[l], (g, f) => {
1217
1232
  h(g, f, s, r[l], f);
1218
1233
  })) : h(c, l, e[n], r, l);
1219
1234
  }), r;
1220
1235
  }
1221
1236
  getClickedClassNames(t, i) {
1222
1237
  let e = i.target, s = [], n;
1223
- for (; e && e.tagName && ((n = Fe(e, "class")) && (s = s.concat(n.split(" ").map((a) => [a, e]))), (e = e.parentNode) !== t); ) ;
1238
+ for (; e && e.tagName && ((n = je(e, "class")) && (s = s.concat(n.split(" ").map((a) => [a, e]))), (e = e.parentNode) !== t); ) ;
1224
1239
  return s;
1225
1240
  }
1226
1241
  getButtonEvents(t, i) {
@@ -1230,7 +1245,7 @@ function Qe() {
1230
1245
  }), e;
1231
1246
  }
1232
1247
  update(t) {
1233
- this.options = ci(!0, this.options, t), this.removeEvents(), this.initEvents();
1248
+ this.options = di(!0, this.options, t), this.removeEvents(), this.initEvents();
1234
1249
  }
1235
1250
  removeEvents() {
1236
1251
  this.eventsToUnbind.forEach((t) => t());
@@ -1239,19 +1254,19 @@ function Qe() {
1239
1254
  this.removeEvents();
1240
1255
  }
1241
1256
  }
1242
- N.annotationsEditable = { nestedOptions: { labelOptions: ["style", "format", "backgroundColor"], labels: ["style"], label: ["style"], style: ["fontSize", "color"], background: ["fill", "strokeWidth", "stroke"], innerBackground: ["fill", "strokeWidth", "stroke"], outerBackground: ["fill", "strokeWidth", "stroke"], shapeOptions: ["fill", "strokeWidth", "stroke"], shapes: ["fill", "strokeWidth", "stroke"], line: ["strokeWidth", "stroke"], backgroundColors: [!0], connector: ["fill", "strokeWidth", "stroke"], crosshairX: ["strokeWidth", "stroke"], crosshairY: ["strokeWidth", "stroke"] }, circle: ["shapes"], ellipse: ["shapes"], verticalLine: [], label: ["labelOptions"], measure: ["background", "crosshairY", "crosshairX"], fibonacci: [], tunnel: ["background", "line", "height"], pitchfork: ["innerBackground", "outerBackground"], rect: ["shapes"], crookedLine: [], basicAnnotation: ["shapes", "labelOptions"] }, N.annotationsNonEditable = { rectangle: ["crosshairX", "crosshairY", "labelOptions"], ellipse: ["labelOptions"], circle: ["labelOptions"] };
1257
+ M.annotationsEditable = { nestedOptions: { labelOptions: ["style", "format", "backgroundColor"], labels: ["style"], label: ["style"], style: ["fontSize", "color"], background: ["fill", "strokeWidth", "stroke"], innerBackground: ["fill", "strokeWidth", "stroke"], outerBackground: ["fill", "strokeWidth", "stroke"], shapeOptions: ["fill", "strokeWidth", "stroke"], shapes: ["fill", "strokeWidth", "stroke"], line: ["strokeWidth", "stroke"], backgroundColors: [!0], connector: ["fill", "strokeWidth", "stroke"], crosshairX: ["strokeWidth", "stroke"], crosshairY: ["strokeWidth", "stroke"] }, circle: ["shapes"], ellipse: ["shapes"], verticalLine: [], label: ["labelOptions"], measure: ["background", "crosshairY", "crosshairX"], fibonacci: [], tunnel: ["background", "line", "height"], pitchfork: ["innerBackground", "outerBackground"], rect: ["shapes"], crookedLine: [], basicAnnotation: ["shapes", "labelOptions"] }, M.annotationsNonEditable = { rectangle: ["crosshairX", "crosshairY", "labelOptions"], ellipse: ["labelOptions"], circle: ["labelOptions"] };
1243
1258
  let T = x();
1244
- T.Annotation = T.Annotation || w, T.NavigationBindings = T.NavigationBindings || N, T.Annotation.compose(T.Chart, T.NavigationBindings, T.Pointer, T.SVGRenderer);
1245
- let $e = x();
1246
- return mt.default;
1259
+ T.Annotation = T.Annotation || w, T.NavigationBindings = T.NavigationBindings || M, T.Annotation.compose(T.Chart, T.NavigationBindings, T.Pointer, T.SVGRenderer);
1260
+ let Qe = x();
1261
+ return xt.default;
1247
1262
  })());
1248
1263
  }($)), $.exports;
1249
1264
  }
1250
- var gi = Qe();
1251
- const ts = /* @__PURE__ */ Ze(gi), es = /* @__PURE__ */ _e({
1265
+ var mi = ss();
1266
+ const os = /* @__PURE__ */ ts(mi), as = /* @__PURE__ */ is({
1252
1267
  __proto__: null,
1253
- default: ts
1254
- }, [gi]);
1268
+ default: os
1269
+ }, [mi]);
1255
1270
  export {
1256
- es as a
1271
+ as as a
1257
1272
  };