binbot-charts 0.5.9 → 0.6.0

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 (312) hide show
  1. package/dist/TVChartContainer.d.mts +45 -0
  2. package/dist/TVChartContainer.d.ts +45 -0
  3. package/dist/TVChartContainer.js +752 -0
  4. package/dist/TVChartContainer.js.map +1 -0
  5. package/dist/TVChartContainer.mjs +735 -0
  6. package/dist/TVChartContainer.mjs.map +1 -0
  7. package/package.json +4 -2
  8. package/dist/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  9. package/dist/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  10. package/dist/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  11. package/dist/public/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  12. package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  13. package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  14. package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  15. package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  16. package/dist/public/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  17. package/dist/public/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  18. package/dist/public/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  19. package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  20. package/dist/public/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  21. package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  22. package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  23. package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  24. package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  25. package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  26. package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  27. package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  28. package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  29. package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  30. package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  31. package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  32. package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  33. package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  34. package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  35. package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  36. package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  37. package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  38. package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  39. package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  40. package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  41. package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  42. package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  43. package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  44. package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  45. package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  46. package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  47. package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  48. package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  49. package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  50. package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  51. package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  52. package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  53. package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  54. package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  55. package/dist/public/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  56. package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  57. package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  58. package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  59. package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  60. package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  61. package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  62. package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  63. package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  64. package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  65. package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  66. package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  67. package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  68. package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  69. package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  70. package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  71. package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  72. package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  73. package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  74. package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  75. package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  76. package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  77. package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  78. package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  79. package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  80. package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  81. package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  82. package/dist/public/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  83. package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  84. package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  85. package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  86. package/dist/public/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  87. package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  88. package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  89. package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  90. package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  91. package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  92. package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  93. package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  94. package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  95. package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  96. package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  97. package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  98. package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  99. package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  100. package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  101. package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  102. package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  103. package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  104. package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  105. package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  106. package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  107. package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  108. package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  109. package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  110. package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  111. package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  112. package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  113. package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  114. package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  115. package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  116. package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  117. package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  118. package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  119. package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  120. package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  121. package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  122. package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  123. package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  124. package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  125. package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  126. package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  127. package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  128. package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  129. package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  130. package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  131. package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  132. package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  133. package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  134. package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  135. package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  136. package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  137. package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  138. package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  139. package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  140. package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  141. package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  142. package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  143. package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  144. package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  145. package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  146. package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  147. package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  148. package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  149. package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  150. package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  151. package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  152. package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  153. package/dist/public/charting_library/charting_library.cjs.js +0 -98
  154. package/dist/public/charting_library/charting_library.esm.js +0 -101
  155. package/dist/public/charting_library/charting_library.js +0 -99
  156. package/dist/public/charting_library/charting_library.standalone.js +0 -99
  157. package/dist/src/App.js +0 -81
  158. package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  159. package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  160. package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  161. package/dist/src/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  162. package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  163. package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  164. package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  165. package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  166. package/dist/src/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  167. package/dist/src/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  168. package/dist/src/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  169. package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  170. package/dist/src/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  171. package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  172. package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  173. package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  174. package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  175. package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  176. package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  177. package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  178. package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  179. package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  180. package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  181. package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  182. package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  183. package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  184. package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  185. package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  186. package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  187. package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  188. package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  189. package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  190. package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  191. package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  192. package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  193. package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  194. package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  195. package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  196. package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  197. package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  198. package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  199. package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  200. package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  201. package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  202. package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  203. package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  204. package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  205. package/dist/src/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  206. package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  207. package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  208. package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  209. package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  210. package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  211. package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  212. package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  213. package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  214. package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  215. package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  216. package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  217. package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  218. package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  219. package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  220. package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  221. package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  222. package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  223. package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  224. package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  225. package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  226. package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  227. package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  228. package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  229. package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  230. package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  231. package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  232. package/dist/src/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  233. package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  234. package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  235. package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  236. package/dist/src/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  237. package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  238. package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  239. package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  240. package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  241. package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  242. package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  243. package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  244. package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  245. package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  246. package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  247. package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  248. package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  249. package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  250. package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  251. package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  252. package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  253. package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  254. package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  255. package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  256. package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  257. package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  258. package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  259. package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  260. package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  261. package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  262. package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  263. package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  264. package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  265. package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  266. package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  267. package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  268. package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  269. package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  270. package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  271. package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  272. package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  273. package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  274. package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  275. package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  276. package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  277. package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  278. package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  279. package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  280. package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  281. package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  282. package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  283. package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  284. package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  285. package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  286. package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  287. package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  288. package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  289. package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  290. package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  291. package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  292. package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  293. package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  294. package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  295. package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  296. package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  297. package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  298. package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  299. package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  300. package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  301. package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  302. package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  303. package/dist/src/charting_library/charting_library.cjs.js +0 -98
  304. package/dist/src/charting_library/charting_library.esm.js +0 -101
  305. package/dist/src/charting_library/charting_library.js +0 -99
  306. package/dist/src/charting_library/charting_library.standalone.js +0 -515
  307. package/dist/src/components/TVChartContainer.js +0 -122
  308. package/dist/src/components/datafeed.js +0 -199
  309. package/dist/src/components/helpers.js +0 -58
  310. package/dist/src/components/index.js +0 -7
  311. package/dist/src/components/streaming.js +0 -92
  312. package/dist/src/index.js +0 -14
