binbot-charts 0.5.1 → 0.5.3

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 (306) hide show
  1. package/dist/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +112 -0
  2. package/dist/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +1 -0
  3. package/dist/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +322 -0
  4. package/dist/public/charting_library/bundles/11.df012db70159a159d927.js +1 -0
  5. package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +1 -0
  6. package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.js +1 -0
  7. package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +1 -0
  8. package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +89 -0
  9. package/dist/public/charting_library/bundles/16.680572949c1125757d35.js +1 -0
  10. package/dist/public/charting_library/bundles/17.404a01f527881dfff424.js +1 -0
  11. package/dist/public/charting_library/bundles/18.78de69cfba051874e071.js +120 -0
  12. package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +1 -0
  13. package/dist/public/charting_library/bundles/2.60931787a6734697ac13.js +118 -0
  14. package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +128 -0
  15. package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +1 -0
  16. package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +1 -0
  17. package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +1 -0
  18. package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +1 -0
  19. package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +611 -0
  20. package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +1 -0
  21. package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +69 -0
  22. package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.js +1 -0
  23. package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +1 -0
  24. package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.js +1 -0
  25. package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.js +231 -0
  26. package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +166 -0
  27. package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +121 -0
  28. package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +1 -0
  29. package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +1 -0
  30. package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +1 -0
  31. package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +1 -0
  32. package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.js +199 -0
  33. package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +74 -0
  34. package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +1 -0
  35. package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +1 -0
  36. package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +29 -0
  37. package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +1 -0
  38. package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.js +1 -0
  39. package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +1 -0
  40. package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +363 -0
  41. package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +1 -0
  42. package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +114 -0
  43. package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +95 -0
  44. package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +1 -0
  45. package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +1 -0
  46. package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +62 -0
  47. package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +1 -0
  48. package/dist/public/charting_library/bundles/51.11871c50951db825ace3.js +1 -0
  49. package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +1 -0
  50. package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +76 -0
  51. package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +203 -0
  52. package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.js +303 -0
  53. package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.js +95 -0
  54. package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.js +108 -0
  55. package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +61 -0
  56. package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.js +1 -0
  57. package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +1 -0
  58. package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +1 -0
  59. package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.js +118 -0
  60. package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +61 -0
  61. package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +1 -0
  62. package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +1 -0
  63. package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.js +1 -0
  64. package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +1 -0
  65. package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +1 -0
  66. package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.js +1 -0
  67. package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +1 -0
  68. package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +68 -0
  69. package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +1 -0
  70. package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +1 -0
  71. package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +1 -0
  72. package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +1 -0
  73. package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +1 -0
  74. package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +1 -0
  75. package/dist/public/charting_library/bundles/76.5d20bed213399f326603.js +1 -0
  76. package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +1 -0
  77. package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +1 -0
  78. package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +1 -0
  79. package/dist/public/charting_library/bundles/8.ffab20b86db484062268.js +1 -0
  80. package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +1 -0
  81. package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +1 -0
  82. package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +1 -0
  83. package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +1 -0
  84. package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +1 -0
  85. package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.js +1 -0
  86. package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.js +1 -0
  87. package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +1 -0
  88. package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +1 -0
  89. package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +1 -0
  90. package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +1 -0
  91. package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +1 -0
  92. package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +1 -0
  93. package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +1 -0
  94. package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +1 -0
  95. package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.js +1 -0
  96. package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +1 -0
  97. package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.js +1 -0
  98. package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +263 -0
  99. package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +52 -0
  100. package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +399 -0
  101. package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +97 -0
  102. package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +49 -0
  103. package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +1199 -0
  104. package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +181 -0
  105. package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +107 -0
  106. package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +131 -0
  107. package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +71 -0
  108. package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +250 -0
  109. package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +78 -0
  110. package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +508 -0
  111. package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +92 -0
  112. package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +85 -0
  113. package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +104 -0
  114. package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +361 -0
  115. package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +224 -0
  116. package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +228 -0
  117. package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +26194 -0
  118. package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +60 -0
  119. package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +101 -0
  120. package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +116 -0
  121. package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +4029 -0
  122. package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +735 -0
  123. package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +16 -0
  124. package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +369 -0
  125. package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +130 -0
  126. package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +405 -0
  127. package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +1807 -0
  128. package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +3715 -0
  129. package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +354 -0
  130. package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +566 -0
  131. package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +79 -0
  132. package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +8 -0
  133. package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +52 -0
  134. package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +5 -0
  135. package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +11 -0
  136. package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +189 -0
  137. package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +39 -0
  138. package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +174 -0
  139. package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +204 -0
  140. package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +125 -0
  141. package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +320 -0
  142. package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +123 -0
  143. package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +35 -0
  144. package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +74 -0
  145. package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +1304 -0
  146. package/dist/public/charting_library/charting_library.cjs.js +98 -0
  147. package/dist/public/charting_library/charting_library.esm.js +101 -0
  148. package/dist/public/charting_library/charting_library.js +99 -0
  149. package/dist/public/charting_library/charting_library.standalone.js +99 -0
  150. package/dist/src/App.jsx +106 -0
  151. package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +112 -0
  152. package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +1 -0
  153. package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +322 -0
  154. package/dist/src/charting_library/bundles/11.df012db70159a159d927.js +1 -0
  155. package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +1 -0
  156. package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.js +1 -0
  157. package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +1 -0
  158. package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +89 -0
  159. package/dist/src/charting_library/bundles/16.680572949c1125757d35.js +1 -0
  160. package/dist/src/charting_library/bundles/17.404a01f527881dfff424.js +1 -0
  161. package/dist/src/charting_library/bundles/18.78de69cfba051874e071.js +120 -0
  162. package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +1 -0
  163. package/dist/src/charting_library/bundles/2.60931787a6734697ac13.js +118 -0
  164. package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +128 -0
  165. package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +1 -0
  166. package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +1 -0
  167. package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +1 -0
  168. package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +1 -0
  169. package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +611 -0
  170. package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +1 -0
  171. package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +69 -0
  172. package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.js +1 -0
  173. package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +1 -0
  174. package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.js +1 -0
  175. package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.js +231 -0
  176. package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +166 -0
  177. package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +121 -0
  178. package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +1 -0
  179. package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +1 -0
  180. package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +1 -0
  181. package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +1 -0
  182. package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.js +199 -0
  183. package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +74 -0
  184. package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +1 -0
  185. package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +1 -0
  186. package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +29 -0
  187. package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +1 -0
  188. package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.js +1 -0
  189. package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +1 -0
  190. package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +363 -0
  191. package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +1 -0
  192. package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +114 -0
  193. package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +95 -0
  194. package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +1 -0
  195. package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +1 -0
  196. package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +62 -0
  197. package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +1 -0
  198. package/dist/src/charting_library/bundles/51.11871c50951db825ace3.js +1 -0
  199. package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +1 -0
  200. package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +76 -0
  201. package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +203 -0
  202. package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.js +303 -0
  203. package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.js +95 -0
  204. package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.js +108 -0
  205. package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +61 -0
  206. package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.js +1 -0
  207. package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +1 -0
  208. package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +1 -0
  209. package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.js +118 -0
  210. package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +61 -0
  211. package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +1 -0
  212. package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +1 -0
  213. package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.js +1 -0
  214. package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +1 -0
  215. package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +1 -0
  216. package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.js +1 -0
  217. package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +1 -0
  218. package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +68 -0
  219. package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +1 -0
  220. package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +1 -0
  221. package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +1 -0
  222. package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +1 -0
  223. package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +1 -0
  224. package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +1 -0
  225. package/dist/src/charting_library/bundles/76.5d20bed213399f326603.js +1 -0
  226. package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +1 -0
  227. package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +1 -0
  228. package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +1 -0
  229. package/dist/src/charting_library/bundles/8.ffab20b86db484062268.js +1 -0
  230. package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +1 -0
  231. package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +1 -0
  232. package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +1 -0
  233. package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +1 -0
  234. package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +1 -0
  235. package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.js +1 -0
  236. package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.js +1 -0
  237. package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +1 -0
  238. package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +1 -0
  239. package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +1 -0
  240. package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +1 -0
  241. package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +1 -0
  242. package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +1 -0
  243. package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +1 -0
  244. package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +1 -0
  245. package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.js +1 -0
  246. package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +1 -0
  247. package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.js +1 -0
  248. package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +263 -0
  249. package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +52 -0
  250. package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +399 -0
  251. package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +97 -0
  252. package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +49 -0
  253. package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +1199 -0
  254. package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +181 -0
  255. package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +107 -0
  256. package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +131 -0
  257. package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +71 -0
  258. package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +250 -0
  259. package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +78 -0
  260. package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +508 -0
  261. package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +92 -0
  262. package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +85 -0
  263. package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +104 -0
  264. package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +361 -0
  265. package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +224 -0
  266. package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +228 -0
  267. package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +26194 -0
  268. package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +60 -0
  269. package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +101 -0
  270. package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +116 -0
  271. package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +4029 -0
  272. package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +735 -0
  273. package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +16 -0
  274. package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +369 -0
  275. package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +130 -0
  276. package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +405 -0
  277. package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +1807 -0
  278. package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +3715 -0
  279. package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +354 -0
  280. package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +566 -0
  281. package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +79 -0
  282. package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +8 -0
  283. package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +52 -0
  284. package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +5 -0
  285. package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +11 -0
  286. package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +189 -0
  287. package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +39 -0
  288. package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +174 -0
  289. package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +204 -0
  290. package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +125 -0
  291. package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +320 -0
  292. package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +123 -0
  293. package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +35 -0
  294. package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +74 -0
  295. package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +1304 -0
  296. package/dist/src/charting_library/charting_library.cjs.js +98 -0
  297. package/dist/src/charting_library/charting_library.esm.js +101 -0
  298. package/dist/src/charting_library/charting_library.js +99 -0
  299. package/dist/src/charting_library/charting_library.standalone.js +99 -0
  300. package/dist/src/components/TVChartContainer.jsx +143 -0
  301. package/dist/src/components/datafeed.js +199 -0
  302. package/dist/src/components/helpers.js +58 -0
  303. package/dist/src/components/index.js +8 -0
  304. package/dist/src/components/streaming.js +92 -0
  305. package/dist/src/index.js +10 -0
  306. package/package.json +2 -2
