@mmb-digital/ds-lilly 0.11.0 → 0.11.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 (1608) hide show
  1. package/_virtual/index3.js +1 -1
  2. package/_virtual/index4.js +1 -1
  3. package/cjs/_virtual/index3.js +1 -1
  4. package/cjs/_virtual/index4.js +1 -1
  5. package/cjs/components/Graphs/AreaChart/AreaChart.js +1 -1
  6. package/cjs/components/Graphs/AreaChart/AreaChart.js.map +1 -1
  7. package/cjs/components/Graphs/AreaChart/_elements_/AreaChartArea/AreaChartArea.js +1 -1
  8. package/cjs/components/Graphs/AreaChart/_elements_/AreaChartArea/AreaChartArea.js.map +1 -1
  9. package/cjs/components/Graphs/PieChartExtended/PieChartExtended.js +1 -1
  10. package/cjs/components/Graphs/PieChartExtended/PieChartExtended.js.map +1 -1
  11. package/cjs/ds-lilly.css +3 -3
  12. package/cjs/ext/camelcase/index.js +1 -1
  13. package/cjs/ext/camelcase/index.js.map +1 -1
  14. package/cjs/ext/downshift/ext/react-is/index.js +1 -1
  15. package/cjs/ext/prop-types/ext/react-is/cjs/react-is.development.js +1 -1
  16. package/cjs/ext/prop-types/ext/react-is/cjs/react-is.production.min.js +1 -1
  17. package/cjs/ext/prop-types/index.js +1 -1
  18. package/cjs/ext/react-slick/lib/index.js +1 -1
  19. package/components/Graphs/AreaChart/AreaChart.js +1 -1
  20. package/components/Graphs/AreaChart/AreaChart.js.map +1 -1
  21. package/components/Graphs/AreaChart/_elements_/AreaChartArea/AreaChartArea.js +1 -1
  22. package/components/Graphs/AreaChart/_elements_/AreaChartArea/AreaChartArea.js.map +1 -1
  23. package/components/Graphs/PieChartExtended/PieChartExtended.js +1 -1
  24. package/components/Graphs/PieChartExtended/PieChartExtended.js.map +1 -1
  25. package/ds-lilly.css +3 -3
  26. package/ext/camelcase/index.js +1 -1
  27. package/ext/camelcase/index.js.map +1 -1
  28. package/ext/downshift/ext/react-is/index.js +1 -1
  29. package/ext/prop-types/ext/react-is/cjs/react-is.development.js +1 -1
  30. package/ext/prop-types/ext/react-is/cjs/react-is.production.min.js +1 -1
  31. package/ext/prop-types/index.js +1 -1
  32. package/ext/react-slick/lib/index.js +1 -1
  33. package/mmb-digital-ds-lilly-v0.11.30.tgz +0 -0
  34. package/package.json +5 -4
  35. package/_virtual/_nodeUtil.js +0 -2
  36. package/_virtual/_nodeUtil.js.map +0 -1
  37. package/_virtual/decimal.js +0 -2
  38. package/_virtual/decimal.js.map +0 -1
  39. package/_virtual/index9.js +0 -2
  40. package/_virtual/index9.js.map +0 -1
  41. package/_virtual/isBuffer.js +0 -2
  42. package/_virtual/isBuffer.js.map +0 -1
  43. package/_virtual/react-is.development3.js +0 -2
  44. package/_virtual/react-is.development3.js.map +0 -1
  45. package/_virtual/react-is.production.min3.js +0 -2
  46. package/_virtual/react-is.production.min3.js.map +0 -1
  47. package/cjs/_virtual/_nodeUtil.js +0 -2
  48. package/cjs/_virtual/_nodeUtil.js.map +0 -1
  49. package/cjs/_virtual/decimal.js +0 -2
  50. package/cjs/_virtual/decimal.js.map +0 -1
  51. package/cjs/_virtual/index9.js +0 -2
  52. package/cjs/_virtual/index9.js.map +0 -1
  53. package/cjs/_virtual/isBuffer.js +0 -2
  54. package/cjs/_virtual/isBuffer.js.map +0 -1
  55. package/cjs/_virtual/react-is.development3.js +0 -2
  56. package/cjs/_virtual/react-is.development3.js.map +0 -1
  57. package/cjs/_virtual/react-is.production.min3.js +0 -2
  58. package/cjs/_virtual/react-is.production.min3.js.map +0 -1
  59. package/cjs/ext/clsx/dist/clsx.js +0 -2
  60. package/cjs/ext/clsx/dist/clsx.js.map +0 -1
  61. package/cjs/ext/d3-array/src/ascending.js +0 -2
  62. package/cjs/ext/d3-array/src/ascending.js.map +0 -1
  63. package/cjs/ext/d3-array/src/bisect.js +0 -2
  64. package/cjs/ext/d3-array/src/bisect.js.map +0 -1
  65. package/cjs/ext/d3-array/src/bisector.js +0 -2
  66. package/cjs/ext/d3-array/src/bisector.js.map +0 -1
  67. package/cjs/ext/d3-array/src/descending.js +0 -2
  68. package/cjs/ext/d3-array/src/descending.js.map +0 -1
  69. package/cjs/ext/d3-array/src/max.js +0 -2
  70. package/cjs/ext/d3-array/src/max.js.map +0 -1
  71. package/cjs/ext/d3-array/src/min.js +0 -2
  72. package/cjs/ext/d3-array/src/min.js.map +0 -1
  73. package/cjs/ext/d3-array/src/number.js +0 -2
  74. package/cjs/ext/d3-array/src/number.js.map +0 -1
  75. package/cjs/ext/d3-array/src/quantile.js +0 -2
  76. package/cjs/ext/d3-array/src/quantile.js.map +0 -1
  77. package/cjs/ext/d3-array/src/quickselect.js +0 -2
  78. package/cjs/ext/d3-array/src/quickselect.js.map +0 -1
  79. package/cjs/ext/d3-array/src/range.js +0 -2
  80. package/cjs/ext/d3-array/src/range.js.map +0 -1
  81. package/cjs/ext/d3-array/src/sort.js +0 -2
  82. package/cjs/ext/d3-array/src/sort.js.map +0 -1
  83. package/cjs/ext/d3-array/src/ticks.js +0 -2
  84. package/cjs/ext/d3-array/src/ticks.js.map +0 -1
  85. package/cjs/ext/d3-color/src/color.js +0 -2
  86. package/cjs/ext/d3-color/src/color.js.map +0 -1
  87. package/cjs/ext/d3-color/src/define.js +0 -2
  88. package/cjs/ext/d3-color/src/define.js.map +0 -1
  89. package/cjs/ext/d3-format/src/defaultLocale.js +0 -2
  90. package/cjs/ext/d3-format/src/defaultLocale.js.map +0 -1
  91. package/cjs/ext/d3-format/src/exponent.js +0 -2
  92. package/cjs/ext/d3-format/src/exponent.js.map +0 -1
  93. package/cjs/ext/d3-format/src/formatDecimal.js +0 -2
  94. package/cjs/ext/d3-format/src/formatDecimal.js.map +0 -1
  95. package/cjs/ext/d3-format/src/formatGroup.js +0 -2
  96. package/cjs/ext/d3-format/src/formatGroup.js.map +0 -1
  97. package/cjs/ext/d3-format/src/formatNumerals.js +0 -2
  98. package/cjs/ext/d3-format/src/formatNumerals.js.map +0 -1
  99. package/cjs/ext/d3-format/src/formatPrefixAuto.js +0 -2
  100. package/cjs/ext/d3-format/src/formatPrefixAuto.js.map +0 -1
  101. package/cjs/ext/d3-format/src/formatRounded.js +0 -2
  102. package/cjs/ext/d3-format/src/formatRounded.js.map +0 -1
  103. package/cjs/ext/d3-format/src/formatSpecifier.js +0 -2
  104. package/cjs/ext/d3-format/src/formatSpecifier.js.map +0 -1
  105. package/cjs/ext/d3-format/src/formatTrim.js +0 -2
  106. package/cjs/ext/d3-format/src/formatTrim.js.map +0 -1
  107. package/cjs/ext/d3-format/src/formatTypes.js +0 -2
  108. package/cjs/ext/d3-format/src/formatTypes.js.map +0 -1
  109. package/cjs/ext/d3-format/src/identity.js +0 -2
  110. package/cjs/ext/d3-format/src/identity.js.map +0 -1
  111. package/cjs/ext/d3-format/src/locale.js +0 -2
  112. package/cjs/ext/d3-format/src/locale.js.map +0 -1
  113. package/cjs/ext/d3-format/src/precisionFixed.js +0 -2
  114. package/cjs/ext/d3-format/src/precisionFixed.js.map +0 -1
  115. package/cjs/ext/d3-format/src/precisionPrefix.js +0 -2
  116. package/cjs/ext/d3-format/src/precisionPrefix.js.map +0 -1
  117. package/cjs/ext/d3-format/src/precisionRound.js +0 -2
  118. package/cjs/ext/d3-format/src/precisionRound.js.map +0 -1
  119. package/cjs/ext/d3-interpolate/src/array.js +0 -2
  120. package/cjs/ext/d3-interpolate/src/array.js.map +0 -1
  121. package/cjs/ext/d3-interpolate/src/color.js +0 -2
  122. package/cjs/ext/d3-interpolate/src/color.js.map +0 -1
  123. package/cjs/ext/d3-interpolate/src/constant.js +0 -2
  124. package/cjs/ext/d3-interpolate/src/constant.js.map +0 -1
  125. package/cjs/ext/d3-interpolate/src/date.js +0 -2
  126. package/cjs/ext/d3-interpolate/src/date.js.map +0 -1
  127. package/cjs/ext/d3-interpolate/src/number.js +0 -2
  128. package/cjs/ext/d3-interpolate/src/number.js.map +0 -1
  129. package/cjs/ext/d3-interpolate/src/numberArray.js +0 -2
  130. package/cjs/ext/d3-interpolate/src/numberArray.js.map +0 -1
  131. package/cjs/ext/d3-interpolate/src/object.js +0 -2
  132. package/cjs/ext/d3-interpolate/src/object.js.map +0 -1
  133. package/cjs/ext/d3-interpolate/src/piecewise.js +0 -2
  134. package/cjs/ext/d3-interpolate/src/piecewise.js.map +0 -1
  135. package/cjs/ext/d3-interpolate/src/rgb.js +0 -2
  136. package/cjs/ext/d3-interpolate/src/rgb.js.map +0 -1
  137. package/cjs/ext/d3-interpolate/src/round.js +0 -2
  138. package/cjs/ext/d3-interpolate/src/round.js.map +0 -1
  139. package/cjs/ext/d3-interpolate/src/string.js +0 -2
  140. package/cjs/ext/d3-interpolate/src/string.js.map +0 -1
  141. package/cjs/ext/d3-interpolate/src/value.js +0 -2
  142. package/cjs/ext/d3-interpolate/src/value.js.map +0 -1
  143. package/cjs/ext/d3-path/src/path.js +0 -2
  144. package/cjs/ext/d3-path/src/path.js.map +0 -1
  145. package/cjs/ext/d3-scale/src/band.js +0 -2
  146. package/cjs/ext/d3-scale/src/band.js.map +0 -1
  147. package/cjs/ext/d3-scale/src/constant.js +0 -2
  148. package/cjs/ext/d3-scale/src/constant.js.map +0 -1
  149. package/cjs/ext/d3-scale/src/continuous.js +0 -2
  150. package/cjs/ext/d3-scale/src/continuous.js.map +0 -1
  151. package/cjs/ext/d3-scale/src/diverging.js +0 -2
  152. package/cjs/ext/d3-scale/src/diverging.js.map +0 -1
  153. package/cjs/ext/d3-scale/src/identity.js +0 -2
  154. package/cjs/ext/d3-scale/src/identity.js.map +0 -1
  155. package/cjs/ext/d3-scale/src/init.js +0 -2
  156. package/cjs/ext/d3-scale/src/init.js.map +0 -1
  157. package/cjs/ext/d3-scale/src/linear.js +0 -2
  158. package/cjs/ext/d3-scale/src/linear.js.map +0 -1
  159. package/cjs/ext/d3-scale/src/log.js +0 -2
  160. package/cjs/ext/d3-scale/src/log.js.map +0 -1
  161. package/cjs/ext/d3-scale/src/nice.js +0 -2
  162. package/cjs/ext/d3-scale/src/nice.js.map +0 -1
  163. package/cjs/ext/d3-scale/src/number.js +0 -2
  164. package/cjs/ext/d3-scale/src/number.js.map +0 -1
  165. package/cjs/ext/d3-scale/src/ordinal.js +0 -2
  166. package/cjs/ext/d3-scale/src/ordinal.js.map +0 -1
  167. package/cjs/ext/d3-scale/src/pow.js +0 -2
  168. package/cjs/ext/d3-scale/src/pow.js.map +0 -1
  169. package/cjs/ext/d3-scale/src/quantile.js +0 -2
  170. package/cjs/ext/d3-scale/src/quantile.js.map +0 -1
  171. package/cjs/ext/d3-scale/src/quantize.js +0 -2
  172. package/cjs/ext/d3-scale/src/quantize.js.map +0 -1
  173. package/cjs/ext/d3-scale/src/radial.js +0 -2
  174. package/cjs/ext/d3-scale/src/radial.js.map +0 -1
  175. package/cjs/ext/d3-scale/src/sequential.js +0 -2
  176. package/cjs/ext/d3-scale/src/sequential.js.map +0 -1
  177. package/cjs/ext/d3-scale/src/sequentialQuantile.js +0 -2
  178. package/cjs/ext/d3-scale/src/sequentialQuantile.js.map +0 -1
  179. package/cjs/ext/d3-scale/src/symlog.js +0 -2
  180. package/cjs/ext/d3-scale/src/symlog.js.map +0 -1
  181. package/cjs/ext/d3-scale/src/threshold.js +0 -2
  182. package/cjs/ext/d3-scale/src/threshold.js.map +0 -1
  183. package/cjs/ext/d3-scale/src/tickFormat.js +0 -2
  184. package/cjs/ext/d3-scale/src/tickFormat.js.map +0 -1
  185. package/cjs/ext/d3-scale/src/time.js +0 -2
  186. package/cjs/ext/d3-scale/src/time.js.map +0 -1
  187. package/cjs/ext/d3-scale/src/utcTime.js +0 -2
  188. package/cjs/ext/d3-scale/src/utcTime.js.map +0 -1
  189. package/cjs/ext/d3-shape/src/area.js +0 -2
  190. package/cjs/ext/d3-shape/src/area.js.map +0 -1
  191. package/cjs/ext/d3-shape/src/array.js +0 -2
  192. package/cjs/ext/d3-shape/src/array.js.map +0 -1
  193. package/cjs/ext/d3-shape/src/constant.js +0 -2
  194. package/cjs/ext/d3-shape/src/constant.js.map +0 -1
  195. package/cjs/ext/d3-shape/src/curve/basis.js +0 -2
  196. package/cjs/ext/d3-shape/src/curve/basis.js.map +0 -1
  197. package/cjs/ext/d3-shape/src/curve/basisClosed.js +0 -2
  198. package/cjs/ext/d3-shape/src/curve/basisClosed.js.map +0 -1
  199. package/cjs/ext/d3-shape/src/curve/basisOpen.js +0 -2
  200. package/cjs/ext/d3-shape/src/curve/basisOpen.js.map +0 -1
  201. package/cjs/ext/d3-shape/src/curve/bump.js +0 -2
  202. package/cjs/ext/d3-shape/src/curve/bump.js.map +0 -1
  203. package/cjs/ext/d3-shape/src/curve/linear.js +0 -2
  204. package/cjs/ext/d3-shape/src/curve/linear.js.map +0 -1
  205. package/cjs/ext/d3-shape/src/curve/linearClosed.js +0 -2
  206. package/cjs/ext/d3-shape/src/curve/linearClosed.js.map +0 -1
  207. package/cjs/ext/d3-shape/src/curve/monotone.js +0 -2
  208. package/cjs/ext/d3-shape/src/curve/monotone.js.map +0 -1
  209. package/cjs/ext/d3-shape/src/curve/natural.js +0 -2
  210. package/cjs/ext/d3-shape/src/curve/natural.js.map +0 -1
  211. package/cjs/ext/d3-shape/src/curve/step.js +0 -2
  212. package/cjs/ext/d3-shape/src/curve/step.js.map +0 -1
  213. package/cjs/ext/d3-shape/src/line.js +0 -2
  214. package/cjs/ext/d3-shape/src/line.js.map +0 -1
  215. package/cjs/ext/d3-shape/src/math.js +0 -2
  216. package/cjs/ext/d3-shape/src/math.js.map +0 -1
  217. package/cjs/ext/d3-shape/src/noop.js +0 -2
  218. package/cjs/ext/d3-shape/src/noop.js.map +0 -1
  219. package/cjs/ext/d3-shape/src/offset/expand.js +0 -2
  220. package/cjs/ext/d3-shape/src/offset/expand.js.map +0 -1
  221. package/cjs/ext/d3-shape/src/offset/none.js +0 -2
  222. package/cjs/ext/d3-shape/src/offset/none.js.map +0 -1
  223. package/cjs/ext/d3-shape/src/offset/silhouette.js +0 -2
  224. package/cjs/ext/d3-shape/src/offset/silhouette.js.map +0 -1
  225. package/cjs/ext/d3-shape/src/offset/wiggle.js +0 -2
  226. package/cjs/ext/d3-shape/src/offset/wiggle.js.map +0 -1
  227. package/cjs/ext/d3-shape/src/order/none.js +0 -2
  228. package/cjs/ext/d3-shape/src/order/none.js.map +0 -1
  229. package/cjs/ext/d3-shape/src/path.js +0 -2
  230. package/cjs/ext/d3-shape/src/path.js.map +0 -1
  231. package/cjs/ext/d3-shape/src/point.js +0 -2
  232. package/cjs/ext/d3-shape/src/point.js.map +0 -1
  233. package/cjs/ext/d3-shape/src/stack.js +0 -2
  234. package/cjs/ext/d3-shape/src/stack.js.map +0 -1
  235. package/cjs/ext/d3-shape/src/symbol/circle.js +0 -2
  236. package/cjs/ext/d3-shape/src/symbol/circle.js.map +0 -1
  237. package/cjs/ext/d3-shape/src/symbol/cross.js +0 -2
  238. package/cjs/ext/d3-shape/src/symbol/cross.js.map +0 -1
  239. package/cjs/ext/d3-shape/src/symbol/diamond.js +0 -2
  240. package/cjs/ext/d3-shape/src/symbol/diamond.js.map +0 -1
  241. package/cjs/ext/d3-shape/src/symbol/square.js +0 -2
  242. package/cjs/ext/d3-shape/src/symbol/square.js.map +0 -1
  243. package/cjs/ext/d3-shape/src/symbol/star.js +0 -2
  244. package/cjs/ext/d3-shape/src/symbol/star.js.map +0 -1
  245. package/cjs/ext/d3-shape/src/symbol/triangle.js +0 -2
  246. package/cjs/ext/d3-shape/src/symbol/triangle.js.map +0 -1
  247. package/cjs/ext/d3-shape/src/symbol/wye.js +0 -2
  248. package/cjs/ext/d3-shape/src/symbol/wye.js.map +0 -1
  249. package/cjs/ext/d3-shape/src/symbol.js +0 -2
  250. package/cjs/ext/d3-shape/src/symbol.js.map +0 -1
  251. package/cjs/ext/d3-time/src/day.js +0 -2
  252. package/cjs/ext/d3-time/src/day.js.map +0 -1
  253. package/cjs/ext/d3-time/src/duration.js +0 -2
  254. package/cjs/ext/d3-time/src/duration.js.map +0 -1
  255. package/cjs/ext/d3-time/src/hour.js +0 -2
  256. package/cjs/ext/d3-time/src/hour.js.map +0 -1
  257. package/cjs/ext/d3-time/src/interval.js +0 -2
  258. package/cjs/ext/d3-time/src/interval.js.map +0 -1
  259. package/cjs/ext/d3-time/src/millisecond.js +0 -2
  260. package/cjs/ext/d3-time/src/millisecond.js.map +0 -1
  261. package/cjs/ext/d3-time/src/minute.js +0 -2
  262. package/cjs/ext/d3-time/src/minute.js.map +0 -1
  263. package/cjs/ext/d3-time/src/month.js +0 -2
  264. package/cjs/ext/d3-time/src/month.js.map +0 -1
  265. package/cjs/ext/d3-time/src/second.js +0 -2
  266. package/cjs/ext/d3-time/src/second.js.map +0 -1
  267. package/cjs/ext/d3-time/src/ticks.js +0 -2
  268. package/cjs/ext/d3-time/src/ticks.js.map +0 -1
  269. package/cjs/ext/d3-time/src/week.js +0 -2
  270. package/cjs/ext/d3-time/src/week.js.map +0 -1
  271. package/cjs/ext/d3-time/src/year.js +0 -2
  272. package/cjs/ext/d3-time/src/year.js.map +0 -1
  273. package/cjs/ext/d3-time-format/src/defaultLocale.js +0 -2
  274. package/cjs/ext/d3-time-format/src/defaultLocale.js.map +0 -1
  275. package/cjs/ext/d3-time-format/src/locale.js +0 -2
  276. package/cjs/ext/d3-time-format/src/locale.js.map +0 -1
  277. package/cjs/ext/decimal.js-light/decimal.js +0 -4
  278. package/cjs/ext/decimal.js-light/decimal.js.map +0 -1
  279. package/cjs/ext/eventemitter3/index.js +0 -2
  280. package/cjs/ext/eventemitter3/index.js.map +0 -1
  281. package/cjs/ext/fast-equals/dist/esm/index.js +0 -2
  282. package/cjs/ext/fast-equals/dist/esm/index.js.map +0 -1
  283. package/cjs/ext/internmap/src/index.js +0 -2
  284. package/cjs/ext/internmap/src/index.js.map +0 -1
  285. package/cjs/ext/lodash/_DataView.js +0 -2
  286. package/cjs/ext/lodash/_DataView.js.map +0 -1
  287. package/cjs/ext/lodash/_Hash.js +0 -2
  288. package/cjs/ext/lodash/_Hash.js.map +0 -1
  289. package/cjs/ext/lodash/_ListCache.js +0 -2
  290. package/cjs/ext/lodash/_ListCache.js.map +0 -1
  291. package/cjs/ext/lodash/_Map.js +0 -2
  292. package/cjs/ext/lodash/_Map.js.map +0 -1
  293. package/cjs/ext/lodash/_MapCache.js +0 -2
  294. package/cjs/ext/lodash/_MapCache.js.map +0 -1
  295. package/cjs/ext/lodash/_Promise.js +0 -2
  296. package/cjs/ext/lodash/_Promise.js.map +0 -1
  297. package/cjs/ext/lodash/_Set.js +0 -2
  298. package/cjs/ext/lodash/_Set.js.map +0 -1
  299. package/cjs/ext/lodash/_SetCache.js +0 -2
  300. package/cjs/ext/lodash/_SetCache.js.map +0 -1
  301. package/cjs/ext/lodash/_Stack.js +0 -2
  302. package/cjs/ext/lodash/_Stack.js.map +0 -1
  303. package/cjs/ext/lodash/_Uint8Array.js +0 -2
  304. package/cjs/ext/lodash/_Uint8Array.js.map +0 -1
  305. package/cjs/ext/lodash/_WeakMap.js +0 -2
  306. package/cjs/ext/lodash/_WeakMap.js.map +0 -1
  307. package/cjs/ext/lodash/_apply.js +0 -2
  308. package/cjs/ext/lodash/_apply.js.map +0 -1
  309. package/cjs/ext/lodash/_arrayEvery.js +0 -2
  310. package/cjs/ext/lodash/_arrayEvery.js.map +0 -1
  311. package/cjs/ext/lodash/_arrayFilter.js +0 -2
  312. package/cjs/ext/lodash/_arrayFilter.js.map +0 -1
  313. package/cjs/ext/lodash/_arrayIncludes.js +0 -2
  314. package/cjs/ext/lodash/_arrayIncludes.js.map +0 -1
  315. package/cjs/ext/lodash/_arrayIncludesWith.js +0 -2
  316. package/cjs/ext/lodash/_arrayIncludesWith.js.map +0 -1
  317. package/cjs/ext/lodash/_arrayLikeKeys.js +0 -2
  318. package/cjs/ext/lodash/_arrayLikeKeys.js.map +0 -1
  319. package/cjs/ext/lodash/_arrayPush.js +0 -2
  320. package/cjs/ext/lodash/_arrayPush.js.map +0 -1
  321. package/cjs/ext/lodash/_arraySome.js +0 -2
  322. package/cjs/ext/lodash/_arraySome.js.map +0 -1
  323. package/cjs/ext/lodash/_asciiToArray.js +0 -2
  324. package/cjs/ext/lodash/_asciiToArray.js.map +0 -1
  325. package/cjs/ext/lodash/_assocIndexOf.js +0 -2
  326. package/cjs/ext/lodash/_assocIndexOf.js.map +0 -1
  327. package/cjs/ext/lodash/_baseAssignValue.js +0 -2
  328. package/cjs/ext/lodash/_baseAssignValue.js.map +0 -1
  329. package/cjs/ext/lodash/_baseEach.js +0 -2
  330. package/cjs/ext/lodash/_baseEach.js.map +0 -1
  331. package/cjs/ext/lodash/_baseEvery.js +0 -2
  332. package/cjs/ext/lodash/_baseEvery.js.map +0 -1
  333. package/cjs/ext/lodash/_baseExtremum.js +0 -2
  334. package/cjs/ext/lodash/_baseExtremum.js.map +0 -1
  335. package/cjs/ext/lodash/_baseFindIndex.js +0 -2
  336. package/cjs/ext/lodash/_baseFindIndex.js.map +0 -1
  337. package/cjs/ext/lodash/_baseFlatten.js +0 -2
  338. package/cjs/ext/lodash/_baseFlatten.js.map +0 -1
  339. package/cjs/ext/lodash/_baseFor.js +0 -2
  340. package/cjs/ext/lodash/_baseFor.js.map +0 -1
  341. package/cjs/ext/lodash/_baseForOwn.js +0 -2
  342. package/cjs/ext/lodash/_baseForOwn.js.map +0 -1
  343. package/cjs/ext/lodash/_baseGet.js +0 -2
  344. package/cjs/ext/lodash/_baseGet.js.map +0 -1
  345. package/cjs/ext/lodash/_baseGetAllKeys.js +0 -2
  346. package/cjs/ext/lodash/_baseGetAllKeys.js.map +0 -1
  347. package/cjs/ext/lodash/_baseGt.js +0 -2
  348. package/cjs/ext/lodash/_baseGt.js.map +0 -1
  349. package/cjs/ext/lodash/_baseHasIn.js +0 -2
  350. package/cjs/ext/lodash/_baseHasIn.js.map +0 -1
  351. package/cjs/ext/lodash/_baseIndexOf.js +0 -2
  352. package/cjs/ext/lodash/_baseIndexOf.js.map +0 -1
  353. package/cjs/ext/lodash/_baseIsArguments.js +0 -2
  354. package/cjs/ext/lodash/_baseIsArguments.js.map +0 -1
  355. package/cjs/ext/lodash/_baseIsEqual.js +0 -2
  356. package/cjs/ext/lodash/_baseIsEqual.js.map +0 -1
  357. package/cjs/ext/lodash/_baseIsEqualDeep.js +0 -2
  358. package/cjs/ext/lodash/_baseIsEqualDeep.js.map +0 -1
  359. package/cjs/ext/lodash/_baseIsMatch.js +0 -2
  360. package/cjs/ext/lodash/_baseIsMatch.js.map +0 -1
  361. package/cjs/ext/lodash/_baseIsNaN.js +0 -2
  362. package/cjs/ext/lodash/_baseIsNaN.js.map +0 -1
  363. package/cjs/ext/lodash/_baseIsNative.js +0 -2
  364. package/cjs/ext/lodash/_baseIsNative.js.map +0 -1
  365. package/cjs/ext/lodash/_baseIsTypedArray.js +0 -2
  366. package/cjs/ext/lodash/_baseIsTypedArray.js.map +0 -1
  367. package/cjs/ext/lodash/_baseIteratee.js +0 -2
  368. package/cjs/ext/lodash/_baseIteratee.js.map +0 -1
  369. package/cjs/ext/lodash/_baseKeys.js +0 -2
  370. package/cjs/ext/lodash/_baseKeys.js.map +0 -1
  371. package/cjs/ext/lodash/_baseLt.js +0 -2
  372. package/cjs/ext/lodash/_baseLt.js.map +0 -1
  373. package/cjs/ext/lodash/_baseMap.js +0 -2
  374. package/cjs/ext/lodash/_baseMap.js.map +0 -1
  375. package/cjs/ext/lodash/_baseMatches.js +0 -2
  376. package/cjs/ext/lodash/_baseMatches.js.map +0 -1
  377. package/cjs/ext/lodash/_baseMatchesProperty.js +0 -2
  378. package/cjs/ext/lodash/_baseMatchesProperty.js.map +0 -1
  379. package/cjs/ext/lodash/_baseOrderBy.js +0 -2
  380. package/cjs/ext/lodash/_baseOrderBy.js.map +0 -1
  381. package/cjs/ext/lodash/_baseProperty.js +0 -2
  382. package/cjs/ext/lodash/_baseProperty.js.map +0 -1
  383. package/cjs/ext/lodash/_basePropertyDeep.js +0 -2
  384. package/cjs/ext/lodash/_basePropertyDeep.js.map +0 -1
  385. package/cjs/ext/lodash/_baseRange.js +0 -2
  386. package/cjs/ext/lodash/_baseRange.js.map +0 -1
  387. package/cjs/ext/lodash/_baseRest.js +0 -2
  388. package/cjs/ext/lodash/_baseRest.js.map +0 -1
  389. package/cjs/ext/lodash/_baseSetToString.js +0 -2
  390. package/cjs/ext/lodash/_baseSetToString.js.map +0 -1
  391. package/cjs/ext/lodash/_baseSlice.js +0 -2
  392. package/cjs/ext/lodash/_baseSlice.js.map +0 -1
  393. package/cjs/ext/lodash/_baseSome.js +0 -2
  394. package/cjs/ext/lodash/_baseSome.js.map +0 -1
  395. package/cjs/ext/lodash/_baseSortBy.js +0 -2
  396. package/cjs/ext/lodash/_baseSortBy.js.map +0 -1
  397. package/cjs/ext/lodash/_baseTimes.js +0 -2
  398. package/cjs/ext/lodash/_baseTimes.js.map +0 -1
  399. package/cjs/ext/lodash/_baseTrim.js +0 -2
  400. package/cjs/ext/lodash/_baseTrim.js.map +0 -1
  401. package/cjs/ext/lodash/_baseUnary.js +0 -2
  402. package/cjs/ext/lodash/_baseUnary.js.map +0 -1
  403. package/cjs/ext/lodash/_baseUniq.js +0 -2
  404. package/cjs/ext/lodash/_baseUniq.js.map +0 -1
  405. package/cjs/ext/lodash/_cacheHas.js +0 -2
  406. package/cjs/ext/lodash/_cacheHas.js.map +0 -1
  407. package/cjs/ext/lodash/_castPath.js +0 -2
  408. package/cjs/ext/lodash/_castPath.js.map +0 -1
  409. package/cjs/ext/lodash/_castSlice.js +0 -2
  410. package/cjs/ext/lodash/_castSlice.js.map +0 -1
  411. package/cjs/ext/lodash/_compareAscending.js +0 -2
  412. package/cjs/ext/lodash/_compareAscending.js.map +0 -1
  413. package/cjs/ext/lodash/_compareMultiple.js +0 -2
  414. package/cjs/ext/lodash/_compareMultiple.js.map +0 -1
  415. package/cjs/ext/lodash/_coreJsData.js +0 -2
  416. package/cjs/ext/lodash/_coreJsData.js.map +0 -1
  417. package/cjs/ext/lodash/_createBaseEach.js +0 -2
  418. package/cjs/ext/lodash/_createBaseEach.js.map +0 -1
  419. package/cjs/ext/lodash/_createBaseFor.js +0 -2
  420. package/cjs/ext/lodash/_createBaseFor.js.map +0 -1
  421. package/cjs/ext/lodash/_createCaseFirst.js +0 -2
  422. package/cjs/ext/lodash/_createCaseFirst.js.map +0 -1
  423. package/cjs/ext/lodash/_createFind.js +0 -2
  424. package/cjs/ext/lodash/_createFind.js.map +0 -1
  425. package/cjs/ext/lodash/_createRange.js +0 -2
  426. package/cjs/ext/lodash/_createRange.js.map +0 -1
  427. package/cjs/ext/lodash/_createSet.js +0 -2
  428. package/cjs/ext/lodash/_createSet.js.map +0 -1
  429. package/cjs/ext/lodash/_defineProperty.js +0 -2
  430. package/cjs/ext/lodash/_defineProperty.js.map +0 -1
  431. package/cjs/ext/lodash/_equalArrays.js +0 -2
  432. package/cjs/ext/lodash/_equalArrays.js.map +0 -1
  433. package/cjs/ext/lodash/_equalByTag.js +0 -2
  434. package/cjs/ext/lodash/_equalByTag.js.map +0 -1
  435. package/cjs/ext/lodash/_equalObjects.js +0 -2
  436. package/cjs/ext/lodash/_equalObjects.js.map +0 -1
  437. package/cjs/ext/lodash/_getAllKeys.js +0 -2
  438. package/cjs/ext/lodash/_getAllKeys.js.map +0 -1
  439. package/cjs/ext/lodash/_getMapData.js +0 -2
  440. package/cjs/ext/lodash/_getMapData.js.map +0 -1
  441. package/cjs/ext/lodash/_getMatchData.js +0 -2
  442. package/cjs/ext/lodash/_getMatchData.js.map +0 -1
  443. package/cjs/ext/lodash/_getNative.js +0 -2
  444. package/cjs/ext/lodash/_getNative.js.map +0 -1
  445. package/cjs/ext/lodash/_getPrototype.js +0 -2
  446. package/cjs/ext/lodash/_getPrototype.js.map +0 -1
  447. package/cjs/ext/lodash/_getSymbols.js +0 -2
  448. package/cjs/ext/lodash/_getSymbols.js.map +0 -1
  449. package/cjs/ext/lodash/_getTag.js +0 -2
  450. package/cjs/ext/lodash/_getTag.js.map +0 -1
  451. package/cjs/ext/lodash/_getValue.js +0 -2
  452. package/cjs/ext/lodash/_getValue.js.map +0 -1
  453. package/cjs/ext/lodash/_hasPath.js +0 -2
  454. package/cjs/ext/lodash/_hasPath.js.map +0 -1
  455. package/cjs/ext/lodash/_hasUnicode.js +0 -2
  456. package/cjs/ext/lodash/_hasUnicode.js.map +0 -1
  457. package/cjs/ext/lodash/_hashClear.js +0 -2
  458. package/cjs/ext/lodash/_hashClear.js.map +0 -1
  459. package/cjs/ext/lodash/_hashDelete.js +0 -2
  460. package/cjs/ext/lodash/_hashDelete.js.map +0 -1
  461. package/cjs/ext/lodash/_hashGet.js +0 -2
  462. package/cjs/ext/lodash/_hashGet.js.map +0 -1
  463. package/cjs/ext/lodash/_hashHas.js +0 -2
  464. package/cjs/ext/lodash/_hashHas.js.map +0 -1
  465. package/cjs/ext/lodash/_hashSet.js +0 -2
  466. package/cjs/ext/lodash/_hashSet.js.map +0 -1
  467. package/cjs/ext/lodash/_isFlattenable.js +0 -2
  468. package/cjs/ext/lodash/_isFlattenable.js.map +0 -1
  469. package/cjs/ext/lodash/_isIndex.js +0 -2
  470. package/cjs/ext/lodash/_isIndex.js.map +0 -1
  471. package/cjs/ext/lodash/_isIterateeCall.js +0 -2
  472. package/cjs/ext/lodash/_isIterateeCall.js.map +0 -1
  473. package/cjs/ext/lodash/_isKey.js +0 -2
  474. package/cjs/ext/lodash/_isKey.js.map +0 -1
  475. package/cjs/ext/lodash/_isKeyable.js +0 -2
  476. package/cjs/ext/lodash/_isKeyable.js.map +0 -1
  477. package/cjs/ext/lodash/_isMasked.js +0 -2
  478. package/cjs/ext/lodash/_isMasked.js.map +0 -1
  479. package/cjs/ext/lodash/_isPrototype.js +0 -2
  480. package/cjs/ext/lodash/_isPrototype.js.map +0 -1
  481. package/cjs/ext/lodash/_isStrictComparable.js +0 -2
  482. package/cjs/ext/lodash/_isStrictComparable.js.map +0 -1
  483. package/cjs/ext/lodash/_listCacheClear.js +0 -2
  484. package/cjs/ext/lodash/_listCacheClear.js.map +0 -1
  485. package/cjs/ext/lodash/_listCacheDelete.js +0 -2
  486. package/cjs/ext/lodash/_listCacheDelete.js.map +0 -1
  487. package/cjs/ext/lodash/_listCacheGet.js +0 -2
  488. package/cjs/ext/lodash/_listCacheGet.js.map +0 -1
  489. package/cjs/ext/lodash/_listCacheHas.js +0 -2
  490. package/cjs/ext/lodash/_listCacheHas.js.map +0 -1
  491. package/cjs/ext/lodash/_listCacheSet.js +0 -2
  492. package/cjs/ext/lodash/_listCacheSet.js.map +0 -1
  493. package/cjs/ext/lodash/_mapCacheClear.js +0 -2
  494. package/cjs/ext/lodash/_mapCacheClear.js.map +0 -1
  495. package/cjs/ext/lodash/_mapCacheDelete.js +0 -2
  496. package/cjs/ext/lodash/_mapCacheDelete.js.map +0 -1
  497. package/cjs/ext/lodash/_mapCacheGet.js +0 -2
  498. package/cjs/ext/lodash/_mapCacheGet.js.map +0 -1
  499. package/cjs/ext/lodash/_mapCacheHas.js +0 -2
  500. package/cjs/ext/lodash/_mapCacheHas.js.map +0 -1
  501. package/cjs/ext/lodash/_mapCacheSet.js +0 -2
  502. package/cjs/ext/lodash/_mapCacheSet.js.map +0 -1
  503. package/cjs/ext/lodash/_mapToArray.js +0 -2
  504. package/cjs/ext/lodash/_mapToArray.js.map +0 -1
  505. package/cjs/ext/lodash/_matchesStrictComparable.js +0 -2
  506. package/cjs/ext/lodash/_matchesStrictComparable.js.map +0 -1
  507. package/cjs/ext/lodash/_memoizeCapped.js +0 -2
  508. package/cjs/ext/lodash/_memoizeCapped.js.map +0 -1
  509. package/cjs/ext/lodash/_nativeCreate.js +0 -2
  510. package/cjs/ext/lodash/_nativeCreate.js.map +0 -1
  511. package/cjs/ext/lodash/_nativeKeys.js +0 -2
  512. package/cjs/ext/lodash/_nativeKeys.js.map +0 -1
  513. package/cjs/ext/lodash/_nodeUtil.js +0 -2
  514. package/cjs/ext/lodash/_nodeUtil.js.map +0 -1
  515. package/cjs/ext/lodash/_overArg.js +0 -2
  516. package/cjs/ext/lodash/_overArg.js.map +0 -1
  517. package/cjs/ext/lodash/_overRest.js +0 -2
  518. package/cjs/ext/lodash/_overRest.js.map +0 -1
  519. package/cjs/ext/lodash/_setCacheAdd.js +0 -2
  520. package/cjs/ext/lodash/_setCacheAdd.js.map +0 -1
  521. package/cjs/ext/lodash/_setCacheHas.js +0 -2
  522. package/cjs/ext/lodash/_setCacheHas.js.map +0 -1
  523. package/cjs/ext/lodash/_setToArray.js +0 -2
  524. package/cjs/ext/lodash/_setToArray.js.map +0 -1
  525. package/cjs/ext/lodash/_setToString.js +0 -2
  526. package/cjs/ext/lodash/_setToString.js.map +0 -1
  527. package/cjs/ext/lodash/_shortOut.js +0 -2
  528. package/cjs/ext/lodash/_shortOut.js.map +0 -1
  529. package/cjs/ext/lodash/_stackClear.js +0 -2
  530. package/cjs/ext/lodash/_stackClear.js.map +0 -1
  531. package/cjs/ext/lodash/_stackDelete.js +0 -2
  532. package/cjs/ext/lodash/_stackDelete.js.map +0 -1
  533. package/cjs/ext/lodash/_stackGet.js +0 -2
  534. package/cjs/ext/lodash/_stackGet.js.map +0 -1
  535. package/cjs/ext/lodash/_stackHas.js +0 -2
  536. package/cjs/ext/lodash/_stackHas.js.map +0 -1
  537. package/cjs/ext/lodash/_stackSet.js +0 -2
  538. package/cjs/ext/lodash/_stackSet.js.map +0 -1
  539. package/cjs/ext/lodash/_strictIndexOf.js +0 -2
  540. package/cjs/ext/lodash/_strictIndexOf.js.map +0 -1
  541. package/cjs/ext/lodash/_stringToArray.js +0 -2
  542. package/cjs/ext/lodash/_stringToArray.js.map +0 -1
  543. package/cjs/ext/lodash/_stringToPath.js +0 -2
  544. package/cjs/ext/lodash/_stringToPath.js.map +0 -1
  545. package/cjs/ext/lodash/_toKey.js +0 -2
  546. package/cjs/ext/lodash/_toKey.js.map +0 -1
  547. package/cjs/ext/lodash/_toSource.js +0 -2
  548. package/cjs/ext/lodash/_toSource.js.map +0 -1
  549. package/cjs/ext/lodash/_trimmedEndIndex.js +0 -2
  550. package/cjs/ext/lodash/_trimmedEndIndex.js.map +0 -1
  551. package/cjs/ext/lodash/_unicodeToArray.js +0 -2
  552. package/cjs/ext/lodash/_unicodeToArray.js.map +0 -1
  553. package/cjs/ext/lodash/constant.js +0 -2
  554. package/cjs/ext/lodash/constant.js.map +0 -1
  555. package/cjs/ext/lodash/debounce.js +0 -2
  556. package/cjs/ext/lodash/debounce.js.map +0 -1
  557. package/cjs/ext/lodash/eq.js +0 -2
  558. package/cjs/ext/lodash/eq.js.map +0 -1
  559. package/cjs/ext/lodash/every.js +0 -2
  560. package/cjs/ext/lodash/every.js.map +0 -1
  561. package/cjs/ext/lodash/find.js +0 -2
  562. package/cjs/ext/lodash/find.js.map +0 -1
  563. package/cjs/ext/lodash/findIndex.js +0 -2
  564. package/cjs/ext/lodash/findIndex.js.map +0 -1
  565. package/cjs/ext/lodash/flatMap.js +0 -2
  566. package/cjs/ext/lodash/flatMap.js.map +0 -1
  567. package/cjs/ext/lodash/get.js +0 -2
  568. package/cjs/ext/lodash/get.js.map +0 -1
  569. package/cjs/ext/lodash/hasIn.js +0 -2
  570. package/cjs/ext/lodash/hasIn.js.map +0 -1
  571. package/cjs/ext/lodash/identity.js +0 -2
  572. package/cjs/ext/lodash/identity.js.map +0 -1
  573. package/cjs/ext/lodash/isArguments.js +0 -2
  574. package/cjs/ext/lodash/isArguments.js.map +0 -1
  575. package/cjs/ext/lodash/isArrayLike.js +0 -2
  576. package/cjs/ext/lodash/isArrayLike.js.map +0 -1
  577. package/cjs/ext/lodash/isBoolean.js +0 -2
  578. package/cjs/ext/lodash/isBoolean.js.map +0 -1
  579. package/cjs/ext/lodash/isBuffer.js +0 -2
  580. package/cjs/ext/lodash/isBuffer.js.map +0 -1
  581. package/cjs/ext/lodash/isEqual.js +0 -2
  582. package/cjs/ext/lodash/isEqual.js.map +0 -1
  583. package/cjs/ext/lodash/isFunction.js +0 -2
  584. package/cjs/ext/lodash/isFunction.js.map +0 -1
  585. package/cjs/ext/lodash/isLength.js +0 -2
  586. package/cjs/ext/lodash/isLength.js.map +0 -1
  587. package/cjs/ext/lodash/isNaN.js +0 -2
  588. package/cjs/ext/lodash/isNaN.js.map +0 -1
  589. package/cjs/ext/lodash/isNil.js +0 -2
  590. package/cjs/ext/lodash/isNil.js.map +0 -1
  591. package/cjs/ext/lodash/isNumber.js +0 -2
  592. package/cjs/ext/lodash/isNumber.js.map +0 -1
  593. package/cjs/ext/lodash/isObject.js +0 -2
  594. package/cjs/ext/lodash/isObject.js.map +0 -1
  595. package/cjs/ext/lodash/isPlainObject.js +0 -2
  596. package/cjs/ext/lodash/isPlainObject.js.map +0 -1
  597. package/cjs/ext/lodash/isString.js +0 -2
  598. package/cjs/ext/lodash/isString.js.map +0 -1
  599. package/cjs/ext/lodash/isTypedArray.js +0 -2
  600. package/cjs/ext/lodash/isTypedArray.js.map +0 -1
  601. package/cjs/ext/lodash/keys.js +0 -2
  602. package/cjs/ext/lodash/keys.js.map +0 -1
  603. package/cjs/ext/lodash/last.js +0 -2
  604. package/cjs/ext/lodash/last.js.map +0 -1
  605. package/cjs/ext/lodash/map.js +0 -2
  606. package/cjs/ext/lodash/map.js.map +0 -1
  607. package/cjs/ext/lodash/mapValues.js +0 -2
  608. package/cjs/ext/lodash/mapValues.js.map +0 -1
  609. package/cjs/ext/lodash/max.js +0 -2
  610. package/cjs/ext/lodash/max.js.map +0 -1
  611. package/cjs/ext/lodash/maxBy.js +0 -2
  612. package/cjs/ext/lodash/maxBy.js.map +0 -1
  613. package/cjs/ext/lodash/memoize.js +0 -2
  614. package/cjs/ext/lodash/memoize.js.map +0 -1
  615. package/cjs/ext/lodash/min.js +0 -2
  616. package/cjs/ext/lodash/min.js.map +0 -1
  617. package/cjs/ext/lodash/minBy.js +0 -2
  618. package/cjs/ext/lodash/minBy.js.map +0 -1
  619. package/cjs/ext/lodash/noop.js +0 -2
  620. package/cjs/ext/lodash/noop.js.map +0 -1
  621. package/cjs/ext/lodash/now.js +0 -2
  622. package/cjs/ext/lodash/now.js.map +0 -1
  623. package/cjs/ext/lodash/property.js +0 -2
  624. package/cjs/ext/lodash/property.js.map +0 -1
  625. package/cjs/ext/lodash/range.js +0 -2
  626. package/cjs/ext/lodash/range.js.map +0 -1
  627. package/cjs/ext/lodash/some.js +0 -2
  628. package/cjs/ext/lodash/some.js.map +0 -1
  629. package/cjs/ext/lodash/sortBy.js +0 -2
  630. package/cjs/ext/lodash/sortBy.js.map +0 -1
  631. package/cjs/ext/lodash/stubArray.js +0 -2
  632. package/cjs/ext/lodash/stubArray.js.map +0 -1
  633. package/cjs/ext/lodash/stubFalse.js +0 -2
  634. package/cjs/ext/lodash/stubFalse.js.map +0 -1
  635. package/cjs/ext/lodash/throttle.js +0 -2
  636. package/cjs/ext/lodash/throttle.js.map +0 -1
  637. package/cjs/ext/lodash/toFinite.js +0 -2
  638. package/cjs/ext/lodash/toFinite.js.map +0 -1
  639. package/cjs/ext/lodash/toInteger.js +0 -2
  640. package/cjs/ext/lodash/toInteger.js.map +0 -1
  641. package/cjs/ext/lodash/toNumber.js +0 -2
  642. package/cjs/ext/lodash/toNumber.js.map +0 -1
  643. package/cjs/ext/lodash/uniqBy.js +0 -2
  644. package/cjs/ext/lodash/uniqBy.js.map +0 -1
  645. package/cjs/ext/lodash/upperFirst.js +0 -2
  646. package/cjs/ext/lodash/upperFirst.js.map +0 -1
  647. package/cjs/ext/react-smooth/es6/Animate.js +0 -2
  648. package/cjs/ext/react-smooth/es6/Animate.js.map +0 -1
  649. package/cjs/ext/react-smooth/es6/AnimateGroup.js +0 -2
  650. package/cjs/ext/react-smooth/es6/AnimateGroup.js.map +0 -1
  651. package/cjs/ext/react-smooth/es6/AnimateGroupChild.js +0 -2
  652. package/cjs/ext/react-smooth/es6/AnimateGroupChild.js.map +0 -1
  653. package/cjs/ext/react-smooth/es6/AnimateManager.js +0 -2
  654. package/cjs/ext/react-smooth/es6/AnimateManager.js.map +0 -1
  655. package/cjs/ext/react-smooth/es6/configUpdate.js +0 -2
  656. package/cjs/ext/react-smooth/es6/configUpdate.js.map +0 -1
  657. package/cjs/ext/react-smooth/es6/easing.js +0 -2
  658. package/cjs/ext/react-smooth/es6/easing.js.map +0 -1
  659. package/cjs/ext/react-smooth/es6/index.js +0 -2
  660. package/cjs/ext/react-smooth/es6/index.js.map +0 -1
  661. package/cjs/ext/react-smooth/es6/setRafTimeout.js +0 -2
  662. package/cjs/ext/react-smooth/es6/setRafTimeout.js.map +0 -1
  663. package/cjs/ext/react-smooth/es6/util.js +0 -2
  664. package/cjs/ext/react-smooth/es6/util.js.map +0 -1
  665. package/cjs/ext/recharts/es6/cartesian/Area.js +0 -2
  666. package/cjs/ext/recharts/es6/cartesian/Area.js.map +0 -1
  667. package/cjs/ext/recharts/es6/cartesian/Bar.js +0 -2
  668. package/cjs/ext/recharts/es6/cartesian/Bar.js.map +0 -1
  669. package/cjs/ext/recharts/es6/cartesian/Brush.js +0 -2
  670. package/cjs/ext/recharts/es6/cartesian/Brush.js.map +0 -1
  671. package/cjs/ext/recharts/es6/cartesian/CartesianAxis.js +0 -2
  672. package/cjs/ext/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
  673. package/cjs/ext/recharts/es6/cartesian/CartesianGrid.js +0 -2
  674. package/cjs/ext/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
  675. package/cjs/ext/recharts/es6/cartesian/ErrorBar.js +0 -2
  676. package/cjs/ext/recharts/es6/cartesian/ErrorBar.js.map +0 -1
  677. package/cjs/ext/recharts/es6/cartesian/Line.js +0 -2
  678. package/cjs/ext/recharts/es6/cartesian/Line.js.map +0 -1
  679. package/cjs/ext/recharts/es6/cartesian/ReferenceArea.js +0 -2
  680. package/cjs/ext/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
  681. package/cjs/ext/recharts/es6/cartesian/ReferenceDot.js +0 -2
  682. package/cjs/ext/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
  683. package/cjs/ext/recharts/es6/cartesian/ReferenceLine.js +0 -2
  684. package/cjs/ext/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
  685. package/cjs/ext/recharts/es6/cartesian/Scatter.js +0 -2
  686. package/cjs/ext/recharts/es6/cartesian/Scatter.js.map +0 -1
  687. package/cjs/ext/recharts/es6/cartesian/XAxis.js +0 -2
  688. package/cjs/ext/recharts/es6/cartesian/XAxis.js.map +0 -1
  689. package/cjs/ext/recharts/es6/cartesian/YAxis.js +0 -2
  690. package/cjs/ext/recharts/es6/cartesian/YAxis.js.map +0 -1
  691. package/cjs/ext/recharts/es6/cartesian/ZAxis.js +0 -2
  692. package/cjs/ext/recharts/es6/cartesian/ZAxis.js.map +0 -1
  693. package/cjs/ext/recharts/es6/cartesian/getEquidistantTicks.js +0 -2
  694. package/cjs/ext/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
  695. package/cjs/ext/recharts/es6/cartesian/getTicks.js +0 -2
  696. package/cjs/ext/recharts/es6/cartesian/getTicks.js.map +0 -1
  697. package/cjs/ext/recharts/es6/chart/AccessibilityManager.js +0 -2
  698. package/cjs/ext/recharts/es6/chart/AccessibilityManager.js.map +0 -1
  699. package/cjs/ext/recharts/es6/chart/ComposedChart.js +0 -2
  700. package/cjs/ext/recharts/es6/chart/ComposedChart.js.map +0 -1
  701. package/cjs/ext/recharts/es6/chart/PieChart.js +0 -2
  702. package/cjs/ext/recharts/es6/chart/PieChart.js.map +0 -1
  703. package/cjs/ext/recharts/es6/chart/generateCategoricalChart.js +0 -2
  704. package/cjs/ext/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
  705. package/cjs/ext/recharts/es6/component/Cell.js +0 -2
  706. package/cjs/ext/recharts/es6/component/Cell.js.map +0 -1
  707. package/cjs/ext/recharts/es6/component/Cursor.js +0 -2
  708. package/cjs/ext/recharts/es6/component/Cursor.js.map +0 -1
  709. package/cjs/ext/recharts/es6/component/DefaultLegendContent.js +0 -2
  710. package/cjs/ext/recharts/es6/component/DefaultLegendContent.js.map +0 -1
  711. package/cjs/ext/recharts/es6/component/DefaultTooltipContent.js +0 -2
  712. package/cjs/ext/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
  713. package/cjs/ext/recharts/es6/component/Label.js +0 -2
  714. package/cjs/ext/recharts/es6/component/Label.js.map +0 -1
  715. package/cjs/ext/recharts/es6/component/LabelList.js +0 -2
  716. package/cjs/ext/recharts/es6/component/LabelList.js.map +0 -1
  717. package/cjs/ext/recharts/es6/component/Legend.js +0 -2
  718. package/cjs/ext/recharts/es6/component/Legend.js.map +0 -1
  719. package/cjs/ext/recharts/es6/component/ResponsiveContainer.js +0 -2
  720. package/cjs/ext/recharts/es6/component/ResponsiveContainer.js.map +0 -1
  721. package/cjs/ext/recharts/es6/component/Text.js +0 -2
  722. package/cjs/ext/recharts/es6/component/Text.js.map +0 -1
  723. package/cjs/ext/recharts/es6/component/Tooltip.js +0 -2
  724. package/cjs/ext/recharts/es6/component/Tooltip.js.map +0 -1
  725. package/cjs/ext/recharts/es6/component/TooltipBoundingBox.js +0 -2
  726. package/cjs/ext/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
  727. package/cjs/ext/recharts/es6/container/Layer.js +0 -2
  728. package/cjs/ext/recharts/es6/container/Layer.js.map +0 -1
  729. package/cjs/ext/recharts/es6/container/Surface.js +0 -2
  730. package/cjs/ext/recharts/es6/container/Surface.js.map +0 -1
  731. package/cjs/ext/recharts/es6/context/chartLayoutContext.js +0 -2
  732. package/cjs/ext/recharts/es6/context/chartLayoutContext.js.map +0 -1
  733. package/cjs/ext/recharts/es6/polar/Pie.js +0 -2
  734. package/cjs/ext/recharts/es6/polar/Pie.js.map +0 -1
  735. package/cjs/ext/recharts/es6/polar/PolarAngleAxis.js +0 -2
  736. package/cjs/ext/recharts/es6/polar/PolarAngleAxis.js.map +0 -1
  737. package/cjs/ext/recharts/es6/polar/PolarRadiusAxis.js +0 -2
  738. package/cjs/ext/recharts/es6/polar/PolarRadiusAxis.js.map +0 -1
  739. package/cjs/ext/recharts/es6/shape/Cross.js +0 -2
  740. package/cjs/ext/recharts/es6/shape/Cross.js.map +0 -1
  741. package/cjs/ext/recharts/es6/shape/Curve.js +0 -2
  742. package/cjs/ext/recharts/es6/shape/Curve.js.map +0 -1
  743. package/cjs/ext/recharts/es6/shape/Dot.js +0 -2
  744. package/cjs/ext/recharts/es6/shape/Dot.js.map +0 -1
  745. package/cjs/ext/recharts/es6/shape/Polygon.js +0 -2
  746. package/cjs/ext/recharts/es6/shape/Polygon.js.map +0 -1
  747. package/cjs/ext/recharts/es6/shape/Rectangle.js +0 -2
  748. package/cjs/ext/recharts/es6/shape/Rectangle.js.map +0 -1
  749. package/cjs/ext/recharts/es6/shape/Sector.js +0 -2
  750. package/cjs/ext/recharts/es6/shape/Sector.js.map +0 -1
  751. package/cjs/ext/recharts/es6/shape/Symbols.js +0 -2
  752. package/cjs/ext/recharts/es6/shape/Symbols.js.map +0 -1
  753. package/cjs/ext/recharts/es6/shape/Trapezoid.js +0 -2
  754. package/cjs/ext/recharts/es6/shape/Trapezoid.js.map +0 -1
  755. package/cjs/ext/recharts/es6/util/ActiveShapeUtils.js +0 -2
  756. package/cjs/ext/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
  757. package/cjs/ext/recharts/es6/util/BarUtils.js +0 -2
  758. package/cjs/ext/recharts/es6/util/BarUtils.js.map +0 -1
  759. package/cjs/ext/recharts/es6/util/CartesianUtils.js +0 -2
  760. package/cjs/ext/recharts/es6/util/CartesianUtils.js.map +0 -1
  761. package/cjs/ext/recharts/es6/util/ChartUtils.js +0 -2
  762. package/cjs/ext/recharts/es6/util/ChartUtils.js.map +0 -1
  763. package/cjs/ext/recharts/es6/util/CssPrefixUtils.js +0 -2
  764. package/cjs/ext/recharts/es6/util/CssPrefixUtils.js.map +0 -1
  765. package/cjs/ext/recharts/es6/util/DOMUtils.js +0 -2
  766. package/cjs/ext/recharts/es6/util/DOMUtils.js.map +0 -1
  767. package/cjs/ext/recharts/es6/util/DataUtils.js +0 -2
  768. package/cjs/ext/recharts/es6/util/DataUtils.js.map +0 -1
  769. package/cjs/ext/recharts/es6/util/DetectReferenceElementsDomain.js +0 -2
  770. package/cjs/ext/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
  771. package/cjs/ext/recharts/es6/util/Events.js +0 -2
  772. package/cjs/ext/recharts/es6/util/Events.js.map +0 -1
  773. package/cjs/ext/recharts/es6/util/Global.js +0 -2
  774. package/cjs/ext/recharts/es6/util/Global.js.map +0 -1
  775. package/cjs/ext/recharts/es6/util/IfOverflowMatches.js +0 -2
  776. package/cjs/ext/recharts/es6/util/IfOverflowMatches.js.map +0 -1
  777. package/cjs/ext/recharts/es6/util/LogUtils.js +0 -2
  778. package/cjs/ext/recharts/es6/util/LogUtils.js.map +0 -1
  779. package/cjs/ext/recharts/es6/util/PolarUtils.js +0 -2
  780. package/cjs/ext/recharts/es6/util/PolarUtils.js.map +0 -1
  781. package/cjs/ext/recharts/es6/util/ReactUtils.js +0 -2
  782. package/cjs/ext/recharts/es6/util/ReactUtils.js.map +0 -1
  783. package/cjs/ext/recharts/es6/util/ReduceCSSCalc.js +0 -2
  784. package/cjs/ext/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
  785. package/cjs/ext/recharts/es6/util/ScatterUtils.js +0 -2
  786. package/cjs/ext/recharts/es6/util/ScatterUtils.js.map +0 -1
  787. package/cjs/ext/recharts/es6/util/ShallowEqual.js +0 -2
  788. package/cjs/ext/recharts/es6/util/ShallowEqual.js.map +0 -1
  789. package/cjs/ext/recharts/es6/util/TickUtils.js +0 -2
  790. package/cjs/ext/recharts/es6/util/TickUtils.js.map +0 -1
  791. package/cjs/ext/recharts/es6/util/calculateViewBox.js +0 -2
  792. package/cjs/ext/recharts/es6/util/calculateViewBox.js.map +0 -1
  793. package/cjs/ext/recharts/es6/util/cursor/getCursorPoints.js +0 -2
  794. package/cjs/ext/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
  795. package/cjs/ext/recharts/es6/util/cursor/getCursorRectangle.js +0 -2
  796. package/cjs/ext/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
  797. package/cjs/ext/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -2
  798. package/cjs/ext/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
  799. package/cjs/ext/recharts/es6/util/getEveryNthWithCondition.js +0 -2
  800. package/cjs/ext/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
  801. package/cjs/ext/recharts/es6/util/getLegendProps.js +0 -2
  802. package/cjs/ext/recharts/es6/util/getLegendProps.js.map +0 -1
  803. package/cjs/ext/recharts/es6/util/isDomainSpecifiedByUser.js +0 -2
  804. package/cjs/ext/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
  805. package/cjs/ext/recharts/es6/util/payload/getUniqPayload.js +0 -2
  806. package/cjs/ext/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
  807. package/cjs/ext/recharts/es6/util/tooltip/translate.js +0 -2
  808. package/cjs/ext/recharts/es6/util/tooltip/translate.js.map +0 -1
  809. package/cjs/ext/recharts/es6/util/types.js +0 -2
  810. package/cjs/ext/recharts/es6/util/types.js.map +0 -1
  811. package/cjs/ext/recharts/ext/react-is/cjs/react-is.development.js +0 -10
  812. package/cjs/ext/recharts/ext/react-is/cjs/react-is.development.js.map +0 -1
  813. package/cjs/ext/recharts/ext/react-is/cjs/react-is.production.min.js +0 -10
  814. package/cjs/ext/recharts/ext/react-is/cjs/react-is.production.min.js.map +0 -1
  815. package/cjs/ext/recharts/ext/react-is/index.js +0 -2
  816. package/cjs/ext/recharts/ext/react-is/index.js.map +0 -1
  817. package/cjs/ext/recharts-scale/es6/getNiceTickValues.js +0 -2
  818. package/cjs/ext/recharts-scale/es6/getNiceTickValues.js.map +0 -1
  819. package/cjs/ext/recharts-scale/es6/util/arithmetic.js +0 -2
  820. package/cjs/ext/recharts-scale/es6/util/arithmetic.js.map +0 -1
  821. package/cjs/ext/recharts-scale/es6/util/utils.js +0 -2
  822. package/cjs/ext/recharts-scale/es6/util/utils.js.map +0 -1
  823. package/cjs/ext/tiny-invariant/dist/esm/tiny-invariant.js +0 -2
  824. package/cjs/ext/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
  825. package/cjs/ext/victory-vendor/es/d3-scale.js +0 -2
  826. package/cjs/ext/victory-vendor/es/d3-scale.js.map +0 -1
  827. package/ext/clsx/dist/clsx.js +0 -2
  828. package/ext/clsx/dist/clsx.js.map +0 -1
  829. package/ext/d3-array/src/ascending.js +0 -2
  830. package/ext/d3-array/src/ascending.js.map +0 -1
  831. package/ext/d3-array/src/bisect.js +0 -2
  832. package/ext/d3-array/src/bisect.js.map +0 -1
  833. package/ext/d3-array/src/bisector.js +0 -2
  834. package/ext/d3-array/src/bisector.js.map +0 -1
  835. package/ext/d3-array/src/descending.js +0 -2
  836. package/ext/d3-array/src/descending.js.map +0 -1
  837. package/ext/d3-array/src/max.js +0 -2
  838. package/ext/d3-array/src/max.js.map +0 -1
  839. package/ext/d3-array/src/min.js +0 -2
  840. package/ext/d3-array/src/min.js.map +0 -1
  841. package/ext/d3-array/src/number.js +0 -2
  842. package/ext/d3-array/src/number.js.map +0 -1
  843. package/ext/d3-array/src/quantile.js +0 -2
  844. package/ext/d3-array/src/quantile.js.map +0 -1
  845. package/ext/d3-array/src/quickselect.js +0 -2
  846. package/ext/d3-array/src/quickselect.js.map +0 -1
  847. package/ext/d3-array/src/range.js +0 -2
  848. package/ext/d3-array/src/range.js.map +0 -1
  849. package/ext/d3-array/src/sort.js +0 -2
  850. package/ext/d3-array/src/sort.js.map +0 -1
  851. package/ext/d3-array/src/ticks.js +0 -2
  852. package/ext/d3-array/src/ticks.js.map +0 -1
  853. package/ext/d3-color/src/color.js +0 -2
  854. package/ext/d3-color/src/color.js.map +0 -1
  855. package/ext/d3-color/src/define.js +0 -2
  856. package/ext/d3-color/src/define.js.map +0 -1
  857. package/ext/d3-format/src/defaultLocale.js +0 -2
  858. package/ext/d3-format/src/defaultLocale.js.map +0 -1
  859. package/ext/d3-format/src/exponent.js +0 -2
  860. package/ext/d3-format/src/exponent.js.map +0 -1
  861. package/ext/d3-format/src/formatDecimal.js +0 -2
  862. package/ext/d3-format/src/formatDecimal.js.map +0 -1
  863. package/ext/d3-format/src/formatGroup.js +0 -2
  864. package/ext/d3-format/src/formatGroup.js.map +0 -1
  865. package/ext/d3-format/src/formatNumerals.js +0 -2
  866. package/ext/d3-format/src/formatNumerals.js.map +0 -1
  867. package/ext/d3-format/src/formatPrefixAuto.js +0 -2
  868. package/ext/d3-format/src/formatPrefixAuto.js.map +0 -1
  869. package/ext/d3-format/src/formatRounded.js +0 -2
  870. package/ext/d3-format/src/formatRounded.js.map +0 -1
  871. package/ext/d3-format/src/formatSpecifier.js +0 -2
  872. package/ext/d3-format/src/formatSpecifier.js.map +0 -1
  873. package/ext/d3-format/src/formatTrim.js +0 -2
  874. package/ext/d3-format/src/formatTrim.js.map +0 -1
  875. package/ext/d3-format/src/formatTypes.js +0 -2
  876. package/ext/d3-format/src/formatTypes.js.map +0 -1
  877. package/ext/d3-format/src/identity.js +0 -2
  878. package/ext/d3-format/src/identity.js.map +0 -1
  879. package/ext/d3-format/src/locale.js +0 -2
  880. package/ext/d3-format/src/locale.js.map +0 -1
  881. package/ext/d3-format/src/precisionFixed.js +0 -2
  882. package/ext/d3-format/src/precisionFixed.js.map +0 -1
  883. package/ext/d3-format/src/precisionPrefix.js +0 -2
  884. package/ext/d3-format/src/precisionPrefix.js.map +0 -1
  885. package/ext/d3-format/src/precisionRound.js +0 -2
  886. package/ext/d3-format/src/precisionRound.js.map +0 -1
  887. package/ext/d3-interpolate/src/array.js +0 -2
  888. package/ext/d3-interpolate/src/array.js.map +0 -1
  889. package/ext/d3-interpolate/src/color.js +0 -2
  890. package/ext/d3-interpolate/src/color.js.map +0 -1
  891. package/ext/d3-interpolate/src/constant.js +0 -2
  892. package/ext/d3-interpolate/src/constant.js.map +0 -1
  893. package/ext/d3-interpolate/src/date.js +0 -2
  894. package/ext/d3-interpolate/src/date.js.map +0 -1
  895. package/ext/d3-interpolate/src/number.js +0 -2
  896. package/ext/d3-interpolate/src/number.js.map +0 -1
  897. package/ext/d3-interpolate/src/numberArray.js +0 -2
  898. package/ext/d3-interpolate/src/numberArray.js.map +0 -1
  899. package/ext/d3-interpolate/src/object.js +0 -2
  900. package/ext/d3-interpolate/src/object.js.map +0 -1
  901. package/ext/d3-interpolate/src/piecewise.js +0 -2
  902. package/ext/d3-interpolate/src/piecewise.js.map +0 -1
  903. package/ext/d3-interpolate/src/rgb.js +0 -2
  904. package/ext/d3-interpolate/src/rgb.js.map +0 -1
  905. package/ext/d3-interpolate/src/round.js +0 -2
  906. package/ext/d3-interpolate/src/round.js.map +0 -1
  907. package/ext/d3-interpolate/src/string.js +0 -2
  908. package/ext/d3-interpolate/src/string.js.map +0 -1
  909. package/ext/d3-interpolate/src/value.js +0 -2
  910. package/ext/d3-interpolate/src/value.js.map +0 -1
  911. package/ext/d3-path/src/path.js +0 -2
  912. package/ext/d3-path/src/path.js.map +0 -1
  913. package/ext/d3-scale/src/band.js +0 -2
  914. package/ext/d3-scale/src/band.js.map +0 -1
  915. package/ext/d3-scale/src/constant.js +0 -2
  916. package/ext/d3-scale/src/constant.js.map +0 -1
  917. package/ext/d3-scale/src/continuous.js +0 -2
  918. package/ext/d3-scale/src/continuous.js.map +0 -1
  919. package/ext/d3-scale/src/diverging.js +0 -2
  920. package/ext/d3-scale/src/diverging.js.map +0 -1
  921. package/ext/d3-scale/src/identity.js +0 -2
  922. package/ext/d3-scale/src/identity.js.map +0 -1
  923. package/ext/d3-scale/src/init.js +0 -2
  924. package/ext/d3-scale/src/init.js.map +0 -1
  925. package/ext/d3-scale/src/linear.js +0 -2
  926. package/ext/d3-scale/src/linear.js.map +0 -1
  927. package/ext/d3-scale/src/log.js +0 -2
  928. package/ext/d3-scale/src/log.js.map +0 -1
  929. package/ext/d3-scale/src/nice.js +0 -2
  930. package/ext/d3-scale/src/nice.js.map +0 -1
  931. package/ext/d3-scale/src/number.js +0 -2
  932. package/ext/d3-scale/src/number.js.map +0 -1
  933. package/ext/d3-scale/src/ordinal.js +0 -2
  934. package/ext/d3-scale/src/ordinal.js.map +0 -1
  935. package/ext/d3-scale/src/pow.js +0 -2
  936. package/ext/d3-scale/src/pow.js.map +0 -1
  937. package/ext/d3-scale/src/quantile.js +0 -2
  938. package/ext/d3-scale/src/quantile.js.map +0 -1
  939. package/ext/d3-scale/src/quantize.js +0 -2
  940. package/ext/d3-scale/src/quantize.js.map +0 -1
  941. package/ext/d3-scale/src/radial.js +0 -2
  942. package/ext/d3-scale/src/radial.js.map +0 -1
  943. package/ext/d3-scale/src/sequential.js +0 -2
  944. package/ext/d3-scale/src/sequential.js.map +0 -1
  945. package/ext/d3-scale/src/sequentialQuantile.js +0 -2
  946. package/ext/d3-scale/src/sequentialQuantile.js.map +0 -1
  947. package/ext/d3-scale/src/symlog.js +0 -2
  948. package/ext/d3-scale/src/symlog.js.map +0 -1
  949. package/ext/d3-scale/src/threshold.js +0 -2
  950. package/ext/d3-scale/src/threshold.js.map +0 -1
  951. package/ext/d3-scale/src/tickFormat.js +0 -2
  952. package/ext/d3-scale/src/tickFormat.js.map +0 -1
  953. package/ext/d3-scale/src/time.js +0 -2
  954. package/ext/d3-scale/src/time.js.map +0 -1
  955. package/ext/d3-scale/src/utcTime.js +0 -2
  956. package/ext/d3-scale/src/utcTime.js.map +0 -1
  957. package/ext/d3-shape/src/area.js +0 -2
  958. package/ext/d3-shape/src/area.js.map +0 -1
  959. package/ext/d3-shape/src/array.js +0 -2
  960. package/ext/d3-shape/src/array.js.map +0 -1
  961. package/ext/d3-shape/src/constant.js +0 -2
  962. package/ext/d3-shape/src/constant.js.map +0 -1
  963. package/ext/d3-shape/src/curve/basis.js +0 -2
  964. package/ext/d3-shape/src/curve/basis.js.map +0 -1
  965. package/ext/d3-shape/src/curve/basisClosed.js +0 -2
  966. package/ext/d3-shape/src/curve/basisClosed.js.map +0 -1
  967. package/ext/d3-shape/src/curve/basisOpen.js +0 -2
  968. package/ext/d3-shape/src/curve/basisOpen.js.map +0 -1
  969. package/ext/d3-shape/src/curve/bump.js +0 -2
  970. package/ext/d3-shape/src/curve/bump.js.map +0 -1
  971. package/ext/d3-shape/src/curve/linear.js +0 -2
  972. package/ext/d3-shape/src/curve/linear.js.map +0 -1
  973. package/ext/d3-shape/src/curve/linearClosed.js +0 -2
  974. package/ext/d3-shape/src/curve/linearClosed.js.map +0 -1
  975. package/ext/d3-shape/src/curve/monotone.js +0 -2
  976. package/ext/d3-shape/src/curve/monotone.js.map +0 -1
  977. package/ext/d3-shape/src/curve/natural.js +0 -2
  978. package/ext/d3-shape/src/curve/natural.js.map +0 -1
  979. package/ext/d3-shape/src/curve/step.js +0 -2
  980. package/ext/d3-shape/src/curve/step.js.map +0 -1
  981. package/ext/d3-shape/src/line.js +0 -2
  982. package/ext/d3-shape/src/line.js.map +0 -1
  983. package/ext/d3-shape/src/math.js +0 -2
  984. package/ext/d3-shape/src/math.js.map +0 -1
  985. package/ext/d3-shape/src/noop.js +0 -2
  986. package/ext/d3-shape/src/noop.js.map +0 -1
  987. package/ext/d3-shape/src/offset/expand.js +0 -2
  988. package/ext/d3-shape/src/offset/expand.js.map +0 -1
  989. package/ext/d3-shape/src/offset/none.js +0 -2
  990. package/ext/d3-shape/src/offset/none.js.map +0 -1
  991. package/ext/d3-shape/src/offset/silhouette.js +0 -2
  992. package/ext/d3-shape/src/offset/silhouette.js.map +0 -1
  993. package/ext/d3-shape/src/offset/wiggle.js +0 -2
  994. package/ext/d3-shape/src/offset/wiggle.js.map +0 -1
  995. package/ext/d3-shape/src/order/none.js +0 -2
  996. package/ext/d3-shape/src/order/none.js.map +0 -1
  997. package/ext/d3-shape/src/path.js +0 -2
  998. package/ext/d3-shape/src/path.js.map +0 -1
  999. package/ext/d3-shape/src/point.js +0 -2
  1000. package/ext/d3-shape/src/point.js.map +0 -1
  1001. package/ext/d3-shape/src/stack.js +0 -2
  1002. package/ext/d3-shape/src/stack.js.map +0 -1
  1003. package/ext/d3-shape/src/symbol/circle.js +0 -2
  1004. package/ext/d3-shape/src/symbol/circle.js.map +0 -1
  1005. package/ext/d3-shape/src/symbol/cross.js +0 -2
  1006. package/ext/d3-shape/src/symbol/cross.js.map +0 -1
  1007. package/ext/d3-shape/src/symbol/diamond.js +0 -2
  1008. package/ext/d3-shape/src/symbol/diamond.js.map +0 -1
  1009. package/ext/d3-shape/src/symbol/square.js +0 -2
  1010. package/ext/d3-shape/src/symbol/square.js.map +0 -1
  1011. package/ext/d3-shape/src/symbol/star.js +0 -2
  1012. package/ext/d3-shape/src/symbol/star.js.map +0 -1
  1013. package/ext/d3-shape/src/symbol/triangle.js +0 -2
  1014. package/ext/d3-shape/src/symbol/triangle.js.map +0 -1
  1015. package/ext/d3-shape/src/symbol/wye.js +0 -2
  1016. package/ext/d3-shape/src/symbol/wye.js.map +0 -1
  1017. package/ext/d3-shape/src/symbol.js +0 -2
  1018. package/ext/d3-shape/src/symbol.js.map +0 -1
  1019. package/ext/d3-time/src/day.js +0 -2
  1020. package/ext/d3-time/src/day.js.map +0 -1
  1021. package/ext/d3-time/src/duration.js +0 -2
  1022. package/ext/d3-time/src/duration.js.map +0 -1
  1023. package/ext/d3-time/src/hour.js +0 -2
  1024. package/ext/d3-time/src/hour.js.map +0 -1
  1025. package/ext/d3-time/src/interval.js +0 -2
  1026. package/ext/d3-time/src/interval.js.map +0 -1
  1027. package/ext/d3-time/src/millisecond.js +0 -2
  1028. package/ext/d3-time/src/millisecond.js.map +0 -1
  1029. package/ext/d3-time/src/minute.js +0 -2
  1030. package/ext/d3-time/src/minute.js.map +0 -1
  1031. package/ext/d3-time/src/month.js +0 -2
  1032. package/ext/d3-time/src/month.js.map +0 -1
  1033. package/ext/d3-time/src/second.js +0 -2
  1034. package/ext/d3-time/src/second.js.map +0 -1
  1035. package/ext/d3-time/src/ticks.js +0 -2
  1036. package/ext/d3-time/src/ticks.js.map +0 -1
  1037. package/ext/d3-time/src/week.js +0 -2
  1038. package/ext/d3-time/src/week.js.map +0 -1
  1039. package/ext/d3-time/src/year.js +0 -2
  1040. package/ext/d3-time/src/year.js.map +0 -1
  1041. package/ext/d3-time-format/src/defaultLocale.js +0 -2
  1042. package/ext/d3-time-format/src/defaultLocale.js.map +0 -1
  1043. package/ext/d3-time-format/src/locale.js +0 -2
  1044. package/ext/d3-time-format/src/locale.js.map +0 -1
  1045. package/ext/decimal.js-light/decimal.js +0 -3
  1046. package/ext/decimal.js-light/decimal.js.map +0 -1
  1047. package/ext/eventemitter3/index.js +0 -2
  1048. package/ext/eventemitter3/index.js.map +0 -1
  1049. package/ext/fast-equals/dist/esm/index.js +0 -2
  1050. package/ext/fast-equals/dist/esm/index.js.map +0 -1
  1051. package/ext/internmap/src/index.js +0 -2
  1052. package/ext/internmap/src/index.js.map +0 -1
  1053. package/ext/lodash/_DataView.js +0 -2
  1054. package/ext/lodash/_DataView.js.map +0 -1
  1055. package/ext/lodash/_Hash.js +0 -2
  1056. package/ext/lodash/_Hash.js.map +0 -1
  1057. package/ext/lodash/_ListCache.js +0 -2
  1058. package/ext/lodash/_ListCache.js.map +0 -1
  1059. package/ext/lodash/_Map.js +0 -2
  1060. package/ext/lodash/_Map.js.map +0 -1
  1061. package/ext/lodash/_MapCache.js +0 -2
  1062. package/ext/lodash/_MapCache.js.map +0 -1
  1063. package/ext/lodash/_Promise.js +0 -2
  1064. package/ext/lodash/_Promise.js.map +0 -1
  1065. package/ext/lodash/_Set.js +0 -2
  1066. package/ext/lodash/_Set.js.map +0 -1
  1067. package/ext/lodash/_SetCache.js +0 -2
  1068. package/ext/lodash/_SetCache.js.map +0 -1
  1069. package/ext/lodash/_Stack.js +0 -2
  1070. package/ext/lodash/_Stack.js.map +0 -1
  1071. package/ext/lodash/_Uint8Array.js +0 -2
  1072. package/ext/lodash/_Uint8Array.js.map +0 -1
  1073. package/ext/lodash/_WeakMap.js +0 -2
  1074. package/ext/lodash/_WeakMap.js.map +0 -1
  1075. package/ext/lodash/_apply.js +0 -2
  1076. package/ext/lodash/_apply.js.map +0 -1
  1077. package/ext/lodash/_arrayEvery.js +0 -2
  1078. package/ext/lodash/_arrayEvery.js.map +0 -1
  1079. package/ext/lodash/_arrayFilter.js +0 -2
  1080. package/ext/lodash/_arrayFilter.js.map +0 -1
  1081. package/ext/lodash/_arrayIncludes.js +0 -2
  1082. package/ext/lodash/_arrayIncludes.js.map +0 -1
  1083. package/ext/lodash/_arrayIncludesWith.js +0 -2
  1084. package/ext/lodash/_arrayIncludesWith.js.map +0 -1
  1085. package/ext/lodash/_arrayLikeKeys.js +0 -2
  1086. package/ext/lodash/_arrayLikeKeys.js.map +0 -1
  1087. package/ext/lodash/_arrayPush.js +0 -2
  1088. package/ext/lodash/_arrayPush.js.map +0 -1
  1089. package/ext/lodash/_arraySome.js +0 -2
  1090. package/ext/lodash/_arraySome.js.map +0 -1
  1091. package/ext/lodash/_asciiToArray.js +0 -2
  1092. package/ext/lodash/_asciiToArray.js.map +0 -1
  1093. package/ext/lodash/_assocIndexOf.js +0 -2
  1094. package/ext/lodash/_assocIndexOf.js.map +0 -1
  1095. package/ext/lodash/_baseAssignValue.js +0 -2
  1096. package/ext/lodash/_baseAssignValue.js.map +0 -1
  1097. package/ext/lodash/_baseEach.js +0 -2
  1098. package/ext/lodash/_baseEach.js.map +0 -1
  1099. package/ext/lodash/_baseEvery.js +0 -2
  1100. package/ext/lodash/_baseEvery.js.map +0 -1
  1101. package/ext/lodash/_baseExtremum.js +0 -2
  1102. package/ext/lodash/_baseExtremum.js.map +0 -1
  1103. package/ext/lodash/_baseFindIndex.js +0 -2
  1104. package/ext/lodash/_baseFindIndex.js.map +0 -1
  1105. package/ext/lodash/_baseFlatten.js +0 -2
  1106. package/ext/lodash/_baseFlatten.js.map +0 -1
  1107. package/ext/lodash/_baseFor.js +0 -2
  1108. package/ext/lodash/_baseFor.js.map +0 -1
  1109. package/ext/lodash/_baseForOwn.js +0 -2
  1110. package/ext/lodash/_baseForOwn.js.map +0 -1
  1111. package/ext/lodash/_baseGet.js +0 -2
  1112. package/ext/lodash/_baseGet.js.map +0 -1
  1113. package/ext/lodash/_baseGetAllKeys.js +0 -2
  1114. package/ext/lodash/_baseGetAllKeys.js.map +0 -1
  1115. package/ext/lodash/_baseGt.js +0 -2
  1116. package/ext/lodash/_baseGt.js.map +0 -1
  1117. package/ext/lodash/_baseHasIn.js +0 -2
  1118. package/ext/lodash/_baseHasIn.js.map +0 -1
  1119. package/ext/lodash/_baseIndexOf.js +0 -2
  1120. package/ext/lodash/_baseIndexOf.js.map +0 -1
  1121. package/ext/lodash/_baseIsArguments.js +0 -2
  1122. package/ext/lodash/_baseIsArguments.js.map +0 -1
  1123. package/ext/lodash/_baseIsEqual.js +0 -2
  1124. package/ext/lodash/_baseIsEqual.js.map +0 -1
  1125. package/ext/lodash/_baseIsEqualDeep.js +0 -2
  1126. package/ext/lodash/_baseIsEqualDeep.js.map +0 -1
  1127. package/ext/lodash/_baseIsMatch.js +0 -2
  1128. package/ext/lodash/_baseIsMatch.js.map +0 -1
  1129. package/ext/lodash/_baseIsNaN.js +0 -2
  1130. package/ext/lodash/_baseIsNaN.js.map +0 -1
  1131. package/ext/lodash/_baseIsNative.js +0 -2
  1132. package/ext/lodash/_baseIsNative.js.map +0 -1
  1133. package/ext/lodash/_baseIsTypedArray.js +0 -2
  1134. package/ext/lodash/_baseIsTypedArray.js.map +0 -1
  1135. package/ext/lodash/_baseIteratee.js +0 -2
  1136. package/ext/lodash/_baseIteratee.js.map +0 -1
  1137. package/ext/lodash/_baseKeys.js +0 -2
  1138. package/ext/lodash/_baseKeys.js.map +0 -1
  1139. package/ext/lodash/_baseLt.js +0 -2
  1140. package/ext/lodash/_baseLt.js.map +0 -1
  1141. package/ext/lodash/_baseMap.js +0 -2
  1142. package/ext/lodash/_baseMap.js.map +0 -1
  1143. package/ext/lodash/_baseMatches.js +0 -2
  1144. package/ext/lodash/_baseMatches.js.map +0 -1
  1145. package/ext/lodash/_baseMatchesProperty.js +0 -2
  1146. package/ext/lodash/_baseMatchesProperty.js.map +0 -1
  1147. package/ext/lodash/_baseOrderBy.js +0 -2
  1148. package/ext/lodash/_baseOrderBy.js.map +0 -1
  1149. package/ext/lodash/_baseProperty.js +0 -2
  1150. package/ext/lodash/_baseProperty.js.map +0 -1
  1151. package/ext/lodash/_basePropertyDeep.js +0 -2
  1152. package/ext/lodash/_basePropertyDeep.js.map +0 -1
  1153. package/ext/lodash/_baseRange.js +0 -2
  1154. package/ext/lodash/_baseRange.js.map +0 -1
  1155. package/ext/lodash/_baseRest.js +0 -2
  1156. package/ext/lodash/_baseRest.js.map +0 -1
  1157. package/ext/lodash/_baseSetToString.js +0 -2
  1158. package/ext/lodash/_baseSetToString.js.map +0 -1
  1159. package/ext/lodash/_baseSlice.js +0 -2
  1160. package/ext/lodash/_baseSlice.js.map +0 -1
  1161. package/ext/lodash/_baseSome.js +0 -2
  1162. package/ext/lodash/_baseSome.js.map +0 -1
  1163. package/ext/lodash/_baseSortBy.js +0 -2
  1164. package/ext/lodash/_baseSortBy.js.map +0 -1
  1165. package/ext/lodash/_baseTimes.js +0 -2
  1166. package/ext/lodash/_baseTimes.js.map +0 -1
  1167. package/ext/lodash/_baseTrim.js +0 -2
  1168. package/ext/lodash/_baseTrim.js.map +0 -1
  1169. package/ext/lodash/_baseUnary.js +0 -2
  1170. package/ext/lodash/_baseUnary.js.map +0 -1
  1171. package/ext/lodash/_baseUniq.js +0 -2
  1172. package/ext/lodash/_baseUniq.js.map +0 -1
  1173. package/ext/lodash/_cacheHas.js +0 -2
  1174. package/ext/lodash/_cacheHas.js.map +0 -1
  1175. package/ext/lodash/_castPath.js +0 -2
  1176. package/ext/lodash/_castPath.js.map +0 -1
  1177. package/ext/lodash/_castSlice.js +0 -2
  1178. package/ext/lodash/_castSlice.js.map +0 -1
  1179. package/ext/lodash/_compareAscending.js +0 -2
  1180. package/ext/lodash/_compareAscending.js.map +0 -1
  1181. package/ext/lodash/_compareMultiple.js +0 -2
  1182. package/ext/lodash/_compareMultiple.js.map +0 -1
  1183. package/ext/lodash/_coreJsData.js +0 -2
  1184. package/ext/lodash/_coreJsData.js.map +0 -1
  1185. package/ext/lodash/_createBaseEach.js +0 -2
  1186. package/ext/lodash/_createBaseEach.js.map +0 -1
  1187. package/ext/lodash/_createBaseFor.js +0 -2
  1188. package/ext/lodash/_createBaseFor.js.map +0 -1
  1189. package/ext/lodash/_createCaseFirst.js +0 -2
  1190. package/ext/lodash/_createCaseFirst.js.map +0 -1
  1191. package/ext/lodash/_createFind.js +0 -2
  1192. package/ext/lodash/_createFind.js.map +0 -1
  1193. package/ext/lodash/_createRange.js +0 -2
  1194. package/ext/lodash/_createRange.js.map +0 -1
  1195. package/ext/lodash/_createSet.js +0 -2
  1196. package/ext/lodash/_createSet.js.map +0 -1
  1197. package/ext/lodash/_defineProperty.js +0 -2
  1198. package/ext/lodash/_defineProperty.js.map +0 -1
  1199. package/ext/lodash/_equalArrays.js +0 -2
  1200. package/ext/lodash/_equalArrays.js.map +0 -1
  1201. package/ext/lodash/_equalByTag.js +0 -2
  1202. package/ext/lodash/_equalByTag.js.map +0 -1
  1203. package/ext/lodash/_equalObjects.js +0 -2
  1204. package/ext/lodash/_equalObjects.js.map +0 -1
  1205. package/ext/lodash/_getAllKeys.js +0 -2
  1206. package/ext/lodash/_getAllKeys.js.map +0 -1
  1207. package/ext/lodash/_getMapData.js +0 -2
  1208. package/ext/lodash/_getMapData.js.map +0 -1
  1209. package/ext/lodash/_getMatchData.js +0 -2
  1210. package/ext/lodash/_getMatchData.js.map +0 -1
  1211. package/ext/lodash/_getNative.js +0 -2
  1212. package/ext/lodash/_getNative.js.map +0 -1
  1213. package/ext/lodash/_getPrototype.js +0 -2
  1214. package/ext/lodash/_getPrototype.js.map +0 -1
  1215. package/ext/lodash/_getSymbols.js +0 -2
  1216. package/ext/lodash/_getSymbols.js.map +0 -1
  1217. package/ext/lodash/_getTag.js +0 -2
  1218. package/ext/lodash/_getTag.js.map +0 -1
  1219. package/ext/lodash/_getValue.js +0 -2
  1220. package/ext/lodash/_getValue.js.map +0 -1
  1221. package/ext/lodash/_hasPath.js +0 -2
  1222. package/ext/lodash/_hasPath.js.map +0 -1
  1223. package/ext/lodash/_hasUnicode.js +0 -2
  1224. package/ext/lodash/_hasUnicode.js.map +0 -1
  1225. package/ext/lodash/_hashClear.js +0 -2
  1226. package/ext/lodash/_hashClear.js.map +0 -1
  1227. package/ext/lodash/_hashDelete.js +0 -2
  1228. package/ext/lodash/_hashDelete.js.map +0 -1
  1229. package/ext/lodash/_hashGet.js +0 -2
  1230. package/ext/lodash/_hashGet.js.map +0 -1
  1231. package/ext/lodash/_hashHas.js +0 -2
  1232. package/ext/lodash/_hashHas.js.map +0 -1
  1233. package/ext/lodash/_hashSet.js +0 -2
  1234. package/ext/lodash/_hashSet.js.map +0 -1
  1235. package/ext/lodash/_isFlattenable.js +0 -2
  1236. package/ext/lodash/_isFlattenable.js.map +0 -1
  1237. package/ext/lodash/_isIndex.js +0 -2
  1238. package/ext/lodash/_isIndex.js.map +0 -1
  1239. package/ext/lodash/_isIterateeCall.js +0 -2
  1240. package/ext/lodash/_isIterateeCall.js.map +0 -1
  1241. package/ext/lodash/_isKey.js +0 -2
  1242. package/ext/lodash/_isKey.js.map +0 -1
  1243. package/ext/lodash/_isKeyable.js +0 -2
  1244. package/ext/lodash/_isKeyable.js.map +0 -1
  1245. package/ext/lodash/_isMasked.js +0 -2
  1246. package/ext/lodash/_isMasked.js.map +0 -1
  1247. package/ext/lodash/_isPrototype.js +0 -2
  1248. package/ext/lodash/_isPrototype.js.map +0 -1
  1249. package/ext/lodash/_isStrictComparable.js +0 -2
  1250. package/ext/lodash/_isStrictComparable.js.map +0 -1
  1251. package/ext/lodash/_listCacheClear.js +0 -2
  1252. package/ext/lodash/_listCacheClear.js.map +0 -1
  1253. package/ext/lodash/_listCacheDelete.js +0 -2
  1254. package/ext/lodash/_listCacheDelete.js.map +0 -1
  1255. package/ext/lodash/_listCacheGet.js +0 -2
  1256. package/ext/lodash/_listCacheGet.js.map +0 -1
  1257. package/ext/lodash/_listCacheHas.js +0 -2
  1258. package/ext/lodash/_listCacheHas.js.map +0 -1
  1259. package/ext/lodash/_listCacheSet.js +0 -2
  1260. package/ext/lodash/_listCacheSet.js.map +0 -1
  1261. package/ext/lodash/_mapCacheClear.js +0 -2
  1262. package/ext/lodash/_mapCacheClear.js.map +0 -1
  1263. package/ext/lodash/_mapCacheDelete.js +0 -2
  1264. package/ext/lodash/_mapCacheDelete.js.map +0 -1
  1265. package/ext/lodash/_mapCacheGet.js +0 -2
  1266. package/ext/lodash/_mapCacheGet.js.map +0 -1
  1267. package/ext/lodash/_mapCacheHas.js +0 -2
  1268. package/ext/lodash/_mapCacheHas.js.map +0 -1
  1269. package/ext/lodash/_mapCacheSet.js +0 -2
  1270. package/ext/lodash/_mapCacheSet.js.map +0 -1
  1271. package/ext/lodash/_mapToArray.js +0 -2
  1272. package/ext/lodash/_mapToArray.js.map +0 -1
  1273. package/ext/lodash/_matchesStrictComparable.js +0 -2
  1274. package/ext/lodash/_matchesStrictComparable.js.map +0 -1
  1275. package/ext/lodash/_memoizeCapped.js +0 -2
  1276. package/ext/lodash/_memoizeCapped.js.map +0 -1
  1277. package/ext/lodash/_nativeCreate.js +0 -2
  1278. package/ext/lodash/_nativeCreate.js.map +0 -1
  1279. package/ext/lodash/_nativeKeys.js +0 -2
  1280. package/ext/lodash/_nativeKeys.js.map +0 -1
  1281. package/ext/lodash/_nodeUtil.js +0 -2
  1282. package/ext/lodash/_nodeUtil.js.map +0 -1
  1283. package/ext/lodash/_overArg.js +0 -2
  1284. package/ext/lodash/_overArg.js.map +0 -1
  1285. package/ext/lodash/_overRest.js +0 -2
  1286. package/ext/lodash/_overRest.js.map +0 -1
  1287. package/ext/lodash/_setCacheAdd.js +0 -2
  1288. package/ext/lodash/_setCacheAdd.js.map +0 -1
  1289. package/ext/lodash/_setCacheHas.js +0 -2
  1290. package/ext/lodash/_setCacheHas.js.map +0 -1
  1291. package/ext/lodash/_setToArray.js +0 -2
  1292. package/ext/lodash/_setToArray.js.map +0 -1
  1293. package/ext/lodash/_setToString.js +0 -2
  1294. package/ext/lodash/_setToString.js.map +0 -1
  1295. package/ext/lodash/_shortOut.js +0 -2
  1296. package/ext/lodash/_shortOut.js.map +0 -1
  1297. package/ext/lodash/_stackClear.js +0 -2
  1298. package/ext/lodash/_stackClear.js.map +0 -1
  1299. package/ext/lodash/_stackDelete.js +0 -2
  1300. package/ext/lodash/_stackDelete.js.map +0 -1
  1301. package/ext/lodash/_stackGet.js +0 -2
  1302. package/ext/lodash/_stackGet.js.map +0 -1
  1303. package/ext/lodash/_stackHas.js +0 -2
  1304. package/ext/lodash/_stackHas.js.map +0 -1
  1305. package/ext/lodash/_stackSet.js +0 -2
  1306. package/ext/lodash/_stackSet.js.map +0 -1
  1307. package/ext/lodash/_strictIndexOf.js +0 -2
  1308. package/ext/lodash/_strictIndexOf.js.map +0 -1
  1309. package/ext/lodash/_stringToArray.js +0 -2
  1310. package/ext/lodash/_stringToArray.js.map +0 -1
  1311. package/ext/lodash/_stringToPath.js +0 -2
  1312. package/ext/lodash/_stringToPath.js.map +0 -1
  1313. package/ext/lodash/_toKey.js +0 -2
  1314. package/ext/lodash/_toKey.js.map +0 -1
  1315. package/ext/lodash/_toSource.js +0 -2
  1316. package/ext/lodash/_toSource.js.map +0 -1
  1317. package/ext/lodash/_trimmedEndIndex.js +0 -2
  1318. package/ext/lodash/_trimmedEndIndex.js.map +0 -1
  1319. package/ext/lodash/_unicodeToArray.js +0 -2
  1320. package/ext/lodash/_unicodeToArray.js.map +0 -1
  1321. package/ext/lodash/constant.js +0 -2
  1322. package/ext/lodash/constant.js.map +0 -1
  1323. package/ext/lodash/debounce.js +0 -2
  1324. package/ext/lodash/debounce.js.map +0 -1
  1325. package/ext/lodash/eq.js +0 -2
  1326. package/ext/lodash/eq.js.map +0 -1
  1327. package/ext/lodash/every.js +0 -2
  1328. package/ext/lodash/every.js.map +0 -1
  1329. package/ext/lodash/find.js +0 -2
  1330. package/ext/lodash/find.js.map +0 -1
  1331. package/ext/lodash/findIndex.js +0 -2
  1332. package/ext/lodash/findIndex.js.map +0 -1
  1333. package/ext/lodash/flatMap.js +0 -2
  1334. package/ext/lodash/flatMap.js.map +0 -1
  1335. package/ext/lodash/get.js +0 -2
  1336. package/ext/lodash/get.js.map +0 -1
  1337. package/ext/lodash/hasIn.js +0 -2
  1338. package/ext/lodash/hasIn.js.map +0 -1
  1339. package/ext/lodash/identity.js +0 -2
  1340. package/ext/lodash/identity.js.map +0 -1
  1341. package/ext/lodash/isArguments.js +0 -2
  1342. package/ext/lodash/isArguments.js.map +0 -1
  1343. package/ext/lodash/isArrayLike.js +0 -2
  1344. package/ext/lodash/isArrayLike.js.map +0 -1
  1345. package/ext/lodash/isBoolean.js +0 -2
  1346. package/ext/lodash/isBoolean.js.map +0 -1
  1347. package/ext/lodash/isBuffer.js +0 -2
  1348. package/ext/lodash/isBuffer.js.map +0 -1
  1349. package/ext/lodash/isEqual.js +0 -2
  1350. package/ext/lodash/isEqual.js.map +0 -1
  1351. package/ext/lodash/isFunction.js +0 -2
  1352. package/ext/lodash/isFunction.js.map +0 -1
  1353. package/ext/lodash/isLength.js +0 -2
  1354. package/ext/lodash/isLength.js.map +0 -1
  1355. package/ext/lodash/isNaN.js +0 -2
  1356. package/ext/lodash/isNaN.js.map +0 -1
  1357. package/ext/lodash/isNil.js +0 -2
  1358. package/ext/lodash/isNil.js.map +0 -1
  1359. package/ext/lodash/isNumber.js +0 -2
  1360. package/ext/lodash/isNumber.js.map +0 -1
  1361. package/ext/lodash/isObject.js +0 -2
  1362. package/ext/lodash/isObject.js.map +0 -1
  1363. package/ext/lodash/isPlainObject.js +0 -2
  1364. package/ext/lodash/isPlainObject.js.map +0 -1
  1365. package/ext/lodash/isString.js +0 -2
  1366. package/ext/lodash/isString.js.map +0 -1
  1367. package/ext/lodash/isTypedArray.js +0 -2
  1368. package/ext/lodash/isTypedArray.js.map +0 -1
  1369. package/ext/lodash/keys.js +0 -2
  1370. package/ext/lodash/keys.js.map +0 -1
  1371. package/ext/lodash/last.js +0 -2
  1372. package/ext/lodash/last.js.map +0 -1
  1373. package/ext/lodash/map.js +0 -2
  1374. package/ext/lodash/map.js.map +0 -1
  1375. package/ext/lodash/mapValues.js +0 -2
  1376. package/ext/lodash/mapValues.js.map +0 -1
  1377. package/ext/lodash/max.js +0 -2
  1378. package/ext/lodash/max.js.map +0 -1
  1379. package/ext/lodash/maxBy.js +0 -2
  1380. package/ext/lodash/maxBy.js.map +0 -1
  1381. package/ext/lodash/memoize.js +0 -2
  1382. package/ext/lodash/memoize.js.map +0 -1
  1383. package/ext/lodash/min.js +0 -2
  1384. package/ext/lodash/min.js.map +0 -1
  1385. package/ext/lodash/minBy.js +0 -2
  1386. package/ext/lodash/minBy.js.map +0 -1
  1387. package/ext/lodash/noop.js +0 -2
  1388. package/ext/lodash/noop.js.map +0 -1
  1389. package/ext/lodash/now.js +0 -2
  1390. package/ext/lodash/now.js.map +0 -1
  1391. package/ext/lodash/property.js +0 -2
  1392. package/ext/lodash/property.js.map +0 -1
  1393. package/ext/lodash/range.js +0 -2
  1394. package/ext/lodash/range.js.map +0 -1
  1395. package/ext/lodash/some.js +0 -2
  1396. package/ext/lodash/some.js.map +0 -1
  1397. package/ext/lodash/sortBy.js +0 -2
  1398. package/ext/lodash/sortBy.js.map +0 -1
  1399. package/ext/lodash/stubArray.js +0 -2
  1400. package/ext/lodash/stubArray.js.map +0 -1
  1401. package/ext/lodash/stubFalse.js +0 -2
  1402. package/ext/lodash/stubFalse.js.map +0 -1
  1403. package/ext/lodash/throttle.js +0 -2
  1404. package/ext/lodash/throttle.js.map +0 -1
  1405. package/ext/lodash/toFinite.js +0 -2
  1406. package/ext/lodash/toFinite.js.map +0 -1
  1407. package/ext/lodash/toInteger.js +0 -2
  1408. package/ext/lodash/toInteger.js.map +0 -1
  1409. package/ext/lodash/toNumber.js +0 -2
  1410. package/ext/lodash/toNumber.js.map +0 -1
  1411. package/ext/lodash/uniqBy.js +0 -2
  1412. package/ext/lodash/uniqBy.js.map +0 -1
  1413. package/ext/lodash/upperFirst.js +0 -2
  1414. package/ext/lodash/upperFirst.js.map +0 -1
  1415. package/ext/react-smooth/es6/Animate.js +0 -2
  1416. package/ext/react-smooth/es6/Animate.js.map +0 -1
  1417. package/ext/react-smooth/es6/AnimateGroup.js +0 -2
  1418. package/ext/react-smooth/es6/AnimateGroup.js.map +0 -1
  1419. package/ext/react-smooth/es6/AnimateGroupChild.js +0 -2
  1420. package/ext/react-smooth/es6/AnimateGroupChild.js.map +0 -1
  1421. package/ext/react-smooth/es6/AnimateManager.js +0 -2
  1422. package/ext/react-smooth/es6/AnimateManager.js.map +0 -1
  1423. package/ext/react-smooth/es6/configUpdate.js +0 -2
  1424. package/ext/react-smooth/es6/configUpdate.js.map +0 -1
  1425. package/ext/react-smooth/es6/easing.js +0 -2
  1426. package/ext/react-smooth/es6/easing.js.map +0 -1
  1427. package/ext/react-smooth/es6/index.js +0 -2
  1428. package/ext/react-smooth/es6/index.js.map +0 -1
  1429. package/ext/react-smooth/es6/setRafTimeout.js +0 -2
  1430. package/ext/react-smooth/es6/setRafTimeout.js.map +0 -1
  1431. package/ext/react-smooth/es6/util.js +0 -2
  1432. package/ext/react-smooth/es6/util.js.map +0 -1
  1433. package/ext/recharts/es6/cartesian/Area.js +0 -2
  1434. package/ext/recharts/es6/cartesian/Area.js.map +0 -1
  1435. package/ext/recharts/es6/cartesian/Bar.js +0 -2
  1436. package/ext/recharts/es6/cartesian/Bar.js.map +0 -1
  1437. package/ext/recharts/es6/cartesian/Brush.js +0 -2
  1438. package/ext/recharts/es6/cartesian/Brush.js.map +0 -1
  1439. package/ext/recharts/es6/cartesian/CartesianAxis.js +0 -2
  1440. package/ext/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
  1441. package/ext/recharts/es6/cartesian/CartesianGrid.js +0 -2
  1442. package/ext/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
  1443. package/ext/recharts/es6/cartesian/ErrorBar.js +0 -2
  1444. package/ext/recharts/es6/cartesian/ErrorBar.js.map +0 -1
  1445. package/ext/recharts/es6/cartesian/Line.js +0 -2
  1446. package/ext/recharts/es6/cartesian/Line.js.map +0 -1
  1447. package/ext/recharts/es6/cartesian/ReferenceArea.js +0 -2
  1448. package/ext/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
  1449. package/ext/recharts/es6/cartesian/ReferenceDot.js +0 -2
  1450. package/ext/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
  1451. package/ext/recharts/es6/cartesian/ReferenceLine.js +0 -2
  1452. package/ext/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
  1453. package/ext/recharts/es6/cartesian/Scatter.js +0 -2
  1454. package/ext/recharts/es6/cartesian/Scatter.js.map +0 -1
  1455. package/ext/recharts/es6/cartesian/XAxis.js +0 -2
  1456. package/ext/recharts/es6/cartesian/XAxis.js.map +0 -1
  1457. package/ext/recharts/es6/cartesian/YAxis.js +0 -2
  1458. package/ext/recharts/es6/cartesian/YAxis.js.map +0 -1
  1459. package/ext/recharts/es6/cartesian/ZAxis.js +0 -2
  1460. package/ext/recharts/es6/cartesian/ZAxis.js.map +0 -1
  1461. package/ext/recharts/es6/cartesian/getEquidistantTicks.js +0 -2
  1462. package/ext/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
  1463. package/ext/recharts/es6/cartesian/getTicks.js +0 -2
  1464. package/ext/recharts/es6/cartesian/getTicks.js.map +0 -1
  1465. package/ext/recharts/es6/chart/AccessibilityManager.js +0 -2
  1466. package/ext/recharts/es6/chart/AccessibilityManager.js.map +0 -1
  1467. package/ext/recharts/es6/chart/ComposedChart.js +0 -2
  1468. package/ext/recharts/es6/chart/ComposedChart.js.map +0 -1
  1469. package/ext/recharts/es6/chart/PieChart.js +0 -2
  1470. package/ext/recharts/es6/chart/PieChart.js.map +0 -1
  1471. package/ext/recharts/es6/chart/generateCategoricalChart.js +0 -2
  1472. package/ext/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
  1473. package/ext/recharts/es6/component/Cell.js +0 -2
  1474. package/ext/recharts/es6/component/Cell.js.map +0 -1
  1475. package/ext/recharts/es6/component/Cursor.js +0 -2
  1476. package/ext/recharts/es6/component/Cursor.js.map +0 -1
  1477. package/ext/recharts/es6/component/DefaultLegendContent.js +0 -2
  1478. package/ext/recharts/es6/component/DefaultLegendContent.js.map +0 -1
  1479. package/ext/recharts/es6/component/DefaultTooltipContent.js +0 -2
  1480. package/ext/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
  1481. package/ext/recharts/es6/component/Label.js +0 -2
  1482. package/ext/recharts/es6/component/Label.js.map +0 -1
  1483. package/ext/recharts/es6/component/LabelList.js +0 -2
  1484. package/ext/recharts/es6/component/LabelList.js.map +0 -1
  1485. package/ext/recharts/es6/component/Legend.js +0 -2
  1486. package/ext/recharts/es6/component/Legend.js.map +0 -1
  1487. package/ext/recharts/es6/component/ResponsiveContainer.js +0 -2
  1488. package/ext/recharts/es6/component/ResponsiveContainer.js.map +0 -1
  1489. package/ext/recharts/es6/component/Text.js +0 -2
  1490. package/ext/recharts/es6/component/Text.js.map +0 -1
  1491. package/ext/recharts/es6/component/Tooltip.js +0 -2
  1492. package/ext/recharts/es6/component/Tooltip.js.map +0 -1
  1493. package/ext/recharts/es6/component/TooltipBoundingBox.js +0 -2
  1494. package/ext/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
  1495. package/ext/recharts/es6/container/Layer.js +0 -2
  1496. package/ext/recharts/es6/container/Layer.js.map +0 -1
  1497. package/ext/recharts/es6/container/Surface.js +0 -2
  1498. package/ext/recharts/es6/container/Surface.js.map +0 -1
  1499. package/ext/recharts/es6/context/chartLayoutContext.js +0 -2
  1500. package/ext/recharts/es6/context/chartLayoutContext.js.map +0 -1
  1501. package/ext/recharts/es6/polar/Pie.js +0 -2
  1502. package/ext/recharts/es6/polar/Pie.js.map +0 -1
  1503. package/ext/recharts/es6/polar/PolarAngleAxis.js +0 -2
  1504. package/ext/recharts/es6/polar/PolarAngleAxis.js.map +0 -1
  1505. package/ext/recharts/es6/polar/PolarRadiusAxis.js +0 -2
  1506. package/ext/recharts/es6/polar/PolarRadiusAxis.js.map +0 -1
  1507. package/ext/recharts/es6/shape/Cross.js +0 -2
  1508. package/ext/recharts/es6/shape/Cross.js.map +0 -1
  1509. package/ext/recharts/es6/shape/Curve.js +0 -2
  1510. package/ext/recharts/es6/shape/Curve.js.map +0 -1
  1511. package/ext/recharts/es6/shape/Dot.js +0 -2
  1512. package/ext/recharts/es6/shape/Dot.js.map +0 -1
  1513. package/ext/recharts/es6/shape/Polygon.js +0 -2
  1514. package/ext/recharts/es6/shape/Polygon.js.map +0 -1
  1515. package/ext/recharts/es6/shape/Rectangle.js +0 -2
  1516. package/ext/recharts/es6/shape/Rectangle.js.map +0 -1
  1517. package/ext/recharts/es6/shape/Sector.js +0 -2
  1518. package/ext/recharts/es6/shape/Sector.js.map +0 -1
  1519. package/ext/recharts/es6/shape/Symbols.js +0 -2
  1520. package/ext/recharts/es6/shape/Symbols.js.map +0 -1
  1521. package/ext/recharts/es6/shape/Trapezoid.js +0 -2
  1522. package/ext/recharts/es6/shape/Trapezoid.js.map +0 -1
  1523. package/ext/recharts/es6/util/ActiveShapeUtils.js +0 -2
  1524. package/ext/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
  1525. package/ext/recharts/es6/util/BarUtils.js +0 -2
  1526. package/ext/recharts/es6/util/BarUtils.js.map +0 -1
  1527. package/ext/recharts/es6/util/CartesianUtils.js +0 -2
  1528. package/ext/recharts/es6/util/CartesianUtils.js.map +0 -1
  1529. package/ext/recharts/es6/util/ChartUtils.js +0 -2
  1530. package/ext/recharts/es6/util/ChartUtils.js.map +0 -1
  1531. package/ext/recharts/es6/util/CssPrefixUtils.js +0 -2
  1532. package/ext/recharts/es6/util/CssPrefixUtils.js.map +0 -1
  1533. package/ext/recharts/es6/util/DOMUtils.js +0 -2
  1534. package/ext/recharts/es6/util/DOMUtils.js.map +0 -1
  1535. package/ext/recharts/es6/util/DataUtils.js +0 -2
  1536. package/ext/recharts/es6/util/DataUtils.js.map +0 -1
  1537. package/ext/recharts/es6/util/DetectReferenceElementsDomain.js +0 -2
  1538. package/ext/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
  1539. package/ext/recharts/es6/util/Events.js +0 -2
  1540. package/ext/recharts/es6/util/Events.js.map +0 -1
  1541. package/ext/recharts/es6/util/Global.js +0 -2
  1542. package/ext/recharts/es6/util/Global.js.map +0 -1
  1543. package/ext/recharts/es6/util/IfOverflowMatches.js +0 -2
  1544. package/ext/recharts/es6/util/IfOverflowMatches.js.map +0 -1
  1545. package/ext/recharts/es6/util/LogUtils.js +0 -2
  1546. package/ext/recharts/es6/util/LogUtils.js.map +0 -1
  1547. package/ext/recharts/es6/util/PolarUtils.js +0 -2
  1548. package/ext/recharts/es6/util/PolarUtils.js.map +0 -1
  1549. package/ext/recharts/es6/util/ReactUtils.js +0 -2
  1550. package/ext/recharts/es6/util/ReactUtils.js.map +0 -1
  1551. package/ext/recharts/es6/util/ReduceCSSCalc.js +0 -2
  1552. package/ext/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
  1553. package/ext/recharts/es6/util/ScatterUtils.js +0 -2
  1554. package/ext/recharts/es6/util/ScatterUtils.js.map +0 -1
  1555. package/ext/recharts/es6/util/ShallowEqual.js +0 -2
  1556. package/ext/recharts/es6/util/ShallowEqual.js.map +0 -1
  1557. package/ext/recharts/es6/util/TickUtils.js +0 -2
  1558. package/ext/recharts/es6/util/TickUtils.js.map +0 -1
  1559. package/ext/recharts/es6/util/calculateViewBox.js +0 -2
  1560. package/ext/recharts/es6/util/calculateViewBox.js.map +0 -1
  1561. package/ext/recharts/es6/util/cursor/getCursorPoints.js +0 -2
  1562. package/ext/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
  1563. package/ext/recharts/es6/util/cursor/getCursorRectangle.js +0 -2
  1564. package/ext/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
  1565. package/ext/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -2
  1566. package/ext/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
  1567. package/ext/recharts/es6/util/getEveryNthWithCondition.js +0 -2
  1568. package/ext/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
  1569. package/ext/recharts/es6/util/getLegendProps.js +0 -2
  1570. package/ext/recharts/es6/util/getLegendProps.js.map +0 -1
  1571. package/ext/recharts/es6/util/isDomainSpecifiedByUser.js +0 -2
  1572. package/ext/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
  1573. package/ext/recharts/es6/util/payload/getUniqPayload.js +0 -2
  1574. package/ext/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
  1575. package/ext/recharts/es6/util/tooltip/translate.js +0 -2
  1576. package/ext/recharts/es6/util/tooltip/translate.js.map +0 -1
  1577. package/ext/recharts/es6/util/types.js +0 -2
  1578. package/ext/recharts/es6/util/types.js.map +0 -1
  1579. package/ext/recharts/ext/react-is/cjs/react-is.development.js +0 -10
  1580. package/ext/recharts/ext/react-is/cjs/react-is.development.js.map +0 -1
  1581. package/ext/recharts/ext/react-is/cjs/react-is.production.min.js +0 -10
  1582. package/ext/recharts/ext/react-is/cjs/react-is.production.min.js.map +0 -1
  1583. package/ext/recharts/ext/react-is/index.js +0 -2
  1584. package/ext/recharts/ext/react-is/index.js.map +0 -1
  1585. package/ext/recharts-scale/es6/getNiceTickValues.js +0 -2
  1586. package/ext/recharts-scale/es6/getNiceTickValues.js.map +0 -1
  1587. package/ext/recharts-scale/es6/util/arithmetic.js +0 -2
  1588. package/ext/recharts-scale/es6/util/arithmetic.js.map +0 -1
  1589. package/ext/recharts-scale/es6/util/utils.js +0 -2
  1590. package/ext/recharts-scale/es6/util/utils.js.map +0 -1
  1591. package/ext/tiny-invariant/dist/esm/tiny-invariant.js +0 -2
  1592. package/ext/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
  1593. package/ext/victory-vendor/es/d3-scale.js +0 -2
  1594. package/ext/victory-vendor/es/d3-scale.js.map +0 -1
  1595. package/mmb-digital-ds-lilly-v0.11.0.tgz +0 -0
  1596. package/mmb-digital-ds-lilly-v0.11.3.tgz +0 -0
  1597. /package/assets/{14201674670f59a2f7e3.ttf → 098201584cf9646180d6.ttf} +0 -0
  1598. /package/assets/{7db0104cd5abef3c4fbc.gif → 391ed26e3a9b05926eb5.gif} +0 -0
  1599. /package/assets/{4c5f2e421d6ea03babb6.woff → 4aaa0ede9425dd2db33a.woff} +0 -0
  1600. /package/assets/{2d3bf33788d664a4f143.eot → 4ed3bdbbdc56ae2f7014.eot} +0 -0
  1601. /package/assets/{7568e01f3786c4fdd3be.svg → 73c59545eb71cca8ee0e.svg} +0 -0
  1602. /package/assets/{4140f79b9c334bcd39f7.eot → 782badf306fd9b715fb1.eot} +0 -0
  1603. /package/assets/{2c5bf586c05701213c53.ttf → 88f39bee0d0cf7b97e7b.ttf} +0 -0
  1604. /package/assets/{d76135ce63173479f6e2.woff → a6a57cb05a721a2d66d6.woff} +0 -0
  1605. /package/assets/{bda609bd161577e2b09e.svg → ac2497fd9ca73d51fbad.svg} +0 -0
  1606. /package/assets/{819de7296d8e416bcf6b.eot → b0cea399a302ab6d0de5.eot} +0 -0
  1607. /package/assets/{cbba4c9f9e34e3f3c395.eot → d2b9882c35e39ea26fa6.eot} +0 -0
  1608. /package/assets/{92e33988bccabf43e4d3.gif → e6795c5f0445551cbf3a.gif} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"Brush.js","sources":["../../../../../node_modules/recharts/es6/cartesian/Brush.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Brush\n */\nimport React, { PureComponent, Children } from 'react';\nimport clsx from 'clsx';\nimport { scalePoint } from 'victory-vendor/d3-scale';\nimport isFunction from 'lodash/isFunction';\nimport range from 'lodash/range';\nimport { Layer } from '../container/Layer';\nimport { Text } from '../component/Text';\nimport { getValueByDataKey } from '../util/ChartUtils';\nimport { isNumber } from '../util/DataUtils';\nimport { generatePrefixStyle } from '../util/CssPrefixUtils';\nimport { filterProps } from '../util/ReactUtils';\nvar createScale = function createScale(_ref) {\n var data = _ref.data,\n startIndex = _ref.startIndex,\n endIndex = _ref.endIndex,\n x = _ref.x,\n width = _ref.width,\n travellerWidth = _ref.travellerWidth;\n if (!data || !data.length) {\n return {};\n }\n var len = data.length;\n var scale = scalePoint().domain(range(0, len)).range([x, x + width - travellerWidth]);\n var scaleValues = scale.domain().map(function (entry) {\n return scale(entry);\n });\n return {\n isTextActive: false,\n isSlideMoving: false,\n isTravellerMoving: false,\n isTravellerFocused: false,\n startX: scale(startIndex),\n endX: scale(endIndex),\n scale: scale,\n scaleValues: scaleValues\n };\n};\nvar isTouch = function isTouch(e) {\n return e.changedTouches && !!e.changedTouches.length;\n};\nexport var Brush = /*#__PURE__*/function (_PureComponent) {\n _inherits(Brush, _PureComponent);\n function Brush(props) {\n var _this;\n _classCallCheck(this, Brush);\n _this = _callSuper(this, Brush, [props]);\n _defineProperty(_assertThisInitialized(_this), \"handleDrag\", function (e) {\n if (_this.leaveTimer) {\n clearTimeout(_this.leaveTimer);\n _this.leaveTimer = null;\n }\n if (_this.state.isTravellerMoving) {\n _this.handleTravellerMove(e);\n } else if (_this.state.isSlideMoving) {\n _this.handleSlideDrag(e);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"handleTouchMove\", function (e) {\n if (e.changedTouches != null && e.changedTouches.length > 0) {\n _this.handleDrag(e.changedTouches[0]);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"handleDragEnd\", function () {\n _this.setState({\n isTravellerMoving: false,\n isSlideMoving: false\n }, function () {\n var _this$props = _this.props,\n endIndex = _this$props.endIndex,\n onDragEnd = _this$props.onDragEnd,\n startIndex = _this$props.startIndex;\n onDragEnd === null || onDragEnd === void 0 || onDragEnd({\n endIndex: endIndex,\n startIndex: startIndex\n });\n });\n _this.detachDragEndListener();\n });\n _defineProperty(_assertThisInitialized(_this), \"handleLeaveWrapper\", function () {\n if (_this.state.isTravellerMoving || _this.state.isSlideMoving) {\n _this.leaveTimer = window.setTimeout(_this.handleDragEnd, _this.props.leaveTimeOut);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"handleEnterSlideOrTraveller\", function () {\n _this.setState({\n isTextActive: true\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"handleLeaveSlideOrTraveller\", function () {\n _this.setState({\n isTextActive: false\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"handleSlideDragStart\", function (e) {\n var event = isTouch(e) ? e.changedTouches[0] : e;\n _this.setState({\n isTravellerMoving: false,\n isSlideMoving: true,\n slideMoveStartX: event.pageX\n });\n _this.attachDragEndListener();\n });\n _this.travellerDragStartHandlers = {\n startX: _this.handleTravellerDragStart.bind(_assertThisInitialized(_this), 'startX'),\n endX: _this.handleTravellerDragStart.bind(_assertThisInitialized(_this), 'endX')\n };\n _this.state = {};\n return _this;\n }\n _createClass(Brush, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.leaveTimer) {\n clearTimeout(this.leaveTimer);\n this.leaveTimer = null;\n }\n this.detachDragEndListener();\n }\n }, {\n key: \"getIndex\",\n value: function getIndex(_ref2) {\n var startX = _ref2.startX,\n endX = _ref2.endX;\n var scaleValues = this.state.scaleValues;\n var _this$props2 = this.props,\n gap = _this$props2.gap,\n data = _this$props2.data;\n var lastIndex = data.length - 1;\n var min = Math.min(startX, endX);\n var max = Math.max(startX, endX);\n var minIndex = Brush.getIndexInRange(scaleValues, min);\n var maxIndex = Brush.getIndexInRange(scaleValues, max);\n return {\n startIndex: minIndex - minIndex % gap,\n endIndex: maxIndex === lastIndex ? lastIndex : maxIndex - maxIndex % gap\n };\n }\n }, {\n key: \"getTextOfTick\",\n value: function getTextOfTick(index) {\n var _this$props3 = this.props,\n data = _this$props3.data,\n tickFormatter = _this$props3.tickFormatter,\n dataKey = _this$props3.dataKey;\n var text = getValueByDataKey(data[index], dataKey, index);\n return isFunction(tickFormatter) ? tickFormatter(text, index) : text;\n }\n }, {\n key: \"attachDragEndListener\",\n value: function attachDragEndListener() {\n window.addEventListener('mouseup', this.handleDragEnd, true);\n window.addEventListener('touchend', this.handleDragEnd, true);\n window.addEventListener('mousemove', this.handleDrag, true);\n }\n }, {\n key: \"detachDragEndListener\",\n value: function detachDragEndListener() {\n window.removeEventListener('mouseup', this.handleDragEnd, true);\n window.removeEventListener('touchend', this.handleDragEnd, true);\n window.removeEventListener('mousemove', this.handleDrag, true);\n }\n }, {\n key: \"handleSlideDrag\",\n value: function handleSlideDrag(e) {\n var _this$state = this.state,\n slideMoveStartX = _this$state.slideMoveStartX,\n startX = _this$state.startX,\n endX = _this$state.endX;\n var _this$props4 = this.props,\n x = _this$props4.x,\n width = _this$props4.width,\n travellerWidth = _this$props4.travellerWidth,\n startIndex = _this$props4.startIndex,\n endIndex = _this$props4.endIndex,\n onChange = _this$props4.onChange;\n var delta = e.pageX - slideMoveStartX;\n if (delta > 0) {\n delta = Math.min(delta, x + width - travellerWidth - endX, x + width - travellerWidth - startX);\n } else if (delta < 0) {\n delta = Math.max(delta, x - startX, x - endX);\n }\n var newIndex = this.getIndex({\n startX: startX + delta,\n endX: endX + delta\n });\n if ((newIndex.startIndex !== startIndex || newIndex.endIndex !== endIndex) && onChange) {\n onChange(newIndex);\n }\n this.setState({\n startX: startX + delta,\n endX: endX + delta,\n slideMoveStartX: e.pageX\n });\n }\n }, {\n key: \"handleTravellerDragStart\",\n value: function handleTravellerDragStart(id, e) {\n var event = isTouch(e) ? e.changedTouches[0] : e;\n this.setState({\n isSlideMoving: false,\n isTravellerMoving: true,\n movingTravellerId: id,\n brushMoveStartX: event.pageX\n });\n this.attachDragEndListener();\n }\n }, {\n key: \"handleTravellerMove\",\n value: function handleTravellerMove(e) {\n var _this$state2 = this.state,\n brushMoveStartX = _this$state2.brushMoveStartX,\n movingTravellerId = _this$state2.movingTravellerId,\n endX = _this$state2.endX,\n startX = _this$state2.startX;\n var prevValue = this.state[movingTravellerId];\n var _this$props5 = this.props,\n x = _this$props5.x,\n width = _this$props5.width,\n travellerWidth = _this$props5.travellerWidth,\n onChange = _this$props5.onChange,\n gap = _this$props5.gap,\n data = _this$props5.data;\n var params = {\n startX: this.state.startX,\n endX: this.state.endX\n };\n var delta = e.pageX - brushMoveStartX;\n if (delta > 0) {\n delta = Math.min(delta, x + width - travellerWidth - prevValue);\n } else if (delta < 0) {\n delta = Math.max(delta, x - prevValue);\n }\n params[movingTravellerId] = prevValue + delta;\n var newIndex = this.getIndex(params);\n var startIndex = newIndex.startIndex,\n endIndex = newIndex.endIndex;\n var isFullGap = function isFullGap() {\n var lastIndex = data.length - 1;\n if (movingTravellerId === 'startX' && (endX > startX ? startIndex % gap === 0 : endIndex % gap === 0) || endX < startX && endIndex === lastIndex || movingTravellerId === 'endX' && (endX > startX ? endIndex % gap === 0 : startIndex % gap === 0) || endX > startX && endIndex === lastIndex) {\n return true;\n }\n return false;\n };\n this.setState(_defineProperty(_defineProperty({}, movingTravellerId, prevValue + delta), \"brushMoveStartX\", e.pageX), function () {\n if (onChange) {\n if (isFullGap()) {\n onChange(newIndex);\n }\n }\n });\n }\n }, {\n key: \"handleTravellerMoveKeyboard\",\n value: function handleTravellerMoveKeyboard(direction, id) {\n var _this2 = this;\n // scaleValues are a list of coordinates. For example: [65, 250, 435, 620, 805, 990].\n var _this$state3 = this.state,\n scaleValues = _this$state3.scaleValues,\n startX = _this$state3.startX,\n endX = _this$state3.endX;\n // currentScaleValue refers to which coordinate the current traveller should be placed at.\n var currentScaleValue = this.state[id];\n var currentIndex = scaleValues.indexOf(currentScaleValue);\n if (currentIndex === -1) {\n return;\n }\n var newIndex = currentIndex + direction;\n if (newIndex === -1 || newIndex >= scaleValues.length) {\n return;\n }\n var newScaleValue = scaleValues[newIndex];\n\n // Prevent travellers from being on top of each other or overlapping\n if (id === 'startX' && newScaleValue >= endX || id === 'endX' && newScaleValue <= startX) {\n return;\n }\n this.setState(_defineProperty({}, id, newScaleValue), function () {\n _this2.props.onChange(_this2.getIndex({\n startX: _this2.state.startX,\n endX: _this2.state.endX\n }));\n });\n }\n }, {\n key: \"renderBackground\",\n value: function renderBackground() {\n var _this$props6 = this.props,\n x = _this$props6.x,\n y = _this$props6.y,\n width = _this$props6.width,\n height = _this$props6.height,\n fill = _this$props6.fill,\n stroke = _this$props6.stroke;\n return /*#__PURE__*/React.createElement(\"rect\", {\n stroke: stroke,\n fill: fill,\n x: x,\n y: y,\n width: width,\n height: height\n });\n }\n }, {\n key: \"renderPanorama\",\n value: function renderPanorama() {\n var _this$props7 = this.props,\n x = _this$props7.x,\n y = _this$props7.y,\n width = _this$props7.width,\n height = _this$props7.height,\n data = _this$props7.data,\n children = _this$props7.children,\n padding = _this$props7.padding;\n var chartElement = Children.only(children);\n if (!chartElement) {\n return null;\n }\n return /*#__PURE__*/React.cloneElement(chartElement, {\n x: x,\n y: y,\n width: width,\n height: height,\n margin: padding,\n compact: true,\n data: data\n });\n }\n }, {\n key: \"renderTravellerLayer\",\n value: function renderTravellerLayer(travellerX, id) {\n var _this3 = this;\n var _this$props8 = this.props,\n y = _this$props8.y,\n travellerWidth = _this$props8.travellerWidth,\n height = _this$props8.height,\n traveller = _this$props8.traveller,\n ariaLabel = _this$props8.ariaLabel,\n data = _this$props8.data,\n startIndex = _this$props8.startIndex,\n endIndex = _this$props8.endIndex;\n var x = Math.max(travellerX, this.props.x);\n var travellerProps = _objectSpread(_objectSpread({}, filterProps(this.props, false)), {}, {\n x: x,\n y: y,\n width: travellerWidth,\n height: height\n });\n var ariaLabelBrush = ariaLabel || \"Min value: \".concat(data[startIndex].name, \", Max value: \").concat(data[endIndex].name);\n return /*#__PURE__*/React.createElement(Layer, {\n tabIndex: 0,\n role: \"slider\",\n \"aria-label\": ariaLabelBrush,\n \"aria-valuenow\": travellerX,\n className: \"recharts-brush-traveller\",\n onMouseEnter: this.handleEnterSlideOrTraveller,\n onMouseLeave: this.handleLeaveSlideOrTraveller,\n onMouseDown: this.travellerDragStartHandlers[id],\n onTouchStart: this.travellerDragStartHandlers[id],\n onKeyDown: function onKeyDown(e) {\n if (!['ArrowLeft', 'ArrowRight'].includes(e.key)) {\n return;\n }\n e.preventDefault();\n e.stopPropagation();\n _this3.handleTravellerMoveKeyboard(e.key === 'ArrowRight' ? 1 : -1, id);\n },\n onFocus: function onFocus() {\n _this3.setState({\n isTravellerFocused: true\n });\n },\n onBlur: function onBlur() {\n _this3.setState({\n isTravellerFocused: false\n });\n },\n style: {\n cursor: 'col-resize'\n }\n }, Brush.renderTraveller(traveller, travellerProps));\n }\n }, {\n key: \"renderSlide\",\n value: function renderSlide(startX, endX) {\n var _this$props9 = this.props,\n y = _this$props9.y,\n height = _this$props9.height,\n stroke = _this$props9.stroke,\n travellerWidth = _this$props9.travellerWidth;\n var x = Math.min(startX, endX) + travellerWidth;\n var width = Math.max(Math.abs(endX - startX) - travellerWidth, 0);\n return /*#__PURE__*/React.createElement(\"rect\", {\n className: \"recharts-brush-slide\",\n onMouseEnter: this.handleEnterSlideOrTraveller,\n onMouseLeave: this.handleLeaveSlideOrTraveller,\n onMouseDown: this.handleSlideDragStart,\n onTouchStart: this.handleSlideDragStart,\n style: {\n cursor: 'move'\n },\n stroke: \"none\",\n fill: stroke,\n fillOpacity: 0.2,\n x: x,\n y: y,\n width: width,\n height: height\n });\n }\n }, {\n key: \"renderText\",\n value: function renderText() {\n var _this$props10 = this.props,\n startIndex = _this$props10.startIndex,\n endIndex = _this$props10.endIndex,\n y = _this$props10.y,\n height = _this$props10.height,\n travellerWidth = _this$props10.travellerWidth,\n stroke = _this$props10.stroke;\n var _this$state4 = this.state,\n startX = _this$state4.startX,\n endX = _this$state4.endX;\n var offset = 5;\n var attrs = {\n pointerEvents: 'none',\n fill: stroke\n };\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-brush-texts\"\n }, /*#__PURE__*/React.createElement(Text, _extends({\n textAnchor: \"end\",\n verticalAnchor: \"middle\",\n x: Math.min(startX, endX) - offset,\n y: y + height / 2\n }, attrs), this.getTextOfTick(startIndex)), /*#__PURE__*/React.createElement(Text, _extends({\n textAnchor: \"start\",\n verticalAnchor: \"middle\",\n x: Math.max(startX, endX) + travellerWidth + offset,\n y: y + height / 2\n }, attrs), this.getTextOfTick(endIndex)));\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props11 = this.props,\n data = _this$props11.data,\n className = _this$props11.className,\n children = _this$props11.children,\n x = _this$props11.x,\n y = _this$props11.y,\n width = _this$props11.width,\n height = _this$props11.height,\n alwaysShowText = _this$props11.alwaysShowText;\n var _this$state5 = this.state,\n startX = _this$state5.startX,\n endX = _this$state5.endX,\n isTextActive = _this$state5.isTextActive,\n isSlideMoving = _this$state5.isSlideMoving,\n isTravellerMoving = _this$state5.isTravellerMoving,\n isTravellerFocused = _this$state5.isTravellerFocused;\n if (!data || !data.length || !isNumber(x) || !isNumber(y) || !isNumber(width) || !isNumber(height) || width <= 0 || height <= 0) {\n return null;\n }\n var layerClass = clsx('recharts-brush', className);\n var isPanoramic = React.Children.count(children) === 1;\n var style = generatePrefixStyle('userSelect', 'none');\n return /*#__PURE__*/React.createElement(Layer, {\n className: layerClass,\n onMouseLeave: this.handleLeaveWrapper,\n onTouchMove: this.handleTouchMove,\n style: style\n }, this.renderBackground(), isPanoramic && this.renderPanorama(), this.renderSlide(startX, endX), this.renderTravellerLayer(startX, 'startX'), this.renderTravellerLayer(endX, 'endX'), (isTextActive || isSlideMoving || isTravellerMoving || isTravellerFocused || alwaysShowText) && this.renderText());\n }\n }], [{\n key: \"renderDefaultTraveller\",\n value: function renderDefaultTraveller(props) {\n var x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n stroke = props.stroke;\n var lineY = Math.floor(y + height / 2) - 1;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"rect\", {\n x: x,\n y: y,\n width: width,\n height: height,\n fill: stroke,\n stroke: \"none\"\n }), /*#__PURE__*/React.createElement(\"line\", {\n x1: x + 1,\n y1: lineY,\n x2: x + width - 1,\n y2: lineY,\n fill: \"none\",\n stroke: \"#fff\"\n }), /*#__PURE__*/React.createElement(\"line\", {\n x1: x + 1,\n y1: lineY + 2,\n x2: x + width - 1,\n y2: lineY + 2,\n fill: \"none\",\n stroke: \"#fff\"\n }));\n }\n }, {\n key: \"renderTraveller\",\n value: function renderTraveller(option, props) {\n var rectangle;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n rectangle = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n rectangle = option(props);\n } else {\n rectangle = Brush.renderDefaultTraveller(props);\n }\n return rectangle;\n }\n }, {\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n var data = nextProps.data,\n width = nextProps.width,\n x = nextProps.x,\n travellerWidth = nextProps.travellerWidth,\n updateId = nextProps.updateId,\n startIndex = nextProps.startIndex,\n endIndex = nextProps.endIndex;\n if (data !== prevState.prevData || updateId !== prevState.prevUpdateId) {\n return _objectSpread({\n prevData: data,\n prevTravellerWidth: travellerWidth,\n prevUpdateId: updateId,\n prevX: x,\n prevWidth: width\n }, data && data.length ? createScale({\n data: data,\n width: width,\n x: x,\n travellerWidth: travellerWidth,\n startIndex: startIndex,\n endIndex: endIndex\n }) : {\n scale: null,\n scaleValues: null\n });\n }\n if (prevState.scale && (width !== prevState.prevWidth || x !== prevState.prevX || travellerWidth !== prevState.prevTravellerWidth)) {\n prevState.scale.range([x, x + width - travellerWidth]);\n var scaleValues = prevState.scale.domain().map(function (entry) {\n return prevState.scale(entry);\n });\n return {\n prevData: data,\n prevTravellerWidth: travellerWidth,\n prevUpdateId: updateId,\n prevX: x,\n prevWidth: width,\n startX: prevState.scale(nextProps.startIndex),\n endX: prevState.scale(nextProps.endIndex),\n scaleValues: scaleValues\n };\n }\n return null;\n }\n }, {\n key: \"getIndexInRange\",\n value: function getIndexInRange(valueRange, x) {\n var len = valueRange.length;\n var start = 0;\n var end = len - 1;\n while (end - start > 1) {\n var middle = Math.floor((start + end) / 2);\n if (valueRange[middle] > x) {\n end = middle;\n } else {\n start = middle;\n }\n }\n return x >= valueRange[end] ? end : start;\n }\n }]);\n return Brush;\n}(PureComponent);\n_defineProperty(Brush, \"displayName\", 'Brush');\n_defineProperty(Brush, \"defaultProps\", {\n height: 40,\n travellerWidth: 5,\n gap: 1,\n fill: '#fff',\n stroke: '#666',\n padding: {\n top: 1,\n right: 1,\n bottom: 1,\n left: 1\n },\n leaveTimeOut: 1000,\n alwaysShowText: false\n});"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_extends","Object","assign","bind","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","ownKeys","e","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_defineProperties","props","descriptor","configurable","writable","_toPropertyKey","_callSuper","_getPrototypeOf","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","Boolean","valueOf","setPrototypeOf","getPrototypeOf","__proto__","ReferenceError","_setPrototypeOf","p","obj","value","toPrimitive","String","Number","_toPrimitive","isTouch","changedTouches","Brush","_PureComponent","_this","instance","Constructor","_classCallCheck","leaveTimer","clearTimeout","state","isTravellerMoving","handleTravellerMove","isSlideMoving","handleSlideDrag","handleDrag","setState","_this$props","endIndex","onDragEnd","startIndex","detachDragEndListener","window","setTimeout","handleDragEnd","leaveTimeOut","isTextActive","event","slideMoveStartX","pageX","attachDragEndListener","travellerDragStartHandlers","startX","handleTravellerDragStart","endX","protoProps","staticProps","subClass","superClass","create","_inherits","PureComponent","x","y","width","height","stroke","lineY","Math","floor","React","createElement","Fragment","fill","x1","y1","x2","y2","option","isValidElement","cloneElement","isFunction","renderDefaultTraveller","nextProps","prevState","data","travellerWidth","updateId","prevData","prevUpdateId","prevTravellerWidth","prevX","prevWidth","_ref","len","scale","scalePoint","domain","range","scaleValues","map","entry","isTravellerFocused","createScale","valueRange","start","end","middle","_ref2","_this$props2","gap","lastIndex","min","max","minIndex","getIndexInRange","maxIndex","index","_this$props3","tickFormatter","dataKey","text","getValueByDataKey","addEventListener","removeEventListener","_this$state","_this$props4","onChange","delta","newIndex","getIndex","id","movingTravellerId","brushMoveStartX","_this$state2","prevValue","_this$props5","params","direction","_this2","_this$state3","currentScaleValue","currentIndex","indexOf","newScaleValue","_this$props6","_this$props7","children","padding","chartElement","Children","only","margin","compact","travellerX","_this3","_this$props8","traveller","ariaLabel","travellerProps","filterProps","ariaLabelBrush","concat","name","Layer","tabIndex","role","className","onMouseEnter","handleEnterSlideOrTraveller","onMouseLeave","handleLeaveSlideOrTraveller","onMouseDown","onTouchStart","onKeyDown","includes","preventDefault","stopPropagation","handleTravellerMoveKeyboard","onFocus","onBlur","style","cursor","renderTraveller","_this$props9","abs","handleSlideDragStart","fillOpacity","_this$props10","_this$state4","attrs","pointerEvents","Text","textAnchor","verticalAnchor","getTextOfTick","_this$props11","alwaysShowText","_this$state5","isNumber","layerClass","clsx","isPanoramic","count","generatePrefixStyle","handleLeaveWrapper","onTouchMove","handleTouchMove","renderBackground","renderPanorama","renderSlide","renderTravellerLayer","renderText","top","right","bottom","left"],"mappings":"4iBAAA,SAASA,EAAQC,GAAgC,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,GAAO,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAE,EAAID,EAAQC,EAAK,CAC9T,SAASK,IAAiS,OAApRA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcP,OAAOF,UAAUW,eAAeC,KAAKH,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,CAAS,EAASJ,EAASY,MAA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aAAc,IACdwJ,gBAAgB","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import t,{Component as e}from"react";import r from"../../../lodash/isFunction.js";import n from"../../../lodash/get.js";import{clsx as i}from"../../../clsx/dist/clsx.js";import{shallowEqual as o}from"../util/ShallowEqual.js";import{Layer as a}from"../container/Layer.js";import{Text as c}from"../component/Text.js";import{Label as s}from"../component/Label.js";import{isNumber as l}from"../util/DataUtils.js";import{adaptEventsOfChild as u}from"../util/types.js";import{filterProps as f}from"../util/ReactUtils.js";import{getTicks as p}from"./getTicks.js";var y=["viewBox"],m=["viewBox"],h=["ticks"];function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},d.apply(this,arguments)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){P(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,T(n.key),n)}}function j(t,e,r){return e=x(e),function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,w()?Reflect.construct(e,r||[],x(t).constructor):e.apply(t,r))}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(w=function(){return!!t})()}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function S(t,e){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},S(t,e)}function P(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:String(e)}var E=function(b){function v(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),(e=j(this,v,[t])).state={fontSize:"",letterSpacing:""},e}var w,x,P;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&S(t,e)}(v,e),w=v,P=[{key:"renderTickItem",value:function(e,n,i){return t.isValidElement(e)?t.cloneElement(e,n):r(e)?e(n):t.createElement(c,d({},n,{className:"recharts-cartesian-axis-tick-value"}),i)}}],(x=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=g(t,y),i=this.props,a=i.viewBox,c=g(i,m);return!o(r,a)||!o(n,c)||!o(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,c=this.props,s=c.x,u=c.y,f=c.width,p=c.height,y=c.orientation,m=c.tickSize,h=c.mirror,b=c.tickMargin,d=h?-1:1,v=t.tickSize||m,k=l(t.tickCoord)?t.tickCoord:t.coordinate;switch(y){case"top":e=r=t.coordinate,a=(n=(i=u+ +!h*p)-d*v)-d*b,o=k;break;case"left":n=i=t.coordinate,o=(e=(r=s+ +!h*f)-d*v)-d*b,a=k;break;case"right":n=i=t.coordinate,o=(e=(r=s+ +h*f)+d*v)+d*b,a=k;break;default:e=r=t.coordinate,a=(n=(i=u+ +h*p)+d*v)+d*b,o=k}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,r=e.x,o=e.y,a=e.width,c=e.height,s=e.orientation,l=e.mirror,u=e.axisLine,p=k(k(k({},f(this.props,!1)),f(u,!1)),{},{fill:"none"});if("top"===s||"bottom"===s){var y=+("top"===s&&!l||"bottom"===s&&l);p=k(k({},p),{},{x1:r,y1:o+y*c,x2:r+a,y2:o+y*c})}else{var m=+("left"===s&&!l||"right"===s&&l);p=k(k({},p),{},{x1:r+m*a,y1:o,x2:r+m*a,y2:o+c})}return t.createElement("line",d({},p,{className:i("recharts-cartesian-axis-line",n(u,"className"))}))}},{key:"renderTicks",value:function(e,o,c){var s=this,l=this.props,y=l.tickLine,m=l.stroke,h=l.tick,b=l.tickFormatter,g=l.unit,O=p(k(k({},this.props),{},{ticks:e}),o,c),j=this.getTickTextAnchor(),w=this.getTickVerticalAnchor(),x=f(this.props,!1),S=f(h,!1),P=k(k({},x),{},{fill:"none"},f(y,!1)),T=O.map((function(e,o){var c=s.getTickLineCoord(e),l=c.line,f=c.tick,p=k(k(k(k({textAnchor:j,verticalAnchor:w},x),{},{stroke:"none",fill:m},S),f),{},{index:o,payload:e,visibleTicksCount:O.length,tickFormatter:b});return t.createElement(a,d({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},u(s.props,e,o)),y&&t.createElement("line",d({},P,l,{className:i("recharts-cartesian-axis-tick-line",n(y,"className"))})),h&&v.renderTickItem(h,p,"".concat(r(b)?b(e.value,o):e.value).concat(g||"")))}));return t.createElement("g",{className:"recharts-cartesian-axis-ticks"},T)}},{key:"render",value:function(){var e=this,n=this.props,o=n.axisLine,c=n.width,l=n.height,u=n.ticksGenerator,f=n.className;if(n.hide)return null;var p=this.props,y=p.ticks,m=g(p,h),b=y;return r(u)&&(b=y&&y.length>0?u(this.props):u(m)),c<=0||l<=0||!b||!b.length?null:t.createElement(a,{className:i("recharts-cartesian-axis",f),ref:function(t){e.layerReference=t}},o&&this.renderAxisLine(),this.renderTicks(b,this.state.fontSize,this.state.letterSpacing),s.renderCallByParent(this.props))}}])&&O(w.prototype,x),P&&O(w,P),Object.defineProperty(w,"prototype",{writable:!1}),v}();P(E,"displayName","CartesianAxis"),P(E,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});export{E as CartesianAxis};