@@ -1,224 +0,0 @@
1
- (window.webpackJsonp = window.webpackJsonp || []).push([["hammerjs"], { be1f: function (t, e, n) {
2
- "use strict";
3
- n.r(e);
4
- var i = n("yLV6"), r = n.n(i);
5
- n.d(e, "HammerJS", (function () { return r.a; }));
6
- }, yLV6: function (t, e, n) {
7
- var i;
8
- !function (r, s, o, a) {
9
- "use strict";
10
- var h, u = ["", "webkit", "Moz", "MS", "ms", "o"], c = s.createElement("div"), l = Math.round, p = Math.abs, f = Date.now;
11
- function v(t, e, n) { return setTimeout(I(t, n), e); }
12
- function d(t, e, n) { return !!Array.isArray(t) && (m(t, n[e], n), !0); }
13
- function m(t, e, n) { var i; if (t)
14
- if (t.forEach)
15
- t.forEach(e, n);
16
- else if (void 0 !== t.length)
17
- for (i = 0; i < t.length;)
18
- e.call(n, t[i], i, t), i++;
19
- else
20
- for (i in t)
21
- t.hasOwnProperty(i) && e.call(n, t[i], i, t); }
22
- function g(t, e, n) { var i = "DEPRECATED METHOD: " + e + "\n" + n + " AT \n"; return function () { var e = new Error("get-stack-trace"), n = e && e.stack ? e.stack.replace(/^[^\(]+?[\n$]/gm, "").replace(/^\s+at\s+/gm, "").replace(/^Object.<anonymous>\s*\(/gm, "{anonymous}()@") : "Unknown Stack Trace", s = r.console && (r.console.warn || r.console.log); return s && s.call(r.console, i, n), t.apply(this, arguments); }; }
23
- h = "function" != typeof Object.assign ? function (t) { if (null == t)
24
- throw new TypeError("Cannot convert undefined or null to object"); for (var e = Object(t), n = 1; n < arguments.length; n++) {
25
- var i = arguments[n];
26
- if (null != i)
27
- for (var r in i)
28
- i.hasOwnProperty(r) && (e[r] = i[r]);
29
- } return e; } : Object.assign;
30
- var y = g((function (t, e, n) { for (var i = Object.keys(e), r = 0; r < i.length;)
31
- (!n || n && void 0 === t[i[r]]) && (t[i[r]] = e[i[r]]), r++; return t; }), "extend", "Use `assign`."), T = g((function (t, e) { return y(t, e, !0); }), "merge", "Use `assign`.");
32
- function E(t, e, n) { var i, r = e.prototype; (i = t.prototype = Object.create(r)).constructor = t, i._super = r, n && h(i, n); }
33
- function I(t, e) { return function () { return t.apply(e, arguments); }; }
34
- function A(t, e) { return "function" == typeof t ? t.apply(e && e[0] || void 0, e) : t; }
35
- function b(t, e) { return void 0 === t ? e : t; }
36
- function S(t, e, n) { m(P(e), (function (e) { t.addEventListener(e, n, !1); })); }
37
- function _(t, e, n) { m(P(e), (function (e) { t.removeEventListener(e, n, !1); })); }
38
- function C(t, e) { for (; t;) {
39
- if (t == e)
40
- return !0;
41
- t = t.parentNode;
42
- } return !1; }
43
- function w(t, e) { return t.indexOf(e) > -1; }
44
- function P(t) { return t.trim().split(/\s+/g); }
45
- function x(t, e, n) { if (t.indexOf && !n)
46
- return t.indexOf(e); for (var i = 0; i < t.length;) {
47
- if (n && t[i][n] == e || !n && t[i] === e)
48
- return i;
49
- i++;
50
- } return -1; }
51
- function D(t) { return Array.prototype.slice.call(t, 0); }
52
- function O(t, e, n) { for (var i = [], r = [], s = 0; s < t.length;) {
53
- var o = e ? t[s][e] : t[s];
54
- x(r, o) < 0 && i.push(t[s]), r[s] = o, s++;
55
- } return n && (i = e ? i.sort((function (t, n) { return t[e] > n[e]; })) : i.sort()), i; }
56
- function R(t, e) { for (var n, i, r = e[0].toUpperCase() + e.slice(1), s = 0; s < u.length;) {
57
- if ((i = (n = u[s]) ? n + r : e) in t)
58
- return i;
59
- s++;
60
- } }
61
- var M = 1;
62
- function z(t) { var e = t.ownerDocument || t; return e.defaultView || e.parentWindow || r; }
63
- var N = "ontouchstart" in r, X = void 0 !== R(r, "PointerEvent"), Y = N && /mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent), F = ["x", "y"], W = ["clientX", "clientY"];
64
- function k(t, e) { var n = this; this.manager = t, this.callback = e, this.element = t.element, this.target = t.options.inputTarget, this.domHandler = function (e) { A(t.options.enable, [t]) && n.handler(e); }, this.init(); }
65
- function q(t, e, n) {
66
- var i = n.pointers.length, r = n.changedPointers.length, s = 1 & e && i - r == 0, o = 12 & e && i - r == 0;
67
- n.isFirst = !!s, n.isFinal = !!o, s && (t.session = {}), n.eventType = e, function (t, e) { var n = t.session, i = e.pointers, r = i.length; n.firstInput || (n.firstInput = L(e)); r > 1 && !n.firstMultiple ? n.firstMultiple = L(e) : 1 === r && (n.firstMultiple = !1); var s = n.firstInput, o = n.firstMultiple, a = o ? o.center : s.center, h = e.center = H(i); e.timeStamp = f(), e.deltaTime = e.timeStamp - s.timeStamp, e.angle = G(a, h), e.distance = j(a, h), function (t, e) { var n = e.center, i = t.offsetDelta || {}, r = t.prevDelta || {}, s = t.prevInput || {}; 1 !== e.eventType && 4 !== s.eventType || (r = t.prevDelta = { x: s.deltaX || 0, y: s.deltaY || 0 }, i = t.offsetDelta = { x: n.x, y: n.y }); e.deltaX = r.x + (n.x - i.x), e.deltaY = r.y + (n.y - i.y); }(n, e), e.offsetDirection = U(e.deltaX, e.deltaY); var u = V(e.deltaTime, e.deltaX, e.deltaY); e.overallVelocityX = u.x, e.overallVelocityY = u.y, e.overallVelocity = p(u.x) > p(u.y) ? u.x : u.y, e.scale = o ? (c = o.pointers, l = i, j(l[0], l[1], W) / j(c[0], c[1], W)) : 1, e.rotation = o ? function (t, e) { return G(e[1], e[0], W) + G(t[1], t[0], W); }(o.pointers, i) : 0, e.maxPointers = n.prevInput ? e.pointers.length > n.prevInput.maxPointers ? e.pointers.length : n.prevInput.maxPointers : e.pointers.length, function (t, e) { var n, i, r, s, o = t.lastInterval || e, a = e.timeStamp - o.timeStamp; if (8 != e.eventType && (a > 25 || void 0 === o.velocity)) {
68
- var h = e.deltaX - o.deltaX, u = e.deltaY - o.deltaY, c = V(a, h, u);
69
- i = c.x, r = c.y, n = p(c.x) > p(c.y) ? c.x : c.y, s = U(h, u), t.lastInterval = e;
70
- }
71
- else
72
- n = o.velocity, i = o.velocityX, r = o.velocityY, s = o.direction; e.velocity = n, e.velocityX = i, e.velocityY = r, e.direction = s; }(n, e); var c, l; var v = t.element; C(e.srcEvent.target, v) && (v = e.srcEvent.target); e.target = v; }(t, n), t.emit("hammer.input", n), t.recognize(n), t.session.prevInput = n;
73
- }
74
- function L(t) { for (var e = [], n = 0; n < t.pointers.length;)
75
- e[n] = { clientX: l(t.pointers[n].clientX), clientY: l(t.pointers[n].clientY) }, n++; return { timeStamp: f(), pointers: e, center: H(e), deltaX: t.deltaX, deltaY: t.deltaY }; }
76
- function H(t) { var e = t.length; if (1 === e)
77
- return { x: l(t[0].clientX), y: l(t[0].clientY) }; for (var n = 0, i = 0, r = 0; r < e;)
78
- n += t[r].clientX, i += t[r].clientY, r++; return { x: l(n / e), y: l(i / e) }; }
79
- function V(t, e, n) { return { x: e / t || 0, y: n / t || 0 }; }
80
- function U(t, e) { return t === e ? 1 : p(t) >= p(e) ? t < 0 ? 2 : 4 : e < 0 ? 8 : 16; }
81
- function j(t, e, n) { n || (n = F); var i = e[n[0]] - t[n[0]], r = e[n[1]] - t[n[1]]; return Math.sqrt(i * i + r * r); }
82
- function G(t, e, n) { n || (n = F); var i = e[n[0]] - t[n[0]], r = e[n[1]] - t[n[1]]; return 180 * Math.atan2(r, i) / Math.PI; }
83
- k.prototype = { handler: function () { }, init: function () { this.evEl && S(this.element, this.evEl, this.domHandler), this.evTarget && S(this.target, this.evTarget, this.domHandler), this.evWin && S(z(this.element), this.evWin, this.domHandler); }, destroy: function () { this.evEl && _(this.element, this.evEl, this.domHandler), this.evTarget && _(this.target, this.evTarget, this.domHandler), this.evWin && _(z(this.element), this.evWin, this.domHandler); } };
84
- var J = { mousedown: 1, mousemove: 2, mouseup: 4 };
85
- function Z() { this.evEl = "mousedown", this.evWin = "mousemove mouseup", this.pressed = !1, k.apply(this, arguments); }
86
- E(Z, k, { handler: function (t) {
87
- var e = J[t.type];
88
- 1 & e && 0 === t.button && (this.pressed = !0), 2 & e && 1 !== t.which && (e = 4), this.pressed && (4 & e && (this.pressed = !1), this.callback(this.manager, e, { pointers: [t],
89
- changedPointers: [t], pointerType: "mouse", srcEvent: t }));
90
- } });
91
- var B = { pointerdown: 1, pointermove: 2, pointerup: 4, pointercancel: 8, pointerout: 8 }, $ = { 2: "touch", 3: "pen", 4: "mouse", 5: "kinect" }, K = "pointerdown", Q = "pointermove pointerup pointercancel";
92
- function tt() { this.evEl = K, this.evWin = Q, k.apply(this, arguments), this.store = this.manager.session.pointerEvents = []; }
93
- r.MSPointerEvent && !r.PointerEvent && (K = "MSPointerDown", Q = "MSPointerMove MSPointerUp MSPointerCancel"), E(tt, k, { handler: function (t) { var e = this.store, n = !1, i = t.type.toLowerCase().replace("ms", ""), r = B[i], s = $[t.pointerType] || t.pointerType, o = "touch" == s, a = x(e, t.pointerId, "pointerId"); 1 & r && (0 === t.button || o) ? a < 0 && (e.push(t), a = e.length - 1) : 12 & r && (n = !0), a < 0 || (e[a] = t, this.callback(this.manager, r, { pointers: e, changedPointers: [t], pointerType: s, srcEvent: t }), n && e.splice(a, 1)); } });
94
- var et = { touchstart: 1, touchmove: 2, touchend: 4, touchcancel: 8 };
95
- function nt() { this.evTarget = "touchstart", this.evWin = "touchstart touchmove touchend touchcancel", this.started = !1, k.apply(this, arguments); }
96
- function it(t, e) { var n = D(t.touches), i = D(t.changedTouches); return 12 & e && (n = O(n.concat(i), "identifier", !0)), [n, i]; }
97
- E(nt, k, { handler: function (t) { var e = et[t.type]; if (1 === e && (this.started = !0), this.started) {
98
- var n = it.call(this, t, e);
99
- 12 & e && n[0].length - n[1].length == 0 && (this.started = !1), this.callback(this.manager, e, { pointers: n[0], changedPointers: n[1], pointerType: "touch", srcEvent: t });
100
- } } });
101
- var rt = { touchstart: 1, touchmove: 2, touchend: 4, touchcancel: 8 };
102
- function st() { this.evTarget = "touchstart touchmove touchend touchcancel", this.targetIds = {}, k.apply(this, arguments); }
103
- function ot(t, e) { var n = D(t.touches), i = this.targetIds; if (3 & e && 1 === n.length)
104
- return i[n[0].identifier] = !0, [n, n]; var r, s, o = D(t.changedTouches), a = [], h = this.target; if (s = n.filter((function (t) { return C(t.target, h); })), 1 === e)
105
- for (r = 0; r < s.length;)
106
- i[s[r].identifier] = !0, r++; for (r = 0; r < o.length;)
107
- i[o[r].identifier] && a.push(o[r]), 12 & e && delete i[o[r].identifier], r++; return a.length ? [O(s.concat(a), "identifier", !0), a] : void 0; }
108
- E(st, k, { handler: function (t) { var e = rt[t.type], n = ot.call(this, t, e); n && this.callback(this.manager, e, { pointers: n[0], changedPointers: n[1], pointerType: "touch", srcEvent: t }); } });
109
- function at() { k.apply(this, arguments); var t = I(this.handler, this); this.touch = new st(this.manager, t), this.mouse = new Z(this.manager, t), this.primaryTouch = null, this.lastTouches = []; }
110
- function ht(t, e) { 1 & t ? (this.primaryTouch = e.changedPointers[0].identifier, ut.call(this, e)) : 12 & t && ut.call(this, e); }
111
- function ut(t) { var e = t.changedPointers[0]; if (e.identifier === this.primaryTouch) {
112
- var n = { x: e.clientX, y: e.clientY };
113
- this.lastTouches.push(n);
114
- var i = this.lastTouches;
115
- setTimeout((function () { var t = i.indexOf(n); t > -1 && i.splice(t, 1); }), 2500);
116
- } }
117
- function ct(t) { for (var e = t.srcEvent.clientX, n = t.srcEvent.clientY, i = 0; i < this.lastTouches.length; i++) {
118
- var r = this.lastTouches[i], s = Math.abs(e - r.x), o = Math.abs(n - r.y);
119
- if (s <= 25 && o <= 25)
120
- return !0;
121
- } return !1; }
122
- E(at, k, { handler: function (t, e, n) {
123
- var i = "touch" == n.pointerType, r = "mouse" == n.pointerType;
124
- if (!(r && n.sourceCapabilities && n.sourceCapabilities.firesTouchEvents)) {
125
- if (i)
126
- ht.call(this, e, n);
127
- else if (r && ct.call(this, n))
128
- return;
129
- this.callback(t, e, n);
130
- }
131
- }, destroy: function () { this.touch.destroy(), this.mouse.destroy(); } });
132
- var lt = R(c.style, "touchAction"), pt = void 0 !== lt, ft = function () { if (!pt)
133
- return !1; var t = {}, e = r.CSS && r.CSS.supports; return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach((function (n) { t[n] = !e || r.CSS.supports("touch-action", n); })), t; }();
134
- function vt(t, e) { this.manager = t, this.set(e); }
135
- vt.prototype = { set: function (t) { "compute" == t && (t = this.compute()), pt && this.manager.element.style && ft[t] && (this.manager.element.style[lt] = t), this.actions = t.toLowerCase().trim(); }, update: function () { this.set(this.manager.options.touchAction); }, compute: function () { var t = []; return m(this.manager.recognizers, (function (e) { A(e.options.enable, [e]) && (t = t.concat(e.getTouchAction())); })), function (t) { if (w(t, "none"))
136
- return "none"; var e = w(t, "pan-x"), n = w(t, "pan-y"); if (e && n)
137
- return "none"; if (e || n)
138
- return e ? "pan-x" : "pan-y"; if (w(t, "manipulation"))
139
- return "manipulation"; return "auto"; }(t.join(" ")); }, preventDefaults: function (t) { var e = t.srcEvent, n = t.offsetDirection; if (this.manager.session.prevented)
140
- e.preventDefault();
141
- else {
142
- var i = this.actions, r = w(i, "none") && !ft.none, s = w(i, "pan-y") && !ft["pan-y"], o = w(i, "pan-x") && !ft["pan-x"];
143
- if (r) {
144
- var a = 1 === t.pointers.length, h = t.distance < 2, u = t.deltaTime < 250;
145
- if (a && h && u)
146
- return;
147
- }
148
- if (!o || !s)
149
- return r || s && 6 & n || o && 24 & n ? this.preventSrc(e) : void 0;
150
- } }, preventSrc: function (t) { this.manager.session.prevented = !0, t.preventDefault(); } };
151
- function dt(t) { this.options = h({}, this.defaults, t || {}), this.id = M++, this.manager = null, this.options.enable = b(this.options.enable, !0), this.state = 1, this.simultaneous = {}, this.requireFail = []; }
152
- function mt(t) { return 16 & t ? "cancel" : 8 & t ? "end" : 4 & t ? "move" : 2 & t ? "start" : ""; }
153
- function gt(t) { return 16 == t ? "down" : 8 == t ? "up" : 2 == t ? "left" : 4 == t ? "right" : ""; }
154
- function yt(t, e) { var n = e.manager; return n ? n.get(t) : t; }
155
- function Tt() { dt.apply(this, arguments); }
156
- function Et() { Tt.apply(this, arguments), this.pX = null, this.pY = null; }
157
- function It() { Tt.apply(this, arguments); }
158
- function At() { dt.apply(this, arguments), this._timer = null, this._input = null; }
159
- function bt() { Tt.apply(this, arguments); }
160
- function St() { Tt.apply(this, arguments); }
161
- function _t() { dt.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0; }
162
- function Ct(t, e) { return (e = e || {}).recognizers = b(e.recognizers, Ct.defaults.preset), new wt(t, e); }
163
- dt.prototype = { defaults: {}, set: function (t) { return h(this.options, t), this.manager && this.manager.touchAction.update(), this; }, recognizeWith: function (t) { if (d(t, "recognizeWith", this))
164
- return this; var e = this.simultaneous; return e[(t = yt(t, this)).id] || (e[t.id] = t, t.recognizeWith(this)), this; }, dropRecognizeWith: function (t) { return d(t, "dropRecognizeWith", this) || (t = yt(t, this), delete this.simultaneous[t.id]), this; }, requireFailure: function (t) { if (d(t, "requireFailure", this))
165
- return this; var e = this.requireFail; return -1 === x(e, t = yt(t, this)) && (e.push(t), t.requireFailure(this)), this; }, dropRequireFailure: function (t) { if (d(t, "dropRequireFailure", this))
166
- return this; t = yt(t, this); var e = x(this.requireFail, t); return e > -1 && this.requireFail.splice(e, 1), this; }, hasRequireFailures: function () {
167
- return this.requireFail.length > 0;
168
- }, canRecognizeWith: function (t) { return !!this.simultaneous[t.id]; }, emit: function (t) { var e = this, n = this.state; function i(n) { e.manager.emit(n, t); } n < 8 && i(e.options.event + mt(n)), i(e.options.event), t.additionalEvent && i(t.additionalEvent), n >= 8 && i(e.options.event + mt(n)); }, tryEmit: function (t) { if (this.canEmit())
169
- return this.emit(t); this.state = 32; }, canEmit: function () { for (var t = 0; t < this.requireFail.length;) {
170
- if (!(33 & this.requireFail[t].state))
171
- return !1;
172
- t++;
173
- } return !0; }, recognize: function (t) { var e = h({}, t); if (!A(this.options.enable, [this, e]))
174
- return this.reset(), void (this.state = 32); 56 & this.state && (this.state = 1), this.state = this.process(e), 30 & this.state && this.tryEmit(e); }, process: function (t) { }, getTouchAction: function () { }, reset: function () { } }, E(Tt, dt, { defaults: { pointers: 1 }, attrTest: function (t) { var e = this.options.pointers; return 0 === e || t.pointers.length === e; }, process: function (t) { var e = this.state, n = t.eventType, i = 6 & e, r = this.attrTest(t); return i && (8 & n || !r) ? 16 | e : i || r ? 4 & n ? 8 | e : 2 & e ? 4 | e : 2 : 32; } }), E(Et, Tt, { defaults: { event: "pan", threshold: 10, pointers: 1, direction: 30 }, getTouchAction: function () { var t = this.options.direction, e = []; return 6 & t && e.push("pan-y"), 24 & t && e.push("pan-x"), e; }, directionTest: function (t) { var e = this.options, n = !0, i = t.distance, r = t.direction, s = t.deltaX, o = t.deltaY; return r & e.direction || (6 & e.direction ? (r = 0 === s ? 1 : s < 0 ? 2 : 4, n = s != this.pX, i = Math.abs(t.deltaX)) : (r = 0 === o ? 1 : o < 0 ? 8 : 16, n = o != this.pY, i = Math.abs(t.deltaY))), t.direction = r, n && i > e.threshold && r & e.direction; }, attrTest: function (t) { return Tt.prototype.attrTest.call(this, t) && (2 & this.state || !(2 & this.state) && this.directionTest(t)); }, emit: function (t) { this.pX = t.deltaX, this.pY = t.deltaY; var e = gt(t.direction); e && (t.additionalEvent = this.options.event + e), this._super.emit.call(this, t); } }), E(It, Tt, { defaults: { event: "pinch", threshold: 0, pointers: 2 }, getTouchAction: function () { return ["none"]; }, attrTest: function (t) { return this._super.attrTest.call(this, t) && (Math.abs(t.scale - 1) > this.options.threshold || 2 & this.state); }, emit: function (t) { if (1 !== t.scale) {
175
- var e = t.scale < 1 ? "in" : "out";
176
- t.additionalEvent = this.options.event + e;
177
- } this._super.emit.call(this, t); } }), E(At, dt, { defaults: { event: "press", pointers: 1, time: 251, threshold: 9 }, getTouchAction: function () { return ["auto"]; }, process: function (t) { var e = this.options, n = t.pointers.length === e.pointers, i = t.distance < e.threshold, r = t.deltaTime > e.time; if (this._input = t, !i || !n || 12 & t.eventType && !r)
178
- this.reset();
179
- else if (1 & t.eventType)
180
- this.reset(), this._timer = v((function () { this.state = 8, this.tryEmit(); }), e.time, this);
181
- else if (4 & t.eventType)
182
- return 8; return 32; }, reset: function () { clearTimeout(this._timer); }, emit: function (t) { 8 === this.state && (t && 4 & t.eventType ? this.manager.emit(this.options.event + "up", t) : (this._input.timeStamp = f(), this.manager.emit(this.options.event, this._input))); } }), E(bt, Tt, { defaults: { event: "rotate", threshold: 0, pointers: 2 }, getTouchAction: function () { return ["none"]; }, attrTest: function (t) { return this._super.attrTest.call(this, t) && (Math.abs(t.rotation) > this.options.threshold || 2 & this.state); } }), E(St, Tt, { defaults: { event: "swipe", threshold: 10, velocity: .3, direction: 30, pointers: 1 },
183
- getTouchAction: function () { return Et.prototype.getTouchAction.call(this); }, attrTest: function (t) { var e, n = this.options.direction; return 30 & n ? e = t.overallVelocity : 6 & n ? e = t.overallVelocityX : 24 & n && (e = t.overallVelocityY), this._super.attrTest.call(this, t) && n & t.offsetDirection && t.distance > this.options.threshold && t.maxPointers == this.options.pointers && p(e) > this.options.velocity && 4 & t.eventType; }, emit: function (t) { var e = gt(t.offsetDirection); e && this.manager.emit(this.options.event + e, t), this.manager.emit(this.options.event, t); } }), E(_t, dt, { defaults: { event: "tap", pointers: 1, taps: 1, interval: 300, time: 250, threshold: 9, posThreshold: 10 }, getTouchAction: function () { return ["manipulation"]; }, process: function (t) { var e = this.options, n = t.pointers.length === e.pointers, i = t.distance < e.threshold, r = t.deltaTime < e.time; if (this.reset(), 1 & t.eventType && 0 === this.count)
184
- return this.failTimeout(); if (i && r && n) {
185
- if (4 != t.eventType)
186
- return this.failTimeout();
187
- var s = !this.pTime || t.timeStamp - this.pTime < e.interval, o = !this.pCenter || j(this.pCenter, t.center) < e.posThreshold;
188
- if (this.pTime = t.timeStamp, this.pCenter = t.center, o && s ? this.count += 1 : this.count = 1, this._input = t, 0 === this.count % e.taps)
189
- return this.hasRequireFailures() ? (this._timer = v((function () { this.state = 8, this.tryEmit(); }), e.interval, this), 2) : 8;
190
- } return 32; }, failTimeout: function () { return this._timer = v((function () { this.state = 32; }), this.options.interval, this), 32; }, reset: function () { clearTimeout(this._timer); }, emit: function () { 8 == this.state && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input)); } }), Ct.VERSION = "2.0.7", Ct.defaults = { domEvents: !1, touchAction: "compute", enable: !0, inputTarget: null, inputClass: null, preset: [[bt, { enable: !1 }], [It, { enable: !1 }, ["rotate"]], [St, { direction: 6 }], [Et, { direction: 6 }, ["swipe"]], [_t], [_t, { event: "doubletap", taps: 2 }, ["tap"]], [At]], cssProps: { userSelect: "none", touchSelect: "none", touchCallout: "none", contentZooming: "none", userDrag: "none", tapHighlightColor: "rgba(0,0,0,0)" } };
191
- function wt(t, e) { var n; this.options = h({}, Ct.defaults, e || {}), this.options.inputTarget = this.options.inputTarget || t, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = t, this.input = new ((n = this).options.inputClass || (X ? tt : Y ? st : N ? at : Z))(n, q), this.touchAction = new vt(this, this.options.touchAction), Pt(this, !0), m(this.options.recognizers, (function (t) { var e = this.add(new t[0](t[1])); t[2] && e.recognizeWith(t[2]), t[3] && e.requireFailure(t[3]); }), this); }
192
- function Pt(t, e) { var n, i = t.element; i.style && (m(t.options.cssProps, (function (r, s) { n = R(i.style, s), e ? (t.oldCssProps[n] = i.style[n], i.style[n] = r) : i.style[n] = t.oldCssProps[n] || ""; })), e || (t.oldCssProps = {})); }
193
- wt.prototype = { set: function (t) { return h(this.options, t), t.touchAction && this.touchAction.update(), t.inputTarget && (this.input.destroy(), this.input.target = t.inputTarget, this.input.init()), this; }, stop: function (t) { this.session.stopped = t ? 2 : 1; }, recognize: function (t) {
194
- var e = this.session;
195
- if (!e.stopped) {
196
- var n;
197
- this.touchAction.preventDefaults(t);
198
- var i = this.recognizers, r = e.curRecognizer;
199
- (!r || r && 8 & r.state) && (r = e.curRecognizer = null);
200
- for (var s = 0; s < i.length;)
201
- n = i[s],
202
- 2 === e.stopped || r && n != r && !n.canRecognizeWith(r) ? n.reset() : n.recognize(t), !r && 14 & n.state && (r = e.curRecognizer = n), s++;
203
- }
204
- }, get: function (t) { if (t instanceof dt)
205
- return t; for (var e = this.recognizers, n = 0; n < e.length; n++)
206
- if (e[n].options.event == t)
207
- return e[n]; return null; }, add: function (t) { if (d(t, "add", this))
208
- return this; var e = this.get(t.options.event); return e && this.remove(e), this.recognizers.push(t), t.manager = this, this.touchAction.update(), t; }, remove: function (t) { if (d(t, "remove", this))
209
- return this; if (t = this.get(t)) {
210
- var e = this.recognizers, n = x(e, t);
211
- -1 !== n && (e.splice(n, 1), this.touchAction.update());
212
- } return this; }, on: function (t, e) { if (void 0 !== t && void 0 !== e) {
213
- var n = this.handlers;
214
- return m(P(t), (function (t) { n[t] = n[t] || [], n[t].push(e); })), this;
215
- } }, off: function (t, e) { if (void 0 !== t) {
216
- var n = this.handlers;
217
- return m(P(t), (function (t) { e ? n[t] && n[t].splice(x(n[t], e), 1) : delete n[t]; })), this;
218
- } }, emit: function (t, e) { this.options.domEvents && function (t, e) { var n = s.createEvent("Event"); n.initEvent(t, !0, !0), n.gesture = e, e.target.dispatchEvent(n); }(t, e); var n = this.handlers[t] && this.handlers[t].slice(); if (n && n.length) {
219
- e.type = t, e.preventDefault = function () { e.srcEvent.preventDefault(); };
220
- for (var i = 0; i < n.length;)
221
- n[i](e), i++;
222
- } }, destroy: function () { this.element && Pt(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null; } }, h(Ct, { INPUT_START: 1, INPUT_MOVE: 2, INPUT_END: 4, INPUT_CANCEL: 8, STATE_POSSIBLE: 1, STATE_BEGAN: 2, STATE_CHANGED: 4, STATE_ENDED: 8, STATE_RECOGNIZED: 8, STATE_CANCELLED: 16, STATE_FAILED: 32, DIRECTION_NONE: 1, DIRECTION_LEFT: 2, DIRECTION_RIGHT: 4, DIRECTION_UP: 8, DIRECTION_DOWN: 16, DIRECTION_HORIZONTAL: 6, DIRECTION_VERTICAL: 24, DIRECTION_ALL: 30, Manager: wt, Input: k, TouchAction: vt, TouchInput: st, MouseInput: Z, PointerEventInput: tt, TouchMouseInput: at, SingleTouchInput: nt, Recognizer: dt, AttrRecognizer: Tt, Tap: _t, Pan: Et, Swipe: St, Pinch: It, Rotate: bt, Press: At, on: S, off: _, each: m, merge: T, extend: y, assign: h, inherit: E, bindFn: I, prefixed: R }), (void 0 !== r ? r : "undefined" != typeof self ? self : {}).Hammer = Ct, void 0 === (i = function () { return Ct; }.call(e, n, e, t)) || (t.exports = i);
223
- }(window, document);
224
- } }]);
@@ -1,228 +0,0 @@
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([["header-toolbar"], { "+GaQ": function (e, t, a) {
13
- "use strict";
14
- a.d(t, "a", (function () { return n; }));
15
- var s = a("q1tI");
16
- function n(e) { if (e.map) {
17
- return s.Children.toArray(e.children).map(e.map);
18
- } return e.children; }
19
- }, "1TxM": function (e, t, a) {
20
- "use strict";
21
- a.d(t, "c", (function () { return l; })), a.d(t, "a", (function () { return c; })), a.d(t, "b", (function () { return d; }));
22
- var s = a("q1tI"), n = a.n(s), i = a("17x9"), r = a.n(i);
23
- const o = n.a.createContext({});
24
- function l(e, t) { r.a.checkPropTypes(t, e, "context", "RegistryContext"); }
25
- function c(e) { const { validation: t, value: a } = e; return l(a, t), n.a.createElement(o.Provider, { value: a }, e.children); }
26
- function d() { return o; }
27
- }, "6aN0": function (e, t, a) { e.exports = { "css-value-header-toolbar-height": "38px", toolbar: "toolbar-LZaMRgb9", isHidden: "isHidden-LZaMRgb9", overflowWrap: "overflowWrap-LZaMRgb9", customButton: "customButton-LZaMRgb9", hovered: "hovered-LZaMRgb9" }; }, "6oLA": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M4.56 14a10.05 10.05 0 00.52.91c.41.69 1.04 1.6 1.85 2.5C8.58 19.25 10.95 21 14 21c3.05 0 5.42-1.76 7.07-3.58A17.18 17.18 0 0023.44 14a9.47 9.47 0 00-.52-.91c-.41-.69-1.04-1.6-1.85-2.5C19.42 8.75 17.05 7 14 7c-3.05 0-5.42 1.76-7.07 3.58A17.18 17.18 0 004.56 14zM24 14l.45-.21-.01-.03a7.03 7.03 0 00-.16-.32c-.11-.2-.28-.51-.5-.87-.44-.72-1.1-1.69-1.97-2.65C20.08 7.99 17.45 6 14 6c-3.45 0-6.08 2-7.8 3.92a18.18 18.18 0 00-2.64 3.84v.02h-.01L4 14l-.45-.21-.1.21.1.21L4 14l-.45.21.01.03a5.85 5.85 0 00.16.32c.11.2.28.51.5.87.44.72 1.1 1.69 1.97 2.65C7.92 20.01 10.55 22 14 22c3.45 0 6.08-2 7.8-3.92a18.18 18.18 0 002.64-3.84v-.02h.01L24 14zm0 0l.45.21.1-.21-.1-.21L24 14zm-10-3a3 3 0 100 6 3 3 0 000-6zm-4 3a4 4 0 118 0 4 4 0 01-8 0z"/></svg>'; }, "8d0Q": function (e, t, a) {
28
- "use strict";
29
- var s = a("q1tI");
30
- function n() { const [e, t] = Object(s.useState)(!1); return [e, { onMouseOver: function (e) { i(e) && t(!0); }, onMouseOut: function (e) { i(e) && t(!1); } }]; }
31
- function i(e) { return !e.currentTarget.contains(e.relatedTarget); }
32
- function r(e) { const [t, a] = Object(s.useState)(!1); return Object(s.useEffect)(() => { const t = t => { if (null === e.current)
33
- return; const s = e.current.contains(t.target); a(s); }; return document.addEventListener("mouseover", t), () => document.removeEventListener("mouseover", t); }, []), t; }
34
- a.d(t, "c", (function () { return n; })), a.d(t, "a", (function () { return i; })), a.d(t, "b", (function () { return r; }));
35
- }, Iivm: function (e, t, a) {
36
- "use strict";
37
- var s = a("q1tI");
38
- const n = s.forwardRef((e, t) => { const { icon: a = "" } = e, n = __rest(e, ["icon"]); return s.createElement("span", Object.assign(Object.assign({}, n), { ref: t, dangerouslySetInnerHTML: { __html: a } })); });
39
- a.d(t, "a", (function () { return n; }));
40
- }, KMbc: function (e, t, a) {
41
- "use strict";
42
- a.r(t);
43
- var s = a("q1tI"), n = a("i8i4"), i = a("Eyy1"), r = a("TSYQ"), o = a("4O8T"), l = a.n(o), c = a("UXvI"), d = a("Kxc7"), u = a("FQhm"), h = a("17x9"), m = a("cvc5"), v = a("8+VR"), p = a("+GaQ"), f = a("KrBX");
44
- function b(e) {
45
- const { children: t, className: a, noLeftDecoration: n, noRightDecoration: i, noMinimalWidth: o, onClick: l } = e;
46
- return s.createElement("div", { className: r(a, f.group, { [f.noMinimalWidth]: o, [f.noLeftDecoration]: n, [f.noRightDecoration]: i }),
47
- onClick: l }, t);
48
- }
49
- var g = a("tO+E");
50
- class y extends s.PureComponent {
51
- constructor() { super(...arguments), this._handleMeasure = ({ width: e }) => { this.props.onWidthChange(e); }; }
52
- render() { const { children: e, shouldMeasure: t } = this.props; return s.createElement(m, { shouldMeasure: t, onMeasure: this._handleMeasure, whitelist: ["width"] }, s.createElement("div", { className: g.wrap }, e)); }
53
- }
54
- var S = a("tU7i"), _ = a("KkTf");
55
- function E(e) { return s.createElement(S.b, Object.assign(Object.assign({}, e), { forceInteractive: !0, icon: _ })); }
56
- a("YFKU");
57
- var C = a("Iivm"), w = a("a+Yp"), M = a("6oLA");
58
- const I = { text: window.t("View Only Mode") };
59
- function k(e) { return s.createElement("div", { className: w.wrap }, s.createElement(C.a, { className: w.icon, icon: M }), I.text); }
60
- var O, R = a("4Cm8"), x = a("XAms");
61
- !function (e) { e.SymbolSearch = "header-toolbar-symbol-search", e.Intervals = "header-toolbar-intervals", e.ChartStyles = "header-toolbar-chart-styles", e.Compare = "header-toolbar-compare", e.Indicators = "header-toolbar-indicators", e.StudyTemplates = "header-toolbar-study-templates", e.Dropdown = "header-toolbar-dropdown", e.Alerts = "header-toolbar-alerts", e.Layouts = "header-toolbar-layouts", e.SaveLoad = "header-toolbar-save-load", e.UndoRedo = "header-toolbar-undo-redo", e.Properties = "header-toolbar-properties", e.PublishDesktop = "header-toolbar-publish-desktop", e.PublishMobile = "header-toolbar-publish-mobile", e.Fullscreen = "header-toolbar-fullscreen", e.Screenshot = "header-toolbar-screenshot", e.Replay = "header-toolbar-replay", e.Financials = "header-toolbar-financials", e.StartTrial = "header-toolbar-start-trial"; }(O || (O = {}));
62
- var F = a("8d0Q"), V = a("1TxM"), W = a("a8bL");
63
- const L = Object(V.b)();
64
- class T extends s.PureComponent {
65
- constructor(e, t) { super(e, t), this._handleMouseOver = e => { Object(F.a)(e) && this.setState({ isHovered: !0 }); }, this._handleMouseOut = e => { Object(F.a)(e) && this.setState({ isHovered: !1 }); }, this._activateSymbolSearchMode = () => { this._setMode(2); }, this._activateNormalMode = () => { this._setMode(1); }, this._handleInnerResize = e => { const { onWidthChange: t } = this.props; t && t(e); }, this._handleMeasureAvailableSpace = ({ width: e }) => { const { onAvailableSpaceChange: t } = this.props; t && t(e); }, this._processCustoms = e => { const { isFake: t, displayMode: a } = this.props, { tools: n } = this.context; return e.map(e => s.createElement(b, { key: e.id }, "Button" === e.type ? s.createElement(n.Custom, Object.assign(Object.assign({}, e.params), { isFake: t })) : s.createElement(n.Dropdown, { displayMode: a, params: e.params }))); }, this._fixLastGroup = (e, t, a) => { if (t === a.length - 1 && s.isValidElement(e) && e.type === b) {
66
- const t = void 0 !== this.context.tools.Publish && !this.props.readOnly;
67
- return s.cloneElement(e, { noRightDecoration: t });
68
- } return e; }, Object(V.c)(t, { tools: h.any.isRequired }), this.state = { isHovered: !1, mode: 1, isAuthenticated: void 0 }; }
69
- componentDidMount() { 0; }
70
- componentWillUnmount() { 0; }
71
- render() {
72
- const { tools: e } = this.context, { features: t, displayMode: a, chartSaver: n, studyMarket: i, readOnly: o, saveLoadSyncEmitter: l, leftCustomElements: c, rightCustomElements: d, showScrollbarWhen: u, width: h = 0, isFake: f = !1 } = this.props, { isHovered: g, mode: S, isAuthenticated: _ } = this.state, C = this._processCustoms(c), w = this._processCustoms(d), M = u.includes(a);
73
- return s.createElement("div", { className: r(W.inner, { [W.fake]: f }), onContextMenu: x.b,
74
- "data-is-fake-main-panel": f }, s.createElement(m, { onMeasure: this._handleMeasureAvailableSpace, whitelist: ["width"], shouldMeasure: !f }, s.createElement(R.a, { isVisibleFade: v.mobiletouch && M, isVisibleButtons: !v.mobiletouch && M && g, isVisibleScrollbar: !1, shouldMeasure: M && !f, onMouseOver: this._handleMouseOver, onMouseOut: this._handleMouseOut }, s.createElement("div", { className: W.content }, s.createElement(y, { onWidthChange: this._handleInnerResize, shouldMeasure: f }, s.createElement(p.a, { map: this._fixLastGroup }, !o && s.Children.toArray([e.SymbolSearch && s.createElement(b, { key: "symbol", className: 2 === S && W.symbolSearch }, s.createElement(e.SymbolSearch, { id: f ? void 0 : O.SymbolSearch, isActionsVisible: t.allowSymbolSearchSpread, isExpanded: 2 === S, onFocus: this._activateSymbolSearchMode, onBlur: this._activateNormalMode, maxWidth: h })), e.DateRange && s.createElement(b, { key: "range" }, s.createElement(e.DateRange, null)), e.Intervals && 1 === S && s.createElement(b, { key: "intervals" }, s.createElement(e.Intervals, { id: f ? void 0 : O.Intervals, isShownQuicks: t.allowFavoriting, isFavoritingAllowed: t.allowFavoriting, displayMode: a, isFake: f })), e.Bars && 1 === S && s.createElement(b, { key: "styles" }, s.createElement(e.Bars, { id: f ? void 0 : O.ChartStyles, isShownQuicks: t.allowFavoriting, isFavoritingAllowed: t.allowFavoriting, displayMode: a, isFake: f })), e.Compare && 1 === S && s.createElement(b, { key: "compare" }, s.createElement(e.Compare, { id: f ? void 0 : O.Compare, className: W.button, displayMode: a })), e.Indicators && 1 === S && s.createElement(b, { key: "indicators" }, s.createElement(e.Indicators, { id: f ? void 0 : O.Indicators, className: W.button, studyMarket: i, displayMode: a })), e.Financials && 1 === S && s.createElement(b, { key: "financials" }, s.createElement(e.Financials, { id: f ? void 0 : O.Financials, className: W.button, displayMode: a })), e.Templates && 1 === S && s.createElement(b, { key: "templates" }, s.createElement(e.Templates, { id: f ? void 0 : O.StudyTemplates, isShownQuicks: t.allowFavoriting, isFavoritingAllowed: t.allowFavoriting, displayMode: a })), 1 === S && e.Alert && s.createElement(b, { key: "alert" }, s.createElement(e.Alert, { id: f ? void 0 : O.Alerts, className: W.button, displayMode: a })), 1 === S && e.AlertReferral && s.createElement(b, { key: "alert-referral" }, s.createElement(e.AlertReferral, { className: W.button, displayMode: a })), e.Replay && 1 === S && s.createElement(b, { key: "replay" }, s.createElement(e.Replay, { id: f ? void 0 : O.Replay, className: W.button, displayMode: a })), e.UndoRedo && 1 === S && s.createElement(b, { key: "undo-redo" }, s.createElement(e.UndoRedo, { id: f ? void 0 : O.UndoRedo })), e.ScalePercentage && s.createElement(b, { key: "percentage" }, s.createElement(e.ScalePercentage, null)), e.ScaleLogarithm && s.createElement(b, { key: "logarithm" }, s.createElement(e.ScaleLogarithm, null)), ...C]), 1 === S ? function (e) {
75
- const t = e.findIndex(e => s.isValidElement(e) && !!e.key && -1 !== e.key.toString().indexOf("view-only-badge"));
76
- return [t].filter(e => e >= 0).forEach(t => {
77
- e = s.Children.map(e, (e, a) => {
78
- if (s.isValidElement(e)) {
79
- switch ([t - 1, t, t + 1].indexOf(a)) {
80
- case 0:
81
- const t = { noRightDecoration: !0 };
82
- e = s.cloneElement(e, t);
83
- break;
84
- case 1:
85
- const a = { noLeftDecoration: !0, noRightDecoration: !0 };
86
- e = s.cloneElement(e, a);
87
- break;
88
- case 2:
89
- const n = { noLeftDecoration: !0 };
90
- e = s.cloneElement(e, n);
91
- }
92
- }
93
- return e;
94
- });
95
- }), e;
96
- }(s.Children.toArray([o && s.createElement(b, { key: "view-only-badge" }, s.createElement(k, null)), s.createElement(b, { key: "gap", className: r(W.fill, f && W.collapse) }), !o && e.Layout && s.createElement(b, { key: "layout" }, s.createElement(e.Layout, { id: f ? void 0 : O.Layouts })), e.SaveLoad && s.createElement(b, { key: "save-load-right" }, s.createElement(e.SaveLoad, { id: f ? void 0 : O.SaveLoad, chartSaver: n, isReadOnly: o, displayMode: a, isFake: f, stateSyncEmitter: l })), e.SaveLoadReferral && s.createElement(b, { key: "save-load-referral" }, s.createElement(e.SaveLoadReferral, { isReadOnly: o, displayMode: a })), t.showLaunchInPopupButton && e.OpenPopup && s.createElement(b, { key: "popup" }, s.createElement(e.OpenPopup, null)), !o && e.Properties && s.createElement(b, { key: "properties" }, s.createElement(e.Properties, { id: f ? void 0 : O.Properties, className: W.iconButton })), !o && e.Fullscreen && s.createElement(b, { key: "fullscreen", onClick: this._trackFullscreenButtonClick }, s.createElement(e.Fullscreen, { id: f ? void 0 : O.Fullscreen })), e.Screenshot && s.createElement(b, { key: "screenshot" }, s.createElement(e.Screenshot, { id: f ? void 0 : O.Screenshot, className: W.iconButton })), !o && e.Publish && s.createElement(b, { key: "publish", className: W.mobilePublish }, s.createElement(e.Publish, { id: f ? void 0 : O.PublishMobile })), ...w])) : [s.createElement(b, { key: "gap", className: r(W.fill, 2 === S && W.minimalPriority) }), s.createElement(b, { key: "symbol-search-close" }, s.createElement(E, { className: r(W.iconButton, W.symbolSearchClose) }))]))))), e.Publish && !o && !f && s.createElement(e.Publish, { id: O.PublishDesktop, className: W.desktopPublish }));
97
- }
98
- _onLoginStateChange() { 0; }
99
- _setMode(e) { this.setState({ mode: e }); }
100
- _trackFullscreenButtonClick() { 0; }
101
- }
102
- T.contextType = L;
103
- var P = a("hY0g"), D = a.n(P), A = a("ulZB");
104
- class N extends A.b {
105
- constructor(e, t, a = []) { super(e, t, "FAVORITE_CHART_STYLES_CHANGED", "StyleWidget.quicks", a); }
106
- }
107
- var z = a("pPtI"), j = a("L6rT");
108
- class B extends A.a {
109
- constructor(e, t, a) { super(e, t, "FAVORITE_INTERVALS_CHANGED", "IntervalWidget.quicks", a); }
110
- _serialize(e) { return Object(j.uniq)(e.map(z.normalizeIntervalString)); }
111
- _deserialize(e) { return Object(j.uniq)(Object(z.convertResolutionsFromSettings)(e).filter(z.isResolutionMultiplierValid).map(z.normalizeIntervalString)); }
112
- }
113
- var K = a("Vdly"), H = a("FBuY");
114
- a("bSeV");
115
- class X extends A.a {
116
- constructor(e, t, a = []) { super(e, t, "CUSTOM_INTERVALS_CHANGED", "IntervalWidget.intervals", a); }
117
- set(e, t) { e.length, this.get().length, super.set(e, t); }
118
- _serialize(e) { return Object(j.uniq)(e.map(z.normalizeIntervalString)); }
119
- _deserialize(e) { return Object(j.uniq)(Object(z.convertResolutionsFromSettings)(e).filter(z.isResolutionMultiplierValid).map(z.normalizeIntervalString)); }
120
- }
121
- const U = new X(H.TVXWindowEvents, K);
122
- var q = a("LxhU"), G = a("cSDC");
123
- class Q {
124
- constructor(e) { this._customIntervalsService = U, this._chartApiInstance = e; }
125
- getDefaultIntervals() { return null === this._chartApiInstance ? [] : this._chartApiInstance.defaultResolutions().map(z.normalizeIntervalString); }
126
- getCustomIntervals() { return this._customIntervalsService.get(); }
127
- add(e, t, a) {
128
- if (!this.isValidInterval(e, t))
129
- return null;
130
- const s = this._getIntervalString(e, t), n = Object(z.normalizeIntervalString)(s), i = this.getCustomIntervals();
131
- return this._isIntervalDefault(n) || i.includes(n) ? null : (this._customIntervalsService.set(Object(z.sortResolutions)([...i, n])), n);
132
- }
133
- remove(e) { this._customIntervalsService.set(this.getCustomIntervals().filter(t => t !== e)); }
134
- isValidInterval(e, t) { const a = parseInt(e); return a === this._minMaxTime(a, t); }
135
- isSupportedInterval(e) { return Object(z.isAvailable)(e); }
136
- getOnChange() { return this._customIntervalsService.getOnChange(); }
137
- getPossibleIntervals() { return G.a; }
138
- getResolutionUtils() { return { getMaxResolutionValue: this._getMaxResolutionValue, getTranslatedResolutionModel: z.getTranslatedResolutionModel, mergeResolutions: z.mergeResolutions, sortResolutions: z.sortResolutions }; }
139
- _getMaxResolutionValue(e) { return q.Interval.isMinuteHours(e) ? Math.floor(Object(z.getMaxResolutionValue)("1") / 60) : Object(z.getMaxResolutionValue)(e); }
140
- _isIntervalDefault(e) { return this.getDefaultIntervals().includes(e); }
141
- _minMaxTime(e, t) { return Math.max(1, Math.min(e, this._getMaxResolutionValue(t))); }
142
- _getIntervalString(e, t) { const a = parseInt(e), s = q.Interval.parse(t), n = s.isMinuteHours() ? 60 * a : a; return new q.Interval(s.kind(), n).value(); }
143
- }
144
- var Y = a("yMne"), Z = a("cBZt"), J = a("TcSq"), $ = a("aIyQ"), ee = a.n($);
145
- const te = {};
146
- let ae = null;
147
- class se {
148
- constructor(e = K) { this._favorites = [], this._favoritesChanged = new ee.a, this._settings = e, H.TVXWindowEvents.on("StudyFavoritesChanged", e => { const t = JSON.parse(e); this._loadFromState(t.favorites || []); }), this._settings.onSync.subscribe(this, this._loadFavs), this._loadFavs(); }
149
- isFav(e) { const t = this.favId(e); return -1 !== this._findFavIndex(t); }
150
- toggleFavorite(e) { this.isFav(e) ? this.removeFavorite(e) : this.addFavorite(e); }
151
- addFavorite(e) { const t = this.favId(e); this._favorites.push(ie(t)), this._favoritesChanged.fire(), this._saveFavs(); }
152
- removeFavorite(e) { const t = this.favId(e), a = this._findFavIndex(t); -1 !== a && (this._favorites.splice(a, 1), this._favoritesChanged.fire()), this._saveFavs(); }
153
- favId(e) { return Object(J.isPineIdString)(e) ? e : Object(J.extractPineId)(e) || Object(Z.extractStudyId)(e); }
154
- favorites() { return this._favorites; }
155
- favoritePineIds() { return this._favorites.filter(e => "pine" === e.type).map(e => e.pineId); }
156
- favoritesChanged() { return this._favoritesChanged; }
157
- static getInstance() { return null === ae && (ae = new se), ae; }
158
- static create(e) { return new se(e); }
159
- _loadFavs() { const e = this._settings.getJSON("studyMarket.favorites", []); this._loadFromState(e); }
160
- _saveFavs() { const e = this._stateToSave(); this._settings.setJSON("studyMarket.favorites", e), H.TVXWindowEvents.emit("StudyFavoritesChanged", JSON.stringify({ favorites: e })); }
161
- _stateToSave() { return this._favorites.map(ne); }
162
- _loadFromState(e) { this._favorites = e.map(e => ie(function (e) { return e in te ? te[e] : e; }(e))), this._favoritesChanged.fire(); }
163
- _findFavIndex(e) { return this._favorites.findIndex(t => e === ne(t)); }
164
- }
165
- function ne(e) { return "java" === e.type ? e.studyId : e.pineId; }
166
- function ie(e) { return Object(J.isPineIdString)(e) ? { type: "pine", pineId: e } : { type: "java", studyId: e }; }
167
- const re = { [q.ResolutionKind.Ticks]: !1, [q.ResolutionKind.Seconds]: !1, [q.ResolutionKind.Minutes]: !1,
168
- [q.SpecialResolutionKind.Hours]: !1, [q.ResolutionKind.Days]: !1, [q.ResolutionKind.Range]: !1 };
169
- class oe extends A.b {
170
- constructor(e, t, a = re) { super(e, t, "INTERVALS_MENU_VIEW_STATE_CHANGED", "IntervalWidget.menu.viewState", a); }
171
- isAllowed(e) { return Object.keys(re).includes(e); }
172
- }
173
- A.b;
174
- var le = a("54XG");
175
- const ce = { Area: 3, Bars: 0, Candles: 1, "Heiken Ashi": 8, "Hollow Candles": 9, Line: 2, Renko: 4, Kagi: 5, "Point & figure": 6, "Line Break": 7, Baseline: 10 }, de = ["1", "30", "60"];
176
- function ue(e = []) { let t = e.map(e => ce[e]) || [1, 4, 5, 6]; return d.enabled("widget") && (t = [0, 1, 3]), t; }
177
- function he(e = []) { return Object(z.mergeResolutions)(e, d.enabled("star_some_intervals_by_default") ? de : []); }
178
- new B(H.TVXWindowEvents, K, he()), new N(H.TVXWindowEvents, K, ue()), new le.FavoriteStudyTemplateService(H.TVXWindowEvents, K);
179
- const me = { tools: h.any.isRequired, isFundamental: h.any, chartApiInstance: h.any, availableTimeFrames: h.any, chartWidgetCollection: h.any, windowMessageService: h.any, favoriteChartStylesService: h.any, favoriteIntervalsService: h.any, intervalService: h.any, favoriteStudyTemplatesService: h.any, studyTemplates: h.any, chartChangesWatcher: h.any, saveChartService: h.any, sharingChartService: h.any, loadChartService: h.any, chartWidget: h.any, favoriteScriptsModel: h.any, intervalsMenuViewStateService: h.any, templatesMenuViewStateService: h.any, financialsDialogController: h.any, snapshotUrl: h.any };
180
- var ve = a("gWrr"), pe = a("6aN0");
181
- const fe = [];
182
- class be extends s.PureComponent {
183
- constructor(e) {
184
- super(e), this._saveLoadSyncEmitter = new l.a, this._handleFullWidthChange = e => { this._fullWidth = e, this.setState({ measureValid: !1 }); }, this._handleFavoritesWidthChange = e => { this._favoritesWidth = e, this.setState({ measureValid: !1 }); }, this._handleCollapseWidthChange = e => { this._collapseWidth = e, this.setState({ measureValid: !1 }); }, this._handleMeasure = e => { this.setState({ availableWidth: e, measureValid: !1 }); };
185
- const { tools: t, windowMessageService: a, chartWidgetCollection: s, chartApiInstance: n, availableTimeFrames: r, isFundamental: o, favoriteIntervalsService: u, favoriteChartStylesService: h, favoriteStudyTemplatesService: m, studyTemplates: v, saveChartService: p, sharingChartService: f, loadChartService: b, financialsDialogController: g, snapshotUrl: y } = e;
186
- this._showScrollbarWhen = Object(i.ensureDefined)(e.allowedModes).slice(-1), this._panelWidthChangeHandlers = { full: this._handleFullWidthChange, medium: this._handleFavoritesWidthChange, small: this._handleCollapseWidthChange };
187
- const { chartChangesWatcher: S } = e;
188
- this._chartChangesWatcher = S;
189
- const _ = ue(this.props.defaultFavoriteStyles);
190
- this._favoriteChartStylesService = h || new N(H.TVXWindowEvents, K, _);
191
- const E = he(this.props.defaultFavoriteIntervals);
192
- this._favoriteIntervalsService = u || new B(H.TVXWindowEvents, K, E), this._intervalsMenuViewStateService = new oe(H.TVXWindowEvents, K), this._intervalService = new Q(n), this._registry = { tools: t, isFundamental: o, chartWidgetCollection: s, windowMessageService: a, chartApiInstance: n, availableTimeFrames: r, favoriteStudyTemplatesService: m, studyTemplates: v, saveChartService: p, sharingChartService: f, loadChartService: b, intervalsMenuViewStateService: this._intervalsMenuViewStateService,
193
- favoriteChartStylesService: this._favoriteChartStylesService, favoriteIntervalsService: this._favoriteIntervalsService, intervalService: this._intervalService, chartChangesWatcher: this._chartChangesWatcher, chartWidget: s.activeChartWidget.value(), favoriteScriptsModel: se.getInstance(), templatesMenuViewStateService: this._templatesMenuVuewStateService, financialsDialogController: g, snapshotUrl: y }, this.state = { isVisible: !0, availableWidth: 0, displayMode: "full", measureValid: !1, leftCustomElements: [], rightCustomElements: [] }, this._readOnly = s.readOnly(), this._features = { allowFavoriting: d.enabled("items_favoriting"), showIdeasButton: Boolean(this.props.ideas), showLaunchInPopupButton: Boolean(this.props.popupButton), allowSymbolSearchSpread: d.enabled("header_symbol_search") && d.enabled("show_spread_operators"), allowToolbarHiding: d.enabled("collapsible_header") }, this._setDisplayMode = Object(c.default)(this._setDisplayMode, 100), this._negotiateResizer();
194
- }
195
- componentDidUpdate(e, t) { const { isVisible: a, measureValid: s } = this.state; a !== t.isVisible && (u.emit("toggle_header", a), this._negotiateResizer()), s || this._setDisplayMode(); }
196
- render() { const _a = this.props, { resizerBridge: e, allowedModes: t } = _a, a = __rest(_a, ["resizerBridge", "allowedModes"]), { displayMode: n, isVisible: o, leftCustomElements: l, rightCustomElements: c } = this.state, d = Object.assign({ features: this._features, readOnly: this._readOnly, isFake: !1, saveLoadSyncEmitter: this._saveLoadSyncEmitter, leftCustomElements: l, rightCustomElements: c }, a), u = Object.assign(Object.assign({}, d), { isFake: !0, showScrollbarWhen: fe }), h = Object(i.ensureDefined)(t), m = this.props.tools.PublishButtonManager || s.Fragment; return s.createElement(V.a, { value: this._registry, validation: me }, s.createElement(m, null, s.createElement("div", { className: r(pe.toolbar, { [pe.isHidden]: !o }), onClick: this.props.onClick }, s.createElement("div", { className: pe.overflowWrap }, s.createElement(T, Object.assign({ key: "live", showScrollbarWhen: this._showScrollbarWhen, displayMode: n, onAvailableSpaceChange: this._handleMeasure }, d)), h.map(e => s.createElement(T, Object.assign({ key: e, displayMode: e, onWidthChange: this._panelWidthChangeHandlers[e] }, u))))))); }
197
- addButton(e, t = "left") { const a = new D.a(0), s = Object(ve.b)(`<div class="apply-common-tooltip ${pe.customButton}">`), n = { type: "Button", params: { key: Number(new Date), element: s, width: a }, id: e }, { leftCustomElements: i, rightCustomElements: r } = this.state; return "left" === t ? this.setState({ leftCustomElements: [...i, n] }) : this.setState({ rightCustomElements: [...r, n] }), s; }
198
- addDropdown(e, t) { const { leftCustomElements: a, rightCustomElements: s } = this.state, n = { type: "Dropdown", id: e, params: t }; "left" === t.align ? this.setState({ leftCustomElements: [...a, n] }) : this.setState({ rightCustomElements: [...s, n] }); }
199
- updateDropdown(e, t) { const a = t => "Dropdown" === t.type && t.id === e, s = this.state.leftCustomElements.find(a) || this.state.rightCustomElements.find(a); void 0 !== s && (s.params = Object.assign(Object.assign({}, s.params), t), this.setState({ leftCustomElements: this.state.leftCustomElements.slice(), rightCustomElements: this.state.rightCustomElements.slice() })); }
200
- removeDropdown(e) {
201
- const t = t => "Dropdown" === t.type && t.id !== e, a = this.state.leftCustomElements.filter(t), s = this.state.rightCustomElements.filter(t);
202
- this.setState({ leftCustomElements: a,
203
- rightCustomElements: s });
204
- }
205
- _negotiateResizer() { this.props.resizerBridge.negotiateHeight(this.state.isVisible ? Y.b : Y.a); }
206
- _setDisplayMode() { const { availableWidth: e } = this.state, { allowedModes: t } = this.props, a = { full: this._fullWidth, medium: this._favoritesWidth, small: this._collapseWidth }, s = Object(i.ensureDefined)(t); let n = s.map(e => a[e]).findIndex(t => e >= t); -1 === n && (n = s.length - 1); const r = s[n]; this.setState({ measureValid: !0, displayMode: r }); }
207
- }
208
- be.defaultProps = { allowedModes: ["full", "medium"] }, a.d(t, "HeaderToolbarRenderer", (function () { return ge; }));
209
- class ge {
210
- constructor(e, t) { this._component = null, this._handleRef = e => { this._component = e; }, this._container = e, n.render(s.createElement(be, Object.assign(Object.assign({}, t), { ref: this._handleRef })), this._container); }
211
- destroy() { n.unmountComponentAtNode(this._container); }
212
- getComponent() { return Object(i.ensureNotNull)(this._component); }
213
- }
214
- }, KkTf: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'; }, KrBX: function (e, t, a) { e.exports = { group: "group-3uonVBsm", noLeftDecoration: "noLeftDecoration-3uonVBsm", noRightDecoration: "noRightDecoration-3uonVBsm", noMinimalWidth: "noMinimalWidth-3uonVBsm" }; }, "a+Yp": function (e, t, a) { e.exports = { wrap: "wrap-35jKyg6w", icon: "icon-35jKyg6w" }; }, a8bL: function (e, t, a) { e.exports = { "css-value-header-toolbar-height": "38px", inner: "inner-pzOKvpP8", fake: "fake-pzOKvpP8", fill: "fill-pzOKvpP8", minimalPriority: "minimalPriority-pzOKvpP8", collapse: "collapse-pzOKvpP8", button: "button-pzOKvpP8", iconButton: "iconButton-pzOKvpP8", hidden: "hidden-pzOKvpP8", symbolSearch: "symbolSearch-pzOKvpP8", symbolSearchClose: "symbolSearchClose-pzOKvpP8", content: "content-pzOKvpP8", desktopPublish: "desktopPublish-pzOKvpP8", mobilePublish: "mobilePublish-pzOKvpP8" }; }, bQ7Y: function (e, t, a) { e.exports = { button: "button-2Vpz_LXc", hover: "hover-2Vpz_LXc", isInteractive: "isInteractive-2Vpz_LXc", isGrouped: "isGrouped-2Vpz_LXc", isActive: "isActive-2Vpz_LXc", isOpened: "isOpened-2Vpz_LXc", isDisabled: "isDisabled-2Vpz_LXc", text: "text-2Vpz_LXc", icon: "icon-2Vpz_LXc" }; }, cSDC: function (e, t, a) {
215
- "use strict";
216
- a.d(t, "a", (function () { return n; }));
217
- var s = a("YFKU");
218
- const n = [{ name: "1", label: Object(s.t)("minutes", { context: "interval" }) }, { name: "1H", label: Object(s.t)("hours", { context: "interval" }) }, { name: "1D", label: Object(s.t)("days", { context: "interval" }) }, { name: "1W", label: Object(s.t)("weeks", { context: "interval" }) }, { name: "1M", label: Object(s.t)("months", { context: "interval" }) }];
219
- }, "tO+E": function (e, t, a) { e.exports = { "css-value-header-toolbar-height": "38px", wrap: "wrap-1ETeWwz2" }; }, tU7i: function (e, t, a) {
220
- "use strict";
221
- a.d(t, "a", (function () { return o; })), a.d(t, "b", (function () { return l; }));
222
- var s = a("q1tI"), n = a("TSYQ"), i = a("Iivm"), r = a("bQ7Y");
223
- const o = r, l = s.forwardRef((e, t) => {
224
- const { icon: a, isActive: o, isOpened: l, isDisabled: c, isGrouped: d, isHovered: u, onClick: h, text: m, textBeforeIcon: v, title: p, theme: f = r, className: b, forceInteractive: g, "data-name": y } = e, S = __rest(e, ["icon", "isActive", "isOpened", "isDisabled", "isGrouped", "isHovered", "onClick", "text", "textBeforeIcon", "title", "theme", "className", "forceInteractive", "data-name"]), _ = n(b, f.button, p && "apply-common-tooltip", { [f.isActive]: o, [f.isOpened]: l, [f.isInteractive]: (g || Boolean(h)) && !c, [f.isDisabled]: c, [f.isGrouped]: d,
225
- [f.hover]: u }), E = a && ("string" == typeof a ? s.createElement(i.a, { className: f.icon, icon: a }) : s.cloneElement(a, { className: n(f.icon, a.props.className) }));
226
- return s.createElement("div", Object.assign(Object.assign({}, S), { ref: t, "data-role": "button", className: _, onClick: c ? void 0 : h, title: p, "data-name": y }), v && m && s.createElement("div", { className: n("js-button-text", f.text) }, m), E, !v && m && s.createElement("div", { className: n("js-button-text", f.text) }, m));
227
- });
228
- } }]);