@@ -0,0 +1,399 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ (window.webpackJsonp = window.webpackJsonp || []).push([["chart-bottom-toolbar"], { "+GaQ": function (e, t, n) {
13
+ "use strict";
14
+ n.d(t, "a", (function () { return a; }));
15
+ var i = n("q1tI");
16
+ function a(e) { if (e.map) {
17
+ return i.Children.toArray(e.children).map(e.map);
18
+ } return e.children; }
19
+ }, "02pg": function (e, t, n) {
20
+ "use strict";
21
+ n.d(t, "a", (function () { return o; }));
22
+ var i = n("q1tI"), a = n("TSYQ"), s = n("XiJV");
23
+ function o(e) { return i.createElement("div", { className: a(s.separator, e.className) }); }
24
+ }, "1TxM": function (e, t, n) {
25
+ "use strict";
26
+ n.d(t, "c", (function () { return l; })), n.d(t, "a", (function () { return c; })), n.d(t, "b", (function () { return h; }));
27
+ var i = n("q1tI"), a = n.n(i), s = n("17x9"), o = n.n(s);
28
+ const r = a.a.createContext({});
29
+ function l(e, t) { o.a.checkPropTypes(t, e, "context", "RegistryContext"); }
30
+ function c(e) { const { validation: t, value: n } = e; return l(n, t), a.a.createElement(r.Provider, { value: n }, e.children); }
31
+ function h() { return r; }
32
+ }, "20PO": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9.7 9l4.65-4.65-.7-.7L9 8.29 4.35 3.65l-.7.7L8.29 9l-4.64 4.65.7.7L9 9.71l4.65 4.64.7-.7L9.71 9z"/></svg>'; }, "2mG+": function (e, t, n) { e.exports = { button: "button-2-onvH7F" }; }, "5o6O": function (e, t, n) { e.exports = { tabs: "tabs-3I2ohC86", tab: "tab-3I2ohC86", noBorder: "noBorder-3I2ohC86", disabled: "disabled-3I2ohC86", active: "active-3I2ohC86", defaultCursor: "defaultCursor-3I2ohC86", slider: "slider-3I2ohC86", content: "content-3I2ohC86" }; }, "6KyJ": function (e, t, n) {
33
+ "use strict";
34
+ var i, a = n("q1tI"), s = n("TSYQ"), o = n("K9GE"), r = n("YZ9j");
35
+ n("O7m7");
36
+ !function (e) { e[e.Initial = 0] = "Initial", e[e.Appear = 1] = "Appear", e[e.Active = 2] = "Active"; }(i || (i = {}));
37
+ class l extends a.PureComponent {
38
+ constructor(e) { super(e), this._stateChangeTimeout = null, this.state = { state: i.Initial }; }
39
+ render() { const { className: e, color: t = "black" } = this.props, n = s(r.item, { [r[t]]: Boolean(t) }); return a.createElement("span", { className: s(r.loader, e, this._getStateClass()) }, a.createElement("span", { className: n }), a.createElement("span", { className: n }), a.createElement("span", { className: n })); }
40
+ componentDidMount() { this.setState({ state: i.Appear }), this._stateChangeTimeout = setTimeout(() => { this.setState({ state: i.Active }); }, 2 * o.b); }
41
+ componentWillUnmount() { this._stateChangeTimeout && (clearTimeout(this._stateChangeTimeout), this._stateChangeTimeout = null); }
42
+ _getStateClass() { switch (this.state.state) {
43
+ case i.Initial: return r["loader-initial"];
44
+ case i.Appear: return r["loader-appear"];
45
+ default: return "";
46
+ } }
47
+ }
48
+ n.d(t, "a", (function () { return l; }));
49
+ }, "9VJd": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 13v-2.5m8.5 11h6.5a2 2 0 0 0 2-2v-9m-17 0v-2c0-1.1.9-2 2-2h13a2 2 0 0 1 2 2v2m-17 0h17"/><path fill="currentColor" d="M10 4h1v4h-1V4zM17 4h1v4h-1V4z"/><path stroke="currentColor" d="M4 18.5h7.5m0 0L8 22m3.5-3.5L8 15"/></svg>'; }, "9dlw": function (e, t, n) {
50
+ "use strict";
51
+ n.d(t, "a", (function () { return d; }));
52
+ var i = n("q1tI"), a = n.n(i), s = n("i8i4"), o = n.n(s), r = n("AiMB"), l = n("DTHj"), c = n("X0gx"), h = n("8Rai");
53
+ function d(e) { const { controller: t, children: n, isOpened: s, closeOnClickOutside: d = !0, doNotCloseOn: u, onClickOutside: m, onClose: g } = e, p = __rest(e, ["controller", "children", "isOpened", "closeOnClickOutside", "doNotCloseOn", "onClickOutside", "onClose"]), b = Object(i.useContext)(c.a), v = Object(h.a)({ handler: function (e) { m && m(e); if (!d)
54
+ return; if (u && e.target instanceof Node) {
55
+ const t = o.a.findDOMNode(u);
56
+ if (t instanceof Node && t.contains(e.target))
57
+ return;
58
+ } g(); }, mouseDown: !0, touchStart: !0 }); return s ? a.a.createElement(r.a, { top: "0", left: "0", right: "0", bottom: "0", pointerEvents: "none" }, a.a.createElement("span", { ref: v, style: { pointerEvents: "auto" } }, a.a.createElement(l.b, Object.assign(Object.assign({}, p), { onClose: g, onScroll: function (t) { const { onScroll: n } = e; n && n(t); }, customCloseDelegate: b, ref: t }), n))) : null; }
59
+ }, ApAi: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="none" stroke="currentColor" d="M11 1.5h3.5a2 2 0 0 1 2 2V7m0 5v2.5a2 2 0 0 1-2 2H11m-4 0H3.5a2 2 0 0 1-2-2V11m0-4V3.5a2 2 0 0 1 2-2H7"/></svg>'; }, "J+f8": function (e, t, n) {
60
+ "use strict";
61
+ n.d(t, "a", (function () { return a; }));
62
+ var i = n("q1tI");
63
+ const a = i.createContext(!1);
64
+ }, J3OW: function (e, t, n) { e.exports = { button: "button-15caiVtH", separator: "separator-15caiVtH" }; }, K3s3: function (e, t, n) {
65
+ "use strict";
66
+ n.d(t, "a", (function () { return r; })), n.d(t, "b", (function () { return l; })), n.d(t, "c", (function () { return c; }));
67
+ var i = n("q1tI"), a = n("TSYQ"), s = n("Eyy1"), o = n("5o6O");
68
+ const r = o;
69
+ function l(e) { const t = a(e.className, o.tab, { [o.active]: e.isActive, [o.disabled]: e.isDisabled, [o.defaultCursor]: !!e.shouldUseDefaultCursor, [o.noBorder]: !!e.noBorder }); return i.createElement("div", { className: t, onClick: e.onClick, ref: e.reference, "data-type": "tab-item", "data-value": e.value, "data-name": "tab-item-" + e.value.toString().toLowerCase() }, e.children); }
70
+ function c(e) { return class extends i.PureComponent {
71
+ constructor() { super(...arguments), this.activeTab = { current: null }; }
72
+ componentDidUpdate() { Object(s.ensureNotNull)(this._slider).style.transition = "transform 350ms", this._componentDidUpdate(); }
73
+ componentDidMount() { this._componentDidUpdate(); }
74
+ render() { const { className: t } = this.props, n = this._generateTabs(); return i.createElement("div", { className: a(t, o.tabs), "data-name": this.props["data-name"] }, n, i.createElement(e, { reference: e => { this._slider = e; } })); }
75
+ _generateTabs() { return this.activeTab.current = null, i.Children.map(this.props.children, e => { const t = e, n = Boolean(t.props.isActive), a = { reference: e => { n && (this.activeTab.current = e), t.props.reference && t.props.reference(e); } }; return i.cloneElement(t, a); }); }
76
+ _componentDidUpdate() { const e = Object(s.ensureNotNull)(this._slider).style; if (this.activeTab.current) {
77
+ const t = this.activeTab.current.offsetWidth, n = this.activeTab.current.offsetLeft;
78
+ e.transform = `translateX(${n}px)`, e.width = t + "px", e.opacity = "1";
79
+ }
80
+ else
81
+ e.opacity = "0"; }
82
+ }; }
83
+ c((function (e) { return i.createElement("div", { className: o.slider, ref: e.reference }); }));
84
+ }, KKsp: function (e, t, n) {
85
+ "use strict";
86
+ n.d(t, "a", (function () { return r; }));
87
+ var i = n("q1tI"), a = n("TSYQ"), s = n.n(a), o = n("NOPy");
88
+ function r(e) { const { size: t = "normal", className: n } = e; return i.createElement("div", { className: s()(o.separator, "small" === t && o.small, "normal" === t && o.normal, "large" === t && o.large, n) }); }
89
+ }, MfqI: function (e, t, n) {
90
+ "use strict";
91
+ n.r(t);
92
+ var i = n("q1tI"), a = n.n(i), s = n("i8i4"), o = n("YFKU"), r = n("17x9"), l = n("TSYQ"), c = n("cvc5"), h = n("Kxc7"), d = n("82wv"), u = n("Iksw"), m = n("tWVy"), g = n("/KDZ"), p = n("N5tr"), b = n("KKsp"), v = n("Eyy1"), f = n("JWMC"), _ = n("1TxM"), C = n("aIyQ"), S = n.n(C), y = n("dfhE");
93
+ class E {
94
+ constructor(e) { this._state = { ranges: [] }, this._change = new S.a, this._rangeChangedListenerBound = this._onRangeChanged.bind(this); const { chartWidget: t } = this._context = e; t.withModel(null, () => { const e = t.model(), n = e.mainSeries(); n.onStatusChanged().subscribe(this, this._updateAvailableRanges), h.enabled("update_timeframes_set_on_symbol_resolve") && n.dataEvents().symbolResolved().subscribe(this, this._updateAvailableRanges), n.priceScale().properties().childs().lockScale.subscribe(this, this._updateAvailableRanges); const i = e.model().appliedTimeFrame(); i.subscribe(this._rangeChangedListenerBound), this._rangeChangedListenerBound(i.value()), this._updateAvailableRanges(); }); }
95
+ state() { return this._state; }
96
+ onChange() { return this._change; }
97
+ selectRange(e) { this._setState({ activeRange: e.value.value }); const { chartWidgetCollection: t } = this._context, n = { val: e.value, res: e.targetResolution }; t.setTimeFrame(n); }
98
+ destroy() { const { chartWidget: e } = this._context; e.withModel(null, () => { const t = e.model(), n = t.mainSeries(); n.onStatusChanged().unsubscribe(this, this._updateAvailableRanges), h.enabled("update_timeframes_set_on_symbol_resolve") && n.dataEvents().symbolResolved().unsubscribe(this, this._updateAvailableRanges), n.priceScale().properties().childs().lockScale.unsubscribe(this, this._updateAvailableRanges), t.model().appliedTimeFrame().unsubscribe(this._rangeChangedListenerBound); }), this._change.destroy(); }
99
+ _setState(e) { this._state = Object.assign({}, this._state, e), this._change.fire(this._state); }
100
+ _onRangeChanged(e) { let t; null !== e && "period-back" === e.val.type && (t = e.val.value), this._setState({ activeRange: t }); }
101
+ _updateAvailableRanges() { const { availableTimeFrames: e, chartWidget: t } = this._context; if (!t.hasModel())
102
+ return; const n = t.model().mainSeries(), i = n.status(); if (i === y.STATUS_LOADING || i === y.STATUS_RESOLVING)
103
+ return; const a = e(n.symbolInfo(), n.status()); 0 !== a.length && this._setState({ ranges: a }); }
104
+ }
105
+ const x = Object(_.b)();
106
+ function w(e) { var t; return (t = class extends i.PureComponent {
107
+ constructor(e, t) { super(e, t), this._handleUpdate = e => { this.setState(e); }, this._handleSelectRange = e => { Object(f.trackEvent)("GUI", "Chart Bottom Toolbar", "range " + e.value), this._binding.selectRange(e); }, Object(_.c)(t, { availableTimeFrames: r.any.isRequired, chartWidgetCollection: r.any.isRequired, chartWidget: r.any.isRequired }), N.has(t.chartWidget) || N.set(t.chartWidget, new E(t)); const n = this._binding = Object(v.ensureDefined)(N.get(t.chartWidget)); this.state = n.state(); }
108
+ componentDidMount() { this._binding.onChange().subscribe(this, this._handleUpdate); }
109
+ componentWillUnmount() { this._binding.onChange().unsubscribe(this, this._handleUpdate); }
110
+ render() { return i.createElement(e, { goToDateButton: this.props.goToDateButton, className: this.props.className, ranges: this.state.ranges, activeRange: this.state.activeRange, onSelectRange: this._handleSelectRange }); }
111
+ }).contextType = x, t; }
112
+ const N = new WeakMap;
113
+ var R = n("cdbK"), T = n("l4ku"), k = n("02pg"), M = n("2uTr"), A = n("9VJd"), W = n("J3OW");
114
+ function O(e) { const { ranges: t, activeRange: n, onSelectRange: i } = e; return a.a.createElement(a.a.Fragment, null, t.map(e => a.a.createElement(T.a, { key: e.value.value, label: e.description || e.text, active: n === e.value.value, checked: n === e.value.value, checkable: !0, disabled: !1, onClick: s.bind(null, e), doNotCloseOnClick: !1, subItems: [] }))); function s(e) { e && i && i(e), Object(m.b)(); } }
115
+ function B(e) { const { onGoToDateClick: t } = e; return a.a.createElement(a.a.Fragment, null, a.a.createElement(k.a, { className: W.separator }), a.a.createElement(T.a, { icon: A, label: Object(M.appendEllipsis)(Object(o.t)("Go to")), onClick: t, active: !1, checked: !1, checkable: !1, disabled: !1, doNotCloseOnClick: !1, subItems: [] })); }
116
+ const j = { title: window.t("Date Range"), goToDate: Object(M.appendEllipsis)(window.t("Go to")) }, I = Object(_.b)();
117
+ class D extends i.PureComponent {
118
+ constructor(e, t) { super(e, t), this._handleGoToDateClick = () => { const { chartWidget: e } = this.context; Object(R.showGoToDateDialog)(e), Object(m.b)(); }, this._handleRangeSelect = e => { e && this.props.onSelectRange && this.props.onSelectRange(e), Object(m.b)(); }, this._renderChildren = e => { const { ranges: t, activeRange: n, goToDateButton: a } = this.props; return e ? i.createElement(i.Fragment, null, i.createElement(O, { ranges: t, activeRange: n, onSelectRange: this._handleRangeSelect }), a && i.createElement(B, { onGoToDateClick: this._handleGoToDateClick })) : i.createElement(i.Fragment, null, t.map(e => i.createElement(p.b, { key: e.value.value, label: e.description || e.text, isActive: n === e.value.value, onClick: this._handleRangeSelect, onClickArg: e })), a && i.createElement(b.a, null), a && i.createElement(p.b, { label: j.goToDate, onClick: this._handleGoToDateClick })); }, Object(_.c)(t, { chartWidget: r.any.isRequired }); }
119
+ render() { return i.createElement(g.a, { rule: "screen and (max-width: 428px)" }, e => i.createElement(d.a, { className: W.button, content: j.title, arrow: !0, verticalAttachEdge: u.c.Top, verticalDropDirection: u.d.FromBottomToTop, horizontalMargin: 4, "data-name": "date-ranges-menu", isDrawer: e }, this._renderChildren(e))); }
120
+ }
121
+ D.contextType = I;
122
+ const L = w(D);
123
+ var z = n("K3s3"), P = n("W9Y+");
124
+ function F(e) { const t = l(e.className, P.item, { [P.isActive]: e.isActive, [P.isFirst]: e.isFirst, [P.isLast]: e.isLast }); return i.createElement("div", { className: t, onClick: e.onClick, ref: e.reference }, e.children); }
125
+ var U = n("nPPD"), q = n("RZ2Z");
126
+ const H = Object(U.a)(z.a, q);
127
+ var K = n("qSb5");
128
+ const G = Object(z.c)((function (e) { return i.createElement("div", { className: l(e.className, H.slider), ref: e.reference }, i.createElement("div", { className: H.inner })); }));
129
+ const X = w((function (e) { const { className: t, ranges: n, activeRange: a, onSelectRange: s } = e; return i.createElement(G, { className: l(K.sliderRow, t), "data-name": "date-ranges-tabs" }, n.map((e, t) => i.createElement(F, { key: e.value.value, value: e.value.value, isFirst: 0 === t, isLast: t === n.length - 1, isActive: a === e.value.value, onClick: s && s.bind(null, e) }, i.createElement("div", { title: e.description || e.text, className: "apply-common-tooltip" }, e.text)))); }));
130
+ var V = n("Iivm"), Y = n("/DW5"), Z = n("ul7r"), Q = n("c7H2");
131
+ const J = Object(Y.b)({ keys: ["Alt", "G"], text: "{0} + {1}"
132
+ }), $ = Object(_.b)();
133
+ class ee extends i.PureComponent {
134
+ constructor(e, t) { super(e, t), this._handleClick = () => { const { chartWidget: e } = this.context; Object(f.trackEvent)("GUI", "Chart Bottom Toolbar", "go to"), Object(R.showGoToDateDialog)(e); }, Object(_.c)(t, { chartWidget: r.any.isRequired }); }
135
+ render() { const { className: e, ranges: t } = this.props; return t.length > 0 && i.createElement("div", { className: l("apply-common-tooltip", Q.button, e), "data-name": "go-to-date", "data-tooltip-hotkey": J, onClick: this._handleClick, title: Object(o.t)("Go to") }, i.createElement(V.a, { className: Q.icon, icon: Z })); }
136
+ }
137
+ ee.contextType = $;
138
+ const te = w(ee);
139
+ var ne = n("URQ3");
140
+ function ie(e) { const { reference: t, className: n, children: a } = e, s = __rest(e, ["reference", "className", "children"]); return i.createElement("button", Object.assign(Object.assign({}, s), { className: l(n, ne.button), ref: t }), i.createElement("span", { className: ne.inner }, a)); }
141
+ var ae = n("/+9u"), se = n("4kQX"), oe = n("7KDR"), re = n("5VQP");
142
+ class le extends i.PureComponent {
143
+ constructor(e) { super(e), this._element = null, this._menu = null, this._handleRef = e => { this._element = e; }, this._showMenu = () => { if (this._menu && this._menu.isShown())
144
+ return this._menu.hide(), void this._menu.destroy(); const { getActions: e, right: t } = this.props, n = Object(v.ensureNotNull)(this._element), i = e(); 0 !== i.length && re.ContextMenuManager.createMenu(i).then(e => { this._menu = e, e.show((e, i) => { const a = n.getBoundingClientRect(); return { clientX: t ? a.right - e : a.left, clientY: a.top - Math.min(i, a.top), overrideHeight: a.top < i ? a.top : void 0 }; }, this._element || void 0); }); }; }
145
+ render() { const { children: e } = this.props; return i.createElement("span", { onClick: this._showMenu, ref: this._handleRef }, e); }
146
+ }
147
+ var ce = n("jCNj"), he = n("2mG+");
148
+ const de = { hint: window.t("Timezone") };
149
+ const ue = Object(_.b)();
150
+ class me extends i.PureComponent {
151
+ constructor(e, t) { super(e, t), this._timeFormatter = new se.TimeFormatter, this._tickInterval = void 0, this._tickClock = () => { const { chartApiInstance: e } = this.context; if (void 0 !== this._timezone) {
152
+ const t = Object(ce.utc_to_cal)(this._timezone, e.serverTime());
153
+ this.setState({ time: this._timeFormatter.format(t) });
154
+ } }, this._getActions = () => { if (!this.props.withMenu)
155
+ return []; const { chartWidget: e } = this.context; return function (e) { e.updateActions(); const t = e.actions(); return t && t.applyTimeZone instanceof oe.Action ? t.applyTimeZone.getSubItems() : []; }(e); }, Object(_.c)(t, { chartWidget: r.any.isRequired, chartApiInstance: r.any.isRequired }), this.state = { time: "" }; }
156
+ componentDidMount() { const { chartWidget: e } = this.context; this._tickInterval = setInterval(this._tickClock, 1e3), e.withModel(null, () => { const t = e.model(); t.model().mainSeries().dataEvents().symbolResolved().subscribe(this, this.updateTimezonesButton), t.model().properties().timezone.subscribe(this, this.updateTimezonesButton); }); }
157
+ componentWillUnmount() { const { chartWidget: e } = this.context; clearInterval(this._tickInterval), e.withModel(null, () => { const t = e.model(); t.model().mainSeries().dataEvents().symbolResolved().unsubscribe(this, this.updateTimezonesButton), t.model().properties().timezone.unsubscribe(this, this.updateTimezonesButton); }); }
158
+ render() {
159
+ const { className: e, withMenu: t } = this.props, { time: n } = this.state, a = void 0 !== this._timezone ? Object(ae.a)(this._timezone.name()).string : null;
160
+ return i.createElement(le, { getActions: this._getActions }, i.createElement(ie, { className: l(e, he.button, "apply-common-tooltip"), title: t ? de.hint : void 0, disabled: !t, "data-name": "time-zone-menu" }, n && a && `${n} (${a})`));
161
+ }
162
+ updateTimezonesButton() { const { chartWidget: e } = this.context; if (!e.hasModel())
163
+ return; if (null === e.model().mainSeries().symbolInfo())
164
+ return; let t = e.model().model().timezone(); if ("exchange" === t) {
165
+ const n = Object(v.ensureNotNull)(e.model().mainSeries().symbolInfo()).timezone;
166
+ n && (t = n);
167
+ } this._timezone = Object(ce.get_timezone)(t), this._tickClock(); }
168
+ }
169
+ me.contextType = ue;
170
+ var ge = n("z6ID");
171
+ function pe(e) { return i.createElement("span", { className: l(ge.separator, e.className) }); }
172
+ var be = n("tU7i"), ve = n("qFKp");
173
+ class fe {
174
+ constructor(e, t, n) { this._highlighted = !1, this._chartWidget = e, this._priceScaleGetter = t, this._owner = n, this._setHighlight = this._setHighlight.bind(this), this._removeHighlight = this._removeHighlight.bind(this); }
175
+ destroy() { this._highlighted && this._removeHighlight(); }
176
+ handlers() { const e = ve.CheckMobile.any(); return { onMouseEnter: e ? void 0 : this._setHighlight, onMouseLeave: e ? void 0 : this._removeHighlight }; }
177
+ _setHighlight() { const e = this._chartWidget.model().model(), t = e.paneForSource(e.mainSeries()), n = this._priceScaleGetter(); if (null === t || null === n)
178
+ return; const i = this._chartWidget.paneByState(t); if (null !== i) {
179
+ const t = i.rightPriceAxisesContainer().findAxisWidgetForScale(n);
180
+ let a = null;
181
+ null !== t && (a = t.axisInfo());
182
+ const s = i.leftPriceAxisesContainer().findAxisWidgetForScale(n);
183
+ null !== s && (a = s.axisInfo());
184
+ const o = i.highlightedPriceAxis();
185
+ null !== a && o.value().axis !== a && (o.setValue({ owner: this._owner, axis: a }), e.lightUpdate(), this._highlighted = !0);
186
+ } }
187
+ _removeHighlight() { const e = this._chartWidget.model().model(), t = e.paneForSource(e.mainSeries()); if (null === t)
188
+ return; const n = this._chartWidget.paneByState(t); if (null !== n) {
189
+ const t = n.highlightedPriceAxis(), i = t.value();
190
+ null !== i.axis && i.owner === this._owner && (t.setValue({ owner: this._owner, axis: null }), e.lightUpdate(), this._highlighted = !1);
191
+ } }
192
+ }
193
+ const _e = Object(_.b)();
194
+ const Ce = Object(_.b)();
195
+ const Se = Object(_.b)();
196
+ const ye = Object(_.b)();
197
+ var Ee = n("+GaQ"), xe = n("XAms"), we = n("T4/F"), Ne = n("ApAi"), Re = n("PP+v");
198
+ const Te = { extLabel: window.t("ext"), extHint: window.t("Extended Hours is available only for intraday charts"), percentageHint: window.t("Toggle Percentage"), logLabel: window.t("log", { context: "scale" }), logHint: window.t("Toggle Log Scale"), autoLabel: window.t("auto", { context: "scale" }), autoHint: window.t("Toggle Auto Scale"), fullscreenHint: window.t("Toggle Maximize Chart"), adjLabel: window.t("adj", { context: "adjustments" }), adjHint: window.t("Adjust data for dividends"), adjForDividendsOnlyHint: window.t("Data is adjusted for dividends only"), adjForSplitsOnlyHint: window.t("Data is adjusted for splits only") }, ke = (Me = e => i.createElement(be.b, { text: Te.logLabel, title: Te.logHint, className: e.className, isActive: e.isLogarithm, isGrouped: !0, onClick: e.onClick, onMouseEnter: e.onMouseEnter, onMouseLeave: e.onMouseLeave, "data-name": "logarithm" }), (Ae = class extends i.PureComponent {
199
+ constructor(e, t) {
200
+ super(e, t), this._priceScale = null, this._handleSelect = () => {
201
+ const e = this.context.chartWidget.model(), t = Object(v.ensureNotNull)(this.state.series), n = t.priceScale(), i = n.mode();
202
+ t.priceScale().isLockScale() || e.setPriceScaleMode({ log: !i.log }, n, window.t("Toggle Log Scale"));
203
+ }, Object(_.c)(t, { chartWidget: r.any.isRequired }), this.state = { isActive: !1, series: null }, this._priceAxisHighlighter = new fe(this.context.chartWidget, () => this._priceScale, "logarithm");
204
+ }
205
+ componentDidMount() { const e = this.context.chartWidget; e.withModel(null, () => { const t = e.model().mainSeries(), n = t.priceScale(); this._handleMainSeriesPriceScaleChanged(n), t.priceScaleChanged().subscribe(this, this._handleMainSeriesPriceScaleChanged), this._handleModeChanged({}, n.mode()), this.setState({ isActive: t.priceScale().isLog(), series: t }); }); }
206
+ componentWillUnmount() { const e = this.context.chartWidget; e.withModel(null, () => { e.model().mainSeries().priceScaleChanged().unsubscribe(this, this._handleMainSeriesPriceScaleChanged); }), null !== this._priceScale && (this._priceScale.modeChanged().unsubscribeAll(this), this._priceScale = null), this._priceAxisHighlighter.destroy(); }
207
+ render() { const { className: e } = this.props, { isActive: t, series: n } = this.state; return i.createElement(Me, Object.assign(Object.assign({}, this._priceAxisHighlighter.handlers()), { className: e, isLogarithm: t, isDisabled: null === n, onClick: this._handleSelect })); }
208
+ _handleMainSeriesPriceScaleChanged(e) { null !== this._priceScale && this._priceScale.modeChanged().unsubscribe(this, this._handleModeChanged), this._priceScale = e, this._priceScale.modeChanged().subscribe(this, this._handleModeChanged), this._handleModeChanged({}, e.mode()); }
209
+ _handleModeChanged(e, t) { Boolean(t.log) !== this.state.isActive && this.setState({ isActive: Boolean(t.log) }); }
210
+ }).contextType = _e, Ae);
211
+ var Me, Ae;
212
+ const We = function (e) {
213
+ var t;
214
+ return (t = class extends i.PureComponent {
215
+ constructor(e, t) { super(e, t), this._priceScale = null, this._handleSelect = () => { const e = this.context.chartWidget.model(), t = Object(v.ensureNotNull)(this.state.series).priceScale(), n = t.mode(); e.setPriceScaleMode({ autoScale: !n.autoScale }, t, window.t("Toggle Auto Scale")); }, Object(_.c)(t, { chartWidget: r.any.isRequired }), this.state = { isActive: !1, series: null }, this._priceAxisHighlighter = new fe(this.context.chartWidget, () => this._priceScale, "auto"); }
216
+ componentDidMount() { const e = this.context.chartWidget; e.withModel(null, () => { const t = e.model().mainSeries(), n = t.priceScale(); this._handleMainSeriesPriceScaleChanged(n), t.priceScaleChanged().subscribe(this, this._handleMainSeriesPriceScaleChanged), this._handleModeChanged({}, n.mode()), this.setState({ isActive: t.priceScale().isAutoScale(), series: t }); }); }
217
+ componentWillUnmount() { const e = this.context.chartWidget; e.withModel(null, () => { e.model().mainSeries().priceScaleChanged().unsubscribe(this, this._handleMainSeriesPriceScaleChanged); }), null !== this._priceScale && (this._priceScale.modeChanged().unsubscribeAll(this), this._priceScale = null), this._priceAxisHighlighter.destroy(); }
218
+ render() { const { className: t } = this.props, { isActive: n, series: a } = this.state; return i.createElement(e, Object.assign(Object.assign({}, this._priceAxisHighlighter.handlers()), { className: t, isAuto: n, isDisabled: null === a, onClick: this._handleSelect })); }
219
+ _handleMainSeriesPriceScaleChanged(e) {
220
+ null !== this._priceScale && this._priceScale.modeChanged().unsubscribe(this, this._handleModeChanged), this._priceScale = e, this._priceScale.modeChanged().subscribe(this, this._handleModeChanged), this._handleModeChanged({}, e.mode());
221
+ }
222
+ _handleModeChanged(e, t) { Boolean(t.autoScale) !== this.state.isActive && this.setState({ isActive: Boolean(t.autoScale) }); }
223
+ }).contextType = Ce, t;
224
+ }(e => i.createElement(be.b, { text: Te.autoLabel, title: Te.autoHint, className: e.className, isActive: e.isAuto, isGrouped: !0, onClick: e.onClick, onMouseEnter: e.onMouseEnter, onMouseLeave: e.onMouseLeave, "data-name": "auto" })), Oe = function (e) { var t; return (t = class extends i.PureComponent {
225
+ constructor(e, t) { super(e, t), this._priceScale = null, this._handleSelect = () => { const e = this.context.chartWidget.model(), t = Object(v.ensureNotNull)(this.state.series), n = t.priceScale(), i = n.mode(); t.priceScale().isLockScale() || e.setPriceScaleMode({ percentage: !i.percentage }, n, window.t("Toggle Percentage Scale")); }, Object(_.c)(t, { chartWidget: r.any.isRequired }), this.state = { isActive: !1, series: null }, this._priceAxisHighlighter = new fe(this.context.chartWidget, () => this._priceScale, "percentage"); }
226
+ componentDidMount() { const e = this.context.chartWidget; e.withModel(null, () => { const t = e.model().mainSeries(), n = t.priceScale(); this._handleMainSeriesPriceScaleChanged(n), t.priceScaleChanged().subscribe(this, this._handleMainSeriesPriceScaleChanged), this._handleScaleChange({}, n.mode()), this.setState({ isActive: t.priceScale().isPercentage(), series: t }); }); }
227
+ componentWillUnmount() { const e = this.context.chartWidget; e.withModel(null, () => { e.model().mainSeries().priceScaleChanged().unsubscribe(this, this._handleMainSeriesPriceScaleChanged); }), null !== this._priceScale && (this._priceScale.modeChanged().unsubscribeAll(this), this._priceScale = null), this._priceAxisHighlighter.destroy(); }
228
+ render() { const { className: t } = this.props, { isActive: n, series: a } = this.state; return i.createElement(e, Object.assign(Object.assign({}, this._priceAxisHighlighter.handlers()), { className: t, isPercentage: n, isDisabled: null === a, onClick: this._handleSelect })); }
229
+ _handleMainSeriesPriceScaleChanged(e) { null !== this._priceScale && this._priceScale.modeChanged().unsubscribe(this, this._handleScaleChange), this._priceScale = e, this._priceScale.modeChanged().subscribe(this, this._handleScaleChange), this._handleScaleChange({}, e.mode()); }
230
+ _handleScaleChange(e, t) { Boolean(t.percentage) !== this.state.isActive && this.setState({ isActive: Boolean(t.percentage) }); }
231
+ }).contextType = Se, t; }(e => i.createElement(be.b, { icon: we, title: Te.percentageHint, className: e.className, isActive: e.isPercentage, isDisabled: e.isDisabled, isGrouped: !0, onClick: e.onClick, onMouseEnter: e.onMouseEnter, onMouseLeave: e.onMouseLeave, "data-name": "percentage" }));
232
+ const Be = Object(Y.b)({ keys: ["Alt", "Enter"], text: "{0} + {1}" }), je = function (e) {
233
+ var t;
234
+ return (t = class extends i.PureComponent {
235
+ constructor(e, t) {
236
+ super(e, t), this._handleClick = e => { const { resizerDetacher: t, chartWidgetCollection: n } = this.context; e.shiftKey && t.detachable.value() ? t.detach() : this.state.isFullscreen ? t.exitFullscreen() : t.requestFullscreen(); }, this._handleLayoutChange = e => { this.setState({ isFullscreen: e }); }, this._handlePhoneSize = () => {
237
+ 0;
238
+ }, Object(_.c)(t, { chartWidgetCollection: r.any.isRequired, resizerDetacher: r.any.isRequired });
239
+ const { resizerDetacher: n } = t;
240
+ this.state = { isFullscreen: n.fullscreen.value(), isChangeLayoutButton: this._isChangeLayoutButton() };
241
+ }
242
+ componentDidMount() { const { resizerDetacher: e, chartWidgetCollection: t } = this.context, { mobileChangeLayoutEnabled: n } = this.props; e.fullscreen.subscribe(this._handleLayoutChange); }
243
+ componentWillUnmount() { const { resizerDetacher: e, chartWidgetCollection: t } = this.context, { mobileChangeLayoutEnabled: n } = this.props; e.fullscreen.unsubscribe(this._handleLayoutChange); }
244
+ render() { const { className: t } = this.props, { isFullscreen: n, isChangeLayoutButton: a } = this.state; return i.createElement(e, { className: t, isFullscreen: n, onClick: this._handleClick }); }
245
+ _isChangeLayoutButton() { return !1; }
246
+ }).contextType = ye, t;
247
+ }(e => i.createElement(be.b, { icon: Ne, title: Te.fullscreenHint, className: e.className, isActive: e.isFullscreen, onClick: e.onClick, "data-tooltip-hotkey": Be, "data-name": "fullscreen" })), Ie = { properties: !0, fullscreen: !0, preventPhoneLayout: !0 }, De = { fullscreen: Number.MIN_SAFE_INTEGER, preventPhoneLayout: Number.MIN_SAFE_INTEGER, properties: Number.MIN_SAFE_INTEGER, separator: -2, timeZones: -1, auto: 0, logarithm: 1, percentage: 2, session: 3, adj: 4 }, Le = (() => { const e = new Map; return e.set(ke, "logarithm"), e.set(Oe, "percentage"), e.set(We, "auto"), e.set(je, "fullscreen"), e; })();
248
+ function ze(e) { 0; }
249
+ const Pe = { dateRangeMode: "hidden", separator: !0, timeZones: !0, fullscreen: !0, preventPhoneLayout: !0, properties: !0, auto: !0, logarithm: !0, percentage: !0, session: !0, adj: !0 }, Fe = Object(_.b)();
250
+ class Ue extends i.PureComponent {
251
+ constructor(e, t) {
252
+ var n, a;
253
+ super(e, t), this._timezoneButtonRef = null, this._layout = Object.assign({}, Pe), this._raf = null, this._toolbar = null, this._rangeExpanded = null, this._rangeCollapsed = null, this._seriesComponents = {}, this._injector = (n = () => this._layout, a = (e, t) => this._seriesComponents[t] = e, (e, t, s) => { if (i.isValidElement(e) && "string" != typeof e.type) {
254
+ const { props: o } = e;
255
+ if ("string" == typeof o.className) {
256
+ const r = { className: l(o.className, 0 === t && Re.first, t === s.length - 1 && Re.last) }, c = n(), h = Object(v.ensureDefined)(Le.get(e.type));
257
+ return i.createElement("div", { key: null === e.key ? void 0 : e.key, className: l(Re.inline, c[h] && Re.collapsed), ref: e => a(e, h), onClick: () => ze() }, i.cloneElement(e, r));
258
+ }
259
+ } return e; }), this._handleResize = () => {
260
+ null === this._raf && (this._raf = requestAnimationFrame(() => {
261
+ const e = this._layout, t = Object(v.ensureNotNull)(this._toolbar), n = Object(v.ensureNotNull)(this._rangeExpanded), i = (a = function (e) { const t = {}; return Object.keys(e).forEach(n => { const i = e[n]; if (null !== i) {
262
+ const e = s.findDOMNode(i);
263
+ null !== e && (t[n] = e);
264
+ } }), t; }(this._seriesComponents), Object.keys(a).map(e => ({ name: e, width: a[e].offsetWidth })).sort((e, t) => De[e.name] - De[t.name]));
265
+ var a;
266
+ const o = t.offsetWidth, r = i.reduce((e, t) => e + t.width, 0), l = n.offsetWidth, c = !Boolean(n.textContent) || o - r - l <= 0 ? "collapsed" : "expanded";
267
+ if (Object.assign(e, { dateRangeMode: c }), "expanded" !== c) {
268
+ const t = o - Object(v.ensureNotNull)(this._rangeCollapsed).offsetWidth - 0;
269
+ let n = 0, a = 0;
270
+ for (const s of i)
271
+ n += s.width, s.name in Ie ? (a += s.width, Object.assign(e, { [s.name]: !1 })) : Object.assign(e, {
272
+ [s.name]: t <= n
273
+ });
274
+ t <= a && Object.assign(e, { dateRangeMode: "hidden" });
275
+ }
276
+ else
277
+ Object.assign(e, { separator: !1, timeZones: !1, fullscreen: !1, preventPhoneLayout: !1, properties: !1, auto: !1, logarithm: !1, percentage: !1, session: !1, adj: !1 });
278
+ this._applyResizing(), this._raf = null;
279
+ }));
280
+ }, this._handleTimezoneButtonRef = e => { this._timezoneButtonRef = e; }, this._handleMeasure = () => { null !== this._toolbar && this.resizeUI(); }, this._handleFullscreenableChange = e => { this._setStateWithResize({ isFullscreenable: e }); }, this._handlePreventPhoneLayoutButtonVisibility = () => { 0; }, this._handleToolbarRef = e => this._toolbar = e, this._handleRangeCollapsedRef = e => this._rangeCollapsed = e, this._handleRangeExpandedRef = e => this._rangeExpanded = e, this._handleTimeZonesRef = e => { this._seriesComponents.timeZones = e; }, this._handleSessionsRef = e => { this._seriesComponents.session = e; }, this._handleSeparatorRef = e => { this._seriesComponents.separator = e; }, Object(_.c)(t, { onContentBoxChanged: r.any.isRequired, chartApiInstance: r.any.isRequired, chartWidget: r.any.isRequired, chartWidgetCollection: r.any.isRequired, resizerDetacher: r.any.isRequired });
281
+ const { resizerDetacher: o } = this.context;
282
+ this.state = { isFullscreenable: o.fullscreenable.value(), isPreventPhoneLayoutButton: this._isPreventPhoneLayoutButton() };
283
+ }
284
+ componentDidMount() { const { onContentBoxChanged: e, resizerDetacher: t, chartWidgetCollection: n, chartWidget: i } = this.context; e.subscribe(this, this._handleResize), t.fullscreenable.subscribe(this._handleFullscreenableChange), this.updateTimezonesButton(), this.resizeUI(); }
285
+ componentWillUnmount() { const { onContentBoxChanged: e, resizerDetacher: t, chartWidgetCollection: n, chartWidget: i } = this.context; e.unsubscribe(this, this._handleResize), t.fullscreenable.unsubscribe(this._handleFullscreenableChange), null !== this._raf && (cancelAnimationFrame(this._raf), this._raf = null); }
286
+ render() {
287
+ const e = this._layout, { timeFramesWidgetEnabled: t, timeWidgetEnabled: n, percentageScaleButtonEnabled: a, logScaleButtonEnabled: s, autoScaleButtonEnabled: o, fullscreenButtonEnabled: r } = this.props;
288
+ return i.createElement("div", { className: Re.toolbar, ref: this._handleToolbarRef, onContextMenu: xe.a }, t && i.createElement(Ee.a, null, i.createElement("div", { className: l(Re.dateRangeWrapper, "collapsed" !== e.dateRangeMode && Re.collapsed), ref: this._handleRangeCollapsedRef }, i.createElement("div", { className: l(Re.dateRangeCollapsed) }, i.createElement(L, { goToDateButton: this.props.goToDateEnabled }))), i.createElement(c, { onMeasure: this._handleMeasure }, i.createElement("div", { className: l(Re.dateRangeWrapper, "expanded" !== e.dateRangeMode && Re.collapsed), ref: this._handleRangeExpandedRef }, i.createElement("div", { className: l(Re.dateRangeExpanded) }, i.createElement(X, null), this.props.goToDateEnabled && i.createElement(pe, null), this.props.goToDateEnabled && i.createElement(te, null))))), i.createElement("div", { className: Re.seriesControlWrapper }, n && i.createElement(c, { onMeasure: this._handleMeasure }, i.createElement("div", { className: l(Re.inline, e.timeZones && Re.collapsed), ref: this._handleTimeZonesRef }, i.createElement("div", { className: Re.inline, onClick: this._trackTimezonesButtonClick }, i.createElement(me, { className: Re.timezone,
289
+ withMenu: this.props.timezoneMenuEnabled, ref: this._handleTimezoneButtonRef })))), !1, i.createElement("div", { ref: this._handleSeparatorRef, className: l(Re.inline, e.separator && Re.collapsed) }, i.createElement(pe, null)), i.createElement(Ee.a, { map: this._injector }, !1, a && !h.enabled("fundamental_widget") && i.createElement(Oe, { className: Re.icon }), s && i.createElement(ke, { className: Re.item }), o && i.createElement(We, { className: Re.item }), r && this.state.isFullscreenable && i.createElement(je, { className: Re.icon, mobileChangeLayoutEnabled: this.props.mobileChangeLayoutEnabled }), !1)));
290
+ }
291
+ updateTimezonesButton() { null !== this._timezoneButtonRef && this._timezoneButtonRef.updateTimezonesButton(); }
292
+ resizeUI() { this._handleResize(); }
293
+ _updateButtonsVisibility() { 0; }
294
+ _trackTimezonesButtonClick() { ze(); }
295
+ _setStateWithResize(e) { Object.assign(this._layout, Pe), this._applyResizing(), this.setState(e, () => this._handleResize()); }
296
+ _applyResizing() { const _a = this._layout, { dateRangeMode: e } = _a, t = __rest(_a, ["dateRangeMode"]); this._rangeExpanded && this._rangeExpanded.classList.toggle(Re.collapsed, "expanded" !== e), this._rangeCollapsed && this._rangeCollapsed.classList.toggle(Re.collapsed, "collapsed" !== e), Object.keys(t).forEach(e => { const n = e, i = this._seriesComponents[n]; i && i.classList.toggle(Re.collapsed, t[n]); }); }
297
+ _isPreventPhoneLayoutButton() { return !1; }
298
+ }
299
+ Ue.contextType = Fe;
300
+ const qe = { onContentBoxChanged: r.any, computeContentBox: r.any, chartWidget: r.any, chartApiInstance: r.any, chartWidgetCollection: r.any, resizerDetacher: r.any, availableTimeFrames: r.any };
301
+ class He extends i.PureComponent {
302
+ constructor(e) { super(e), this._setActiveChart = e => { this._defineRegistry(e), this.setState({ chartWidget: e }); }; const t = this.props.chartWidgetCollection.activeChartWidget.value(); this.state = { chartWidget: t }, this._defineRegistry(t); }
303
+ componentDidMount() { this.props.chartWidgetCollection.activeChartWidget.subscribe(this._setActiveChart); }
304
+ componentWillUnmount() { this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._setActiveChart); }
305
+ render() { const { chartWidget: e } = this.state; if (!e)
306
+ return null; const { options: t } = this.props, n = { timeFramesWidgetEnabled: t.timeFramesWidgetEnabled, goToDateEnabled: t.timeFramesWidget.goToDateEnabled, timeWidgetEnabled: t.timeWidgetEnabled, timezoneMenuEnabled: t.timeWidget && t.timeWidget.timezoneMenuEnabled, sessionIdButtonEnabled: t.sessionIdButtonEnabled, adjustForDividendsButtonEnabled: t.adjustForDividendsButtonEnabled, logScaleButtonEnabled: t.logScaleButtonEnabled, percentageScaleButtonEnabled: t.percentageScaleButtonEnabled, autoScaleButtonEnabled: t.autoScaleButtonEnabled, fullscreenButtonEnabled: t.fullscreenButtonEnabled, mobileChangeLayoutEnabled: t.mobileChangeLayoutEnabled }; return i.createElement(_.a, { validation: qe, value: this._registry }, i.createElement(Ue, Object.assign({ key: e.id() }, n))); }
307
+ _defineRegistry(e) {
308
+ const { onContentBoxChanged: t, computeContentBox: n, chartApiInstance: i, chartWidgetCollection: a, options: { timeFramesWidgetEnabled: s, timeFramesWidget: o } } = this.props, r = s ? o.availableTimeFrames : void 0;
309
+ this._registry = { onContentBoxChanged: t, computeContentBox: n, chartWidget: e, availableTimeFrames: r, chartApiInstance: i, chartWidgetCollection: a,
310
+ resizerDetacher: e.getResizerDetacher() };
311
+ }
312
+ }
313
+ n.d(t, "BottomToolbarRenderer", (function () { return Ke; }));
314
+ class Ke {
315
+ constructor(e, t, n, a, o, r, l) { this._container = e; const c = i.createElement(He, { onContentBoxChanged: t, computeContentBox: n, chartWidgetCollection: a, chartApiInstance: o, chartWidgetOptions: r, options: l }); s.render(c, e), e.setAttribute("data-initialized", "true"); }
316
+ destroy() { s.unmountComponentAtNode(this._container), this._container.removeAttribute("data-initialized"); }
317
+ }
318
+ }, N5tr: function (e, t, n) {
319
+ "use strict";
320
+ n.d(t, "a", (function () { return h; })), n.d(t, "b", (function () { return m; }));
321
+ var i = n("q1tI"), a = n.n(i), s = n("TSYQ"), o = n("tWVy"), r = n("JWMC"), l = n("ijHL"), c = n("v1bN");
322
+ const h = c;
323
+ function d(e) { const { reference: t } = e, n = __rest(e, ["reference"]), i = Object.assign(Object.assign({}, n), { ref: t }); return a.a.createElement(e.href ? "a" : "div", i); }
324
+ function u(e) { e.stopPropagation(); }
325
+ function m(e) { const { id: t, role: n, "aria-selected": h, className: m, title: g, labelRowClassName: p, labelClassName: b, shortcut: v, forceShowShortcuts: f, icon: _, isActive: C, isDisabled: S, isHovered: y, appearAsDisabled: E, label: x, link: w, showToolboxOnHover: N, target: R, rel: T, toolbox: k, reference: M, onMouseOut: A, onMouseOver: W, suppressToolboxClick: O = !0, theme: B = c } = e, j = Object(l.b)(e), I = Object(i.useRef)(null); return a.a.createElement(d, Object.assign(Object.assign({}, j), { id: t, role: n, "aria-selected": h, className: s(m, B.item, _ && B.withIcon, { [B.isActive]: C, [B.isDisabled]: S || E, [B.hovered]: y }), title: g, href: w, target: R, rel: T, reference: function (e) { I.current = e, "function" == typeof M && M(e); "object" == typeof M && (M.current = e); }, onClick: function (t) { const { dontClosePopup: n, onClick: i, onClickArg: a, trackEventObject: s } = e; if (S)
326
+ return; s && Object(r.trackEvent)(s.category, s.event, s.label); i && i(a, t); n || Object(o.b)(); }, onContextMenu: function (t) { const { trackEventObject: n, trackRightClick: i } = e; n && i && Object(r.trackEvent)(n.category, n.event, n.label + "_rightClick"); }, onMouseUp: function (t) { const { trackEventObject: n, trackMouseWheelClick: i } = e; if (1 === t.button && w && n) {
327
+ let e = n.label;
328
+ i && (e += "_mouseWheelClick"), Object(r.trackEvent)(n.category, n.event, e);
329
+ } }, onMouseOver: W, onMouseOut: A }), void 0 !== _ && a.a.createElement("div", { className: B.icon, dangerouslySetInnerHTML: { __html: _ } }), a.a.createElement("div", { className: s(B.labelRow, p) }, a.a.createElement("div", { className: s(B.label, b) }, x)), (void 0 !== v || f) && a.a.createElement("div", { className: B.shortcut }, (D = v) && D.split("+").join(" + ")), void 0 !== k && a.a.createElement("div", { onClick: O ? u : void 0, className: s(B.toolbox, { [B.showOnHover]: N }) }, k)); var D; }
330
+ }, NOPy: function (e, t, n) { e.exports = { separator: "separator-eqcGT_ow", small: "small-eqcGT_ow", normal: "normal-eqcGT_ow", large: "large-eqcGT_ow" }; }, O7m7: function (e, t, n) { }, "PP+v": function (e, t, n) { e.exports = { toolbar: "toolbar-2yU8ifXU", dateRangeWrapper: "dateRangeWrapper-2yU8ifXU", seriesControlWrapper: "seriesControlWrapper-2yU8ifXU", dateRangeExpanded: "dateRangeExpanded-2yU8ifXU", dateRangeCollapsed: "dateRangeCollapsed-2yU8ifXU", item: "item-2yU8ifXU", first: "first-2yU8ifXU", last: "last-2yU8ifXU", inline: "inline-2yU8ifXU", timezone: "timezone-2yU8ifXU", session: "session-2yU8ifXU", icon: "icon-2yU8ifXU", hidden: "hidden-2yU8ifXU", collapsed: "collapsed-2yU8ifXU" }; }, RZ2Z: function (e, t, n) {
331
+ e.exports = {
332
+ slider: "slider-3GYrNsPp", inner: "inner-3GYrNsPp"
333
+ };
334
+ }, "T4/F": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><g fill="none" stroke="currentColor"><circle cx="3.5" cy="3.5" r="2"/><circle cx="10.5" cy="10.5" r="2"/><path stroke-linecap="square" d="M9.5 1.5l-5 11"/></g></svg>'; }, URQ3: function (e, t, n) { e.exports = { button: "button-2pZNJ24z", hover: "hover-2pZNJ24z", inner: "inner-2pZNJ24z" }; }, "W9Y+": function (e, t, n) { e.exports = { item: "item-3SbREAgE", hover: "hover-3SbREAgE", isActive: "isActive-3SbREAgE", isFirst: "isFirst-3SbREAgE", isLast: "isLast-3SbREAgE" }; }, XXQ5: function (e, t, n) { e.exports = { item: "item-1-SF84yU", emptyIcons: "emptyIcons-1-SF84yU", loading: "loading-1-SF84yU", disabled: "disabled-1-SF84yU", interactive: "interactive-1-SF84yU", hovered: "hovered-1-SF84yU", icon: "icon-1-SF84yU", label: "label-1-SF84yU", fullWidth: "fullWidth-1-SF84yU", title: "title-1-SF84yU", nested: "nested-1-SF84yU", shortcut: "shortcut-1-SF84yU", remove: "remove-1-SF84yU" }; }, XiJV: function (e, t, n) { e.exports = { separator: "separator-3No0pWrk" }; }, Xy1d: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'; }, Xzy5: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'; }, YZ9j: function (e) { e.exports = JSON.parse('{"loader":"loader-8x1ZxRwP","item":"item-2-89r_cd","tv-button-loader":"tv-button-loader-23vqS1uY","black":"black-20Ytsf0V","white":"white-1ucCcc2I","gray":"gray-XDhHSS-T","loader-initial":"loader-initial-1deQDeio","loader-appear":"loader-appear-2krFtMrd"}'); }, c7H2: function (e, t, n) { e.exports = { button: "button-yLOygoSG", hover: "hover-yLOygoSG", icon: "icon-yLOygoSG" }; }, l4ku: function (e, t, n) {
335
+ "use strict";
336
+ n.d(t, "a", (function () { return g; }));
337
+ var i = n("q1tI"), a = n.n(i), s = n("TSYQ"), o = n("Iivm"), r = n("6KyJ"), l = n("J+f8"), c = n("w+Rv"), h = n("Xy1d"), d = n("Xzy5"), u = n("20PO"), m = n("XXQ5");
338
+ function g(e) { const { isTitle: t, isLoading: n, isHovered: g, active: p, checkable: b, disabled: v, checked: f, icon: _, iconChecked: C, hint: S, subItems: y, label: E, onClick: x, children: w, toolbox: N, fullWidthLabel: R } = e, T = Object(i.useContext)(l.a), k = !!y.length; return n ? a.a.createElement("li", { className: s(m.item, m.loading) }, a.a.createElement(r.a, { color: "gray" })) : a.a.createElement("li", { className: s(m.item, m.interactive, t && m.title, v && m.disabled, g && m.hovered, p && m.active, T && m.emptyIcons), onClick: x }, a.a.createElement(o.a, { className: s(m.icon), icon: function () { if (b && f)
339
+ return C || _ || h; return _; }() }), a.a.createElement("span", { className: s(m.label, R && m.fullWidth) }, E), !!N && a.a.createElement(o.a, { onClick: function () { N && N.action(); }, className: m.remove, icon: u }), !k && S && a.a.createElement(c.a, { className: m.shortcut, text: S }), k && a.a.createElement(o.a, { className: m.nested, icon: d }), w); }
340
+ }, nPPD: function (e, t, n) {
341
+ "use strict";
342
+ function i(e, t, n = {}) { const i = Object.assign({}, t); for (const a of Object.keys(t)) {
343
+ const s = n[a] || a;
344
+ s in e && (i[a] = [e[s], t[a]].join(" "));
345
+ } return i; }
346
+ function a(e, t, n = {}) { return Object.assign({}, e, i(e, t, n)); }
347
+ n.d(t, "b", (function () { return i; })), n.d(t, "a", (function () { return a; }));
348
+ }, qSb5: function (e, t, n) { e.exports = { sliderRow: "sliderRow-1emAA4_D" }; }, ul7r: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M1.5 8V6.5m7.5 9h5.5a2 2 0 0 0 2-2v-7m-15 0v-2c0-1.1.9-2 2-2h11a2 2 0 0 1 2 2v2m-15 0h15"/><path fill="currentColor" d="M5 1h1v3H5V1zM12 1h1v3h-1V1z"/><path stroke="currentColor" d="M0 12.5h7.5m0 0L4 16m3.5-3.5L4 9"/></svg>'; }, v1bN: function (e, t, n) { e.exports = { "tablet-small-breakpoint": "screen and (max-width: 428px)", item: "item-2IihgTnv", hovered: "hovered-2IihgTnv", isDisabled: "isDisabled-2IihgTnv", isActive: "isActive-2IihgTnv", shortcut: "shortcut-2IihgTnv", toolbox: "toolbox-2IihgTnv", withIcon: "withIcon-2IihgTnv", icon: "icon-2IihgTnv", labelRow: "labelRow-2IihgTnv", label: "label-2IihgTnv", showOnHover: "showOnHover-2IihgTnv" }; }, "w+Rv": function (e, t, n) {
349
+ "use strict";
350
+ n.d(t, "a", (function () { return r; }));
351
+ var i = n("q1tI"), a = n("TSYQ"), s = n.n(a), o = n("ycgn");
352
+ function r(e) { const { text: t = "", className: n } = e; return i.createElement("span", { className: s()(o.shortcut, n) }, t); }
353
+ }, "x0D+": function (e, t, n) {
354
+ var i, a, s;
355
+ a = [t], void 0 === (s = "function" == typeof (i = function (e) {
356
+ "use strict";
357
+ function t(e) { if (Array.isArray(e)) {
358
+ for (var t = 0, n = Array(e.length); t < e.length; t++)
359
+ n[t] = e[t];
360
+ return n;
361
+ } return Array.from(e); }
362
+ Object.defineProperty(e, "__esModule", { value: !0 });
363
+ var n = !1;
364
+ if ("undefined" != typeof window) {
365
+ var i = { get passive() { n = !0; } };
366
+ window.addEventListener("testPassive", null, i), window.removeEventListener("testPassive", null, i);
367
+ }
368
+ var a = "undefined" != typeof window && window.navigator && window.navigator.platform && /iP(ad|hone|od)/.test(window.navigator.platform), s = [], o = !1, r = -1, l = void 0, c = void 0, h = function (e) { return s.some((function (t) { return !(!t.options.allowTouchMove || !t.options.allowTouchMove(e)); })); }, d = function (e) { var t = e || window.event; return !!h(t.target) || 1 < t.touches.length || (t.preventDefault && t.preventDefault(), !1); }, u = function () { setTimeout((function () { void 0 !== c && (document.body.style.paddingRight = c, c = void 0), void 0 !== l && (document.body.style.overflow = l, l = void 0); })); };
369
+ e.disableBodyScroll = function (e, i) {
370
+ if (a) {
371
+ if (!e)
372
+ return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
373
+ if (e && !s.some((function (t) { return t.targetElement === e; }))) {
374
+ var u = { targetElement: e, options: i || {} };
375
+ s = [].concat(t(s), [u]), e.ontouchstart = function (e) { 1 === e.targetTouches.length && (r = e.targetTouches[0].clientY); }, e.ontouchmove = function (t) { var n, i, a, s; 1 === t.targetTouches.length && (i = e, s = (n = t).targetTouches[0].clientY - r, !h(n.target) && (i && 0 === i.scrollTop && 0 < s || (a = i) && a.scrollHeight - a.scrollTop <= a.clientHeight && s < 0 ? d(n) : n.stopPropagation())); }, o || (document.addEventListener("touchmove", d, n ? { passive: !1 } : void 0), o = !0);
376
+ }
377
+ }
378
+ else {
379
+ g = i, setTimeout((function () {
380
+ if (void 0 === c) {
381
+ var e = !!g && !0 === g.reserveScrollBarGap, t = window.innerWidth - document.documentElement.clientWidth;
382
+ e && 0 < t && (c = document.body.style.paddingRight,
383
+ document.body.style.paddingRight = t + "px");
384
+ }
385
+ void 0 === l && (l = document.body.style.overflow, document.body.style.overflow = "hidden");
386
+ }));
387
+ var m = { targetElement: e, options: i || {} };
388
+ s = [].concat(t(s), [m]);
389
+ }
390
+ var g;
391
+ }, e.clearAllBodyScrollLocks = function () { a ? (s.forEach((function (e) { e.targetElement.ontouchstart = null, e.targetElement.ontouchmove = null; })), o && (document.removeEventListener("touchmove", d, n ? { passive: !1 } : void 0), o = !1), s = [], r = -1) : (u(), s = []); }, e.enableBodyScroll = function (e) { if (a) {
392
+ if (!e)
393
+ return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
394
+ e.ontouchstart = null, e.ontouchmove = null, s = s.filter((function (t) { return t.targetElement !== e; })), o && 0 === s.length && (document.removeEventListener("touchmove", d, n ? { passive: !1 } : void 0), o = !1);
395
+ }
396
+ else
397
+ 1 === s.length && s[0].targetElement === e ? (u(), s = []) : s = s.filter((function (t) { return t.targetElement !== e; })); };
398
+ }) ? i.apply(t, a) : i) || (e.exports = s);
399
+ }, ycgn: function (e, t, n) { e.exports = { item: "item-f5BaKrKq", interactive: "interactive-f5BaKrKq", hovered: "hovered-f5BaKrKq", disabled: "disabled-f5BaKrKq", active: "active-f5BaKrKq", shortcut: "shortcut-f5BaKrKq", iconCell: "iconCell-f5BaKrKq", icon: "icon-f5BaKrKq", checkmark: "checkmark-f5BaKrKq", content: "content-f5BaKrKq", label: "label-f5BaKrKq", checked: "checked-f5BaKrKq", toolbox: "toolbox-f5BaKrKq", showToolboxOnHover: "showToolboxOnHover-f5BaKrKq", arrowIcon: "arrowIcon-f5BaKrKq", subMenu: "subMenu-f5BaKrKq", invisibleHotkey: "invisibleHotkey-f5BaKrKq" }; }, z6ID: function (e, t, n) { e.exports = { separator: "separator-13-1nlsQ" }; } }]);
@@ -0,0 +1,97 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ (window.webpackJsonp = window.webpackJsonp || []).push([["chart-event-hint"], { "+EG+": function (e, t, n) {
13
+ "use strict";
14
+ n.d(t, "a", (function () { return o; })), n.d(t, "b", (function () { return i; }));
15
+ var r = n("q1tI");
16
+ class o extends r.Component {
17
+ shouldComponentUpdate() { return !1; }
18
+ render() { return r.createElement("div", { style: { position: "fixed", zIndex: 150, left: 0, top: 0 }, ref: this.props.reference }); }
19
+ }
20
+ const i = r.createContext(null);
21
+ }, "79vt": function (e, t, n) { e.exports = { container: "container-113jHcZc", content: "content-113jHcZc", arrowHolder: "arrowHolder-113jHcZc", "arrowHolder--below": "arrowHolder--below-113jHcZc", "arrowHolder--above": "arrowHolder--above-113jHcZc", "arrowHolder--before": "arrowHolder--before-113jHcZc", "arrowHolder--after": "arrowHolder--after-113jHcZc", "arrowHolder--above-fix": "arrowHolder--above-fix-113jHcZc", "arrowHolder--before-rtl-fix": "arrowHolder--before-rtl-fix-113jHcZc", "arrowHolder--after-ltr-fix": "arrowHolder--after-ltr-fix-113jHcZc", label: "label-113jHcZc", closeButton: "closeButton-113jHcZc" }; }, AiMB: function (e, t, n) {
22
+ "use strict";
23
+ n.d(t, "a", (function () { return c; })), n.d(t, "b", (function () { return l; }));
24
+ var r = n("q1tI"), o = n("i8i4"), i = n("e3/o"), s = n("jAh7"), a = n("+EG+");
25
+ class c extends r.PureComponent {
26
+ constructor() { super(...arguments), this._uuid = Object(i.guid)(); }
27
+ componentWillUnmount() { this._manager().removeWindow(this._uuid); }
28
+ render() { const e = this._manager().ensureWindow(this._uuid, this.props.layerOptions); return e.style.top = this.props.top || "", e.style.bottom = this.props.bottom || "", e.style.left = this.props.left || "", e.style.right = this.props.right || "", e.style.pointerEvents = this.props.pointerEvents || "", o.createPortal(r.createElement(l.Provider, { value: this }, this.props.children), e); }
29
+ moveToTop() { this._manager().moveToTop(this._uuid); }
30
+ _manager() { return null === this.context ? Object(s.b)() : this.context; }
31
+ }
32
+ c.contextType = a.b;
33
+ const l = r.createContext(null);
34
+ }, Iivm: function (e, t, n) {
35
+ "use strict";
36
+ var r = n("q1tI");
37
+ const o = r.forwardRef((e, t) => { const { icon: n = "" } = e, o = __rest(e, ["icon"]); return r.createElement("span", Object.assign(Object.assign({}, o), { ref: t, dangerouslySetInnerHTML: { __html: n } })); });
38
+ n.d(t, "a", (function () { return o; }));
39
+ }, PN5r: function (e, t, n) {
40
+ "use strict";
41
+ n.r(t);
42
+ var r = n("q1tI"), o = n.n(r), i = n("i8i4"), s = n("TSYQ"), a = n("Iivm"), c = (n("AiMB"), n("To8B")), l = n("79vt");
43
+ r.PureComponent;
44
+ function d(e) { const { className: t, containerClassName: n, contentClassName: o, reference: i, style: d, arrow: h = !0, arrowClassName: u, arrowReference: p, onClose: m, arrowStyle: w, children: f } = e, _ = __rest(e, ["className", "containerClassName", "contentClassName", "reference", "style", "arrow", "arrowClassName", "arrowReference", "onClose", "arrowStyle", "children"]); return r.createElement("div", Object.assign(Object.assign({}, _), { className: t, ref: i, style: d }), h && r.createElement("div", { className: u, ref: p, style: w }), r.createElement("div", { className: s(l.container, n) }, r.createElement("div", { className: s(l.content, o) }, f), m && r.createElement(a.a, { className: l.closeButton, icon: c, onClick: m }))); }
45
+ var h = n("g2Cz");
46
+ function u(e) { const { text: t, onClose: n } = e; return o.a.createElement("div", { className: h.container }, o.a.createElement("div", { className: h.centerElement }, o.a.createElement(d, { arrow: !1, onClose: n }, o.a.createElement("div", { className: h.text }, t)))); }
47
+ n.d(t, "ChartEventHintRenderer", (function () { return p; }));
48
+ class p {
49
+ constructor(e) { this._wrap = document.createElement("div"), this._container = e; }
50
+ show(e, t) { if (!this._wrap)
51
+ return; this.hide(), this._container.append(this._wrap); const n = { text: e, onClose: () => { t && t(), this.hide(); } }; i.render(r.createElement(u, Object.assign({}, n)), this._wrap); }
52
+ hide() { this._wrap && (i.unmountComponentAtNode(this._wrap), this._wrap.remove()); }
53
+ destroy() { this.hide(), delete this._wrap; }
54
+ }
55
+ }, To8B: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'; }, g2Cz: function (e, t, n) { e.exports = { container: "container-RnpzRzG6", centerElement: "centerElement-RnpzRzG6", text: "text-RnpzRzG6" }; }, jAh7: function (e, t, n) {
56
+ "use strict";
57
+ n.d(t, "a", (function () { return i; })), n.d(t, "b", (function () { return a; }));
58
+ var r = n("Eyy1");
59
+ class o {
60
+ constructor() { this._storage = []; }
61
+ add(e) { this._storage.push(e); }
62
+ remove(e) { this._storage = this._storage.filter(t => e !== t); }
63
+ has(e) { return this._storage.includes(e); }
64
+ getItems() { return this._storage; }
65
+ }
66
+ class i {
67
+ constructor(e = document) { this._storage = new o, this._windows = new Map, this._index = 0, this._document = e, this._container = e.createDocumentFragment(); }
68
+ setContainer(e) { const t = this._container, n = null === e ? this._document.createDocumentFragment() : e; !function (e, t) { Array.from(e.childNodes).forEach(e => { e.nodeType === Node.ELEMENT_NODE && t.appendChild(e); }); }(t, n), this._container = n; }
69
+ registerWindow(e) { this._storage.has(e) || this._storage.add(e); }
70
+ ensureWindow(e, t = { position: "fixed", direction: "normal" }) { const n = this._windows.get(e); if (void 0 !== n)
71
+ return n; this.registerWindow(e); const r = this._document.createElement("div"); if (r.style.position = t.position, r.style.zIndex = this._index.toString(), r.dataset.id = e, void 0 !== t.index) {
72
+ const e = this._container.childNodes.length;
73
+ if (t.index >= e)
74
+ this._container.appendChild(r);
75
+ else if (t.index <= 0)
76
+ this._container.insertBefore(r, this._container.firstChild);
77
+ else {
78
+ const e = this._container.childNodes[t.index];
79
+ this._container.insertBefore(r, e);
80
+ }
81
+ }
82
+ else
83
+ "reverse" === t.direction ? this._container.insertBefore(r, this._container.firstChild) : this._container.appendChild(r); return this._windows.set(e, r), ++this._index, r; }
84
+ unregisterWindow(e) { this._storage.remove(e); const t = this._windows.get(e); void 0 !== t && (null !== t.parentElement && t.parentElement.removeChild(t), this._windows.delete(e)); }
85
+ getZindex(e) { const t = this.ensureWindow(e); return parseInt(t.style.zIndex || "0"); }
86
+ moveToTop(e) { if (this.getZindex(e) !== this._index) {
87
+ this.ensureWindow(e).style.zIndex = (++this._index).toString();
88
+ } }
89
+ removeWindow(e) { this.unregisterWindow(e); }
90
+ }
91
+ const s = new WeakMap;
92
+ function a(e = document) { const t = e.getElementById("overlap-manager-root"); if (null !== t)
93
+ return Object(r.ensureDefined)(s.get(t)); {
94
+ const t = new i(e), n = function (e) { const t = e.createElement("div"); return t.style.position = "absolute", t.style.zIndex = 150..toString(), t.style.top = "0px", t.style.left = "0px", t.id = "overlap-manager-root", t; }(e);
95
+ return s.set(n, t), t.setContainer(n), e.body.appendChild(n), t;
96
+ } }
97
+ } }]);