2
- //# sourceMappingURL=CartesianAxis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CartesianAxis.js","sources":["../../../../../node_modules/recharts/es6/cartesian/CartesianAxis.js"],"sourcesContent":["var _excluded = [\"viewBox\"],\n _excluded2 = [\"viewBox\"],\n _excluded3 = [\"ticks\"];\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Cartesian Axis\n */\nimport React, { Component } from 'react';\nimport isFunction from 'lodash/isFunction';\nimport get from 'lodash/get';\nimport clsx from 'clsx';\nimport { shallowEqual } from '../util/ShallowEqual';\nimport { Layer } from '../container/Layer';\nimport { Text } from '../component/Text';\nimport { Label } from '../component/Label';\nimport { isNumber } from '../util/DataUtils';\nimport { adaptEventsOfChild } from '../util/types';\nimport { filterProps } from '../util/ReactUtils';\nimport { getTicks } from './getTicks';\n\n/** The orientation of the axis in correspondence to the chart */\n\n/** A unit to be appended to a value */\n\n/** The formatter function of tick */\n\nexport var CartesianAxis = /*#__PURE__*/function (_Component) {\n _inherits(CartesianAxis, _Component);\n function CartesianAxis(props) {\n var _this;\n _classCallCheck(this, CartesianAxis);\n _this = _callSuper(this, CartesianAxis, [props]);\n _this.state = {\n fontSize: '',\n letterSpacing: ''\n };\n return _this;\n }\n _createClass(CartesianAxis, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(_ref, nextState) {\n var viewBox = _ref.viewBox,\n restProps = _objectWithoutProperties(_ref, _excluded);\n // props.viewBox is sometimes generated every time -\n // check that specially as object equality is likely to fail\n var _this$props = this.props,\n viewBoxOld = _this$props.viewBox,\n restPropsOld = _objectWithoutProperties(_this$props, _excluded2);\n return !shallowEqual(viewBox, viewBoxOld) || !shallowEqual(restProps, restPropsOld) || !shallowEqual(nextState, this.state);\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var htmlLayer = this.layerReference;\n if (!htmlLayer) return;\n var tick = htmlLayer.getElementsByClassName('recharts-cartesian-axis-tick-value')[0];\n if (tick) {\n this.setState({\n fontSize: window.getComputedStyle(tick).fontSize,\n letterSpacing: window.getComputedStyle(tick).letterSpacing\n });\n }\n }\n\n /**\n * Calculate the coordinates of endpoints in ticks\n * @param {Object} data The data of a simple tick\n * @return {Object} (x1, y1): The coordinate of endpoint close to tick text\n * (x2, y2): The coordinate of endpoint close to axis\n */\n }, {\n key: \"getTickLineCoord\",\n value: function getTickLineCoord(data) {\n var _this$props2 = this.props,\n x = _this$props2.x,\n y = _this$props2.y,\n width = _this$props2.width,\n height = _this$props2.height,\n orientation = _this$props2.orientation,\n tickSize = _this$props2.tickSize,\n mirror = _this$props2.mirror,\n tickMargin = _this$props2.tickMargin;\n var x1, x2, y1, y2, tx, ty;\n var sign = mirror ? -1 : 1;\n var finalTickSize = data.tickSize || tickSize;\n var tickCoord = isNumber(data.tickCoord) ? data.tickCoord : data.coordinate;\n switch (orientation) {\n case 'top':\n x1 = x2 = data.coordinate;\n y2 = y + +!mirror * height;\n y1 = y2 - sign * finalTickSize;\n ty = y1 - sign * tickMargin;\n tx = tickCoord;\n break;\n case 'left':\n y1 = y2 = data.coordinate;\n x2 = x + +!mirror * width;\n x1 = x2 - sign * finalTickSize;\n tx = x1 - sign * tickMargin;\n ty = tickCoord;\n break;\n case 'right':\n y1 = y2 = data.coordinate;\n x2 = x + +mirror * width;\n x1 = x2 + sign * finalTickSize;\n tx = x1 + sign * tickMargin;\n ty = tickCoord;\n break;\n default:\n x1 = x2 = data.coordinate;\n y2 = y + +mirror * height;\n y1 = y2 + sign * finalTickSize;\n ty = y1 + sign * tickMargin;\n tx = tickCoord;\n break;\n }\n return {\n line: {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2\n },\n tick: {\n x: tx,\n y: ty\n }\n };\n }\n }, {\n key: \"getTickTextAnchor\",\n value: function getTickTextAnchor() {\n var _this$props3 = this.props,\n orientation = _this$props3.orientation,\n mirror = _this$props3.mirror;\n var textAnchor;\n switch (orientation) {\n case 'left':\n textAnchor = mirror ? 'start' : 'end';\n break;\n case 'right':\n textAnchor = mirror ? 'end' : 'start';\n break;\n default:\n textAnchor = 'middle';\n break;\n }\n return textAnchor;\n }\n }, {\n key: \"getTickVerticalAnchor\",\n value: function getTickVerticalAnchor() {\n var _this$props4 = this.props,\n orientation = _this$props4.orientation,\n mirror = _this$props4.mirror;\n var verticalAnchor = 'end';\n switch (orientation) {\n case 'left':\n case 'right':\n verticalAnchor = 'middle';\n break;\n case 'top':\n verticalAnchor = mirror ? 'start' : 'end';\n break;\n default:\n verticalAnchor = mirror ? 'end' : 'start';\n break;\n }\n return verticalAnchor;\n }\n }, {\n key: \"renderAxisLine\",\n value: function renderAxisLine() {\n var _this$props5 = this.props,\n x = _this$props5.x,\n y = _this$props5.y,\n width = _this$props5.width,\n height = _this$props5.height,\n orientation = _this$props5.orientation,\n mirror = _this$props5.mirror,\n axisLine = _this$props5.axisLine;\n var props = _objectSpread(_objectSpread(_objectSpread({}, filterProps(this.props, false)), filterProps(axisLine, false)), {}, {\n fill: 'none'\n });\n if (orientation === 'top' || orientation === 'bottom') {\n var needHeight = +(orientation === 'top' && !mirror || orientation === 'bottom' && mirror);\n props = _objectSpread(_objectSpread({}, props), {}, {\n x1: x,\n y1: y + needHeight * height,\n x2: x + width,\n y2: y + needHeight * height\n });\n } else {\n var needWidth = +(orientation === 'left' && !mirror || orientation === 'right' && mirror);\n props = _objectSpread(_objectSpread({}, props), {}, {\n x1: x + needWidth * width,\n y1: y,\n x2: x + needWidth * width,\n y2: y + height\n });\n }\n return /*#__PURE__*/React.createElement(\"line\", _extends({}, props, {\n className: clsx('recharts-cartesian-axis-line', get(axisLine, 'className'))\n }));\n }\n }, {\n key: \"renderTicks\",\n value:\n /**\n * render the ticks\n * @param {Array} ticks The ticks to actually render (overrides what was passed in props)\n * @param {string} fontSize Fontsize to consider for tick spacing\n * @param {string} letterSpacing Letterspacing to consider for tick spacing\n * @return {ReactComponent} renderedTicks\n */\n function renderTicks(ticks, fontSize, letterSpacing) {\n var _this2 = this;\n var _this$props6 = this.props,\n tickLine = _this$props6.tickLine,\n stroke = _this$props6.stroke,\n tick = _this$props6.tick,\n tickFormatter = _this$props6.tickFormatter,\n unit = _this$props6.unit;\n var finalTicks = getTicks(_objectSpread(_objectSpread({}, this.props), {}, {\n ticks: ticks\n }), fontSize, letterSpacing);\n var textAnchor = this.getTickTextAnchor();\n var verticalAnchor = this.getTickVerticalAnchor();\n var axisProps = filterProps(this.props, false);\n var customTickProps = filterProps(tick, false);\n var tickLineProps = _objectSpread(_objectSpread({}, axisProps), {}, {\n fill: 'none'\n }, filterProps(tickLine, false));\n var items = finalTicks.map(function (entry, i) {\n var _this2$getTickLineCoo = _this2.getTickLineCoord(entry),\n lineCoord = _this2$getTickLineCoo.line,\n tickCoord = _this2$getTickLineCoo.tick;\n var tickProps = _objectSpread(_objectSpread(_objectSpread(_objectSpread({\n textAnchor: textAnchor,\n verticalAnchor: verticalAnchor\n }, axisProps), {}, {\n stroke: 'none',\n fill: stroke\n }, customTickProps), tickCoord), {}, {\n index: i,\n payload: entry,\n visibleTicksCount: finalTicks.length,\n tickFormatter: tickFormatter\n });\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-cartesian-axis-tick\",\n key: \"tick-\".concat(entry.value, \"-\").concat(entry.coordinate, \"-\").concat(entry.tickCoord)\n }, adaptEventsOfChild(_this2.props, entry, i)), tickLine && /*#__PURE__*/React.createElement(\"line\", _extends({}, tickLineProps, lineCoord, {\n className: clsx('recharts-cartesian-axis-tick-line', get(tickLine, 'className'))\n })), tick && CartesianAxis.renderTickItem(tick, tickProps, \"\".concat(isFunction(tickFormatter) ? tickFormatter(entry.value, i) : entry.value).concat(unit || '')));\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-axis-ticks\"\n }, items);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n var _this$props7 = this.props,\n axisLine = _this$props7.axisLine,\n width = _this$props7.width,\n height = _this$props7.height,\n ticksGenerator = _this$props7.ticksGenerator,\n className = _this$props7.className,\n hide = _this$props7.hide;\n if (hide) {\n return null;\n }\n var _this$props8 = this.props,\n ticks = _this$props8.ticks,\n noTicksProps = _objectWithoutProperties(_this$props8, _excluded3);\n var finalTicks = ticks;\n if (isFunction(ticksGenerator)) {\n finalTicks = ticks && ticks.length > 0 ? ticksGenerator(this.props) : ticksGenerator(noTicksProps);\n }\n if (width <= 0 || height <= 0 || !finalTicks || !finalTicks.length) {\n return null;\n }\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-cartesian-axis', className),\n ref: function ref(_ref2) {\n _this3.layerReference = _ref2;\n }\n }, axisLine && this.renderAxisLine(), this.renderTicks(finalTicks, this.state.fontSize, this.state.letterSpacing), Label.renderCallByParent(this.props));\n }\n }], [{\n key: \"renderTickItem\",\n value: function renderTickItem(option, props, value) {\n var tickItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n tickItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n tickItem = option(props);\n } else {\n tickItem = /*#__PURE__*/React.createElement(Text, _extends({}, props, {\n className: \"recharts-cartesian-axis-tick-value\"\n }), value);\n }\n return tickItem;\n }\n }]);\n return CartesianAxis;\n}(Component);\n_defineProperty(CartesianAxis, \"displayName\", 'CartesianAxis');\n_defineProperty(CartesianAxis, \"defaultProps\", {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n viewBox: {\n x: 0,\n y: 0,\n width: 0,\n height: 0\n },\n // The orientation of axis\n orientation: 'bottom',\n // The ticks\n ticks: [],\n stroke: '#666',\n tickLine: true,\n axisLine: true,\n tick: true,\n mirror: false,\n minTickGap: 5,\n // The width or height of tick\n tickSize: 6,\n tickMargin: 2,\n interval: 'preserveEnd'\n});"],"names":["_excluded","_excluded2","_excluded3","_typeof","o","Symbol","iterator","constructor","prototype","_extends","Object","assign","bind","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","ownKeys","e","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","_defineProperties","props","descriptor","configurable","writable","_toPropertyKey","_callSuper","_getPrototypeOf","self","TypeError","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","Boolean","valueOf","setPrototypeOf","getPrototypeOf","__proto__","_setPrototypeOf","p","obj","value","toPrimitive","String","Number","_toPrimitive","CartesianAxis","_Component","_this","instance","Constructor","_classCallCheck","state","fontSize","letterSpacing","protoProps","staticProps","subClass","superClass","create","_inherits","Component","option","React","isValidElement","cloneElement","isFunction","createElement","Text","className","_ref","nextState","viewBox","restProps","_this$props","viewBoxOld","restPropsOld","shallowEqual","htmlLayer","layerReference","tick","getElementsByClassName","setState","window","getComputedStyle","data","x1","x2","y1","y2","tx","ty","_this$props2","x","y","width","height","orientation","tickSize","mirror","tickMargin","sign","finalTickSize","tickCoord","isNumber","coordinate","line","textAnchor","_this$props3","_this$props4","verticalAnchor","_this$props5","axisLine","filterProps","fill","needHeight","needWidth","clsx","get","ticks","_this2","_this$props6","tickLine","stroke","tickFormatter","unit","finalTicks","getTicks","getTickTextAnchor","getTickVerticalAnchor","axisProps","customTickProps","tickLineProps","items","map","entry","_this2$getTickLineCoo","getTickLineCoord","lineCoord","tickProps","index","payload","visibleTicksCount","Layer","concat","adaptEventsOfChild","renderTickItem","_this3","_this$props7","ticksGenerator","hide","_this$props8","noTicksProps","ref","_ref2","renderAxisLine","renderTicks","Label","renderCallByParent","minTickGap","interval"],"mappings":"4iBAAA,IAAIA,EAAY,CAAC,WACfC,EAAa,CAAC,WACdC,EAAa,CAAC,SAChB,SAASC,EAAQC,GAAgC,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,GAAO,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAE,EAAID,EAAQC,EAAK,CAC9T,SAASK,IAAiS,OAApRA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcP,OAAOF,UAAUW,eAAeC,KAAKH,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,CAAS,EAASJ,EAASY,MAAMC,KAAMP,UAAa,CACnV,SAASQ,EAAQC,EAAGC,GAAK,IAAIC,EAAIhB,OAAOiB,KAAKH,GAAI,GAAId,OAAOkB,sBAAuB,CAAE,IAAIxB,EAAIM,OAAOkB,sBAAsBJ,GAAIC,IAAMrB,EAAIA,EAAEyB,QAAO,SAAUJ,GAAK,OAAOf,OAAOoB,yBAAyBN,EAAGC,GAAGM,UAAW,KAAML,EAAEM,KAAKX,MAAMK,EAAGtB,EAAG,CAAG,OAAOsB,CAAI,CAC/P,SAASO,EAAcT,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIV,UAAUC,OAAQS,IAAK,CAAE,IAAIC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AAY+E,EAAa/E,UAE3B,GADS+E,EAAaE,KAEpB,OAAO,KAET,IAAIC,EAAe9J,KAAKyB,MACtBqG,EAAQgC,EAAahC,MACrBiC,EAAe9I,EAAyB6I,EAAclL,GACpDyJ,EAAaP,EAIjB,OAHIrD,EAAWmF,KACbvB,EAAaP,GAASA,EAAMpI,OAAS,EAAIkK,EAAe5J,KAAKyB,OAASmI,EAAeG,IAEnFzD,GAAS,GAAKC,GAAU,IAAM8B,IAAeA,EAAW3I,OACnD,KAEW4E,EAAMI,cAAc4E,EAAO,CAC7C1E,UAAWgD,EAAK,0BAA2BhD,GAC3CoF,IAAK,SAAaC,GAChBP,EAAOpE,eAAiB2E,CACzB,GACA1C,GAAYvH,KAAKkK,iBAAkBlK,KAAKmK,YAAY9B,EAAYrI,KAAK2D,MAAMC,SAAU5D,KAAK2D,MAAME,eAAgBuG,EAAMC,mBAAmBrK,KAAKyB,OAClJ,MAzSyED,EAAkBiC,EAAYvE,UAAW4E,GAAiBC,GAAavC,EAAkBiC,EAAaM,GAAc3E,OAAO4B,eAAeyC,EAAa,YAAa,CAAE7B,UAAU,IA0TrPyB,CACT,CA1RwC,GA2RxCxC,EAAgBwC,EAAe,cAAe,iBAC9CxC,EAAgBwC,EAAe,eAAgB,CAC7C+C,EAAG,EACHC,EAAG,EACHC,MAAO,EACPC,OAAQ,EACRxB,QAAS,CACPqB,EAAG,EACHC,EAAG,EACHC,MAAO,EACPC,OAAQ,GAGVC,YAAa,SAEbsB,MAAO,GACPI,OAAQ,OACRD,UAAU,EACVV,UAAU,EACVhC,MAAM,EACNmB,QAAQ,EACR4D,WAAY,EAEZ7D,SAAU,EACVE,WAAY,EACZ4D,SAAU","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import t from"react";import r from"../../../lodash/isFunction.js";import{warn as e}from"../util/LogUtils.js";import{isNumber as i}from"../util/DataUtils.js";import{filterProps as n}from"../util/ReactUtils.js";import{getCoordinatesOfGrid as o,getTicksOfAxis as l}from"../util/ChartUtils.js";import{getTicks as a}from"./getTicks.js";import{CartesianAxis as c}from"./CartesianAxis.js";import{useChartWidth as s,useChartHeight as u,useOffset as f,useArbitraryXAxis as h,useYAxisWithFiniteDomainOrRandom as y}from"../context/chartLayoutContext.js";var v=["x1","y1","x2","y2","key"],m=["offset"];function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,i)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){x(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function x(t,r,e){var i;return i=function(t,r){if("object"!=d(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=d(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(r,"string"),(r="symbol"==d(i)?i:String(i))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function b(){return b=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},b.apply(this,arguments)}function O(t,r){if(null==t)return{};var e,i,n=function(t,r){if(null==t)return{};var e,i,n={},o=Object.keys(t);for(i=0;i<o.length;i++)e=o[i],r.indexOf(e)>=0||(n[e]=t[e]);return n}(t,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)e=o[i],r.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(n[e]=t[e])}return n}var w=function(r){var e=r.fill;if(!e||"none"===e)return null;var i=r.fillOpacity,n=r.x,o=r.y,l=r.width,a=r.height;return t.createElement("rect",{x:n,y:o,width:l,height:a,stroke:"none",fill:e,fillOpacity:i,className:"recharts-cartesian-grid-bg"})};function j(e,i){var o;if(t.isValidElement(e))o=t.cloneElement(e,i);else if(r(e))o=e(i);else{var l=i.x1,a=i.y1,c=i.x2,s=i.y2,u=i.key,f=O(i,v),h=n(f,!1);h.offset;var y=O(h,m);o=t.createElement("line",b({},y,{x1:l,y1:a,x2:c,y2:s,fill:"none",key:u}))}return o}function P(r){var e=r.x,i=r.width,n=r.horizontal,o=void 0===n||n,l=r.horizontalPoints;if(!o||!l||!l.length)return null;var a=l.map((function(t,n){var l=p(p({},r),{},{x1:e,y1:t,x2:e+i,y2:t,key:"line-".concat(n),index:n});return j(o,l)}));return t.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function k(r){var e=r.y,i=r.height,n=r.vertical,o=void 0===n||n,l=r.verticalPoints;if(!o||!l||!l.length)return null;var a=l.map((function(t,n){var l=p(p({},r),{},{x1:t,y1:e,x2:t,y2:e+i,key:"line-".concat(n),index:n});return j(o,l)}));return t.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function z(r){var e=r.horizontalFill,i=r.fillOpacity,n=r.x,o=r.y,l=r.width,a=r.height,c=r.horizontalPoints,s=r.horizontal;if(!(void 0===s||s)||!e||!e.length)return null;var u=c.map((function(t){return Math.round(t+o-o)})).sort((function(t,r){return t-r}));o!==u[0]&&u.unshift(0);var f=u.map((function(r,c){var s=!u[c+1]?o+a-r:u[c+1]-r;if(s<=0)return null;var f=c%e.length;return t.createElement("rect",{key:"react-".concat(c),y:r,x:n,height:s,width:l,stroke:"none",fill:e[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})}));return t.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function E(r){var e=r.vertical,i=void 0===e||e,n=r.verticalFill,o=r.fillOpacity,l=r.x,a=r.y,c=r.width,s=r.height,u=r.verticalPoints;if(!i||!n||!n.length)return null;var f=u.map((function(t){return Math.round(t+l-l)})).sort((function(t,r){return t-r}));l!==f[0]&&f.unshift(0);var h=f.map((function(r,e){var i=!f[e+1]?l+c-r:f[e+1]-r;if(i<=0)return null;var u=e%n.length;return t.createElement("rect",{key:"react-".concat(e),x:r,y:a,width:i,height:s,stroke:"none",fill:n[u],fillOpacity:o,className:"recharts-cartesian-grid-bg"})}));return t.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},h)}var A=function(t,r){var e=t.xAxis,i=t.width,n=t.height,s=t.offset;return o(a(p(p(p({},c.defaultProps),e),{},{ticks:l(e,!0),viewBox:{x:0,y:0,width:i,height:n}})),s.left,s.left+s.width,r)},S=function(t,r){var e=t.yAxis,i=t.width,n=t.height,s=t.offset;return o(a(p(p(p({},c.defaultProps),e),{},{ticks:l(e,!0),viewBox:{x:0,y:0,width:i,height:n}})),s.top,s.top+s.height,r)},F={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function N(n){var o,l,a,c,v,m,g=s(),x=u(),O=f(),j=p(p({},n),{},{stroke:null!==(o=n.stroke)&&void 0!==o?o:F.stroke,fill:null!==(l=n.fill)&&void 0!==l?l:F.fill,horizontal:null!==(a=n.horizontal)&&void 0!==a?a:F.horizontal,horizontalFill:null!==(c=n.horizontalFill)&&void 0!==c?c:F.horizontalFill,vertical:null!==(v=n.vertical)&&void 0!==v?v:F.vertical,verticalFill:null!==(m=n.verticalFill)&&void 0!==m?m:F.verticalFill,x:i(n.x)?n.x:O.left,y:i(n.y)?n.y:O.top,width:i(n.width)?n.width:O.width,height:i(n.height)?n.height:O.height}),N=j.x,C=j.y,D=j.width,G=j.height,U=j.syncWithTicks,T=j.horizontalValues,V=j.verticalValues,B=h(),L=y();if(!i(D)||D<=0||!i(G)||G<=0||!i(N)||N!==+N||!i(C)||C!==+C)return null;var M=j.verticalCoordinatesGenerator||A,I=j.horizontalCoordinatesGenerator||S,R=j.horizontalPoints,W=j.verticalPoints;if((!R||!R.length)&&r(I)){var q=T&&T.length,H=I({yAxis:L?p(p({},L),{},{ticks:q?T:L.ticks}):void 0,width:g,height:x,offset:O},!!q||U);e(Array.isArray(H),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(d(H),"]")),Array.isArray(H)&&(R=H)}if((!W||!W.length)&&r(M)){var J=V&&V.length,K=M({xAxis:B?p(p({},B),{},{ticks:J?V:B.ticks}):void 0,width:g,height:x,offset:O},!!J||U);e(Array.isArray(K),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(d(K),"]")),Array.isArray(K)&&(W=K)}return t.createElement("g",{className:"recharts-cartesian-grid"},t.createElement(w,{fill:j.fill,fillOpacity:j.fillOpacity,x:j.x,y:j.y,width:j.width,height:j.height}),t.createElement(P,b({},j,{offset:O,horizontalPoints:R,xAxis:B,yAxis:L})),t.createElement(k,b({},j,{offset:O,verticalPoints:W,xAxis:B,yAxis:L})),t.createElement(z,b({},j,{horizontalPoints:R})),t.createElement(E,b({},j,{verticalPoints:W})))}N.displayName="CartesianGrid";export{N as CartesianGrid};
2
- //# sourceMappingURL=CartesianGrid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CartesianGrid.js","sources":["../../../../../node_modules/recharts/es6/cartesian/CartesianGrid.js"],"sourcesContent":["var _excluded = [\"x1\", \"y1\", \"x2\", \"y2\", \"key\"],\n _excluded2 = [\"offset\"];\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/**\n * @fileOverview Cartesian Grid\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport { warn } from '../util/LogUtils';\nimport { isNumber } from '../util/DataUtils';\nimport { filterProps } from '../util/ReactUtils';\nimport { getCoordinatesOfGrid, getTicksOfAxis } from '../util/ChartUtils';\nimport { getTicks } from './getTicks';\nimport { CartesianAxis } from './CartesianAxis';\nimport { useArbitraryXAxis, useChartHeight, useChartWidth, useOffset, useYAxisWithFiniteDomainOrRandom } from '../context/chartLayoutContext';\n\n/**\n * The <CartesianGrid horizontal\n */\n\nvar Background = function Background(props) {\n var fill = props.fill;\n if (!fill || fill === 'none') {\n return null;\n }\n var fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height;\n return /*#__PURE__*/React.createElement(\"rect\", {\n x: x,\n y: y,\n width: width,\n height: height,\n stroke: \"none\",\n fill: fill,\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n};\nfunction renderLineItem(option, props) {\n var lineItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n // @ts-expect-error typescript does not see the props type when cloning an element\n lineItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n lineItem = option(props);\n } else {\n var x1 = props.x1,\n y1 = props.y1,\n x2 = props.x2,\n y2 = props.y2,\n key = props.key,\n others = _objectWithoutProperties(props, _excluded);\n var _filterProps = filterProps(others, false),\n __ = _filterProps.offset,\n restOfFilteredProps = _objectWithoutProperties(_filterProps, _excluded2);\n lineItem = /*#__PURE__*/React.createElement(\"line\", _extends({}, restOfFilteredProps, {\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n fill: \"none\",\n key: key\n }));\n }\n return lineItem;\n}\nfunction HorizontalGridLines(props) {\n var x = props.x,\n width = props.width,\n _props$horizontal = props.horizontal,\n horizontal = _props$horizontal === void 0 ? true : _props$horizontal,\n horizontalPoints = props.horizontalPoints;\n if (!horizontal || !horizontalPoints || !horizontalPoints.length) {\n return null;\n }\n var items = horizontalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: x,\n y1: entry,\n x2: x + width,\n y2: entry,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(horizontal, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-horizontal\"\n }, items);\n}\nfunction VerticalGridLines(props) {\n var y = props.y,\n height = props.height,\n _props$vertical = props.vertical,\n vertical = _props$vertical === void 0 ? true : _props$vertical,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalPoints || !verticalPoints.length) {\n return null;\n }\n var items = verticalPoints.map(function (entry, i) {\n var lineItemProps = _objectSpread(_objectSpread({}, props), {}, {\n x1: entry,\n y1: y,\n x2: entry,\n y2: y + height,\n key: \"line-\".concat(i),\n index: i\n });\n return renderLineItem(vertical, lineItemProps);\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid-vertical\"\n }, items);\n}\nfunction HorizontalStripes(props) {\n var horizontalFill = props.horizontalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n horizontalPoints = props.horizontalPoints,\n _props$horizontal2 = props.horizontal,\n horizontal = _props$horizontal2 === void 0 ? true : _props$horizontal2;\n if (!horizontal || !horizontalFill || !horizontalFill.length) {\n return null;\n }\n\n // Why =y -y? I was trying to find any difference that this makes, with floating point numbers and edge cases but ... nothing.\n var roundedSortedHorizontalPoints = horizontalPoints.map(function (e) {\n return Math.round(e + y - y);\n }).sort(function (a, b) {\n return a - b;\n });\n // Why is this condition `!==` instead of `<=` ?\n if (y !== roundedSortedHorizontalPoints[0]) {\n roundedSortedHorizontalPoints.unshift(0);\n }\n var items = roundedSortedHorizontalPoints.map(function (entry, i) {\n // Why do we strip only the last stripe if it is invisible, and not all invisible stripes?\n var lastStripe = !roundedSortedHorizontalPoints[i + 1];\n var lineHeight = lastStripe ? y + height - entry : roundedSortedHorizontalPoints[i + 1] - entry;\n if (lineHeight <= 0) {\n return null;\n }\n var colorIndex = i % horizontalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n y: entry,\n x: x,\n height: lineHeight,\n width: width,\n stroke: \"none\",\n fill: horizontalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-horizontal\"\n }, items);\n}\nfunction VerticalStripes(props) {\n var _props$vertical2 = props.vertical,\n vertical = _props$vertical2 === void 0 ? true : _props$vertical2,\n verticalFill = props.verticalFill,\n fillOpacity = props.fillOpacity,\n x = props.x,\n y = props.y,\n width = props.width,\n height = props.height,\n verticalPoints = props.verticalPoints;\n if (!vertical || !verticalFill || !verticalFill.length) {\n return null;\n }\n var roundedSortedVerticalPoints = verticalPoints.map(function (e) {\n return Math.round(e + x - x);\n }).sort(function (a, b) {\n return a - b;\n });\n if (x !== roundedSortedVerticalPoints[0]) {\n roundedSortedVerticalPoints.unshift(0);\n }\n var items = roundedSortedVerticalPoints.map(function (entry, i) {\n var lastStripe = !roundedSortedVerticalPoints[i + 1];\n var lineWidth = lastStripe ? x + width - entry : roundedSortedVerticalPoints[i + 1] - entry;\n if (lineWidth <= 0) {\n return null;\n }\n var colorIndex = i % verticalFill.length;\n return /*#__PURE__*/React.createElement(\"rect\", {\n key: \"react-\".concat(i) // eslint-disable-line react/no-array-index-key\n ,\n x: entry,\n y: y,\n width: lineWidth,\n height: height,\n stroke: \"none\",\n fill: verticalFill[colorIndex],\n fillOpacity: fillOpacity,\n className: \"recharts-cartesian-grid-bg\"\n });\n });\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-gridstripes-vertical\"\n }, items);\n}\nvar defaultVerticalCoordinatesGenerator = function defaultVerticalCoordinatesGenerator(_ref, syncWithTicks) {\n var xAxis = _ref.xAxis,\n width = _ref.width,\n height = _ref.height,\n offset = _ref.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), xAxis), {}, {\n ticks: getTicksOfAxis(xAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.left, offset.left + offset.width, syncWithTicks);\n};\nvar defaultHorizontalCoordinatesGenerator = function defaultHorizontalCoordinatesGenerator(_ref2, syncWithTicks) {\n var yAxis = _ref2.yAxis,\n width = _ref2.width,\n height = _ref2.height,\n offset = _ref2.offset;\n return getCoordinatesOfGrid(getTicks(_objectSpread(_objectSpread(_objectSpread({}, CartesianAxis.defaultProps), yAxis), {}, {\n ticks: getTicksOfAxis(yAxis, true),\n viewBox: {\n x: 0,\n y: 0,\n width: width,\n height: height\n }\n })), offset.top, offset.top + offset.height, syncWithTicks);\n};\nvar defaultProps = {\n horizontal: true,\n vertical: true,\n // The ordinates of horizontal grid lines\n horizontalPoints: [],\n // The abscissas of vertical grid lines\n verticalPoints: [],\n stroke: '#ccc',\n fill: 'none',\n // The fill of colors of grid lines\n verticalFill: [],\n horizontalFill: []\n};\nexport function CartesianGrid(props) {\n var _props$stroke, _props$fill, _props$horizontal3, _props$horizontalFill, _props$vertical3, _props$verticalFill;\n var chartWidth = useChartWidth();\n var chartHeight = useChartHeight();\n var offset = useOffset();\n var propsIncludingDefaults = _objectSpread(_objectSpread({}, props), {}, {\n stroke: (_props$stroke = props.stroke) !== null && _props$stroke !== void 0 ? _props$stroke : defaultProps.stroke,\n fill: (_props$fill = props.fill) !== null && _props$fill !== void 0 ? _props$fill : defaultProps.fill,\n horizontal: (_props$horizontal3 = props.horizontal) !== null && _props$horizontal3 !== void 0 ? _props$horizontal3 : defaultProps.horizontal,\n horizontalFill: (_props$horizontalFill = props.horizontalFill) !== null && _props$horizontalFill !== void 0 ? _props$horizontalFill : defaultProps.horizontalFill,\n vertical: (_props$vertical3 = props.vertical) !== null && _props$vertical3 !== void 0 ? _props$vertical3 : defaultProps.vertical,\n verticalFill: (_props$verticalFill = props.verticalFill) !== null && _props$verticalFill !== void 0 ? _props$verticalFill : defaultProps.verticalFill,\n x: isNumber(props.x) ? props.x : offset.left,\n y: isNumber(props.y) ? props.y : offset.top,\n width: isNumber(props.width) ? props.width : offset.width,\n height: isNumber(props.height) ? props.height : offset.height\n });\n var x = propsIncludingDefaults.x,\n y = propsIncludingDefaults.y,\n width = propsIncludingDefaults.width,\n height = propsIncludingDefaults.height,\n syncWithTicks = propsIncludingDefaults.syncWithTicks,\n horizontalValues = propsIncludingDefaults.horizontalValues,\n verticalValues = propsIncludingDefaults.verticalValues;\n\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var xAxis = useArbitraryXAxis();\n // @ts-expect-error the scale prop is mixed up - we need to untagle this at some point\n var yAxis = useYAxisWithFiniteDomainOrRandom();\n if (!isNumber(width) || width <= 0 || !isNumber(height) || height <= 0 || !isNumber(x) || x !== +x || !isNumber(y) || y !== +y) {\n return null;\n }\n\n /*\n * verticalCoordinatesGenerator and horizontalCoordinatesGenerator are defined\n * outside of the propsIncludingDefaults because they were never part of the original props\n * and they were never passed as a prop down to horizontal/vertical custom elements.\n * If we add these two to propsIncludingDefaults then we are changing public API.\n * Not a bad thing per se but also not necessary.\n */\n var verticalCoordinatesGenerator = propsIncludingDefaults.verticalCoordinatesGenerator || defaultVerticalCoordinatesGenerator;\n var horizontalCoordinatesGenerator = propsIncludingDefaults.horizontalCoordinatesGenerator || defaultHorizontalCoordinatesGenerator;\n var horizontalPoints = propsIncludingDefaults.horizontalPoints,\n verticalPoints = propsIncludingDefaults.verticalPoints;\n\n // No horizontal points are specified\n if ((!horizontalPoints || !horizontalPoints.length) && isFunction(horizontalCoordinatesGenerator)) {\n var isHorizontalValues = horizontalValues && horizontalValues.length;\n var generatorResult = horizontalCoordinatesGenerator({\n yAxis: yAxis ? _objectSpread(_objectSpread({}, yAxis), {}, {\n ticks: isHorizontalValues ? horizontalValues : yAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isHorizontalValues ? true : syncWithTicks);\n warn(Array.isArray(generatorResult), \"horizontalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(generatorResult), \"]\"));\n if (Array.isArray(generatorResult)) {\n horizontalPoints = generatorResult;\n }\n }\n\n // No vertical points are specified\n if ((!verticalPoints || !verticalPoints.length) && isFunction(verticalCoordinatesGenerator)) {\n var isVerticalValues = verticalValues && verticalValues.length;\n var _generatorResult = verticalCoordinatesGenerator({\n xAxis: xAxis ? _objectSpread(_objectSpread({}, xAxis), {}, {\n ticks: isVerticalValues ? verticalValues : xAxis.ticks\n }) : undefined,\n width: chartWidth,\n height: chartHeight,\n offset: offset\n }, isVerticalValues ? true : syncWithTicks);\n warn(Array.isArray(_generatorResult), \"verticalCoordinatesGenerator should return Array but instead it returned [\".concat(_typeof(_generatorResult), \"]\"));\n if (Array.isArray(_generatorResult)) {\n verticalPoints = _generatorResult;\n }\n }\n return /*#__PURE__*/React.createElement(\"g\", {\n className: \"recharts-cartesian-grid\"\n }, /*#__PURE__*/React.createElement(Background, {\n fill: propsIncludingDefaults.fill,\n fillOpacity: propsIncludingDefaults.fillOpacity,\n x: propsIncludingDefaults.x,\n y: propsIncludingDefaults.y,\n width: propsIncludingDefaults.width,\n height: propsIncludingDefaults.height\n }), /*#__PURE__*/React.createElement(HorizontalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n horizontalPoints: horizontalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(VerticalGridLines, _extends({}, propsIncludingDefaults, {\n offset: offset,\n verticalPoints: verticalPoints,\n xAxis: xAxis,\n yAxis: yAxis\n })), /*#__PURE__*/React.createElement(HorizontalStripes, _extends({}, propsIncludingDefaults, {\n horizontalPoints: horizontalPoints\n })), /*#__PURE__*/React.createElement(VerticalStripes, _extends({}, propsIncludingDefaults, {\n verticalPoints: verticalPoints\n })));\n}\nCartesianGrid.displayName = 'CartesianGrid';"],"names":["_excluded","_excluded2","_typeof","o","Symbol","iterator","constructor","prototype","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","key","value","i","toPrimitive","call","TypeError","String","Number","_toPrimitive","configurable","writable","_extends","assign","bind","target","source","hasOwnProperty","this","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","Background","props","fill","fillOpacity","x","y","width","height","React","createElement","stroke","className","renderLineItem","option","lineItem","isValidElement","cloneElement","isFunction","x1","y1","x2","y2","others","_filterProps","filterProps","offset","restOfFilteredProps","HorizontalGridLines","_props$horizontal","horizontal","horizontalPoints","items","map","entry","lineItemProps","concat","index","VerticalGridLines","_props$vertical","vertical","verticalPoints","HorizontalStripes","horizontalFill","_props$horizontal2","roundedSortedHorizontalPoints","Math","round","sort","a","b","unshift","lineHeight","colorIndex","VerticalStripes","_props$vertical2","verticalFill","roundedSortedVerticalPoints","lineWidth","defaultVerticalCoordinatesGenerator","_ref","syncWithTicks","xAxis","getCoordinatesOfGrid","getTicks","CartesianAxis","defaultProps","ticks","getTicksOfAxis","viewBox","left","defaultHorizontalCoordinatesGenerator","_ref2","yAxis","top","CartesianGrid","_props$stroke","_props$fill","_props$horizontal3","_props$horizontalFill","_props$vertical3","_props$verticalFill","chartWidth","useChartWidth","chartHeight","useChartHeight","useOffset","propsIncludingDefaults","isNumber","horizontalValues","verticalValues","useArbitraryXAxis","useYAxisWithFiniteDomainOrRandom","verticalCoordinatesGenerator","horizontalCoordinatesGenerator","isHorizontalValues","generatorResult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BnF,YACpCC,EAAGkF,EAAuBlF,EAC1BC,EAAGiF,EAAuBjF,EAC1BC,MAAOgF,EAAuBhF,MAC9BC,OAAQ+E,EAAuB/E,SAChBC,EAAMC,cAAckB,EAAqBzC,EAAS,CAAE,EAAEoG,EAAwB,CAC7F7D,OAAQA,EACRK,iBAAkBA,EAClB+B,MAAOA,EACPW,MAAOA,KACShE,EAAMC,cAAc4B,EAAmBnD,EAAS,CAAE,EAAEoG,EAAwB,CAC5F7D,OAAQA,EACRe,eAAgBA,EAChBqB,MAAOA,EACPW,MAAOA,KACShE,EAAMC,cAAcgC,EAAmBvD,EAAS,CAAE,EAAEoG,EAAwB,CAC5FxD,iBAAkBA,KACFtB,EAAMC,cAAc4C,EAAiBnE,EAAS,CAAE,EAAEoG,EAAwB,CAC1F9C,eAAgBA,KAEpB,CACAkC,EAAc4B,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import r from"react";import t from"../../../tiny-invariant/dist/esm/tiny-invariant.js";import{Layer as e}from"../container/Layer.js";import{filterProps as n}from"../util/ReactUtils.js";var a=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function o(){return o=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r},o.apply(this,arguments)}function i(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=e){var n,a,o,i,c=[],l=!0,u=!1;try{if(o=(e=e.call(r)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(n=o.call(e)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(r){u=!0,a=r}finally{try{if(!l&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(u)throw a}}return c}}(r,t)||function(r,t){if(!r)return;if("string"==typeof r)return c(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(r,t)}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}function l(r,t){if(null==r)return{};var e,n,a=function(r,t){if(null==r)return{};var e,n,a={},o=Object.keys(r);for(n=0;n<o.length;n++)e=o[n],t.indexOf(e)>=0||(a[e]=r[e]);return a}(r,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(n=0;n<o.length;n++)e=o[n],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(a[e]=r[e])}return a}function u(c){var u=c.offset,s=c.layout,y=c.width,f=c.dataKey,p=c.data,m=c.dataPointFormatter,x=c.xAxis,h=c.yAxis,b=l(c,a),d=n(b,!1);"x"===c.direction&&"number"!==x.type&&("production"!==process.env.NODE_ENV?t(!1,'ErrorBar requires Axis type property to be "number".'):t(!1));var v=p.map((function(t){var n=m(t,f),a=n.x,c=n.y,l=n.value,p=n.errorVal;if(!p)return null;var b,v,O=[];if(Array.isArray(p)){var j=i(p,2);b=j[0],v=j[1]}else b=v=p;if("vertical"===s){var g=x.scale,A=c+u,w=A+y,E=A-y,S=g(l-b),k=g(l+v);O.push({x1:k,y1:w,x2:k,y2:E}),O.push({x1:S,y1:A,x2:k,y2:A}),O.push({x1:S,y1:w,x2:S,y2:E})}else if("horizontal"===s){var P=h.scale,N=a+u,B=N-y,I=N+y,z=P(l-b),F=P(l+v);O.push({x1:B,y1:F,x2:I,y2:F}),O.push({x1:N,y1:z,x2:N,y2:F}),O.push({x1:B,y1:z,x2:I,y2:z})}return r.createElement(e,o({className:"recharts-errorBar",key:"bar-".concat(O.map((function(r){return"".concat(r.x1,"-").concat(r.x2,"-").concat(r.y1,"-").concat(r.y2)})))},d),O.map((function(t){return r.createElement("line",o({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return r.createElement(e,{className:"recharts-errorBars"},v)}u.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},u.displayName="ErrorBar";export{u as ErrorBar};
2
- //# sourceMappingURL=ErrorBar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorBar.js","sources":["../../../../../node_modules/recharts/es6/cartesian/ErrorBar.js"],"sourcesContent":["var _excluded = [\"offset\", \"layout\", \"width\", \"dataKey\", \"data\", \"dataPointFormatter\", \"xAxis\", \"yAxis\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/**\n * @fileOverview Render a group of error bar\n */\nimport React from 'react';\nimport invariant from 'tiny-invariant';\nimport { Layer } from '../container/Layer';\nimport { filterProps } from '../util/ReactUtils';\nexport function ErrorBar(props) {\n var offset = props.offset,\n layout = props.layout,\n width = props.width,\n dataKey = props.dataKey,\n data = props.data,\n dataPointFormatter = props.dataPointFormatter,\n xAxis = props.xAxis,\n yAxis = props.yAxis,\n others = _objectWithoutProperties(props, _excluded);\n var svgProps = filterProps(others, false);\n !!(props.direction === 'x' && xAxis.type !== 'number') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'ErrorBar requires Axis type property to be \"number\".') : invariant(false) : void 0;\n var errorBars = data.map(function (entry) {\n var _dataPointFormatter = dataPointFormatter(entry, dataKey),\n x = _dataPointFormatter.x,\n y = _dataPointFormatter.y,\n value = _dataPointFormatter.value,\n errorVal = _dataPointFormatter.errorVal;\n if (!errorVal) {\n return null;\n }\n var lineCoordinates = [];\n var lowBound, highBound;\n if (Array.isArray(errorVal)) {\n var _errorVal = _slicedToArray(errorVal, 2);\n lowBound = _errorVal[0];\n highBound = _errorVal[1];\n } else {\n lowBound = highBound = errorVal;\n }\n if (layout === 'vertical') {\n // error bar for horizontal charts, the y is fixed, x is a range value\n var scale = xAxis.scale;\n var yMid = y + offset;\n var yMin = yMid + width;\n var yMax = yMid - width;\n var xMin = scale(value - lowBound);\n var xMax = scale(value + highBound);\n\n // the right line of |--|\n lineCoordinates.push({\n x1: xMax,\n y1: yMin,\n x2: xMax,\n y2: yMax\n });\n // the middle line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMid,\n x2: xMax,\n y2: yMid\n });\n // the left line of |--|\n lineCoordinates.push({\n x1: xMin,\n y1: yMin,\n x2: xMin,\n y2: yMax\n });\n } else if (layout === 'horizontal') {\n // error bar for horizontal charts, the x is fixed, y is a range value\n var _scale = yAxis.scale;\n var xMid = x + offset;\n var _xMin = xMid - width;\n var _xMax = xMid + width;\n var _yMin = _scale(value - lowBound);\n var _yMax = _scale(value + highBound);\n\n // the top line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMax,\n x2: _xMax,\n y2: _yMax\n });\n // the middle line\n lineCoordinates.push({\n x1: xMid,\n y1: _yMin,\n x2: xMid,\n y2: _yMax\n });\n // the bottom line\n lineCoordinates.push({\n x1: _xMin,\n y1: _yMin,\n x2: _xMax,\n y2: _yMin\n });\n }\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-errorBar\",\n key: \"bar-\".concat(lineCoordinates.map(function (c) {\n return \"\".concat(c.x1, \"-\").concat(c.x2, \"-\").concat(c.y1, \"-\").concat(c.y2);\n }))\n }, svgProps), lineCoordinates.map(function (coordinates) {\n return /*#__PURE__*/React.createElement(\"line\", _extends({}, coordinates, {\n key: \"line-\".concat(coordinates.x1, \"-\").concat(coordinates.x2, \"-\").concat(coordinates.y1, \"-\").concat(coordinates.y2)\n }));\n }));\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: \"recharts-errorBars\"\n }, errorBars);\n}\nErrorBar.defaultProps = {\n stroke: 'black',\n strokeWidth: 1.5,\n width: 5,\n offset: 0,\n layout: 'horizontal'\n};\nErrorBar.displayName = 'ErrorBar';"],"names":["_excluded","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_slicedToArray","arr","Array","isArray","_arrayWithHoles","r","l","t","Symbol","iterator","e","n","u","a","f","o","next","done","push","value","_iterableToArrayLimit","minLen","_arrayLikeToArray","toString","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","ErrorBar","props","offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis","others","svgProps","filterProps","direction","type","process","env","NODE_ENV","invariant","errorBars","map","entry","_dataPointFormatter","x","y","errorVal","lowBound","highBound","lineCoordinates","_errorVal","scale","yMid","yMin","yMax","xMin","xMax","x1","y1","x2","y2","_scale","xMid","_xMin","_xMax","_yMin","_yMax","React","createElement","Layer","className","concat","c","coordinates","defaultProps","stroke","strokeWidth","displayName"],"mappings":"yLAAA,IAAIA,EAAY,CAAC,SAAU,SAAU,QAAS,UAAW,OAAQ,qBAAsB,QAAS,SAChG,SAASC,IAAiS,OAApRA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcP,OAAOS,UAAUC,eAAeC,KAAKJ,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL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BrD,KAAK,CACnB6D,GAAIK,EACJJ,GAAIO,EACJN,GAAIG,EACJF,GAAIM,IAGNjB,EAAgBrD,KAAK,CACnB6D,GAAIM,EACJL,GAAIO,EACJN,GAAIK,EACJJ,GAAIK,GAEP,CACD,OAAoBE,EAAMC,cAAcC,EAAO1G,EAAS,CACtD2G,UAAW,oBACXlG,IAAK,OAAOmG,OAAOtB,EAAgBR,KAAI,SAAU+B,GAC/C,MAAO,GAAGD,OAAOC,EAAEf,GAAI,KAAKc,OAAOC,EAAEb,GAAI,KAAKY,OAAOC,EAAEd,GAAI,KAAKa,OAAOC,EAAEZ,GACjF,MACO5B,GAAWiB,EAAgBR,KAAI,SAAUgC,GAC1C,OAAoBN,EAAMC,cAAc,OAAQzG,EAAS,CAAA,EAAI8G,EAAa,CACxErG,IAAK,QAAQmG,OAAOE,EAAYhB,GAAI,KAAKc,OAAOE,EAAYd,GAAI,KAAKY,OAAOE,EAAYf,GAAI,KAAKa,OAAOE,EAAYb,MAEvH,IACL,IACE,OAAoBO,EAAMC,cAAcC,EAAO,CAC7CC,UAAW,sBACV9B,EACL,CACAnB,EAASqD,aAAe,CACtBC,OAAQ,QACRC,YAAa,IACbnD,MAAO,EACPF,OAAQ,EACRC,OAAQ,cAEVH,EAASwD,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import t,{PureComponent as e}from"react";import r from"../../../react-smooth/es6/Animate.js";import"../../../react-smooth/es6/util.js";import"../../../react-smooth/es6/AnimateGroup.js";import n from"../../../lodash/isFunction.js";import i from"../../../lodash/isNil.js";import o from"../../../lodash/isEqual.js";import{clsx as a}from"../../../clsx/dist/clsx.js";import{Curve as l}from"../shape/Curve.js";import{Dot as s}from"../shape/Dot.js";import{Layer as c}from"../container/Layer.js";import{LabelList as u}from"../component/LabelList.js";import{ErrorBar as p}from"./ErrorBar.js";import{uniqueId as f,interpolateNumber as m}from"../util/DataUtils.js";import{findAllByType as y,filterProps as h,isDotProps as d}from"../util/ReactUtils.js";import{Global as v}from"../util/Global.js";import{getValueByDataKey as b,getCateCoordinateOfLine as g}from"../util/ChartUtils.js";var A=["type","layout","connectNulls","ref"];function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function O(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function x(){return x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},x.apply(this,arguments)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){T(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function w(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return k(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,F(n.key),n)}}function D(t,e,r){return e=L(e),function(t,e){if(e&&("object"===j(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return N(t)}(t,C()?Reflect.construct(e,r||[],L(t).constructor):e.apply(t,r))}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(C=function(){return!!t})()}function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}function N(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}function T(t,e,r){return(e=F(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:String(e)}var B=function(v){function g(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,g);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return T(N(t=D(this,g,[].concat(r))),"state",{isAnimationFinished:!0,totalLength:0}),T(N(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),T(N(t),"getStrokeDasharray",(function(e,r,n){var i=n.reduce((function(t,e){return t+e}));if(!i)return t.generateSimpleStrokeDasharray(r,e);for(var o=Math.floor(e/i),a=e%i,l=r-e,s=[],c=0,u=0;c<n.length;u+=n[c],++c)if(u+n[c]>a){s=[].concat(w(n.slice(0,c)),[a-u]);break}var p=s.length%2==0?[0,l]:[l];return[].concat(w(g.repeat(n,o)),w(s),p).map((function(t){return"".concat(t,"px")})).join(", ")})),T(N(t),"id",f("recharts-line-")),T(N(t),"pathRef",(function(e){t.mainCurve=e})),T(N(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),T(N(t),"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}var j,S,k;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(g,e),j=g,k=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(w(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(w(n),w(r));return n}},{key:"renderDotItem",value:function(e,r){var i;if(t.isValidElement(e))i=t.cloneElement(e,r);else if(n(e))i=e(r);else{var o=a("recharts-line-dot",e?e.className:"");i=t.createElement(s,x({},r,{className:o}))}return i}}],(S=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(e,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.points,o=n.xAxis,a=n.yAxis,l=n.layout,s=n.children,u=y(s,p);if(!u)return null;var f=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:b(t.payload,e)}},m={clipPath:e?"url(#clipPath-".concat(r,")"):null};return t.createElement(c,m,u.map((function(e){return t.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:i,xAxis:o,yAxis:a,layout:l,dataPointFormatter:f})})))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,l=i.dataKey,s=h(this.props,!1),u=h(o,!0),p=a.map((function(t,e){var r=P(P(P({key:"dot-".concat(e),r:3},s),u),{},{value:t.value,dataKey:l,cx:t.x,cy:t.y,index:e,payload:t.payload});return g.renderDotItem(o,r)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return t.createElement(c,x({className:"recharts-line-dots",key:"dots"},f),p)}},{key:"renderCurveStatically",value:function(e,r,n,i){var o=this.props,a=o.type,s=o.layout,c=o.connectNulls;o.ref;var u=O(o,A),p=P(P(P({},h(u,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:r?"url(#clipPath-".concat(n,")"):null,points:e},i),{},{type:a,layout:s,connectNulls:c});return t.createElement(l,x({},p,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,n){var i=this,o=this.props,a=o.points,l=o.strokeDasharray,s=o.isAnimationActive,c=o.animationBegin,u=o.animationDuration,p=o.animationEasing,f=o.animationId,y=o.animateNewValues,h=o.width,d=o.height,v=this.state,b=v.prevPoints,g=v.totalLength;return t.createElement(r,{begin:c,duration:u,isActive:s,easing:p,from:{t:0},to:{t:1},key:"line-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var r=t.t;if(b){var o=b.length/a.length,s=a.map((function(t,e){var n=Math.floor(e*o);if(b[n]){var i=b[n],a=m(i.x,t.x),l=m(i.y,t.y);return P(P({},t),{},{x:a(r),y:l(r)})}if(y){var s=m(2*h,t.x),c=m(d/2,t.y);return P(P({},t),{},{x:s(r),y:c(r)})}return P(P({},t),{},{x:t.x,y:t.y})}));return i.renderCurveStatically(s,e,n)}var c,u=m(0,g)(r);if(l){var p="".concat(l).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));c=i.getStrokeDasharray(u,g,p)}else c=i.generateSimpleStrokeDasharray(g,u);return i.renderCurveStatically(a,e,n,{strokeDasharray:c})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,i=r.isAnimationActive,a=this.state,l=a.prevPoints,s=a.totalLength;return i&&n&&n.length&&(!l&&s>0||!o(l,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var e,r=this.props,n=r.hide,o=r.dot,l=r.points,s=r.className,p=r.xAxis,f=r.yAxis,m=r.top,y=r.left,v=r.width,b=r.height,g=r.isAnimationActive,A=r.id;if(n||!l||!l.length)return null;var j=this.state.isAnimationFinished,O=1===l.length,x=a("recharts-line",s),S=p&&p.allowDataOverflow,P=f&&f.allowDataOverflow,w=S||P,k=i(A)?this.id:A,E=null!==(e=h(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},D=E.r,C=void 0===D?3:D,L=E.strokeWidth,N=void 0===L?2:L,I=(d(o)?o:{}).clipDot,T=void 0===I||I,F=2*C+N;return t.createElement(c,{className:x},S||P?t.createElement("defs",null,t.createElement("clipPath",{id:"clipPath-".concat(k)},t.createElement("rect",{x:S?y:y-v/2,y:P?m:m-b/2,width:S?v:2*v,height:P?b:2*b})),!T&&t.createElement("clipPath",{id:"clipPath-dots-".concat(k)},t.createElement("rect",{x:y-F/2,y:m-F/2,width:v+F,height:b+F}))):null,!O&&this.renderCurve(w,k),this.renderErrorBar(w,k),(O||o)&&this.renderDots(w,T,k),(!g||j)&&u.renderCallByParent(this.props,l))}}])&&E(j.prototype,S),k&&E(j,k),Object.defineProperty(j,"prototype",{writable:!1}),g}();T(B,"displayName","Line"),T(B,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!v.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),T(B,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,l=t.dataKey,s=t.bandSize,c=t.displayedData,u=t.offset,p=e.layout;return P({points:c.map((function(t,e){var c=b(t,l);return"horizontal"===p?{x:g({axis:r,ticks:o,bandSize:s,entry:t,index:e}),y:i(c)?null:n.scale(c),value:c,payload:t}:{x:i(c)?null:r.scale(c),y:g({axis:n,ticks:a,bandSize:s,entry:t,index:e}),value:c,payload:t}})),layout:p},u)}));export{B as Line};
2
- //# sourceMappingURL=Line.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Line.js","sources":["../../../../../node_modules/recharts/es6/cartesian/Line.js"],"sourcesContent":["var _excluded = [\"type\", \"layout\", \"connectNulls\", \"ref\"];\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Line\n */\nimport React, { PureComponent } from 'react';\nimport Animate from 'react-smooth';\nimport isFunction from 'lodash/isFunction';\nimport isNil from 'lodash/isNil';\nimport isEqual from 'lodash/isEqual';\nimport clsx from 'clsx';\nimport { Curve } from '../shape/Curve';\nimport { Dot } from '../shape/Dot';\nimport { Layer } from '../container/Layer';\nimport { LabelList } from '../component/LabelList';\nimport { ErrorBar } from './ErrorBar';\nimport { uniqueId, interpolateNumber } from '../util/DataUtils';\nimport { findAllByType, filterProps, isDotProps } from '../util/ReactUtils';\nimport { Global } from '../util/Global';\nimport { getCateCoordinateOfLine, getValueByDataKey } from '../util/ChartUtils';\nexport var Line = /*#__PURE__*/function (_PureComponent) {\n _inherits(Line, _PureComponent);\n function Line() {\n var _this;\n _classCallCheck(this, Line);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _callSuper(this, Line, [].concat(args));\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n isAnimationFinished: true,\n totalLength: 0\n });\n _defineProperty(_assertThisInitialized(_this), \"generateSimpleStrokeDasharray\", function (totalLength, length) {\n return \"\".concat(length, \"px \").concat(totalLength - length, \"px\");\n });\n _defineProperty(_assertThisInitialized(_this), \"getStrokeDasharray\", function (length, totalLength, lines) {\n var lineLength = lines.reduce(function (pre, next) {\n return pre + next;\n });\n\n // if lineLength is 0 return the default when no strokeDasharray is provided\n if (!lineLength) {\n return _this.generateSimpleStrokeDasharray(totalLength, length);\n }\n var count = Math.floor(length / lineLength);\n var remainLength = length % lineLength;\n var restLength = totalLength - length;\n var remainLines = [];\n for (var i = 0, sum = 0; i < lines.length; sum += lines[i], ++i) {\n if (sum + lines[i] > remainLength) {\n remainLines = [].concat(_toConsumableArray(lines.slice(0, i)), [remainLength - sum]);\n break;\n }\n }\n var emptyLines = remainLines.length % 2 === 0 ? [0, restLength] : [restLength];\n return [].concat(_toConsumableArray(Line.repeat(lines, count)), _toConsumableArray(remainLines), emptyLines).map(function (line) {\n return \"\".concat(line, \"px\");\n }).join(', ');\n });\n _defineProperty(_assertThisInitialized(_this), \"id\", uniqueId('recharts-line-'));\n _defineProperty(_assertThisInitialized(_this), \"pathRef\", function (node) {\n _this.mainCurve = node;\n });\n _defineProperty(_assertThisInitialized(_this), \"handleAnimationEnd\", function () {\n _this.setState({\n isAnimationFinished: true\n });\n if (_this.props.onAnimationEnd) {\n _this.props.onAnimationEnd();\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"handleAnimationStart\", function () {\n _this.setState({\n isAnimationFinished: false\n });\n if (_this.props.onAnimationStart) {\n _this.props.onAnimationStart();\n }\n });\n return _this;\n }\n _createClass(Line, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n this.setState({\n totalLength: totalLength\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n if (!this.props.isAnimationActive) {\n return;\n }\n var totalLength = this.getTotalLength();\n if (totalLength !== this.state.totalLength) {\n this.setState({\n totalLength: totalLength\n });\n }\n }\n }, {\n key: \"getTotalLength\",\n value: function getTotalLength() {\n var curveDom = this.mainCurve;\n try {\n return curveDom && curveDom.getTotalLength && curveDom.getTotalLength() || 0;\n } catch (err) {\n return 0;\n }\n }\n }, {\n key: \"renderErrorBar\",\n value: function renderErrorBar(needClip, clipPathId) {\n if (this.props.isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props = this.props,\n points = _this$props.points,\n xAxis = _this$props.xAxis,\n yAxis = _this$props.yAxis,\n layout = _this$props.layout,\n children = _this$props.children;\n var errorBarItems = findAllByType(children, ErrorBar);\n if (!errorBarItems) {\n return null;\n }\n var dataPointFormatter = function dataPointFormatter(dataPoint, dataKey) {\n return {\n x: dataPoint.x,\n y: dataPoint.y,\n value: dataPoint.value,\n errorVal: getValueByDataKey(dataPoint.payload, dataKey)\n };\n };\n var errorBarProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, errorBarProps, errorBarItems.map(function (item) {\n return /*#__PURE__*/React.cloneElement(item, {\n key: \"bar-\".concat(item.props.dataKey),\n data: points,\n xAxis: xAxis,\n yAxis: yAxis,\n layout: layout,\n dataPointFormatter: dataPointFormatter\n });\n }));\n }\n }, {\n key: \"renderDots\",\n value: function renderDots(needClip, clipDot, clipPathId) {\n var isAnimationActive = this.props.isAnimationActive;\n if (isAnimationActive && !this.state.isAnimationFinished) {\n return null;\n }\n var _this$props2 = this.props,\n dot = _this$props2.dot,\n points = _this$props2.points,\n dataKey = _this$props2.dataKey;\n var lineProps = filterProps(this.props, false);\n var customDotProps = filterProps(dot, true);\n var dots = points.map(function (entry, i) {\n var dotProps = _objectSpread(_objectSpread(_objectSpread({\n key: \"dot-\".concat(i),\n r: 3\n }, lineProps), customDotProps), {}, {\n value: entry.value,\n dataKey: dataKey,\n cx: entry.x,\n cy: entry.y,\n index: i,\n payload: entry.payload\n });\n return Line.renderDotItem(dot, dotProps);\n });\n var dotsProps = {\n clipPath: needClip ? \"url(#clipPath-\".concat(clipDot ? '' : 'dots-').concat(clipPathId, \")\") : null\n };\n return /*#__PURE__*/React.createElement(Layer, _extends({\n className: \"recharts-line-dots\",\n key: \"dots\"\n }, dotsProps), dots);\n }\n }, {\n key: \"renderCurveStatically\",\n value: function renderCurveStatically(points, needClip, clipPathId, props) {\n var _this$props3 = this.props,\n type = _this$props3.type,\n layout = _this$props3.layout,\n connectNulls = _this$props3.connectNulls,\n ref = _this$props3.ref,\n others = _objectWithoutProperties(_this$props3, _excluded);\n var curveProps = _objectSpread(_objectSpread(_objectSpread({}, filterProps(others, true)), {}, {\n fill: 'none',\n className: 'recharts-line-curve',\n clipPath: needClip ? \"url(#clipPath-\".concat(clipPathId, \")\") : null,\n points: points\n }, props), {}, {\n type: type,\n layout: layout,\n connectNulls: connectNulls\n });\n return /*#__PURE__*/React.createElement(Curve, _extends({}, curveProps, {\n pathRef: this.pathRef\n }));\n }\n }, {\n key: \"renderCurveWithAnimation\",\n value: function renderCurveWithAnimation(needClip, clipPathId) {\n var _this2 = this;\n var _this$props4 = this.props,\n points = _this$props4.points,\n strokeDasharray = _this$props4.strokeDasharray,\n isAnimationActive = _this$props4.isAnimationActive,\n animationBegin = _this$props4.animationBegin,\n animationDuration = _this$props4.animationDuration,\n animationEasing = _this$props4.animationEasing,\n animationId = _this$props4.animationId,\n animateNewValues = _this$props4.animateNewValues,\n width = _this$props4.width,\n height = _this$props4.height;\n var _this$state = this.state,\n prevPoints = _this$state.prevPoints,\n totalLength = _this$state.totalLength;\n return /*#__PURE__*/React.createElement(Animate, {\n begin: animationBegin,\n duration: animationDuration,\n isActive: isAnimationActive,\n easing: animationEasing,\n from: {\n t: 0\n },\n to: {\n t: 1\n },\n key: \"line-\".concat(animationId),\n onAnimationEnd: this.handleAnimationEnd,\n onAnimationStart: this.handleAnimationStart\n }, function (_ref) {\n var t = _ref.t;\n if (prevPoints) {\n var prevPointsDiffFactor = prevPoints.length / points.length;\n var stepData = points.map(function (entry, index) {\n var prevPointIndex = Math.floor(index * prevPointsDiffFactor);\n if (prevPoints[prevPointIndex]) {\n var prev = prevPoints[prevPointIndex];\n var interpolatorX = interpolateNumber(prev.x, entry.x);\n var interpolatorY = interpolateNumber(prev.y, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: interpolatorX(t),\n y: interpolatorY(t)\n });\n }\n\n // magic number of faking previous x and y location\n if (animateNewValues) {\n var _interpolatorX = interpolateNumber(width * 2, entry.x);\n var _interpolatorY = interpolateNumber(height / 2, entry.y);\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: _interpolatorX(t),\n y: _interpolatorY(t)\n });\n }\n return _objectSpread(_objectSpread({}, entry), {}, {\n x: entry.x,\n y: entry.y\n });\n });\n return _this2.renderCurveStatically(stepData, needClip, clipPathId);\n }\n var interpolator = interpolateNumber(0, totalLength);\n var curLength = interpolator(t);\n var currentStrokeDasharray;\n if (strokeDasharray) {\n var lines = \"\".concat(strokeDasharray).split(/[,\\s]+/gim).map(function (num) {\n return parseFloat(num);\n });\n currentStrokeDasharray = _this2.getStrokeDasharray(curLength, totalLength, lines);\n } else {\n currentStrokeDasharray = _this2.generateSimpleStrokeDasharray(totalLength, curLength);\n }\n return _this2.renderCurveStatically(points, needClip, clipPathId, {\n strokeDasharray: currentStrokeDasharray\n });\n });\n }\n }, {\n key: \"renderCurve\",\n value: function renderCurve(needClip, clipPathId) {\n var _this$props5 = this.props,\n points = _this$props5.points,\n isAnimationActive = _this$props5.isAnimationActive;\n var _this$state2 = this.state,\n prevPoints = _this$state2.prevPoints,\n totalLength = _this$state2.totalLength;\n if (isAnimationActive && points && points.length && (!prevPoints && totalLength > 0 || !isEqual(prevPoints, points))) {\n return this.renderCurveWithAnimation(needClip, clipPathId);\n }\n return this.renderCurveStatically(points, needClip, clipPathId);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _filterProps;\n var _this$props6 = this.props,\n hide = _this$props6.hide,\n dot = _this$props6.dot,\n points = _this$props6.points,\n className = _this$props6.className,\n xAxis = _this$props6.xAxis,\n yAxis = _this$props6.yAxis,\n top = _this$props6.top,\n left = _this$props6.left,\n width = _this$props6.width,\n height = _this$props6.height,\n isAnimationActive = _this$props6.isAnimationActive,\n id = _this$props6.id;\n if (hide || !points || !points.length) {\n return null;\n }\n var isAnimationFinished = this.state.isAnimationFinished;\n var hasSinglePoint = points.length === 1;\n var layerClass = clsx('recharts-line', className);\n var needClipX = xAxis && xAxis.allowDataOverflow;\n var needClipY = yAxis && yAxis.allowDataOverflow;\n var needClip = needClipX || needClipY;\n var clipPathId = isNil(id) ? this.id : id;\n var _ref2 = (_filterProps = filterProps(dot, false)) !== null && _filterProps !== void 0 ? _filterProps : {\n r: 3,\n strokeWidth: 2\n },\n _ref2$r = _ref2.r,\n r = _ref2$r === void 0 ? 3 : _ref2$r,\n _ref2$strokeWidth = _ref2.strokeWidth,\n strokeWidth = _ref2$strokeWidth === void 0 ? 2 : _ref2$strokeWidth;\n var _ref3 = isDotProps(dot) ? dot : {},\n _ref3$clipDot = _ref3.clipDot,\n clipDot = _ref3$clipDot === void 0 ? true : _ref3$clipDot;\n var dotSize = r * 2 + strokeWidth;\n return /*#__PURE__*/React.createElement(Layer, {\n className: layerClass\n }, needClipX || needClipY ? /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: needClipX ? left : left - width / 2,\n y: needClipY ? top : top - height / 2,\n width: needClipX ? width : width * 2,\n height: needClipY ? height : height * 2\n })), !clipDot && /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clipPath-dots-\".concat(clipPathId)\n }, /*#__PURE__*/React.createElement(\"rect\", {\n x: left - dotSize / 2,\n y: top - dotSize / 2,\n width: width + dotSize,\n height: height + dotSize\n }))) : null, !hasSinglePoint && this.renderCurve(needClip, clipPathId), this.renderErrorBar(needClip, clipPathId), (hasSinglePoint || dot) && this.renderDots(needClip, clipDot, clipPathId), (!isAnimationActive || isAnimationFinished) && LabelList.renderCallByParent(this.props, points));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (nextProps.animationId !== prevState.prevAnimationId) {\n return {\n prevAnimationId: nextProps.animationId,\n curPoints: nextProps.points,\n prevPoints: prevState.curPoints\n };\n }\n if (nextProps.points !== prevState.curPoints) {\n return {\n curPoints: nextProps.points\n };\n }\n return null;\n }\n }, {\n key: \"repeat\",\n value: function repeat(lines, count) {\n var linesUnit = lines.length % 2 !== 0 ? [].concat(_toConsumableArray(lines), [0]) : lines;\n var result = [];\n for (var i = 0; i < count; ++i) {\n result = [].concat(_toConsumableArray(result), _toConsumableArray(linesUnit));\n }\n return result;\n }\n }, {\n key: \"renderDotItem\",\n value: function renderDotItem(option, props) {\n var dotItem;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dotItem = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dotItem = option(props);\n } else {\n var className = clsx('recharts-line-dot', option ? option.className : '');\n dotItem = /*#__PURE__*/React.createElement(Dot, _extends({}, props, {\n className: className\n }));\n }\n return dotItem;\n }\n }]);\n return Line;\n}(PureComponent);\n_defineProperty(Line, \"displayName\", 'Line');\n_defineProperty(Line, \"defaultProps\", {\n xAxisId: 0,\n yAxisId: 0,\n connectNulls: false,\n activeDot: true,\n dot: true,\n legendType: 'line',\n stroke: '#3182bd',\n strokeWidth: 1,\n fill: '#fff',\n points: [],\n isAnimationActive: !Global.isSsr,\n animateNewValues: true,\n animationBegin: 0,\n animationDuration: 1500,\n animationEasing: 'ease',\n hide: false,\n label: false\n});\n/**\n * Compose the data of each group\n * @param {Object} props The props from the component\n * @param {Object} xAxis The configuration of x-axis\n * @param {Object} yAxis The configuration of y-axis\n * @param {String} dataKey The unique key of a group\n * @return {Array} Composed data\n */\n_defineProperty(Line, \"getComposedData\", function (_ref4) {\n var props = _ref4.props,\n xAxis = _ref4.xAxis,\n yAxis = _ref4.yAxis,\n xAxisTicks = _ref4.xAxisTicks,\n yAxisTicks = _ref4.yAxisTicks,\n dataKey = _ref4.dataKey,\n bandSize = _ref4.bandSize,\n displayedData = _ref4.displayedData,\n offset = _ref4.offset;\n var layout = props.layout;\n var points = displayedData.map(function (entry, index) {\n var value = getValueByDataKey(entry, dataKey);\n if (layout === 'horizontal') {\n return {\n x: getCateCoordinateOfLine({\n axis: xAxis,\n ticks: xAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n y: isNil(value) ? null : yAxis.scale(value),\n value: value,\n payload: entry\n };\n }\n return {\n x: isNil(value) ? null : xAxis.scale(value),\n y: getCateCoordinateOfLine({\n axis: yAxis,\n ticks: yAxisTicks,\n bandSize: bandSize,\n entry: entry,\n index: index\n }),\n value: value,\n payload: entry\n };\n });\n return _objectSpread({\n points: points,\n layout: layout\n }, offset);\n});"],"names":["_excluded","_typeof","o","Symbol","iterator","constructor","prototype","_objectWithoutProperties","source","excluded","key","i","target","sourceKeys","Object","keys","length","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","call","_extends","assign","bind","arguments","hasOwnProperty","apply","this","ownKeys","e","r","t","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","from","_iterableToArray","minLen","n","toString","slice","name","test","_unsupportedIterableToArray","TypeError","_nonIterableSpread","len","arr2","_defineProperties","props","descriptor","configurable","writable","_toPropertyKey","_callSuper","_getPrototypeOf","self","_assertThisInitialized","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","Boolean","valueOf","setPrototypeOf","getPrototypeOf","__proto__","ReferenceError","_setPrototypeOf","p","obj","value","toPrimitive","String","Number","_toPrimitive","Line","_PureComponent","_this","instance","Constructor","_classCallCheck","_len","args","_key","concat","isAnimationFinished","totalLength","lines","lineLength","reduce","pre","next","generateSimpleStrokeDasharray","count","Math","floor","remainLength","restLength","remainLines","sum","emptyLines","repeat","map","line","join","uniqueId","node","mainCurve","setState","onAnimationEnd","onAnimationStart","protoProps","staticProps","subClass","superClass","create","_inherits","PureComponent","nextProps","prevState","animationId","prevAnimationId","curPoints","points","prevPoints","linesUnit","result","option","dotItem","React","isValidElement","cloneElement","isFunction","className","clsx","createElement","Dot","isAnimationActive","getTotalLength","state","curveDom","err","needClip","clipPathId","_this$props","xAxis","yAxis","layout","children","errorBarItems","findAllByType","ErrorBar","dataPointFormatter","dataPoint","dataKey","x","y","errorVal","getValueByDataKey","payload","errorBarProps","clipPath","Layer","item","data","clipDot","_this$props2","dot","lineProps","filterProps","customDotProps","dots","entry","dotProps","cx","cy","index","renderDotItem","dotsProps","_this$props3","type","connectNulls","ref","others","curveProps","fill","Curve","pathRef","_this2","_this$props4","strokeDasharray","animationBegin","animationDuration","animationEasing","animateNewValues","width","height","_this$state","Animate","begin","duration","isActive","easing","to","handleAnimationEnd","handleAnimationStart","_ref","prevPointsDiffFactor","stepData","prevPointIndex","prev","interpolatorX","interpolateNumber","interpolatorY","_interpolatorX","_interpolatorY","renderCurveStatically","currentStrokeDasharray","curLength","interpolator","split","num","parseFloat","getStrokeDasharray","_this$props5","_this$state2","isEqual","renderCurveWithAnimation","_filterProps","_this$props6","hide","top","left","id","hasSinglePoint","layerClass","needClipX","allowDataOverflow","needClipY","isNil","_ref2","strokeWidth","_ref2$r","_ref2$strokeWidth","_ref3$clipDot","isDotProps","dotSize","renderCurve","renderErrorBar","renderDots","LabelList","renderCallByParent","xAxisId","yAxisId","activeDot","legendType","stroke","Global","isSsr","label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ash/isFunction.js";import{clsx as t}from"../../../clsx/dist/clsx.js";import{Layer as n}from"../container/Layer.js";import{Label as o}from"../component/Label.js";import{createLabeledScales as i,rectWithPoints as a}from"../util/CartesianUtils.js";import{ifOverflowMatches as l}from"../util/IfOverflowMatches.js";import{isNumOrStr as s}from"../util/DataUtils.js";import{warn as c}from"../util/LogUtils.js";import{Rectangle as p}from"../shape/Rectangle.js";import{filterProps as f}from"../util/ReactUtils.js";function u(r){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(r)}function y(){return y=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},y.apply(this,arguments)}function m(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function b(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach((function(e){d(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}function d(r,e,t){var n;return n=function(r,e){if("object"!=u(r)||!r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var n=t.call(r,e||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}(e,"string"),(e="symbol"==u(n)?n:String(n))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function j(e){var p=e.x1,u=e.x2,y=e.y1,m=e.y2,d=e.className,v=e.alwaysShow,O=e.clipPathId;c(void 0===v,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var g=s(p),x=s(u),h=s(y),w=s(m),P=e.shape;if(!(g||x||h||w||P))return null;var S=function(r,e,t,n,o){var s=o.x1,c=o.x2,p=o.y1,f=o.y2,u=o.xAxis,y=o.yAxis;if(!u||!y)return null;var m=i({x:u.scale,y:y.scale}),b={x:r?m.x.apply(s,{position:"start"}):m.x.rangeMin,y:t?m.y.apply(p,{position:"start"}):m.y.rangeMin},d={x:e?m.x.apply(c,{position:"end"}):m.x.rangeMax,y:n?m.y.apply(f,{position:"end"}):m.y.rangeMax};return!l(o,"discard")||m.isInRange(b)&&m.isInRange(d)?a(b,d):null}(g,x,h,w,e);if(!S&&!P)return null;var E=l(e,"hidden")?"url(#".concat(O,")"):void 0;return r.createElement(n,{className:t("recharts-reference-area",d)},j.renderRect(P,b(b({clipPath:E},f(e,!0)),S)),o.renderCallByParent(e,S))}j.displayName="ReferenceArea",j.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},j.renderRect=function(t,n){return r.isValidElement(t)?r.cloneElement(t,n):e(t)?t(n):r.createElement(p,y({},n,{className:"recharts-reference-area-rect"}))};export{j as ReferenceArea};
2
- //# sourceMappingURL=ReferenceArea.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReferenceArea.js","sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceArea.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Reference Line\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Label } from '../component/Label';\nimport { createLabeledScales, rectWithPoints } from '../util/CartesianUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { Rectangle } from '../shape/Rectangle';\nimport { filterProps } from '../util/ReactUtils';\nvar getRect = function getRect(hasX1, hasX2, hasY1, hasY2, props) {\n var xValue1 = props.x1,\n xValue2 = props.x2,\n yValue1 = props.y1,\n yValue2 = props.y2,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n if (!xAxis || !yAxis) return null;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var p1 = {\n x: hasX1 ? scales.x.apply(xValue1, {\n position: 'start'\n }) : scales.x.rangeMin,\n y: hasY1 ? scales.y.apply(yValue1, {\n position: 'start'\n }) : scales.y.rangeMin\n };\n var p2 = {\n x: hasX2 ? scales.x.apply(xValue2, {\n position: 'end'\n }) : scales.x.rangeMax,\n y: hasY2 ? scales.y.apply(yValue2, {\n position: 'end'\n }) : scales.y.rangeMax\n };\n if (ifOverflowMatches(props, 'discard') && (!scales.isInRange(p1) || !scales.isInRange(p2))) {\n return null;\n }\n return rectWithPoints(p1, p2);\n};\nexport function ReferenceArea(props) {\n var x1 = props.x1,\n x2 = props.x2,\n y1 = props.y1,\n y2 = props.y2,\n className = props.className,\n alwaysShow = props.alwaysShow,\n clipPathId = props.clipPathId;\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n var hasX1 = isNumOrStr(x1);\n var hasX2 = isNumOrStr(x2);\n var hasY1 = isNumOrStr(y1);\n var hasY2 = isNumOrStr(y2);\n var shape = props.shape;\n if (!hasX1 && !hasX2 && !hasY1 && !hasY2 && !shape) {\n return null;\n }\n var rect = getRect(hasX1, hasX2, hasY1, hasY2, props);\n if (!rect && !shape) {\n return null;\n }\n var clipPath = ifOverflowMatches(props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-area', className)\n }, ReferenceArea.renderRect(shape, _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(props, true)), rect)), Label.renderCallByParent(props, rect));\n}\nReferenceArea.displayName = 'ReferenceArea';\nReferenceArea.defaultProps = {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#ccc',\n fillOpacity: 0.5,\n stroke: 'none',\n strokeWidth: 1\n};\nReferenceArea.renderRect = function (option, props) {\n var rect;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n rect = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n rect = option(props);\n } else {\n rect = /*#__PURE__*/React.createElement(Rectangle, _extends({}, props, {\n className: \"recharts-reference-area-rect\"\n }));\n }\n return rect;\n};"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_extends","Object","assign","bind","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","ownKeys","e","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","toPrimitive","TypeError","String","Number","_toPrimitive","configurable","writable","ReferenceArea","props","x1","x2","y1","y2","className","alwaysShow","clipPathId","warn","undefined","hasX1","isNumOrStr","hasX2","hasY1","hasY2","shape","rect","xValue1","xValue2","yValue1","yValue2","xAxis","yAxis","scales","createLabeledScales","x","scale","y","p1","position","rangeMin","p2","rangeMax","ifOverflowMatches","isInRange","rectWithPoints","getRect","clipPath","concat","React","createElement","Layer","clsx","renderRect","filterProps","Label","renderCallByParent","displayName","defaultProps","isFront","ifOverflow","xAxisId","yAxisId","fill","fillOpacity","stroke","strokeWidth","option","isValidElement","cloneElement","isFunction","Rectangle"],"mappings":"wiBAAA,SAASA,EAAQC,GAAgC,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,GAAO,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAE,EAAID,EAAQC,EAAK,CAC9T,SAASK,IAAiS,OAApRA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,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E,EAAEO,SACdL,EAAGb,EAAQS,EAAOI,EAAEvD,MAAMgD,EAAS,CACjCS,SAAU,QACPN,EAAOI,EAAEK,UAEhB,OAAIC,EAAkBjC,EAAO,YAAgBuB,EAAOW,UAAUN,IAAQL,EAAOW,UAAUH,GAGhFI,EAAeP,EAAIG,GAFjB,IAGX,CAkBaK,CAAQ1B,EAAOE,EAAOC,EAAOC,EAAOd,GAC/C,IAAKgB,IAASD,EACZ,OAAO,KAET,IAAIsB,EAAWJ,EAAkBjC,EAAO,UAAY,QAAQsC,OAAO/B,EAAY,UAAOE,EACtF,OAAoB8B,EAAMC,cAAcC,EAAO,CAC7CpC,UAAWqC,EAAK,0BAA2BrC,IAC1CN,EAAc4C,WAAW5B,EAAO/B,EAAcA,EAAc,CAC7DqD,SAAUA,GACTO,EAAY5C,GAAO,IAAQgB,IAAQ6B,EAAMC,mBAAmB9C,EAAOgB,GACxE,CACAjB,EAAcgD,YAAc,gBAC5BhD,EAAciD,aAAe,CAC3BC,SAAS,EACTC,WAAY,UACZC,QAAS,EACTC,QAAS,EACT5E,EAAG,GACH6E,KAAM,OACNC,YAAa,GACbC,OAAQ,OACRC,YAAa,GAEfzD,EAAc4C,WAAa,SAAUc,EAAQzD,GAW3C,OATkBuC,EAAMmB,eAAeD,GACjBlB,EAAMoB,aAAaF,EAAQzD,GACtC4D,EAAWH,GACbA,EAAOzD,GAEMuC,EAAMC,cAAcqB,EAAWrG,EAAS,CAAE,EAAEwC,EAAO,CACrEK,UAAW,iCAIjB","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import r from"react";import e from"../../../lodash/isFunction.js";import{clsx as t}from"../../../clsx/dist/clsx.js";import{Layer as o}from"../container/Layer.js";import{Dot as n}from"../shape/Dot.js";import{Label as i}from"../component/Label.js";import{isNumOrStr as c}from"../util/DataUtils.js";import{ifOverflowMatches as a}from"../util/IfOverflowMatches.js";import{createLabeledScales as l}from"../util/CartesianUtils.js";import{warn as s}from"../util/LogUtils.js";import{filterProps as f}from"../util/ReactUtils.js";function u(r){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(r)}function p(){return p=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},p.apply(this,arguments)}function m(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function y(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?m(Object(t),!0).forEach((function(e){b(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}function b(r,e,t){var o;return o=function(r,e){if("object"!=u(r)||!r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var o=t.call(r,e||"default");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}(e,"string"),(e="symbol"==u(o)?o:String(o))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function d(e){var n=e.x,u=e.y,p=e.r,m=e.alwaysShow,b=e.clipPathId,j=c(n),O=c(u);if(s(void 0===m,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!j||!O)return null;var v=function(r){var e=r.x,t=r.y,o=r.xAxis,n=r.yAxis,i=l({x:o.scale,y:n.scale}),c=i.apply({x:e,y:t},{bandAware:!0});return a(r,"discard")&&!i.isInRange(c)?null:c}(e);if(!v)return null;var h=v.x,w=v.y,x=e.shape,g=e.className,P=y(y({clipPath:a(e,"hidden")?"url(#".concat(b,")"):void 0},f(e,!0)),{},{cx:h,cy:w});return r.createElement(o,{className:t("recharts-reference-dot",g)},d.renderDot(x,P),i.renderCallByParent(e,{x:h-p,y:w-p,width:2*p,height:2*p}))}d.displayName="ReferenceDot",d.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},d.renderDot=function(t,o){return r.isValidElement(t)?r.cloneElement(t,o):e(t)?t(o):r.createElement(n,p({},o,{cx:o.cx,cy:o.cy,className:"recharts-reference-dot-dot"}))};export{d as ReferenceDot};
2
- //# sourceMappingURL=ReferenceDot.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReferenceDot.js","sources":["../../../../../node_modules/recharts/es6/cartesian/ReferenceDot.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Reference Dot\n */\nimport React from 'react';\nimport isFunction from 'lodash/isFunction';\nimport clsx from 'clsx';\nimport { Layer } from '../container/Layer';\nimport { Dot } from '../shape/Dot';\nimport { Label } from '../component/Label';\nimport { isNumOrStr } from '../util/DataUtils';\nimport { ifOverflowMatches } from '../util/IfOverflowMatches';\nimport { createLabeledScales } from '../util/CartesianUtils';\nimport { warn } from '../util/LogUtils';\nimport { filterProps } from '../util/ReactUtils';\nvar getCoordinate = function getCoordinate(props) {\n var x = props.x,\n y = props.y,\n xAxis = props.xAxis,\n yAxis = props.yAxis;\n var scales = createLabeledScales({\n x: xAxis.scale,\n y: yAxis.scale\n });\n var result = scales.apply({\n x: x,\n y: y\n }, {\n bandAware: true\n });\n if (ifOverflowMatches(props, 'discard') && !scales.isInRange(result)) {\n return null;\n }\n return result;\n};\nexport function ReferenceDot(props) {\n var x = props.x,\n y = props.y,\n r = props.r,\n alwaysShow = props.alwaysShow,\n clipPathId = props.clipPathId;\n var isX = isNumOrStr(x);\n var isY = isNumOrStr(y);\n warn(alwaysShow === undefined, 'The alwaysShow prop is deprecated. Please use ifOverflow=\"extendDomain\" instead.');\n if (!isX || !isY) {\n return null;\n }\n var coordinate = getCoordinate(props);\n if (!coordinate) {\n return null;\n }\n var cx = coordinate.x,\n cy = coordinate.y;\n var shape = props.shape,\n className = props.className;\n var clipPath = ifOverflowMatches(props, 'hidden') ? \"url(#\".concat(clipPathId, \")\") : undefined;\n var dotProps = _objectSpread(_objectSpread({\n clipPath: clipPath\n }, filterProps(props, true)), {}, {\n cx: cx,\n cy: cy\n });\n return /*#__PURE__*/React.createElement(Layer, {\n className: clsx('recharts-reference-dot', className)\n }, ReferenceDot.renderDot(shape, dotProps), Label.renderCallByParent(props, {\n x: cx - r,\n y: cy - r,\n width: 2 * r,\n height: 2 * r\n }));\n}\nReferenceDot.displayName = 'ReferenceDot';\nReferenceDot.defaultProps = {\n isFront: false,\n ifOverflow: 'discard',\n xAxisId: 0,\n yAxisId: 0,\n r: 10,\n fill: '#fff',\n stroke: '#ccc',\n fillOpacity: 1,\n strokeWidth: 1\n};\nReferenceDot.renderDot = function (option, props) {\n var dot;\n if ( /*#__PURE__*/React.isValidElement(option)) {\n dot = /*#__PURE__*/React.cloneElement(option, props);\n } else if (isFunction(option)) {\n dot = option(props);\n } else {\n dot = /*#__PURE__*/React.createElement(Dot, _extends({}, props, {\n cx: props.cx,\n cy: props.cy,\n className: \"recharts-reference-dot-dot\"\n }));\n }\n return dot;\n};"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_extends","Object","assign","bind","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","ownKeys","e","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","toPrimitive","TypeError","String","Number","_toPrimitive","configurable","writable","ReferenceDot","props","x","y","alwaysShow","clipPathId","isX","isNumOrStr","isY","warn","undefined","coordinate","xAxis","yAxis","scales","createLabeledScales","scale","result","bandAware","ifOverflowMatches","isInRange","getCoordinate","cx","cy","shape","className","dotProps","clipPath","concat","filterProps","React","createElement","Layer","clsx","renderDot","Label","renderCallByParent","width","height","displayName","defaultProps","isFront","ifOverflow","xAxisId","yAxisId","fill","stroke","fill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