sag_components 1.0.1068 → 2.0.0-beta1

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 (620) hide show
  1. package/dist/index.d.ts +25 -0
  2. package/dist/index.esm.js +3349 -0
  3. package/dist/index.esm.js.map +1 -0
  4. package/dist/index.js +3354 -12
  5. package/dist/index.js.map +1 -0
  6. package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -0
  7. package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +35 -0
  8. package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -0
  9. package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +15 -0
  10. package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +19 -0
  11. package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -0
  12. package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +39 -0
  13. package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +61 -0
  14. package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -0
  15. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +74 -0
  16. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +40 -0
  17. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -0
  18. package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -0
  19. package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +38 -0
  20. package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -0
  21. package/dist/types/components/BarChart/BarChart.d.ts +79 -0
  22. package/dist/types/components/BarChart/BarChart.stories.d.ts +320 -0
  23. package/dist/types/components/BarChart/BarChart.style.d.ts +8 -0
  24. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +82 -0
  25. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +300 -0
  26. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +31 -0
  27. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +66 -0
  28. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +147 -0
  29. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -0
  30. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -0
  31. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +465 -0
  32. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -0
  33. package/dist/types/components/Benchmark/Benchmark.d.ts +45 -0
  34. package/dist/types/components/Benchmark/Benchmark.stories.d.ts +224 -0
  35. package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -0
  36. package/dist/types/components/Button/Button.d.ts +22 -0
  37. package/dist/types/components/Button/Button.stories.d.ts +393 -0
  38. package/dist/types/components/Button/Button.style.d.ts +5 -0
  39. package/dist/types/components/Button/Button.test.d.ts +1 -0
  40. package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -0
  41. package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +64 -0
  42. package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -0
  43. package/dist/types/components/CampaignTool/Card.d.ts +37 -0
  44. package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -0
  45. package/dist/types/components/CampaignTool/Card.style.d.ts +8 -0
  46. package/dist/types/components/CampaignTool/FormInput.d.ts +5 -0
  47. package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -0
  48. package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -0
  49. package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +31 -0
  50. package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -0
  51. package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -0
  52. package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +23 -0
  53. package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -0
  54. package/dist/types/components/CampaignTool/Popup.d.ts +27 -0
  55. package/dist/types/components/CampaignTool/Popup.stories.d.ts +166 -0
  56. package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -0
  57. package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -0
  58. package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -0
  59. package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -0
  60. package/dist/types/components/CampaignTool/Table.d.ts +56 -0
  61. package/dist/types/components/CampaignTool/Table.stories.d.ts +120 -0
  62. package/dist/types/components/CampaignTool/Table.style.d.ts +7 -0
  63. package/dist/types/components/CheckBox/CheckBox.d.ts +15 -0
  64. package/dist/types/components/CheckBox/CheckBox.stories.d.ts +150 -0
  65. package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -0
  66. package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -0
  67. package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +221 -0
  68. package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -0
  69. package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -0
  70. package/dist/types/components/CodeEditor/CodeEditor.style.d.ts +2 -0
  71. package/dist/types/components/CollapseData/CollapseData.d.ts +34 -0
  72. package/dist/types/components/CollapseData/CollapseData.stories.d.ts +86 -0
  73. package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -0
  74. package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +70 -0
  75. package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +151 -0
  76. package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -0
  77. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -0
  78. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +79 -0
  79. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -0
  80. package/dist/types/components/Datepicker/Datepicker.d.ts +12 -0
  81. package/dist/types/components/Datepicker/Datepicker.stories.d.ts +112 -0
  82. package/dist/types/components/Datepicker/Datepicker.style.d.ts +1 -0
  83. package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -0
  84. package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +41 -0
  85. package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -0
  86. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +34 -0
  87. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +103 -0
  88. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -0
  89. package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -0
  90. package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +159 -0
  91. package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -0
  92. package/dist/types/components/Dropdown/Dropdown.d.ts +24 -0
  93. package/dist/types/components/Dropdown/Dropdown.stories.d.ts +451 -0
  94. package/dist/types/components/Dropdown/Dropdown.style.d.ts +1 -0
  95. package/dist/types/components/DropdownMulti/DropdownMulti.d.ts +75 -0
  96. package/dist/types/components/DropdownMulti/DropdownMulti.stories.d.ts +263 -0
  97. package/dist/types/components/DropdownMulti/DropdownMulti.style.d.ts +1 -0
  98. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -0
  99. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -0
  100. package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +574 -0
  101. package/dist/types/components/DropdownNew/DropdownNew.d.ts +81 -0
  102. package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -0
  103. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -0
  104. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -0
  105. package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -0
  106. package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +151 -0
  107. package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -0
  108. package/dist/types/components/EventList/EventList.d.ts +30 -0
  109. package/dist/types/components/EventList/EventList.stories.d.ts +84 -0
  110. package/dist/types/components/EventList/EventList.style.d.ts +4 -0
  111. package/dist/types/components/EventListItem/EventListItem.d.ts +27 -0
  112. package/dist/types/components/EventListItem/EventListItem.stories.d.ts +81 -0
  113. package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -0
  114. package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -0
  115. package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +15 -0
  116. package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -0
  117. package/dist/types/components/FilterPanel/FilterPanel.d.ts +67 -0
  118. package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +824 -0
  119. package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -0
  120. package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -0
  121. package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +297 -0
  122. package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -0
  123. package/dist/types/components/Heatmap/Heatmap.d.ts +15 -0
  124. package/dist/types/components/Heatmap/Heatmap.stories.d.ts +87 -0
  125. package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -0
  126. package/dist/types/components/IconButton/IconButton.d.ts +48 -0
  127. package/dist/types/components/IconButton/IconButton.stories.d.ts +166 -0
  128. package/dist/types/components/IconButton/IconButton.style.d.ts +4 -0
  129. package/dist/types/components/Input/Input.d.ts +80 -0
  130. package/dist/types/components/Input/Input.stories.d.ts +688 -0
  131. package/dist/types/components/Input/Input.style.d.ts +7 -0
  132. package/dist/types/components/InputOld/InputOld.d.ts +66 -0
  133. package/dist/types/components/InputOld/InputOld.stories.d.ts +130 -0
  134. package/dist/types/components/InputOld/InputOld.style.d.ts +6 -0
  135. package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -0
  136. package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +300 -0
  137. package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -0
  138. package/dist/types/components/LinkButton/LinkButton.d.ts +13 -0
  139. package/dist/types/components/LinkButton/LinkButton.stories.d.ts +279 -0
  140. package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -0
  141. package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -0
  142. package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +35 -0
  143. package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +72 -0
  144. package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -0
  145. package/dist/types/components/ListBox/ListBox.d.ts +15 -0
  146. package/dist/types/components/ListBox/ListBox.stories.d.ts +162 -0
  147. package/dist/types/components/ListBox/ListBox.style.d.ts +4 -0
  148. package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -0
  149. package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +135 -0
  150. package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -0
  151. package/dist/types/components/Modal/Modal.d.ts +6 -0
  152. package/dist/types/components/Modal/Modal.style.d.ts +4 -0
  153. package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -0
  154. package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -0
  155. package/dist/types/components/MonthPicker/MonthPicker.d.ts +54 -0
  156. package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +197 -0
  157. package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -0
  158. package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +9 -0
  159. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +12 -0
  160. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +45 -0
  161. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -0
  162. package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +63 -0
  163. package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +149 -0
  164. package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +10 -0
  165. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -0
  166. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +263 -0
  167. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -0
  168. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +29 -0
  169. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +98 -0
  170. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -0
  171. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -0
  172. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +236 -0
  173. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -0
  174. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -0
  175. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +102 -0
  176. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -0
  177. package/dist/types/components/PieChart/PieChart.d.ts +66 -0
  178. package/dist/types/components/PieChart/PieChart.stories.d.ts +295 -0
  179. package/dist/types/components/PieChart/PieChart.style.d.ts +18 -0
  180. package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -0
  181. package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +280 -0
  182. package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -0
  183. package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -0
  184. package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +77 -0
  185. package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -0
  186. package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -0
  187. package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +94 -0
  188. package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -0
  189. package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +54 -0
  190. package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +197 -0
  191. package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -0
  192. package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +9 -0
  193. package/dist/types/components/QuickFilter/QuickFilter.d.ts +69 -0
  194. package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +393 -0
  195. package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -0
  196. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -0
  197. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -0
  198. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -0
  199. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -0
  200. package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -0
  201. package/dist/types/components/RangePicker/RangePicker.d.ts +52 -0
  202. package/dist/types/components/RangePicker/RangePicker.stories.d.ts +194 -0
  203. package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -0
  204. package/dist/types/components/ReportTable/ReportTable.d.ts +83 -0
  205. package/dist/types/components/ReportTable/ReportTable.stories.d.ts +322 -0
  206. package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -0
  207. package/dist/types/components/SagButton/SagButton.d.ts +45 -0
  208. package/dist/types/components/SagButton/SagButton.stories.d.ts +168 -0
  209. package/dist/types/components/SagButton/SagButton.style.d.ts +3 -0
  210. package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -0
  211. package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +178 -0
  212. package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -0
  213. package/dist/types/components/SagInput/SagInput.d.ts +36 -0
  214. package/dist/types/components/SagInput/SagInput.stories.d.ts +88 -0
  215. package/dist/types/components/SagInput/SagInput.style.d.ts +3 -0
  216. package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -0
  217. package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +222 -0
  218. package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -0
  219. package/dist/types/components/SearchInput/SearchInput.d.ts +24 -0
  220. package/dist/types/components/SearchInput/SearchInput.stories.d.ts +49 -0
  221. package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -0
  222. package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +49 -0
  223. package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +260 -0
  224. package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -0
  225. package/dist/types/components/Select/Select.d.ts +21 -0
  226. package/dist/types/components/Select/Select.stories.d.ts +285 -0
  227. package/dist/types/components/Select/Select.style.d.ts +6 -0
  228. package/dist/types/components/SingleBarLineCharts/SingleBar.test.d.ts +1 -0
  229. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -0
  230. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +398 -0
  231. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +61 -0
  232. package/dist/types/components/TabMenu/TabMenu.d.ts +90 -0
  233. package/dist/types/components/TabMenu/TabMenu.stories.d.ts +174 -0
  234. package/dist/types/components/TabMenu/TabMenu.style.d.ts +58 -0
  235. package/dist/types/components/TextField/TextField.d.ts +6 -0
  236. package/dist/types/components/TextField/TextField.stories.d.ts +243 -0
  237. package/dist/types/components/TextField/TextField.style.d.ts +1 -0
  238. package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -0
  239. package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +137 -0
  240. package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -0
  241. package/dist/types/components/Tooltip/Tooltip.d.ts +24 -0
  242. package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -0
  243. package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -0
  244. package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +36 -0
  245. package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -0
  246. package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -0
  247. package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +176 -0
  248. package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -0
  249. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -0
  250. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +379 -0
  251. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -0
  252. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +54 -0
  253. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +237 -0
  254. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -0
  255. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -0
  256. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +257 -0
  257. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -0
  258. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +66 -0
  259. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +416 -0
  260. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -0
  261. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -0
  262. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +331 -0
  263. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -0
  264. package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -0
  265. package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -0
  266. package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +74 -0
  267. package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +238 -0
  268. package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -0
  269. package/dist/types/icons/ArrowDownIcon.d.ts +6 -0
  270. package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -0
  271. package/dist/types/icons/ArrowSelectIcon.d.ts +6 -0
  272. package/dist/types/icons/ArrowUpIcon.d.ts +6 -0
  273. package/dist/types/icons/AttachedIcon.d.ts +6 -0
  274. package/dist/types/icons/BellIcon.d.ts +6 -0
  275. package/dist/types/icons/ButtonArrowRight.d.ts +5 -0
  276. package/dist/types/icons/Calendar.d.ts +2 -0
  277. package/dist/types/icons/CalendarIcon.d.ts +6 -0
  278. package/dist/types/icons/CalendarInOpen.d.ts +2 -0
  279. package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -0
  280. package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -0
  281. package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -0
  282. package/dist/types/icons/ChervronLeftIcon.d.ts +2 -0
  283. package/dist/types/icons/ChervronRightIcon.d.ts +2 -0
  284. package/dist/types/icons/ChevronLeftIcon.d.ts +4 -0
  285. package/dist/types/icons/ChevronRightIcon.d.ts +4 -0
  286. package/dist/types/icons/ClockIcon.d.ts +6 -0
  287. package/dist/types/icons/CloseIcon.d.ts +6 -0
  288. package/dist/types/icons/CloseXIcon.d.ts +6 -0
  289. package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -0
  290. package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -0
  291. package/dist/types/icons/DocumentIcon.d.ts +6 -0
  292. package/dist/types/icons/DownloadIcon.d.ts +6 -0
  293. package/dist/types/icons/Duplicate.d.ts +7 -0
  294. package/dist/types/icons/ErrorIcon.d.ts +6 -0
  295. package/dist/types/icons/ExitIcon.d.ts +7 -0
  296. package/dist/types/icons/ExportIcon.d.ts +7 -0
  297. package/dist/types/icons/EyeIcon.d.ts +7 -0
  298. package/dist/types/icons/FileIcon.d.ts +6 -0
  299. package/dist/types/icons/FilterIcon.d.ts +6 -0
  300. package/dist/types/icons/FlyIcon.d.ts +7 -0
  301. package/dist/types/icons/FoodLionChartIcon.d.ts +2 -0
  302. package/dist/types/icons/FoodLionIcon.d.ts +6 -0
  303. package/dist/types/icons/FoodLionNewIcon.d.ts +5 -0
  304. package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -0
  305. package/dist/types/icons/GiantFoodIcon.d.ts +7 -0
  306. package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -0
  307. package/dist/types/icons/HannafordChartIcon.d.ts +2 -0
  308. package/dist/types/icons/HannafordIcon.d.ts +6 -0
  309. package/dist/types/icons/HannafordIcon_new.d.ts +6 -0
  310. package/dist/types/icons/HannafordNewIcon.d.ts +5 -0
  311. package/dist/types/icons/InfoIcon.d.ts +7 -0
  312. package/dist/types/icons/LampIcon.d.ts +6 -0
  313. package/dist/types/icons/LegendLineIcon.d.ts +6 -0
  314. package/dist/types/icons/LegendUnionIcon.d.ts +6 -0
  315. package/dist/types/icons/MaintenanceIcon.d.ts +7 -0
  316. package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -0
  317. package/dist/types/icons/MenuItemOpenIcon.d.ts +7 -0
  318. package/dist/types/icons/MenuItemRightIcon.d.ts +7 -0
  319. package/dist/types/icons/MenuItemUpIcon.d.ts +7 -0
  320. package/dist/types/icons/NoDataFoundIcon.d.ts +12 -0
  321. package/dist/types/icons/OptionsIcon.d.ts +6 -0
  322. package/dist/types/icons/ReselectIcon.d.ts +6 -0
  323. package/dist/types/icons/SearchIcon.d.ts +6 -0
  324. package/dist/types/icons/ShoppingCartIcon.d.ts +6 -0
  325. package/dist/types/icons/ShoutIcon.d.ts +6 -0
  326. package/dist/types/icons/Sort.d.ts +1 -0
  327. package/dist/types/icons/SortIcon.d.ts +7 -0
  328. package/dist/types/icons/SpotlightProductIcon.d.ts +7 -0
  329. package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -0
  330. package/dist/types/icons/StopAndShopIcon.d.ts +7 -0
  331. package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -0
  332. package/dist/types/icons/SucceededIcon.d.ts +6 -0
  333. package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -0
  334. package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -0
  335. package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -0
  336. package/dist/types/index.d.ts +1 -0
  337. package/dist/types/reactTestApp/App.d.ts +2 -0
  338. package/dist/types/reactTestApp/index.d.ts +1 -0
  339. package/dist/types/reactTestApp/vite.config.d.ts +2 -0
  340. package/dist/types/utils/CommonFunctions.d.ts +6 -0
  341. package/dist/types/utils/ComponentFactory.d.ts +4 -0
  342. package/dist/types/utils/IconsHandler.d.ts +1 -0
  343. package/dist/types/utils/IconsHandler.style.d.ts +1 -0
  344. package/dist/types/utils/regex/Email.regex.d.ts +1 -0
  345. package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -0
  346. package/dist/types/utils/regex/OnlyEnglishLetters.regex.d.ts +1 -0
  347. package/dist/types/utils/regex/Phone.regex.d.ts +1 -0
  348. package/package.json +19 -2
  349. package/.eslintrc.js +0 -37
  350. package/dist/Button.test.js +0 -162
  351. package/dist/LinkButton.test.js +0 -150
  352. package/dist/SingleBar.test.js +0 -120
  353. package/dist/setupTests.js +0 -17
  354. package/dist/stories/CampaignTool/Card.stories.js +0 -92
  355. package/dist/stories/CampaignTool/MultipleCard.stories.js +0 -33
  356. package/dist/stories/CampaignTool/PageFilterBar.stories.js +0 -28
  357. package/dist/stories/CampaignTool/Popup.stories.js +0 -697
  358. package/dist/stories/CampaignTool/Table.stories.js +0 -104
  359. package/dist/stories/components/AttachedFile.js +0 -60
  360. package/dist/stories/components/AttachedFile.style.js +0 -48
  361. package/dist/stories/components/AutocompleteField.js +0 -40
  362. package/dist/stories/components/AutocompleteField.style.js +0 -55
  363. package/dist/stories/components/BannerEventBox.js +0 -97
  364. package/dist/stories/components/BannerEventBox.style.js +0 -78
  365. package/dist/stories/components/BannerEventBoxList.js +0 -153
  366. package/dist/stories/components/BannerEventBoxList.style.js +0 -189
  367. package/dist/stories/components/BannersDropdown.js +0 -119
  368. package/dist/stories/components/BannersDropdown.style.js +0 -99
  369. package/dist/stories/components/BarChart.js +0 -258
  370. package/dist/stories/components/BarChart.style.js +0 -60
  371. package/dist/stories/components/BarChartTwoRows.js +0 -220
  372. package/dist/stories/components/BarChartTwoRows.style.js +0 -79
  373. package/dist/stories/components/BarChartWithAreaChart.js +0 -268
  374. package/dist/stories/components/BarChartWithAreaChart.style.js +0 -67
  375. package/dist/stories/components/BarChartsByWeeks.js +0 -306
  376. package/dist/stories/components/BarChartsByWeeks.style.js +0 -96
  377. package/dist/stories/components/Benchmark.js +0 -130
  378. package/dist/stories/components/Benchmark.style.js +0 -61
  379. package/dist/stories/components/Button.js +0 -255
  380. package/dist/stories/components/Button.style.js +0 -90
  381. package/dist/stories/components/CampaignTool/CampaignDemoReport.js +0 -48
  382. package/dist/stories/components/CampaignTool/CampaignDemoReport.style.js +0 -48
  383. package/dist/stories/components/CampaignTool/Card.js +0 -72
  384. package/dist/stories/components/CampaignTool/Card.style.js +0 -67
  385. package/dist/stories/components/CampaignTool/FormInput.js +0 -41
  386. package/dist/stories/components/CampaignTool/FormSelect.js +0 -42
  387. package/dist/stories/components/CampaignTool/MultipleCard.js +0 -26
  388. package/dist/stories/components/CampaignTool/MultipleCard.style.js +0 -15
  389. package/dist/stories/components/CampaignTool/PageFilterBar.js +0 -23
  390. package/dist/stories/components/CampaignTool/PageFilterBar.style.js +0 -22
  391. package/dist/stories/components/CampaignTool/Popup.js +0 -172
  392. package/dist/stories/components/CampaignTool/Popup.style.js +0 -122
  393. package/dist/stories/components/CampaignTool/PopupContent.js +0 -111
  394. package/dist/stories/components/CampaignTool/PopupContent.style.js +0 -74
  395. package/dist/stories/components/CampaignTool/PopupFieldsRules.js +0 -168
  396. package/dist/stories/components/CampaignTool/Table.js +0 -195
  397. package/dist/stories/components/CampaignTool/Table.style.js +0 -88
  398. package/dist/stories/components/CheckBox.js +0 -76
  399. package/dist/stories/components/CheckBox.style.js +0 -36
  400. package/dist/stories/components/CheckBoxButton.js +0 -69
  401. package/dist/stories/components/CheckBoxButton.style.js +0 -39
  402. package/dist/stories/components/CodeEditor.js +0 -43
  403. package/dist/stories/components/CodeEditor.style.js +0 -13
  404. package/dist/stories/components/CollapseData.js +0 -66
  405. package/dist/stories/components/CollapseData.style.js +0 -127
  406. package/dist/stories/components/CollapseHeader.js +0 -255
  407. package/dist/stories/components/CollapseHeader.style.js +0 -200
  408. package/dist/stories/components/CollapseMenuItem.js +0 -61
  409. package/dist/stories/components/CollapseMenuItem.style.js +0 -61
  410. package/dist/stories/components/CommonFunctions.js +0 -99
  411. package/dist/stories/components/Datepicker.js +0 -148
  412. package/dist/stories/components/Datepicker.style.js +0 -19
  413. package/dist/stories/components/DialogOverlay.js +0 -44
  414. package/dist/stories/components/DialogOverlay.style.js +0 -70
  415. package/dist/stories/components/DoublePanelDataRow.js +0 -70
  416. package/dist/stories/components/DoublePanelDataRow.style.js +0 -66
  417. package/dist/stories/components/DownloadProgress.js +0 -97
  418. package/dist/stories/components/DownloadProgress.style.js +0 -51
  419. package/dist/stories/components/Dropdown.js +0 -231
  420. package/dist/stories/components/Dropdown.style.js +0 -17
  421. package/dist/stories/components/DropdownMulti.js +0 -290
  422. package/dist/stories/components/DropdownMulti.style.js +0 -17
  423. package/dist/stories/components/DropdownMultiNew.js +0 -292
  424. package/dist/stories/components/DropdownMultiNew.style.js +0 -218
  425. package/dist/stories/components/DropdownNew.js +0 -98
  426. package/dist/stories/components/DropdownNew.style.js +0 -21
  427. package/dist/stories/components/DropdownSingleNew.js +0 -256
  428. package/dist/stories/components/DropdownSingleNew.style.js +0 -189
  429. package/dist/stories/components/EventDetailsCard.js +0 -141
  430. package/dist/stories/components/EventDetailsCard.style.js +0 -62
  431. package/dist/stories/components/EventList.js +0 -61
  432. package/dist/stories/components/EventList.style.js +0 -38
  433. package/dist/stories/components/EventListItem.js +0 -50
  434. package/dist/stories/components/EventListItem.style.js +0 -47
  435. package/dist/stories/components/FilterContainer.js +0 -29
  436. package/dist/stories/components/FilterContainer.style.js +0 -30
  437. package/dist/stories/components/FilterPanel.js +0 -614
  438. package/dist/stories/components/FilterPanel.style.js +0 -89
  439. package/dist/stories/components/FormattedValue.js +0 -69
  440. package/dist/stories/components/FormattedValue.style.js +0 -91
  441. package/dist/stories/components/Heatmap.js +0 -180
  442. package/dist/stories/components/Heatmap.style.js +0 -151
  443. package/dist/stories/components/IconButton.js +0 -147
  444. package/dist/stories/components/IconButton.style.js +0 -64
  445. package/dist/stories/components/Input.js +0 -186
  446. package/dist/stories/components/Input.style.js +0 -132
  447. package/dist/stories/components/InputOld.js +0 -93
  448. package/dist/stories/components/InputOld.style.js +0 -71
  449. package/dist/stories/components/KpiFilter.js +0 -345
  450. package/dist/stories/components/KpiFilter.style.js +0 -132
  451. package/dist/stories/components/LinkButton.js +0 -225
  452. package/dist/stories/components/LinkButton.style.js +0 -53
  453. package/dist/stories/components/LinnerDataBox.js +0 -53
  454. package/dist/stories/components/LinnerDataBox.style.js +0 -68
  455. package/dist/stories/components/ListBox.js +0 -82
  456. package/dist/stories/components/ListBox.style.js +0 -48
  457. package/dist/stories/components/MarketShareDescription.js +0 -109
  458. package/dist/stories/components/MarketShareDescription.style.js +0 -215
  459. package/dist/stories/components/Modal.js +0 -21
  460. package/dist/stories/components/Modal.style.js +0 -65
  461. package/dist/stories/components/ModalTotalBenchmark.js +0 -224
  462. package/dist/stories/components/ModalTotalCost.js +0 -139
  463. package/dist/stories/components/MonthPicker.js +0 -169
  464. package/dist/stories/components/MonthPicker.style.js +0 -105
  465. package/dist/stories/components/MonthPopupPicker.js +0 -206
  466. package/dist/stories/components/NoDataFoundMessage.js +0 -30
  467. package/dist/stories/components/NoDataFoundMessage.style.js +0 -39
  468. package/dist/stories/components/OneColumnContainer.js +0 -121
  469. package/dist/stories/components/OneColumnContainer.style.js +0 -107
  470. package/dist/stories/components/PerformanceAnalytics.js +0 -447
  471. package/dist/stories/components/PerformanceAnalytics.style.js +0 -144
  472. package/dist/stories/components/PerformanceAnalyticsLegend.js +0 -59
  473. package/dist/stories/components/PerformanceAnalyticsLegend.style.js +0 -63
  474. package/dist/stories/components/PerformanceAnalyticsOneColumn.js +0 -327
  475. package/dist/stories/components/PerformanceAnalyticsOneColumn.style.js +0 -116
  476. package/dist/stories/components/PerformanceAnalyticsTotals.js +0 -70
  477. package/dist/stories/components/PerformanceAnalyticsTotals.style.js +0 -89
  478. package/dist/stories/components/PieChart.js +0 -154
  479. package/dist/stories/components/PieChart.style.js +0 -154
  480. package/dist/stories/components/PopupCharts.js +0 -244
  481. package/dist/stories/components/PopupCharts.style.js +0 -108
  482. package/dist/stories/components/ProductsVariety.js +0 -94
  483. package/dist/stories/components/ProductsVariety.style.js +0 -86
  484. package/dist/stories/components/ProgressBar.js +0 -52
  485. package/dist/stories/components/ProgressBar.style.js +0 -24
  486. package/dist/stories/components/QuarterPicker.js +0 -168
  487. package/dist/stories/components/QuarterPicker.style.js +0 -104
  488. package/dist/stories/components/QuarterPopupPicker.js +0 -186
  489. package/dist/stories/components/QuickFilter.js +0 -78
  490. package/dist/stories/components/QuickFilter.style.js +0 -21
  491. package/dist/stories/components/QuickFilterDropdownMultiSelection.js +0 -299
  492. package/dist/stories/components/QuickFilterDropdownMultiSelection.style.js +0 -194
  493. package/dist/stories/components/QuickFilterDropdownSingle.js +0 -229
  494. package/dist/stories/components/QuickFilterDropdownSingle.style.js +0 -139
  495. package/dist/stories/components/RangeDatePicker.js +0 -231
  496. package/dist/stories/components/RangePicker.js +0 -179
  497. package/dist/stories/components/RangePicker.style.js +0 -109
  498. package/dist/stories/components/ReportTable.js +0 -420
  499. package/dist/stories/components/ReportTable.style.js +0 -306
  500. package/dist/stories/components/SagButton.js +0 -68
  501. package/dist/stories/components/SagButton.style.js +0 -47
  502. package/dist/stories/components/SagIconButton.js +0 -130
  503. package/dist/stories/components/SagIconButton.style.js +0 -30
  504. package/dist/stories/components/SagInput.js +0 -53
  505. package/dist/stories/components/SagInput.style.js +0 -41
  506. package/dist/stories/components/SalesAndROI.js +0 -89
  507. package/dist/stories/components/SalesAndROI.style.js +0 -111
  508. package/dist/stories/components/SearchInput.js +0 -39
  509. package/dist/stories/components/SearchInput.style.js +0 -37
  510. package/dist/stories/components/SegmentedButton.js +0 -124
  511. package/dist/stories/components/SegmentedButton.style.js +0 -100
  512. package/dist/stories/components/Select.js +0 -137
  513. package/dist/stories/components/Select.style.js +0 -104
  514. package/dist/stories/components/SingleBarLineCharts.js +0 -334
  515. package/dist/stories/components/SingleBarLineCharts.style.js +0 -101
  516. package/dist/stories/components/TabMenu.js +0 -235
  517. package/dist/stories/components/TabMenu.style.js +0 -121
  518. package/dist/stories/components/TextField.js +0 -209
  519. package/dist/stories/components/TextField.style.js +0 -18
  520. package/dist/stories/components/TitleDescription.js +0 -272
  521. package/dist/stories/components/TitleDescription.style.js +0 -222
  522. package/dist/stories/components/Tooltip.js +0 -44
  523. package/dist/stories/components/Tooltip.style.js +0 -103
  524. package/dist/stories/components/TopToggleList.js +0 -46
  525. package/dist/stories/components/TopToggleList.style.js +0 -51
  526. package/dist/stories/components/TotalBenchmark.js +0 -97
  527. package/dist/stories/components/TotalBenchmark.style.js +0 -81
  528. package/dist/stories/components/TotalBenchmarkAreachart.js +0 -342
  529. package/dist/stories/components/TotalBenchmarkAreachart.style.js +0 -171
  530. package/dist/stories/components/TotalBenchmarkArrows.js +0 -149
  531. package/dist/stories/components/TotalBenchmarkArrows.style.js +0 -108
  532. package/dist/stories/components/TotalBenchmarkBarchart.js +0 -165
  533. package/dist/stories/components/TotalBenchmarkBarchart.style.js +0 -77
  534. package/dist/stories/components/TotalDoughnutChart.js +0 -187
  535. package/dist/stories/components/TotalDoughnutChart.style.js +0 -178
  536. package/dist/stories/components/TotalHorizontalCharts.js +0 -236
  537. package/dist/stories/components/TotalHorizontalCharts.style.js +0 -93
  538. package/dist/stories/components/TspanTooltip.js +0 -33
  539. package/dist/stories/components/TspanTooltip.style.js +0 -105
  540. package/dist/stories/components/TwoBarCharts.js +0 -211
  541. package/dist/stories/components/TwoBarCharts.style.js +0 -60
  542. package/dist/stories/components/icons/ArrowDownIcon.js +0 -27
  543. package/dist/stories/components/icons/ArrowDropDownIcon.js +0 -27
  544. package/dist/stories/components/icons/ArrowSelectIcon.js +0 -28
  545. package/dist/stories/components/icons/ArrowUpIcon.js +0 -27
  546. package/dist/stories/components/icons/AttachedIcon.js +0 -27
  547. package/dist/stories/components/icons/BellIcon.js +0 -27
  548. package/dist/stories/components/icons/ButtonArrowRight.js +0 -27
  549. package/dist/stories/components/icons/Calendar.js +0 -20
  550. package/dist/stories/components/icons/CalendarIcon.js +0 -27
  551. package/dist/stories/components/icons/CalendarInOpen.js +0 -26
  552. package/dist/stories/components/icons/CheckBoxButtonCheckedIcon.js +0 -28
  553. package/dist/stories/components/icons/CheckBoxCheckedIcon.js +0 -28
  554. package/dist/stories/components/icons/CheckBoxNotCheckedIcon.js +0 -28
  555. package/dist/stories/components/icons/ChervronLeftIcon.js +0 -20
  556. package/dist/stories/components/icons/ChervronRightIcon.js +0 -20
  557. package/dist/stories/components/icons/ChevronLeftIcon.js +0 -29
  558. package/dist/stories/components/icons/ChevronRightIcon.js +0 -29
  559. package/dist/stories/components/icons/ClockIcon.js +0 -27
  560. package/dist/stories/components/icons/CloseIcon.js +0 -27
  561. package/dist/stories/components/icons/CloseXIcon.js +0 -27
  562. package/dist/stories/components/icons/ComboBoxArrowDownIcon.js +0 -28
  563. package/dist/stories/components/icons/ComboBoxArrowUpIcon.js +0 -28
  564. package/dist/stories/components/icons/DocumentIcon.js +0 -48
  565. package/dist/stories/components/icons/DownloadIcon.js +0 -27
  566. package/dist/stories/components/icons/Duplicate.js +0 -28
  567. package/dist/stories/components/icons/ErrorIcon.js +0 -28
  568. package/dist/stories/components/icons/ExitIcon.js +0 -28
  569. package/dist/stories/components/icons/ExportIcon.js +0 -28
  570. package/dist/stories/components/icons/EyeIcon.js +0 -28
  571. package/dist/stories/components/icons/FileIcon.js +0 -27
  572. package/dist/stories/components/icons/FilterIcon.js +0 -36
  573. package/dist/stories/components/icons/FlyIcon.js +0 -28
  574. package/dist/stories/components/icons/FoodLionChartIcon.js +0 -42
  575. package/dist/stories/components/icons/FoodLionIcon.js +0 -3076
  576. package/dist/stories/components/icons/FoodLionNewIcon.js +0 -39
  577. package/dist/stories/components/icons/GiantFoodChartIcon.js +0 -40
  578. package/dist/stories/components/icons/GiantFoodIcon.js +0 -1976
  579. package/dist/stories/components/icons/GiantFoodIcon_new.js +0 -42
  580. package/dist/stories/components/icons/HannafordChartIcon.js +0 -40
  581. package/dist/stories/components/icons/HannafordIcon.js +0 -5017
  582. package/dist/stories/components/icons/HannafordIcon_new.js +0 -41
  583. package/dist/stories/components/icons/HannafordNewIcon.js +0 -213
  584. package/dist/stories/components/icons/InfoIcon.js +0 -28
  585. package/dist/stories/components/icons/LampIcon.js +0 -30
  586. package/dist/stories/components/icons/LegendLineIcon.js +0 -29
  587. package/dist/stories/components/icons/LegendUnionIcon.js +0 -29
  588. package/dist/stories/components/icons/MaintenanceIcon.js +0 -28
  589. package/dist/stories/components/icons/MenuItemClosedIcon.js +0 -28
  590. package/dist/stories/components/icons/MenuItemOpenIcon.js +0 -28
  591. package/dist/stories/components/icons/MenuItemRightIcon.js +0 -28
  592. package/dist/stories/components/icons/MenuItemUpIcon.js +0 -28
  593. package/dist/stories/components/icons/NoDataFoundIcon.js +0 -86
  594. package/dist/stories/components/icons/OptionsIcon.js +0 -27
  595. package/dist/stories/components/icons/ReselectIcon.js +0 -27
  596. package/dist/stories/components/icons/SearchIcon.js +0 -27
  597. package/dist/stories/components/icons/ShoppingCartIcon.js +0 -45
  598. package/dist/stories/components/icons/ShoutIcon.js +0 -27
  599. package/dist/stories/components/icons/Sort.js +0 -13
  600. package/dist/stories/components/icons/SortIcon.js +0 -35
  601. package/dist/stories/components/icons/SpotlightProductIcon.js +0 -28
  602. package/dist/stories/components/icons/StopAndShopChartIcon.js +0 -42
  603. package/dist/stories/components/icons/StopAndShopIcon.js +0 -134
  604. package/dist/stories/components/icons/StopAndShopNewIcon.js +0 -41
  605. package/dist/stories/components/icons/SucceededIcon.js +0 -28
  606. package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +0 -40
  607. package/dist/stories/components/icons/TheGiantCompanyIcon.js +0 -40
  608. package/dist/stories/components/icons/TheGiantCompanyNewIcon.js +0 -39
  609. package/dist/stories/utils/ComponentFactory.js +0 -65
  610. package/dist/stories/utils/IconsHandler.js +0 -150
  611. package/dist/stories/utils/IconsHandler.style.js +0 -17
  612. package/dist/stories/utils/regex/Email.regex.js +0 -7
  613. package/dist/stories/utils/regex/LatinWithSpaces.regex.js +0 -7
  614. package/dist/stories/utils/regex/OnlyEnglishLetters.regex.js +0 -7
  615. package/dist/stories/utils/regex/Phone.regex.js +0 -7
  616. package/favicon.ico +0 -0
  617. package/index.html +0 -65
  618. package/jest.config.js +0 -7
  619. package/manifest.json +0 -25
  620. package/robots.txt +0 -3
@@ -0,0 +1,3349 @@
1
+ import React, { useRef, useDebugValue, createElement, useContext, useState } from 'react';
2
+
3
+ var reactIs = {exports: {}};
4
+
5
+ var reactIs_production_min = {};
6
+
7
+ /** @license React v16.13.1
8
+ * react-is.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */
15
+ var hasRequiredReactIs_production_min;
16
+ function requireReactIs_production_min() {
17
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
18
+ hasRequiredReactIs_production_min = 1;
19
+ var b = "function" === typeof Symbol && Symbol.for,
20
+ c = b ? Symbol.for("react.element") : 60103,
21
+ d = b ? Symbol.for("react.portal") : 60106,
22
+ e = b ? Symbol.for("react.fragment") : 60107,
23
+ f = b ? Symbol.for("react.strict_mode") : 60108,
24
+ g = b ? Symbol.for("react.profiler") : 60114,
25
+ h = b ? Symbol.for("react.provider") : 60109,
26
+ k = b ? Symbol.for("react.context") : 60110,
27
+ l = b ? Symbol.for("react.async_mode") : 60111,
28
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
29
+ n = b ? Symbol.for("react.forward_ref") : 60112,
30
+ p = b ? Symbol.for("react.suspense") : 60113,
31
+ q = b ? Symbol.for("react.suspense_list") : 60120,
32
+ r = b ? Symbol.for("react.memo") : 60115,
33
+ t = b ? Symbol.for("react.lazy") : 60116,
34
+ v = b ? Symbol.for("react.block") : 60121,
35
+ w = b ? Symbol.for("react.fundamental") : 60117,
36
+ x = b ? Symbol.for("react.responder") : 60118,
37
+ y = b ? Symbol.for("react.scope") : 60119;
38
+ function z(a) {
39
+ if ("object" === typeof a && null !== a) {
40
+ var u = a.$$typeof;
41
+ switch (u) {
42
+ case c:
43
+ switch (a = a.type, a) {
44
+ case l:
45
+ case m:
46
+ case e:
47
+ case g:
48
+ case f:
49
+ case p:
50
+ return a;
51
+ default:
52
+ switch (a = a && a.$$typeof, a) {
53
+ case k:
54
+ case n:
55
+ case t:
56
+ case r:
57
+ case h:
58
+ return a;
59
+ default:
60
+ return u;
61
+ }
62
+ }
63
+ case d:
64
+ return u;
65
+ }
66
+ }
67
+ }
68
+ function A(a) {
69
+ return z(a) === m;
70
+ }
71
+ reactIs_production_min.AsyncMode = l;
72
+ reactIs_production_min.ConcurrentMode = m;
73
+ reactIs_production_min.ContextConsumer = k;
74
+ reactIs_production_min.ContextProvider = h;
75
+ reactIs_production_min.Element = c;
76
+ reactIs_production_min.ForwardRef = n;
77
+ reactIs_production_min.Fragment = e;
78
+ reactIs_production_min.Lazy = t;
79
+ reactIs_production_min.Memo = r;
80
+ reactIs_production_min.Portal = d;
81
+ reactIs_production_min.Profiler = g;
82
+ reactIs_production_min.StrictMode = f;
83
+ reactIs_production_min.Suspense = p;
84
+ reactIs_production_min.isAsyncMode = function (a) {
85
+ return A(a) || z(a) === l;
86
+ };
87
+ reactIs_production_min.isConcurrentMode = A;
88
+ reactIs_production_min.isContextConsumer = function (a) {
89
+ return z(a) === k;
90
+ };
91
+ reactIs_production_min.isContextProvider = function (a) {
92
+ return z(a) === h;
93
+ };
94
+ reactIs_production_min.isElement = function (a) {
95
+ return "object" === typeof a && null !== a && a.$$typeof === c;
96
+ };
97
+ reactIs_production_min.isForwardRef = function (a) {
98
+ return z(a) === n;
99
+ };
100
+ reactIs_production_min.isFragment = function (a) {
101
+ return z(a) === e;
102
+ };
103
+ reactIs_production_min.isLazy = function (a) {
104
+ return z(a) === t;
105
+ };
106
+ reactIs_production_min.isMemo = function (a) {
107
+ return z(a) === r;
108
+ };
109
+ reactIs_production_min.isPortal = function (a) {
110
+ return z(a) === d;
111
+ };
112
+ reactIs_production_min.isProfiler = function (a) {
113
+ return z(a) === g;
114
+ };
115
+ reactIs_production_min.isStrictMode = function (a) {
116
+ return z(a) === f;
117
+ };
118
+ reactIs_production_min.isSuspense = function (a) {
119
+ return z(a) === p;
120
+ };
121
+ reactIs_production_min.isValidElementType = function (a) {
122
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
123
+ };
124
+ reactIs_production_min.typeOf = z;
125
+ return reactIs_production_min;
126
+ }
127
+
128
+ var reactIs_development = {};
129
+
130
+ /** @license React v16.13.1
131
+ * react-is.development.js
132
+ *
133
+ * Copyright (c) Facebook, Inc. and its affiliates.
134
+ *
135
+ * This source code is licensed under the MIT license found in the
136
+ * LICENSE file in the root directory of this source tree.
137
+ */
138
+ var hasRequiredReactIs_development;
139
+ function requireReactIs_development() {
140
+ if (hasRequiredReactIs_development) return reactIs_development;
141
+ hasRequiredReactIs_development = 1;
142
+ if (process.env.NODE_ENV !== "production") {
143
+ (function () {
144
+
145
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
146
+ // nor polyfill, then a plain number is used for performance.
147
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
148
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
149
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
150
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
151
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
152
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
153
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
154
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
155
+ // (unstable) APIs that have been removed. Can we remove the symbols?
156
+
157
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
158
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
159
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
160
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
161
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
162
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
163
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
164
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
165
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
166
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
167
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
168
+ function isValidElementType(type) {
169
+ return typeof type === 'string' || typeof type === 'function' ||
170
+ // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
171
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
172
+ }
173
+ function typeOf(object) {
174
+ if (typeof object === 'object' && object !== null) {
175
+ var $$typeof = object.$$typeof;
176
+ switch ($$typeof) {
177
+ case REACT_ELEMENT_TYPE:
178
+ var type = object.type;
179
+ switch (type) {
180
+ case REACT_ASYNC_MODE_TYPE:
181
+ case REACT_CONCURRENT_MODE_TYPE:
182
+ case REACT_FRAGMENT_TYPE:
183
+ case REACT_PROFILER_TYPE:
184
+ case REACT_STRICT_MODE_TYPE:
185
+ case REACT_SUSPENSE_TYPE:
186
+ return type;
187
+ default:
188
+ var $$typeofType = type && type.$$typeof;
189
+ switch ($$typeofType) {
190
+ case REACT_CONTEXT_TYPE:
191
+ case REACT_FORWARD_REF_TYPE:
192
+ case REACT_LAZY_TYPE:
193
+ case REACT_MEMO_TYPE:
194
+ case REACT_PROVIDER_TYPE:
195
+ return $$typeofType;
196
+ default:
197
+ return $$typeof;
198
+ }
199
+ }
200
+ case REACT_PORTAL_TYPE:
201
+ return $$typeof;
202
+ }
203
+ }
204
+ return undefined;
205
+ } // AsyncMode is deprecated along with isAsyncMode
206
+
207
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
208
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
209
+ var ContextConsumer = REACT_CONTEXT_TYPE;
210
+ var ContextProvider = REACT_PROVIDER_TYPE;
211
+ var Element = REACT_ELEMENT_TYPE;
212
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
213
+ var Fragment = REACT_FRAGMENT_TYPE;
214
+ var Lazy = REACT_LAZY_TYPE;
215
+ var Memo = REACT_MEMO_TYPE;
216
+ var Portal = REACT_PORTAL_TYPE;
217
+ var Profiler = REACT_PROFILER_TYPE;
218
+ var StrictMode = REACT_STRICT_MODE_TYPE;
219
+ var Suspense = REACT_SUSPENSE_TYPE;
220
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
221
+
222
+ function isAsyncMode(object) {
223
+ {
224
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
225
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
226
+
227
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
228
+ }
229
+ }
230
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
231
+ }
232
+ function isConcurrentMode(object) {
233
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
234
+ }
235
+ function isContextConsumer(object) {
236
+ return typeOf(object) === REACT_CONTEXT_TYPE;
237
+ }
238
+ function isContextProvider(object) {
239
+ return typeOf(object) === REACT_PROVIDER_TYPE;
240
+ }
241
+ function isElement(object) {
242
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
243
+ }
244
+ function isForwardRef(object) {
245
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
246
+ }
247
+ function isFragment(object) {
248
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
249
+ }
250
+ function isLazy(object) {
251
+ return typeOf(object) === REACT_LAZY_TYPE;
252
+ }
253
+ function isMemo(object) {
254
+ return typeOf(object) === REACT_MEMO_TYPE;
255
+ }
256
+ function isPortal(object) {
257
+ return typeOf(object) === REACT_PORTAL_TYPE;
258
+ }
259
+ function isProfiler(object) {
260
+ return typeOf(object) === REACT_PROFILER_TYPE;
261
+ }
262
+ function isStrictMode(object) {
263
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
264
+ }
265
+ function isSuspense(object) {
266
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
267
+ }
268
+ reactIs_development.AsyncMode = AsyncMode;
269
+ reactIs_development.ConcurrentMode = ConcurrentMode;
270
+ reactIs_development.ContextConsumer = ContextConsumer;
271
+ reactIs_development.ContextProvider = ContextProvider;
272
+ reactIs_development.Element = Element;
273
+ reactIs_development.ForwardRef = ForwardRef;
274
+ reactIs_development.Fragment = Fragment;
275
+ reactIs_development.Lazy = Lazy;
276
+ reactIs_development.Memo = Memo;
277
+ reactIs_development.Portal = Portal;
278
+ reactIs_development.Profiler = Profiler;
279
+ reactIs_development.StrictMode = StrictMode;
280
+ reactIs_development.Suspense = Suspense;
281
+ reactIs_development.isAsyncMode = isAsyncMode;
282
+ reactIs_development.isConcurrentMode = isConcurrentMode;
283
+ reactIs_development.isContextConsumer = isContextConsumer;
284
+ reactIs_development.isContextProvider = isContextProvider;
285
+ reactIs_development.isElement = isElement;
286
+ reactIs_development.isForwardRef = isForwardRef;
287
+ reactIs_development.isFragment = isFragment;
288
+ reactIs_development.isLazy = isLazy;
289
+ reactIs_development.isMemo = isMemo;
290
+ reactIs_development.isPortal = isPortal;
291
+ reactIs_development.isProfiler = isProfiler;
292
+ reactIs_development.isStrictMode = isStrictMode;
293
+ reactIs_development.isSuspense = isSuspense;
294
+ reactIs_development.isValidElementType = isValidElementType;
295
+ reactIs_development.typeOf = typeOf;
296
+ })();
297
+ }
298
+ return reactIs_development;
299
+ }
300
+
301
+ var hasRequiredReactIs;
302
+ function requireReactIs() {
303
+ if (hasRequiredReactIs) return reactIs.exports;
304
+ hasRequiredReactIs = 1;
305
+ if (process.env.NODE_ENV === 'production') {
306
+ reactIs.exports = requireReactIs_production_min();
307
+ } else {
308
+ reactIs.exports = requireReactIs_development();
309
+ }
310
+ return reactIs.exports;
311
+ }
312
+
313
+ /*
314
+ object-assign
315
+ (c) Sindre Sorhus
316
+ @license MIT
317
+ */
318
+ var objectAssign;
319
+ var hasRequiredObjectAssign;
320
+ function requireObjectAssign() {
321
+ if (hasRequiredObjectAssign) return objectAssign;
322
+ hasRequiredObjectAssign = 1;
323
+ /* eslint-disable no-unused-vars */
324
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
325
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
326
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
327
+ function toObject(val) {
328
+ if (val === null || val === undefined) {
329
+ throw new TypeError('Object.assign cannot be called with null or undefined');
330
+ }
331
+ return Object(val);
332
+ }
333
+ function shouldUseNative() {
334
+ try {
335
+ if (!Object.assign) {
336
+ return false;
337
+ }
338
+
339
+ // Detect buggy property enumeration order in older V8 versions.
340
+
341
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
342
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
343
+ test1[5] = 'de';
344
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
345
+ return false;
346
+ }
347
+
348
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
349
+ var test2 = {};
350
+ for (var i = 0; i < 10; i++) {
351
+ test2['_' + String.fromCharCode(i)] = i;
352
+ }
353
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
354
+ return test2[n];
355
+ });
356
+ if (order2.join('') !== '0123456789') {
357
+ return false;
358
+ }
359
+
360
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
361
+ var test3 = {};
362
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
363
+ test3[letter] = letter;
364
+ });
365
+ if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
366
+ return false;
367
+ }
368
+ return true;
369
+ } catch (err) {
370
+ // We don't expect any of the above to throw, but better to be safe.
371
+ return false;
372
+ }
373
+ }
374
+ objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
375
+ var from;
376
+ var to = toObject(target);
377
+ var symbols;
378
+ for (var s = 1; s < arguments.length; s++) {
379
+ from = Object(arguments[s]);
380
+ for (var key in from) {
381
+ if (hasOwnProperty.call(from, key)) {
382
+ to[key] = from[key];
383
+ }
384
+ }
385
+ if (getOwnPropertySymbols) {
386
+ symbols = getOwnPropertySymbols(from);
387
+ for (var i = 0; i < symbols.length; i++) {
388
+ if (propIsEnumerable.call(from, symbols[i])) {
389
+ to[symbols[i]] = from[symbols[i]];
390
+ }
391
+ }
392
+ }
393
+ }
394
+ return to;
395
+ };
396
+ return objectAssign;
397
+ }
398
+
399
+ /**
400
+ * Copyright (c) 2013-present, Facebook, Inc.
401
+ *
402
+ * This source code is licensed under the MIT license found in the
403
+ * LICENSE file in the root directory of this source tree.
404
+ */
405
+ var ReactPropTypesSecret_1;
406
+ var hasRequiredReactPropTypesSecret;
407
+ function requireReactPropTypesSecret() {
408
+ if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
409
+ hasRequiredReactPropTypesSecret = 1;
410
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
411
+ ReactPropTypesSecret_1 = ReactPropTypesSecret;
412
+ return ReactPropTypesSecret_1;
413
+ }
414
+
415
+ var has;
416
+ var hasRequiredHas;
417
+ function requireHas() {
418
+ if (hasRequiredHas) return has;
419
+ hasRequiredHas = 1;
420
+ has = Function.call.bind(Object.prototype.hasOwnProperty);
421
+ return has;
422
+ }
423
+
424
+ /**
425
+ * Copyright (c) 2013-present, Facebook, Inc.
426
+ *
427
+ * This source code is licensed under the MIT license found in the
428
+ * LICENSE file in the root directory of this source tree.
429
+ */
430
+ var checkPropTypes_1;
431
+ var hasRequiredCheckPropTypes;
432
+ function requireCheckPropTypes() {
433
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
434
+ hasRequiredCheckPropTypes = 1;
435
+ var printWarning = function () {};
436
+ if (process.env.NODE_ENV !== 'production') {
437
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
438
+ var loggedTypeFailures = {};
439
+ var has = requireHas();
440
+ printWarning = function (text) {
441
+ var message = 'Warning: ' + text;
442
+ if (typeof console !== 'undefined') {
443
+ console.error(message);
444
+ }
445
+ try {
446
+ // --- Welcome to debugging React ---
447
+ // This error was thrown as a convenience so that you can use this stack
448
+ // to find the callsite that caused this warning to fire.
449
+ throw new Error(message);
450
+ } catch (x) {/**/}
451
+ };
452
+ }
453
+
454
+ /**
455
+ * Assert that the values match with the type specs.
456
+ * Error messages are memorized and will only be shown once.
457
+ *
458
+ * @param {object} typeSpecs Map of name to a ReactPropType
459
+ * @param {object} values Runtime values that need to be type-checked
460
+ * @param {string} location e.g. "prop", "context", "child context"
461
+ * @param {string} componentName Name of the component for error messages.
462
+ * @param {?Function} getStack Returns the component stack.
463
+ * @private
464
+ */
465
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
466
+ if (process.env.NODE_ENV !== 'production') {
467
+ for (var typeSpecName in typeSpecs) {
468
+ if (has(typeSpecs, typeSpecName)) {
469
+ var error;
470
+ // Prop type validation may throw. In case they do, we don't want to
471
+ // fail the render phase where it didn't fail before. So we log it.
472
+ // After these have been cleaned up, we'll let them throw.
473
+ try {
474
+ // This is intentionally an invariant that gets caught. It's the same
475
+ // behavior as without this statement except with a better message.
476
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
477
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
478
+ err.name = 'Invariant Violation';
479
+ throw err;
480
+ }
481
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
482
+ } catch (ex) {
483
+ error = ex;
484
+ }
485
+ if (error && !(error instanceof Error)) {
486
+ printWarning((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
487
+ }
488
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
489
+ // Only monitor this failure once because there tends to be a lot of the
490
+ // same error.
491
+ loggedTypeFailures[error.message] = true;
492
+ var stack = getStack ? getStack() : '';
493
+ printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
494
+ }
495
+ }
496
+ }
497
+ }
498
+ }
499
+
500
+ /**
501
+ * Resets warning cache when testing.
502
+ *
503
+ * @private
504
+ */
505
+ checkPropTypes.resetWarningCache = function () {
506
+ if (process.env.NODE_ENV !== 'production') {
507
+ loggedTypeFailures = {};
508
+ }
509
+ };
510
+ checkPropTypes_1 = checkPropTypes;
511
+ return checkPropTypes_1;
512
+ }
513
+
514
+ /**
515
+ * Copyright (c) 2013-present, Facebook, Inc.
516
+ *
517
+ * This source code is licensed under the MIT license found in the
518
+ * LICENSE file in the root directory of this source tree.
519
+ */
520
+ var factoryWithTypeCheckers;
521
+ var hasRequiredFactoryWithTypeCheckers;
522
+ function requireFactoryWithTypeCheckers() {
523
+ if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
524
+ hasRequiredFactoryWithTypeCheckers = 1;
525
+ var ReactIs = requireReactIs();
526
+ var assign = requireObjectAssign();
527
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
528
+ var has = requireHas();
529
+ var checkPropTypes = requireCheckPropTypes();
530
+ var printWarning = function () {};
531
+ if (process.env.NODE_ENV !== 'production') {
532
+ printWarning = function (text) {
533
+ var message = 'Warning: ' + text;
534
+ if (typeof console !== 'undefined') {
535
+ console.error(message);
536
+ }
537
+ try {
538
+ // --- Welcome to debugging React ---
539
+ // This error was thrown as a convenience so that you can use this stack
540
+ // to find the callsite that caused this warning to fire.
541
+ throw new Error(message);
542
+ } catch (x) {}
543
+ };
544
+ }
545
+ function emptyFunctionThatReturnsNull() {
546
+ return null;
547
+ }
548
+ factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
549
+ /* global Symbol */
550
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
551
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
552
+
553
+ /**
554
+ * Returns the iterator method function contained on the iterable object.
555
+ *
556
+ * Be sure to invoke the function with the iterable as context:
557
+ *
558
+ * var iteratorFn = getIteratorFn(myIterable);
559
+ * if (iteratorFn) {
560
+ * var iterator = iteratorFn.call(myIterable);
561
+ * ...
562
+ * }
563
+ *
564
+ * @param {?object} maybeIterable
565
+ * @return {?function}
566
+ */
567
+ function getIteratorFn(maybeIterable) {
568
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
569
+ if (typeof iteratorFn === 'function') {
570
+ return iteratorFn;
571
+ }
572
+ }
573
+
574
+ /**
575
+ * Collection of methods that allow declaration and validation of props that are
576
+ * supplied to React components. Example usage:
577
+ *
578
+ * var Props = require('ReactPropTypes');
579
+ * var MyArticle = React.createClass({
580
+ * propTypes: {
581
+ * // An optional string prop named "description".
582
+ * description: Props.string,
583
+ *
584
+ * // A required enum prop named "category".
585
+ * category: Props.oneOf(['News','Photos']).isRequired,
586
+ *
587
+ * // A prop named "dialog" that requires an instance of Dialog.
588
+ * dialog: Props.instanceOf(Dialog).isRequired
589
+ * },
590
+ * render: function() { ... }
591
+ * });
592
+ *
593
+ * A more formal specification of how these methods are used:
594
+ *
595
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
596
+ * decl := ReactPropTypes.{type}(.isRequired)?
597
+ *
598
+ * Each and every declaration produces a function with the same signature. This
599
+ * allows the creation of custom validation functions. For example:
600
+ *
601
+ * var MyLink = React.createClass({
602
+ * propTypes: {
603
+ * // An optional string or URI prop named "href".
604
+ * href: function(props, propName, componentName) {
605
+ * var propValue = props[propName];
606
+ * if (propValue != null && typeof propValue !== 'string' &&
607
+ * !(propValue instanceof URI)) {
608
+ * return new Error(
609
+ * 'Expected a string or an URI for ' + propName + ' in ' +
610
+ * componentName
611
+ * );
612
+ * }
613
+ * }
614
+ * },
615
+ * render: function() {...}
616
+ * });
617
+ *
618
+ * @internal
619
+ */
620
+
621
+ var ANONYMOUS = '<<anonymous>>';
622
+
623
+ // Important!
624
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
625
+ var ReactPropTypes = {
626
+ array: createPrimitiveTypeChecker('array'),
627
+ bigint: createPrimitiveTypeChecker('bigint'),
628
+ bool: createPrimitiveTypeChecker('boolean'),
629
+ func: createPrimitiveTypeChecker('function'),
630
+ number: createPrimitiveTypeChecker('number'),
631
+ object: createPrimitiveTypeChecker('object'),
632
+ string: createPrimitiveTypeChecker('string'),
633
+ symbol: createPrimitiveTypeChecker('symbol'),
634
+ any: createAnyTypeChecker(),
635
+ arrayOf: createArrayOfTypeChecker,
636
+ element: createElementTypeChecker(),
637
+ elementType: createElementTypeTypeChecker(),
638
+ instanceOf: createInstanceTypeChecker,
639
+ node: createNodeChecker(),
640
+ objectOf: createObjectOfTypeChecker,
641
+ oneOf: createEnumTypeChecker,
642
+ oneOfType: createUnionTypeChecker,
643
+ shape: createShapeTypeChecker,
644
+ exact: createStrictShapeTypeChecker
645
+ };
646
+
647
+ /**
648
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
649
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
650
+ */
651
+ /*eslint-disable no-self-compare*/
652
+ function is(x, y) {
653
+ // SameValue algorithm
654
+ if (x === y) {
655
+ // Steps 1-5, 7-10
656
+ // Steps 6.b-6.e: +0 != -0
657
+ return x !== 0 || 1 / x === 1 / y;
658
+ } else {
659
+ // Step 6.a: NaN == NaN
660
+ return x !== x && y !== y;
661
+ }
662
+ }
663
+ /*eslint-enable no-self-compare*/
664
+
665
+ /**
666
+ * We use an Error-like object for backward compatibility as people may call
667
+ * PropTypes directly and inspect their output. However, we don't use real
668
+ * Errors anymore. We don't inspect their stack anyway, and creating them
669
+ * is prohibitively expensive if they are created too often, such as what
670
+ * happens in oneOfType() for any type before the one that matched.
671
+ */
672
+ function PropTypeError(message, data) {
673
+ this.message = message;
674
+ this.data = data && typeof data === 'object' ? data : {};
675
+ this.stack = '';
676
+ }
677
+ // Make `instanceof Error` still work for returned errors.
678
+ PropTypeError.prototype = Error.prototype;
679
+ function createChainableTypeChecker(validate) {
680
+ if (process.env.NODE_ENV !== 'production') {
681
+ var manualPropTypeCallCache = {};
682
+ var manualPropTypeWarningCount = 0;
683
+ }
684
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
685
+ componentName = componentName || ANONYMOUS;
686
+ propFullName = propFullName || propName;
687
+ if (secret !== ReactPropTypesSecret) {
688
+ if (throwOnDirectAccess) {
689
+ // New behavior only for users of `prop-types` package
690
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
691
+ err.name = 'Invariant Violation';
692
+ throw err;
693
+ } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
694
+ // Old behavior for people using React.PropTypes
695
+ var cacheKey = componentName + ':' + propName;
696
+ if (!manualPropTypeCallCache[cacheKey] &&
697
+ // Avoid spamming the console because they are often not actionable except for lib authors
698
+ manualPropTypeWarningCount < 3) {
699
+ printWarning('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
700
+ manualPropTypeCallCache[cacheKey] = true;
701
+ manualPropTypeWarningCount++;
702
+ }
703
+ }
704
+ }
705
+ if (props[propName] == null) {
706
+ if (isRequired) {
707
+ if (props[propName] === null) {
708
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
709
+ }
710
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
711
+ }
712
+ return null;
713
+ } else {
714
+ return validate(props, propName, componentName, location, propFullName);
715
+ }
716
+ }
717
+ var chainedCheckType = checkType.bind(null, false);
718
+ chainedCheckType.isRequired = checkType.bind(null, true);
719
+ return chainedCheckType;
720
+ }
721
+ function createPrimitiveTypeChecker(expectedType) {
722
+ function validate(props, propName, componentName, location, propFullName, secret) {
723
+ var propValue = props[propName];
724
+ var propType = getPropType(propValue);
725
+ if (propType !== expectedType) {
726
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
727
+ // check, but we can offer a more precise error message here rather than
728
+ // 'of type `object`'.
729
+ var preciseType = getPreciseType(propValue);
730
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
731
+ expectedType: expectedType
732
+ });
733
+ }
734
+ return null;
735
+ }
736
+ return createChainableTypeChecker(validate);
737
+ }
738
+ function createAnyTypeChecker() {
739
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
740
+ }
741
+ function createArrayOfTypeChecker(typeChecker) {
742
+ function validate(props, propName, componentName, location, propFullName) {
743
+ if (typeof typeChecker !== 'function') {
744
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
745
+ }
746
+ var propValue = props[propName];
747
+ if (!Array.isArray(propValue)) {
748
+ var propType = getPropType(propValue);
749
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
750
+ }
751
+ for (var i = 0; i < propValue.length; i++) {
752
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
753
+ if (error instanceof Error) {
754
+ return error;
755
+ }
756
+ }
757
+ return null;
758
+ }
759
+ return createChainableTypeChecker(validate);
760
+ }
761
+ function createElementTypeChecker() {
762
+ function validate(props, propName, componentName, location, propFullName) {
763
+ var propValue = props[propName];
764
+ if (!isValidElement(propValue)) {
765
+ var propType = getPropType(propValue);
766
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
767
+ }
768
+ return null;
769
+ }
770
+ return createChainableTypeChecker(validate);
771
+ }
772
+ function createElementTypeTypeChecker() {
773
+ function validate(props, propName, componentName, location, propFullName) {
774
+ var propValue = props[propName];
775
+ if (!ReactIs.isValidElementType(propValue)) {
776
+ var propType = getPropType(propValue);
777
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
778
+ }
779
+ return null;
780
+ }
781
+ return createChainableTypeChecker(validate);
782
+ }
783
+ function createInstanceTypeChecker(expectedClass) {
784
+ function validate(props, propName, componentName, location, propFullName) {
785
+ if (!(props[propName] instanceof expectedClass)) {
786
+ var expectedClassName = expectedClass.name || ANONYMOUS;
787
+ var actualClassName = getClassName(props[propName]);
788
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
789
+ }
790
+ return null;
791
+ }
792
+ return createChainableTypeChecker(validate);
793
+ }
794
+ function createEnumTypeChecker(expectedValues) {
795
+ if (!Array.isArray(expectedValues)) {
796
+ if (process.env.NODE_ENV !== 'production') {
797
+ if (arguments.length > 1) {
798
+ printWarning('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
799
+ } else {
800
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
801
+ }
802
+ }
803
+ return emptyFunctionThatReturnsNull;
804
+ }
805
+ function validate(props, propName, componentName, location, propFullName) {
806
+ var propValue = props[propName];
807
+ for (var i = 0; i < expectedValues.length; i++) {
808
+ if (is(propValue, expectedValues[i])) {
809
+ return null;
810
+ }
811
+ }
812
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
813
+ var type = getPreciseType(value);
814
+ if (type === 'symbol') {
815
+ return String(value);
816
+ }
817
+ return value;
818
+ });
819
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
820
+ }
821
+ return createChainableTypeChecker(validate);
822
+ }
823
+ function createObjectOfTypeChecker(typeChecker) {
824
+ function validate(props, propName, componentName, location, propFullName) {
825
+ if (typeof typeChecker !== 'function') {
826
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
827
+ }
828
+ var propValue = props[propName];
829
+ var propType = getPropType(propValue);
830
+ if (propType !== 'object') {
831
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
832
+ }
833
+ for (var key in propValue) {
834
+ if (has(propValue, key)) {
835
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
836
+ if (error instanceof Error) {
837
+ return error;
838
+ }
839
+ }
840
+ }
841
+ return null;
842
+ }
843
+ return createChainableTypeChecker(validate);
844
+ }
845
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
846
+ if (!Array.isArray(arrayOfTypeCheckers)) {
847
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
848
+ return emptyFunctionThatReturnsNull;
849
+ }
850
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
851
+ var checker = arrayOfTypeCheckers[i];
852
+ if (typeof checker !== 'function') {
853
+ printWarning('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
854
+ return emptyFunctionThatReturnsNull;
855
+ }
856
+ }
857
+ function validate(props, propName, componentName, location, propFullName) {
858
+ var expectedTypes = [];
859
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
860
+ var checker = arrayOfTypeCheckers[i];
861
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
862
+ if (checkerResult == null) {
863
+ return null;
864
+ }
865
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
866
+ expectedTypes.push(checkerResult.data.expectedType);
867
+ }
868
+ }
869
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
870
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
871
+ }
872
+ return createChainableTypeChecker(validate);
873
+ }
874
+ function createNodeChecker() {
875
+ function validate(props, propName, componentName, location, propFullName) {
876
+ if (!isNode(props[propName])) {
877
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
878
+ }
879
+ return null;
880
+ }
881
+ return createChainableTypeChecker(validate);
882
+ }
883
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
884
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
885
+ }
886
+ function createShapeTypeChecker(shapeTypes) {
887
+ function validate(props, propName, componentName, location, propFullName) {
888
+ var propValue = props[propName];
889
+ var propType = getPropType(propValue);
890
+ if (propType !== 'object') {
891
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
892
+ }
893
+ for (var key in shapeTypes) {
894
+ var checker = shapeTypes[key];
895
+ if (typeof checker !== 'function') {
896
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
897
+ }
898
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
899
+ if (error) {
900
+ return error;
901
+ }
902
+ }
903
+ return null;
904
+ }
905
+ return createChainableTypeChecker(validate);
906
+ }
907
+ function createStrictShapeTypeChecker(shapeTypes) {
908
+ function validate(props, propName, componentName, location, propFullName) {
909
+ var propValue = props[propName];
910
+ var propType = getPropType(propValue);
911
+ if (propType !== 'object') {
912
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
913
+ }
914
+ // We need to check all keys in case some are required but missing from props.
915
+ var allKeys = assign({}, props[propName], shapeTypes);
916
+ for (var key in allKeys) {
917
+ var checker = shapeTypes[key];
918
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
919
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
920
+ }
921
+ if (!checker) {
922
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
923
+ }
924
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
925
+ if (error) {
926
+ return error;
927
+ }
928
+ }
929
+ return null;
930
+ }
931
+ return createChainableTypeChecker(validate);
932
+ }
933
+ function isNode(propValue) {
934
+ switch (typeof propValue) {
935
+ case 'number':
936
+ case 'string':
937
+ case 'undefined':
938
+ return true;
939
+ case 'boolean':
940
+ return !propValue;
941
+ case 'object':
942
+ if (Array.isArray(propValue)) {
943
+ return propValue.every(isNode);
944
+ }
945
+ if (propValue === null || isValidElement(propValue)) {
946
+ return true;
947
+ }
948
+ var iteratorFn = getIteratorFn(propValue);
949
+ if (iteratorFn) {
950
+ var iterator = iteratorFn.call(propValue);
951
+ var step;
952
+ if (iteratorFn !== propValue.entries) {
953
+ while (!(step = iterator.next()).done) {
954
+ if (!isNode(step.value)) {
955
+ return false;
956
+ }
957
+ }
958
+ } else {
959
+ // Iterator will provide entry [k,v] tuples rather than values.
960
+ while (!(step = iterator.next()).done) {
961
+ var entry = step.value;
962
+ if (entry) {
963
+ if (!isNode(entry[1])) {
964
+ return false;
965
+ }
966
+ }
967
+ }
968
+ }
969
+ } else {
970
+ return false;
971
+ }
972
+ return true;
973
+ default:
974
+ return false;
975
+ }
976
+ }
977
+ function isSymbol(propType, propValue) {
978
+ // Native Symbol.
979
+ if (propType === 'symbol') {
980
+ return true;
981
+ }
982
+
983
+ // falsy value can't be a Symbol
984
+ if (!propValue) {
985
+ return false;
986
+ }
987
+
988
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
989
+ if (propValue['@@toStringTag'] === 'Symbol') {
990
+ return true;
991
+ }
992
+
993
+ // Fallback for non-spec compliant Symbols which are polyfilled.
994
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
995
+ return true;
996
+ }
997
+ return false;
998
+ }
999
+
1000
+ // Equivalent of `typeof` but with special handling for array and regexp.
1001
+ function getPropType(propValue) {
1002
+ var propType = typeof propValue;
1003
+ if (Array.isArray(propValue)) {
1004
+ return 'array';
1005
+ }
1006
+ if (propValue instanceof RegExp) {
1007
+ // Old webkits (at least until Android 4.0) return 'function' rather than
1008
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1009
+ // passes PropTypes.object.
1010
+ return 'object';
1011
+ }
1012
+ if (isSymbol(propType, propValue)) {
1013
+ return 'symbol';
1014
+ }
1015
+ return propType;
1016
+ }
1017
+
1018
+ // This handles more types than `getPropType`. Only used for error messages.
1019
+ // See `createPrimitiveTypeChecker`.
1020
+ function getPreciseType(propValue) {
1021
+ if (typeof propValue === 'undefined' || propValue === null) {
1022
+ return '' + propValue;
1023
+ }
1024
+ var propType = getPropType(propValue);
1025
+ if (propType === 'object') {
1026
+ if (propValue instanceof Date) {
1027
+ return 'date';
1028
+ } else if (propValue instanceof RegExp) {
1029
+ return 'regexp';
1030
+ }
1031
+ }
1032
+ return propType;
1033
+ }
1034
+
1035
+ // Returns a string that is postfixed to a warning about an invalid type.
1036
+ // For example, "undefined" or "of type array"
1037
+ function getPostfixForTypeWarning(value) {
1038
+ var type = getPreciseType(value);
1039
+ switch (type) {
1040
+ case 'array':
1041
+ case 'object':
1042
+ return 'an ' + type;
1043
+ case 'boolean':
1044
+ case 'date':
1045
+ case 'regexp':
1046
+ return 'a ' + type;
1047
+ default:
1048
+ return type;
1049
+ }
1050
+ }
1051
+
1052
+ // Returns class name of the object, if any.
1053
+ function getClassName(propValue) {
1054
+ if (!propValue.constructor || !propValue.constructor.name) {
1055
+ return ANONYMOUS;
1056
+ }
1057
+ return propValue.constructor.name;
1058
+ }
1059
+ ReactPropTypes.checkPropTypes = checkPropTypes;
1060
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1061
+ ReactPropTypes.PropTypes = ReactPropTypes;
1062
+ return ReactPropTypes;
1063
+ };
1064
+ return factoryWithTypeCheckers;
1065
+ }
1066
+
1067
+ /**
1068
+ * Copyright (c) 2013-present, Facebook, Inc.
1069
+ *
1070
+ * This source code is licensed under the MIT license found in the
1071
+ * LICENSE file in the root directory of this source tree.
1072
+ */
1073
+ var factoryWithThrowingShims;
1074
+ var hasRequiredFactoryWithThrowingShims;
1075
+ function requireFactoryWithThrowingShims() {
1076
+ if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
1077
+ hasRequiredFactoryWithThrowingShims = 1;
1078
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
1079
+ function emptyFunction() {}
1080
+ function emptyFunctionWithReset() {}
1081
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
1082
+ factoryWithThrowingShims = function () {
1083
+ function shim(props, propName, componentName, location, propFullName, secret) {
1084
+ if (secret === ReactPropTypesSecret) {
1085
+ // It is still safe when called from React.
1086
+ return;
1087
+ }
1088
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
1089
+ err.name = 'Invariant Violation';
1090
+ throw err;
1091
+ }
1092
+ shim.isRequired = shim;
1093
+ function getShim() {
1094
+ return shim;
1095
+ }
1096
+ // Important!
1097
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1098
+ var ReactPropTypes = {
1099
+ array: shim,
1100
+ bigint: shim,
1101
+ bool: shim,
1102
+ func: shim,
1103
+ number: shim,
1104
+ object: shim,
1105
+ string: shim,
1106
+ symbol: shim,
1107
+ any: shim,
1108
+ arrayOf: getShim,
1109
+ element: shim,
1110
+ elementType: shim,
1111
+ instanceOf: getShim,
1112
+ node: shim,
1113
+ objectOf: getShim,
1114
+ oneOf: getShim,
1115
+ oneOfType: getShim,
1116
+ shape: getShim,
1117
+ exact: getShim,
1118
+ checkPropTypes: emptyFunctionWithReset,
1119
+ resetWarningCache: emptyFunction
1120
+ };
1121
+ ReactPropTypes.PropTypes = ReactPropTypes;
1122
+ return ReactPropTypes;
1123
+ };
1124
+ return factoryWithThrowingShims;
1125
+ }
1126
+
1127
+ /**
1128
+ * Copyright (c) 2013-present, Facebook, Inc.
1129
+ *
1130
+ * This source code is licensed under the MIT license found in the
1131
+ * LICENSE file in the root directory of this source tree.
1132
+ */
1133
+ if (process.env.NODE_ENV !== 'production') {
1134
+ var ReactIs = requireReactIs();
1135
+
1136
+ // By explicitly using `prop-types` you are opting into new development behavior.
1137
+ // http://fb.me/prop-types-in-prod
1138
+ var throwOnDirectAccess = true;
1139
+ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1140
+ } else {
1141
+ // By explicitly using `prop-types` you are opting into new production behavior.
1142
+ // http://fb.me/prop-types-in-prod
1143
+ requireFactoryWithThrowingShims()();
1144
+ }
1145
+
1146
+ /******************************************************************************
1147
+ Copyright (c) Microsoft Corporation.
1148
+
1149
+ Permission to use, copy, modify, and/or distribute this software for any
1150
+ purpose with or without fee is hereby granted.
1151
+
1152
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1153
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1154
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1155
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1156
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1157
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1158
+ PERFORMANCE OF THIS SOFTWARE.
1159
+ ***************************************************************************** */
1160
+
1161
+ var __assign = function() {
1162
+ __assign = Object.assign || function __assign(t) {
1163
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1164
+ s = arguments[i];
1165
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1166
+ }
1167
+ return t;
1168
+ };
1169
+ return __assign.apply(this, arguments);
1170
+ };
1171
+
1172
+ function __spreadArray(to, from, pack) {
1173
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
1174
+ if (ar || !(i in from)) {
1175
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
1176
+ ar[i] = from[i];
1177
+ }
1178
+ }
1179
+ return to.concat(ar || Array.prototype.slice.call(from));
1180
+ }
1181
+
1182
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1183
+ var e = new Error(message);
1184
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1185
+ };
1186
+
1187
+ function memoize(fn) {
1188
+ var cache = Object.create(null);
1189
+ return function (arg) {
1190
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
1191
+ return cache[arg];
1192
+ };
1193
+ }
1194
+
1195
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
1196
+
1197
+ var isPropValid = /* #__PURE__ */memoize(function (prop) {
1198
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
1199
+ /* o */ && prop.charCodeAt(1) === 110
1200
+ /* n */ && prop.charCodeAt(2) < 91;
1201
+ }
1202
+ /* Z+1 */);
1203
+
1204
+ var MS = '-ms-';
1205
+ var MOZ = '-moz-';
1206
+ var WEBKIT = '-webkit-';
1207
+ var COMMENT = 'comm';
1208
+ var RULESET = 'rule';
1209
+ var DECLARATION = 'decl';
1210
+ var IMPORT = '@import';
1211
+ var KEYFRAMES = '@keyframes';
1212
+ var LAYER = '@layer';
1213
+
1214
+ /**
1215
+ * @param {number}
1216
+ * @return {number}
1217
+ */
1218
+ var abs = Math.abs;
1219
+
1220
+ /**
1221
+ * @param {number}
1222
+ * @return {string}
1223
+ */
1224
+ var from = String.fromCharCode;
1225
+
1226
+ /**
1227
+ * @param {object}
1228
+ * @return {object}
1229
+ */
1230
+ var assign = Object.assign;
1231
+
1232
+ /**
1233
+ * @param {string} value
1234
+ * @param {number} length
1235
+ * @return {number}
1236
+ */
1237
+ function hash(value, length) {
1238
+ return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
1239
+ }
1240
+
1241
+ /**
1242
+ * @param {string} value
1243
+ * @return {string}
1244
+ */
1245
+ function trim(value) {
1246
+ return value.trim();
1247
+ }
1248
+
1249
+ /**
1250
+ * @param {string} value
1251
+ * @param {RegExp} pattern
1252
+ * @return {string?}
1253
+ */
1254
+ function match(value, pattern) {
1255
+ return (value = pattern.exec(value)) ? value[0] : value;
1256
+ }
1257
+
1258
+ /**
1259
+ * @param {string} value
1260
+ * @param {(string|RegExp)} pattern
1261
+ * @param {string} replacement
1262
+ * @return {string}
1263
+ */
1264
+ function replace(value, pattern, replacement) {
1265
+ return value.replace(pattern, replacement);
1266
+ }
1267
+
1268
+ /**
1269
+ * @param {string} value
1270
+ * @param {string} search
1271
+ * @param {number} position
1272
+ * @return {number}
1273
+ */
1274
+ function indexof(value, search, position) {
1275
+ return value.indexOf(search, position);
1276
+ }
1277
+
1278
+ /**
1279
+ * @param {string} value
1280
+ * @param {number} index
1281
+ * @return {number}
1282
+ */
1283
+ function charat(value, index) {
1284
+ return value.charCodeAt(index) | 0;
1285
+ }
1286
+
1287
+ /**
1288
+ * @param {string} value
1289
+ * @param {number} begin
1290
+ * @param {number} end
1291
+ * @return {string}
1292
+ */
1293
+ function substr(value, begin, end) {
1294
+ return value.slice(begin, end);
1295
+ }
1296
+
1297
+ /**
1298
+ * @param {string} value
1299
+ * @return {number}
1300
+ */
1301
+ function strlen(value) {
1302
+ return value.length;
1303
+ }
1304
+
1305
+ /**
1306
+ * @param {any[]} value
1307
+ * @return {number}
1308
+ */
1309
+ function sizeof(value) {
1310
+ return value.length;
1311
+ }
1312
+
1313
+ /**
1314
+ * @param {any} value
1315
+ * @param {any[]} array
1316
+ * @return {any}
1317
+ */
1318
+ function append(value, array) {
1319
+ return array.push(value), value;
1320
+ }
1321
+
1322
+ /**
1323
+ * @param {string[]} array
1324
+ * @param {function} callback
1325
+ * @return {string}
1326
+ */
1327
+ function combine(array, callback) {
1328
+ return array.map(callback).join('');
1329
+ }
1330
+
1331
+ /**
1332
+ * @param {string[]} array
1333
+ * @param {RegExp} pattern
1334
+ * @return {string[]}
1335
+ */
1336
+ function filter(array, pattern) {
1337
+ return array.filter(function (value) {
1338
+ return !match(value, pattern);
1339
+ });
1340
+ }
1341
+
1342
+ var line = 1;
1343
+ var column = 1;
1344
+ var length = 0;
1345
+ var position = 0;
1346
+ var character = 0;
1347
+ var characters = '';
1348
+
1349
+ /**
1350
+ * @param {string} value
1351
+ * @param {object | null} root
1352
+ * @param {object | null} parent
1353
+ * @param {string} type
1354
+ * @param {string[] | string} props
1355
+ * @param {object[] | string} children
1356
+ * @param {object[]} siblings
1357
+ * @param {number} length
1358
+ */
1359
+ function node(value, root, parent, type, props, children, length, siblings) {
1360
+ return {
1361
+ value: value,
1362
+ root: root,
1363
+ parent: parent,
1364
+ type: type,
1365
+ props: props,
1366
+ children: children,
1367
+ line: line,
1368
+ column: column,
1369
+ length: length,
1370
+ return: '',
1371
+ siblings: siblings
1372
+ };
1373
+ }
1374
+
1375
+ /**
1376
+ * @param {object} root
1377
+ * @param {object} props
1378
+ * @return {object}
1379
+ */
1380
+ function copy(root, props) {
1381
+ return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
1382
+ length: -root.length
1383
+ }, props);
1384
+ }
1385
+
1386
+ /**
1387
+ * @param {object} root
1388
+ */
1389
+ function lift(root) {
1390
+ while (root.root) root = copy(root.root, {
1391
+ children: [root]
1392
+ });
1393
+ append(root, root.siblings);
1394
+ }
1395
+
1396
+ /**
1397
+ * @return {number}
1398
+ */
1399
+ function char() {
1400
+ return character;
1401
+ }
1402
+
1403
+ /**
1404
+ * @return {number}
1405
+ */
1406
+ function prev() {
1407
+ character = position > 0 ? charat(characters, --position) : 0;
1408
+ if (column--, character === 10) column = 1, line--;
1409
+ return character;
1410
+ }
1411
+
1412
+ /**
1413
+ * @return {number}
1414
+ */
1415
+ function next() {
1416
+ character = position < length ? charat(characters, position++) : 0;
1417
+ if (column++, character === 10) column = 1, line++;
1418
+ return character;
1419
+ }
1420
+
1421
+ /**
1422
+ * @return {number}
1423
+ */
1424
+ function peek() {
1425
+ return charat(characters, position);
1426
+ }
1427
+
1428
+ /**
1429
+ * @return {number}
1430
+ */
1431
+ function caret() {
1432
+ return position;
1433
+ }
1434
+
1435
+ /**
1436
+ * @param {number} begin
1437
+ * @param {number} end
1438
+ * @return {string}
1439
+ */
1440
+ function slice(begin, end) {
1441
+ return substr(characters, begin, end);
1442
+ }
1443
+
1444
+ /**
1445
+ * @param {number} type
1446
+ * @return {number}
1447
+ */
1448
+ function token(type) {
1449
+ switch (type) {
1450
+ // \0 \t \n \r \s whitespace token
1451
+ case 0:
1452
+ case 9:
1453
+ case 10:
1454
+ case 13:
1455
+ case 32:
1456
+ return 5;
1457
+ // ! + , / > @ ~ isolate token
1458
+ case 33:
1459
+ case 43:
1460
+ case 44:
1461
+ case 47:
1462
+ case 62:
1463
+ case 64:
1464
+ case 126:
1465
+ // ; { } breakpoint token
1466
+ case 59:
1467
+ case 123:
1468
+ case 125:
1469
+ return 4;
1470
+ // : accompanied token
1471
+ case 58:
1472
+ return 3;
1473
+ // " ' ( [ opening delimit token
1474
+ case 34:
1475
+ case 39:
1476
+ case 40:
1477
+ case 91:
1478
+ return 2;
1479
+ // ) ] closing delimit token
1480
+ case 41:
1481
+ case 93:
1482
+ return 1;
1483
+ }
1484
+ return 0;
1485
+ }
1486
+
1487
+ /**
1488
+ * @param {string} value
1489
+ * @return {any[]}
1490
+ */
1491
+ function alloc(value) {
1492
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
1493
+ }
1494
+
1495
+ /**
1496
+ * @param {any} value
1497
+ * @return {any}
1498
+ */
1499
+ function dealloc(value) {
1500
+ return characters = '', value;
1501
+ }
1502
+
1503
+ /**
1504
+ * @param {number} type
1505
+ * @return {string}
1506
+ */
1507
+ function delimit(type) {
1508
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
1509
+ }
1510
+
1511
+ /**
1512
+ * @param {number} type
1513
+ * @return {string}
1514
+ */
1515
+ function whitespace(type) {
1516
+ while (character = peek()) if (character < 33) next();else break;
1517
+ return token(type) > 2 || token(character) > 3 ? '' : ' ';
1518
+ }
1519
+
1520
+ /**
1521
+ * @param {number} index
1522
+ * @param {number} count
1523
+ * @return {string}
1524
+ */
1525
+ function escaping(index, count) {
1526
+ while (--count && next())
1527
+ // not 0-9 A-F a-f
1528
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
1529
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
1530
+ }
1531
+
1532
+ /**
1533
+ * @param {number} type
1534
+ * @return {number}
1535
+ */
1536
+ function delimiter(type) {
1537
+ while (next()) switch (character) {
1538
+ // ] ) " '
1539
+ case type:
1540
+ return position;
1541
+ // " '
1542
+ case 34:
1543
+ case 39:
1544
+ if (type !== 34 && type !== 39) delimiter(character);
1545
+ break;
1546
+ // (
1547
+ case 40:
1548
+ if (type === 41) delimiter(type);
1549
+ break;
1550
+ // \
1551
+ case 92:
1552
+ next();
1553
+ break;
1554
+ }
1555
+ return position;
1556
+ }
1557
+
1558
+ /**
1559
+ * @param {number} type
1560
+ * @param {number} index
1561
+ * @return {number}
1562
+ */
1563
+ function commenter(type, index) {
1564
+ while (next())
1565
+ // //
1566
+ if (type + character === 47 + 10) break;
1567
+ // /*
1568
+ else if (type + character === 42 + 42 && peek() === 47) break;
1569
+ return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
1570
+ }
1571
+
1572
+ /**
1573
+ * @param {number} index
1574
+ * @return {string}
1575
+ */
1576
+ function identifier(index) {
1577
+ while (!token(peek())) next();
1578
+ return slice(index, position);
1579
+ }
1580
+
1581
+ /**
1582
+ * @param {string} value
1583
+ * @return {object[]}
1584
+ */
1585
+ function compile(value) {
1586
+ return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
1587
+ }
1588
+
1589
+ /**
1590
+ * @param {string} value
1591
+ * @param {object} root
1592
+ * @param {object?} parent
1593
+ * @param {string[]} rule
1594
+ * @param {string[]} rules
1595
+ * @param {string[]} rulesets
1596
+ * @param {number[]} pseudo
1597
+ * @param {number[]} points
1598
+ * @param {string[]} declarations
1599
+ * @return {object}
1600
+ */
1601
+ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
1602
+ var index = 0;
1603
+ var offset = 0;
1604
+ var length = pseudo;
1605
+ var atrule = 0;
1606
+ var property = 0;
1607
+ var previous = 0;
1608
+ var variable = 1;
1609
+ var scanning = 1;
1610
+ var ampersand = 1;
1611
+ var character = 0;
1612
+ var type = '';
1613
+ var props = rules;
1614
+ var children = rulesets;
1615
+ var reference = rule;
1616
+ var characters = type;
1617
+ while (scanning) switch (previous = character, character = next()) {
1618
+ // (
1619
+ case 40:
1620
+ if (previous != 108 && charat(characters, length - 1) == 58) {
1621
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
1622
+ break;
1623
+ }
1624
+ // " ' [
1625
+ case 34:
1626
+ case 39:
1627
+ case 91:
1628
+ characters += delimit(character);
1629
+ break;
1630
+ // \t \n \r \s
1631
+ case 9:
1632
+ case 10:
1633
+ case 13:
1634
+ case 32:
1635
+ characters += whitespace(previous);
1636
+ break;
1637
+ // \
1638
+ case 92:
1639
+ characters += escaping(caret() - 1, 7);
1640
+ continue;
1641
+ // /
1642
+ case 47:
1643
+ switch (peek()) {
1644
+ case 42:
1645
+ case 47:
1646
+ append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
1647
+ break;
1648
+ default:
1649
+ characters += '/';
1650
+ }
1651
+ break;
1652
+ // {
1653
+ case 123 * variable:
1654
+ points[index++] = strlen(characters) * ampersand;
1655
+ // } ; \0
1656
+ case 125 * variable:
1657
+ case 59:
1658
+ case 0:
1659
+ switch (character) {
1660
+ // \0 }
1661
+ case 0:
1662
+ case 125:
1663
+ scanning = 0;
1664
+ // ;
1665
+ case 59 + offset:
1666
+ if (ampersand == -1) characters = replace(characters, /\f/g, '');
1667
+ if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
1668
+ break;
1669
+ // @ ;
1670
+ case 59:
1671
+ characters += ';';
1672
+ // { rule/at-rule
1673
+ default:
1674
+ append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
1675
+ if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
1676
+ // d l m s
1677
+ case 100:
1678
+ case 108:
1679
+ case 109:
1680
+ case 115:
1681
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
1682
+ break;
1683
+ default:
1684
+ parse(characters, reference, reference, reference, [''], children, 0, points, children);
1685
+ }
1686
+ }
1687
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
1688
+ break;
1689
+ // :
1690
+ case 58:
1691
+ length = 1 + strlen(characters), property = previous;
1692
+ default:
1693
+ if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
1694
+ switch (characters += from(character), character * variable) {
1695
+ // &
1696
+ case 38:
1697
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
1698
+ break;
1699
+ // ,
1700
+ case 44:
1701
+ points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
1702
+ break;
1703
+ // @
1704
+ case 64:
1705
+ // -
1706
+ if (peek() === 45) characters += delimit(next());
1707
+ atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
1708
+ break;
1709
+ // -
1710
+ case 45:
1711
+ if (previous === 45 && strlen(characters) == 2) variable = 0;
1712
+ }
1713
+ }
1714
+ return rulesets;
1715
+ }
1716
+
1717
+ /**
1718
+ * @param {string} value
1719
+ * @param {object} root
1720
+ * @param {object?} parent
1721
+ * @param {number} index
1722
+ * @param {number} offset
1723
+ * @param {string[]} rules
1724
+ * @param {number[]} points
1725
+ * @param {string} type
1726
+ * @param {string[]} props
1727
+ * @param {string[]} children
1728
+ * @param {number} length
1729
+ * @param {object[]} siblings
1730
+ * @return {object}
1731
+ */
1732
+ function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
1733
+ var post = offset - 1;
1734
+ var rule = offset === 0 ? rules : [''];
1735
+ var size = sizeof(rule);
1736
+ for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
1737
+ return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
1738
+ }
1739
+
1740
+ /**
1741
+ * @param {number} value
1742
+ * @param {object} root
1743
+ * @param {object?} parent
1744
+ * @param {object[]} siblings
1745
+ * @return {object}
1746
+ */
1747
+ function comment(value, root, parent, siblings) {
1748
+ return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
1749
+ }
1750
+
1751
+ /**
1752
+ * @param {string} value
1753
+ * @param {object} root
1754
+ * @param {object?} parent
1755
+ * @param {number} length
1756
+ * @param {object[]} siblings
1757
+ * @return {object}
1758
+ */
1759
+ function declaration(value, root, parent, length, siblings) {
1760
+ return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
1761
+ }
1762
+
1763
+ /**
1764
+ * @param {string} value
1765
+ * @param {number} length
1766
+ * @param {object[]} children
1767
+ * @return {string}
1768
+ */
1769
+ function prefix(value, length, children) {
1770
+ switch (hash(value, length)) {
1771
+ // color-adjust
1772
+ case 5103:
1773
+ return WEBKIT + 'print-' + value + value;
1774
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1775
+ case 5737:
1776
+ case 4201:
1777
+ case 3177:
1778
+ case 3433:
1779
+ case 1641:
1780
+ case 4457:
1781
+ case 2921:
1782
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1783
+ case 5572:
1784
+ case 6356:
1785
+ case 5844:
1786
+ case 3191:
1787
+ case 6645:
1788
+ case 3005:
1789
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1790
+ case 6391:
1791
+ case 5879:
1792
+ case 5623:
1793
+ case 6135:
1794
+ case 4599:
1795
+ case 4855:
1796
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1797
+ case 4215:
1798
+ case 6389:
1799
+ case 5109:
1800
+ case 5365:
1801
+ case 5621:
1802
+ case 3829:
1803
+ return WEBKIT + value + value;
1804
+ // tab-size
1805
+ case 4789:
1806
+ return MOZ + value + value;
1807
+ // appearance, user-select, transform, hyphens, text-size-adjust
1808
+ case 5349:
1809
+ case 4246:
1810
+ case 4810:
1811
+ case 6968:
1812
+ case 2756:
1813
+ return WEBKIT + value + MOZ + value + MS + value + value;
1814
+ // writing-mode
1815
+ case 5936:
1816
+ switch (charat(value, length + 11)) {
1817
+ // vertical-l(r)
1818
+ case 114:
1819
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
1820
+ // vertical-r(l)
1821
+ case 108:
1822
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
1823
+ // horizontal(-)tb
1824
+ case 45:
1825
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
1826
+ // default: fallthrough to below
1827
+ }
1828
+ // flex, flex-direction, scroll-snap-type, writing-mode
1829
+ case 6828:
1830
+ case 4268:
1831
+ case 2903:
1832
+ return WEBKIT + value + MS + value + value;
1833
+ // order
1834
+ case 6165:
1835
+ return WEBKIT + value + MS + 'flex-' + value + value;
1836
+ // align-items
1837
+ case 5187:
1838
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
1839
+ // align-self
1840
+ case 5443:
1841
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
1842
+ // align-content
1843
+ case 4675:
1844
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
1845
+ // flex-shrink
1846
+ case 5548:
1847
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
1848
+ // flex-basis
1849
+ case 5292:
1850
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
1851
+ // flex-grow
1852
+ case 6060:
1853
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
1854
+ // transition
1855
+ case 4554:
1856
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
1857
+ // cursor
1858
+ case 6187:
1859
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
1860
+ // background, background-image
1861
+ case 5495:
1862
+ case 3959:
1863
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
1864
+ // justify-content
1865
+ case 4968:
1866
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
1867
+ // justify-self
1868
+ case 4200:
1869
+ if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
1870
+ break;
1871
+ // grid-template-(columns|rows)
1872
+ case 2592:
1873
+ case 3360:
1874
+ return MS + replace(value, 'template-', '') + value;
1875
+ // grid-(row|column)-start
1876
+ case 4384:
1877
+ case 3616:
1878
+ if (children && children.some(function (element, index) {
1879
+ return length = index, match(element.props, /grid-\w+-end/);
1880
+ })) {
1881
+ return ~indexof(value + (children = children[length].value), 'span', 0) ? value : MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';';
1882
+ }
1883
+ return MS + replace(value, '-start', '') + value;
1884
+ // grid-(row|column)-end
1885
+ case 4896:
1886
+ case 4128:
1887
+ return children && children.some(function (element) {
1888
+ return match(element.props, /grid-\w+-start/);
1889
+ }) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
1890
+ // (margin|padding)-inline-(start|end)
1891
+ case 4095:
1892
+ case 3583:
1893
+ case 4068:
1894
+ case 2532:
1895
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
1896
+ // (min|max)?(width|height|inline-size|block-size)
1897
+ case 8116:
1898
+ case 7059:
1899
+ case 5753:
1900
+ case 5535:
1901
+ case 5445:
1902
+ case 5701:
1903
+ case 4933:
1904
+ case 4677:
1905
+ case 5533:
1906
+ case 5789:
1907
+ case 5021:
1908
+ case 4765:
1909
+ // stretch, max-content, min-content, fill-available
1910
+ if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
1911
+ // (m)ax-content, (m)in-content
1912
+ case 109:
1913
+ // -
1914
+ if (charat(value, length + 4) !== 45) break;
1915
+ // (f)ill-available, (f)it-content
1916
+ case 102:
1917
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
1918
+ // (s)tretch
1919
+ case 115:
1920
+ return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
1921
+ }
1922
+ break;
1923
+ // grid-(column|row)
1924
+ case 5152:
1925
+ case 5920:
1926
+ return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
1927
+ return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
1928
+ });
1929
+ // position: sticky
1930
+ case 4949:
1931
+ // stick(y)?
1932
+ if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
1933
+ break;
1934
+ // display: (flex|inline-flex|grid|inline-grid)
1935
+ case 6444:
1936
+ switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
1937
+ // (inline-)?fle(x)
1938
+ case 120:
1939
+ return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
1940
+ // (inline-)?gri(d)
1941
+ case 100:
1942
+ return replace(value, ':', ':' + MS) + value;
1943
+ }
1944
+ break;
1945
+ // scroll-margin, scroll-margin-(top|right|bottom|left)
1946
+ case 5719:
1947
+ case 2647:
1948
+ case 2135:
1949
+ case 3927:
1950
+ case 2391:
1951
+ return replace(value, 'scroll-', 'scroll-snap-') + value;
1952
+ }
1953
+ return value;
1954
+ }
1955
+
1956
+ /**
1957
+ * @param {object[]} children
1958
+ * @param {function} callback
1959
+ * @return {string}
1960
+ */
1961
+ function serialize(children, callback) {
1962
+ var output = '';
1963
+ for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
1964
+ return output;
1965
+ }
1966
+
1967
+ /**
1968
+ * @param {object} element
1969
+ * @param {number} index
1970
+ * @param {object[]} children
1971
+ * @param {function} callback
1972
+ * @return {string}
1973
+ */
1974
+ function stringify(element, index, children, callback) {
1975
+ switch (element.type) {
1976
+ case LAYER:
1977
+ if (element.children.length) break;
1978
+ case IMPORT:
1979
+ case DECLARATION:
1980
+ return element.return = element.return || element.value;
1981
+ case COMMENT:
1982
+ return '';
1983
+ case KEYFRAMES:
1984
+ return element.return = element.value + '{' + serialize(element.children, callback) + '}';
1985
+ case RULESET:
1986
+ if (!strlen(element.value = element.props.join(','))) return '';
1987
+ }
1988
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
1989
+ }
1990
+
1991
+ /**
1992
+ * @param {function[]} collection
1993
+ * @return {function}
1994
+ */
1995
+ function middleware(collection) {
1996
+ var length = sizeof(collection);
1997
+ return function (element, index, children, callback) {
1998
+ var output = '';
1999
+ for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
2000
+ return output;
2001
+ };
2002
+ }
2003
+
2004
+ /**
2005
+ * @param {function} callback
2006
+ * @return {function}
2007
+ */
2008
+ function rulesheet(callback) {
2009
+ return function (element) {
2010
+ if (!element.root) if (element = element.return) callback(element);
2011
+ };
2012
+ }
2013
+
2014
+ /**
2015
+ * @param {object} element
2016
+ * @param {number} index
2017
+ * @param {object[]} children
2018
+ * @param {function} callback
2019
+ */
2020
+ function prefixer(element, index, children, callback) {
2021
+ if (element.length > -1) if (!element.return) switch (element.type) {
2022
+ case DECLARATION:
2023
+ element.return = prefix(element.value, element.length, children);
2024
+ return;
2025
+ case KEYFRAMES:
2026
+ return serialize([copy(element, {
2027
+ value: replace(element.value, '@', '@' + WEBKIT)
2028
+ })], callback);
2029
+ case RULESET:
2030
+ if (element.length) return combine(children = element.props, function (value) {
2031
+ switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
2032
+ // :read-(only|write)
2033
+ case ':read-only':
2034
+ case ':read-write':
2035
+ lift(copy(element, {
2036
+ props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
2037
+ }));
2038
+ lift(copy(element, {
2039
+ props: [value]
2040
+ }));
2041
+ assign(element, {
2042
+ props: filter(children, callback)
2043
+ });
2044
+ break;
2045
+ // :placeholder
2046
+ case '::placeholder':
2047
+ lift(copy(element, {
2048
+ props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
2049
+ }));
2050
+ lift(copy(element, {
2051
+ props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
2052
+ }));
2053
+ lift(copy(element, {
2054
+ props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
2055
+ }));
2056
+ lift(copy(element, {
2057
+ props: [value]
2058
+ }));
2059
+ assign(element, {
2060
+ props: filter(children, callback)
2061
+ });
2062
+ break;
2063
+ }
2064
+ return '';
2065
+ });
2066
+ }
2067
+ }
2068
+
2069
+ var unitlessKeys = {
2070
+ animationIterationCount: 1,
2071
+ aspectRatio: 1,
2072
+ borderImageOutset: 1,
2073
+ borderImageSlice: 1,
2074
+ borderImageWidth: 1,
2075
+ boxFlex: 1,
2076
+ boxFlexGroup: 1,
2077
+ boxOrdinalGroup: 1,
2078
+ columnCount: 1,
2079
+ columns: 1,
2080
+ flex: 1,
2081
+ flexGrow: 1,
2082
+ flexPositive: 1,
2083
+ flexShrink: 1,
2084
+ flexNegative: 1,
2085
+ flexOrder: 1,
2086
+ gridRow: 1,
2087
+ gridRowEnd: 1,
2088
+ gridRowSpan: 1,
2089
+ gridRowStart: 1,
2090
+ gridColumn: 1,
2091
+ gridColumnEnd: 1,
2092
+ gridColumnSpan: 1,
2093
+ gridColumnStart: 1,
2094
+ msGridRow: 1,
2095
+ msGridRowSpan: 1,
2096
+ msGridColumn: 1,
2097
+ msGridColumnSpan: 1,
2098
+ fontWeight: 1,
2099
+ lineHeight: 1,
2100
+ opacity: 1,
2101
+ order: 1,
2102
+ orphans: 1,
2103
+ tabSize: 1,
2104
+ widows: 1,
2105
+ zIndex: 1,
2106
+ zoom: 1,
2107
+ WebkitLineClamp: 1,
2108
+ // SVG-related properties
2109
+ fillOpacity: 1,
2110
+ floodOpacity: 1,
2111
+ stopOpacity: 1,
2112
+ strokeDasharray: 1,
2113
+ strokeDashoffset: 1,
2114
+ strokeMiterlimit: 1,
2115
+ strokeOpacity: 1,
2116
+ strokeWidth: 1
2117
+ };
2118
+
2119
+ var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
2120
+ m = "active",
2121
+ y = "data-styled-version",
2122
+ v = "6.1.15",
2123
+ g = "/*!sc*/\n",
2124
+ S = "undefined" != typeof window && "HTMLElement" in window,
2125
+ w = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
2126
+ E = /invalid hook call/i,
2127
+ N = new Set(),
2128
+ P = function (t, n) {
2129
+ if ("production" !== process.env.NODE_ENV) {
2130
+ var r = n ? ' with the id of "'.concat(n, '"') : "",
2131
+ s = "The component ".concat(t).concat(r, " has been created dynamically.\n") + "You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
2132
+ i = console.error;
2133
+ try {
2134
+ var a = !0;
2135
+ console.error = function (t) {
2136
+ for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
2137
+ E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
2138
+ }, useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
2139
+ } catch (e) {
2140
+ E.test(e.message) && N.delete(s);
2141
+ } finally {
2142
+ console.error = i;
2143
+ }
2144
+ }
2145
+ },
2146
+ _ = Object.freeze([]),
2147
+ C = Object.freeze({});
2148
+ function I(e, t, n) {
2149
+ return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
2150
+ }
2151
+ var A = new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]),
2152
+ O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
2153
+ D = /(^-|-$)/g;
2154
+ function R(e) {
2155
+ return e.replace(O, "-").replace(D, "");
2156
+ }
2157
+ var T = /(a)(d)/gi,
2158
+ k = 52,
2159
+ j = function (e) {
2160
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
2161
+ };
2162
+ function x(e) {
2163
+ var t,
2164
+ n = "";
2165
+ for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
2166
+ return (j(t % k) + n).replace(T, "$1-$2");
2167
+ }
2168
+ var V,
2169
+ F = 5381,
2170
+ M = function (e, t) {
2171
+ for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
2172
+ return e;
2173
+ },
2174
+ z = function (e) {
2175
+ return M(F, e);
2176
+ };
2177
+ function $(e) {
2178
+ return x(z(e) >>> 0);
2179
+ }
2180
+ function B(e) {
2181
+ return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
2182
+ }
2183
+ function L(e) {
2184
+ return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
2185
+ }
2186
+ var G = "function" == typeof Symbol && Symbol.for,
2187
+ Y = G ? Symbol.for("react.memo") : 60115,
2188
+ q = G ? Symbol.for("react.forward_ref") : 60112,
2189
+ W = {
2190
+ childContextTypes: !0,
2191
+ contextType: !0,
2192
+ contextTypes: !0,
2193
+ defaultProps: !0,
2194
+ displayName: !0,
2195
+ getDefaultProps: !0,
2196
+ getDerivedStateFromError: !0,
2197
+ getDerivedStateFromProps: !0,
2198
+ mixins: !0,
2199
+ propTypes: !0,
2200
+ type: !0
2201
+ },
2202
+ H = {
2203
+ name: !0,
2204
+ length: !0,
2205
+ prototype: !0,
2206
+ caller: !0,
2207
+ callee: !0,
2208
+ arguments: !0,
2209
+ arity: !0
2210
+ },
2211
+ U = {
2212
+ $$typeof: !0,
2213
+ compare: !0,
2214
+ defaultProps: !0,
2215
+ displayName: !0,
2216
+ propTypes: !0,
2217
+ type: !0
2218
+ },
2219
+ J = ((V = {})[q] = {
2220
+ $$typeof: !0,
2221
+ render: !0,
2222
+ defaultProps: !0,
2223
+ displayName: !0,
2224
+ propTypes: !0
2225
+ }, V[Y] = U, V);
2226
+ function X(e) {
2227
+ return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
2228
+ var t;
2229
+ }
2230
+ var Z = Object.defineProperty,
2231
+ K = Object.getOwnPropertyNames,
2232
+ Q = Object.getOwnPropertySymbols,
2233
+ ee = Object.getOwnPropertyDescriptor,
2234
+ te = Object.getPrototypeOf,
2235
+ ne = Object.prototype;
2236
+ function re(e, t, n) {
2237
+ if ("string" != typeof t) {
2238
+ if (ne) {
2239
+ var r = te(t);
2240
+ r && r !== ne && re(e, r, n);
2241
+ }
2242
+ var o = K(t);
2243
+ Q && (o = o.concat(Q(t)));
2244
+ for (var s = X(e), i = X(t), a = 0; a < o.length; ++a) {
2245
+ var c = o[a];
2246
+ if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
2247
+ var l = ee(t, c);
2248
+ try {
2249
+ Z(e, c, l);
2250
+ } catch (e) {}
2251
+ }
2252
+ }
2253
+ }
2254
+ return e;
2255
+ }
2256
+ function oe(e) {
2257
+ return "function" == typeof e;
2258
+ }
2259
+ function se(e) {
2260
+ return "object" == typeof e && "styledComponentId" in e;
2261
+ }
2262
+ function ie(e, t) {
2263
+ return e && t ? "".concat(e, " ").concat(t) : e || t || "";
2264
+ }
2265
+ function ae(e, t) {
2266
+ if (0 === e.length) return "";
2267
+ for (var n = e[0], r = 1; r < e.length; r++) n += t ? t + e[r] : e[r];
2268
+ return n;
2269
+ }
2270
+ function ce(e) {
2271
+ return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
2272
+ }
2273
+ function le(e, t, n) {
2274
+ if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
2275
+ if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = le(e[r], t[r]);else if (ce(t)) for (var r in t) e[r] = le(e[r], t[r]);
2276
+ return e;
2277
+ }
2278
+ function ue(e, t) {
2279
+ Object.defineProperty(e, "toString", {
2280
+ value: t
2281
+ });
2282
+ }
2283
+ var pe = "production" !== process.env.NODE_ENV ? {
2284
+ 1: "Cannot create styled-component for component: %s.\n\n",
2285
+ 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
2286
+ 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
2287
+ 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
2288
+ 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
2289
+ 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
2290
+ 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
2291
+ 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
2292
+ 9: "Missing document `<head>`\n\n",
2293
+ 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
2294
+ 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
2295
+ 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
2296
+ 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
2297
+ 14: 'ThemeProvider: "theme" prop is required.\n\n',
2298
+ 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
2299
+ 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
2300
+ 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
2301
+ 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
2302
+ } : {};
2303
+ function de() {
2304
+ for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
2305
+ for (var n = e[0], r = [], o = 1, s = e.length; o < s; o += 1) r.push(e[o]);
2306
+ return r.forEach(function (e) {
2307
+ n = n.replace(/%[a-z]/, e);
2308
+ }), n;
2309
+ }
2310
+ function he(t) {
2311
+ for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
2312
+ return "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t, " for more information.").concat(n.length > 0 ? " Args: ".concat(n.join(", ")) : "")) : new Error(de.apply(void 0, __spreadArray([pe[t]], n, !1)).trim());
2313
+ }
2314
+ var fe = function () {
2315
+ function e(e) {
2316
+ this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
2317
+ }
2318
+ return e.prototype.indexOfGroup = function (e) {
2319
+ for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
2320
+ return t;
2321
+ }, e.prototype.insertRules = function (e, t) {
2322
+ if (e >= this.groupSizes.length) {
2323
+ for (var n = this.groupSizes, r = n.length, o = r; e >= o;) if ((o <<= 1) < 0) throw he(16, "".concat(e));
2324
+ this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
2325
+ for (var s = r; s < o; s++) this.groupSizes[s] = 0;
2326
+ }
2327
+ for (var i = this.indexOfGroup(e + 1), a = (s = 0, t.length); s < a; s++) this.tag.insertRule(i, t[s]) && (this.groupSizes[e]++, i++);
2328
+ }, e.prototype.clearGroup = function (e) {
2329
+ if (e < this.length) {
2330
+ var t = this.groupSizes[e],
2331
+ n = this.indexOfGroup(e),
2332
+ r = n + t;
2333
+ this.groupSizes[e] = 0;
2334
+ for (var o = n; o < r; o++) this.tag.deleteRule(n);
2335
+ }
2336
+ }, e.prototype.getGroup = function (e) {
2337
+ var t = "";
2338
+ if (e >= this.length || 0 === this.groupSizes[e]) return t;
2339
+ for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += "".concat(this.tag.getRule(s)).concat(g);
2340
+ return t;
2341
+ }, e;
2342
+ }(),
2343
+ me = 1 << 30,
2344
+ ye = new Map(),
2345
+ ve = new Map(),
2346
+ ge = 1,
2347
+ Se = function (e) {
2348
+ if (ye.has(e)) return ye.get(e);
2349
+ for (; ve.has(ge);) ge++;
2350
+ var t = ge++;
2351
+ if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > me)) throw he(16, "".concat(t));
2352
+ return ye.set(e, t), ve.set(t, e), t;
2353
+ },
2354
+ we = function (e, t) {
2355
+ ge = t + 1, ye.set(e, t), ve.set(t, e);
2356
+ },
2357
+ be = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
2358
+ Ee = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
2359
+ Ne = function (e, t, n) {
2360
+ for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
2361
+ },
2362
+ Pe = function (e, t) {
2363
+ for (var n, r = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), o = [], s = 0, i = r.length; s < i; s++) {
2364
+ var a = r[s].trim();
2365
+ if (a) {
2366
+ var c = a.match(Ee);
2367
+ if (c) {
2368
+ var l = 0 | parseInt(c[1], 10),
2369
+ u = c[2];
2370
+ 0 !== l && (we(u, l), Ne(e, u, c[3]), e.getTag().insertRules(l, o)), o.length = 0;
2371
+ } else o.push(a);
2372
+ }
2373
+ }
2374
+ },
2375
+ _e = function (e) {
2376
+ for (var t = document.querySelectorAll(be), n = 0, r = t.length; n < r; n++) {
2377
+ var o = t[n];
2378
+ o && o.getAttribute(f) !== m && (Pe(e, o), o.parentNode && o.parentNode.removeChild(o));
2379
+ }
2380
+ };
2381
+ function Ce() {
2382
+ return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
2383
+ }
2384
+ var Ie = function (e) {
2385
+ var t = document.head,
2386
+ n = e || t,
2387
+ r = document.createElement("style"),
2388
+ o = function (e) {
2389
+ var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
2390
+ return t[t.length - 1];
2391
+ }(n),
2392
+ s = void 0 !== o ? o.nextSibling : null;
2393
+ r.setAttribute(f, m), r.setAttribute(y, v);
2394
+ var i = Ce();
2395
+ return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
2396
+ },
2397
+ Ae = function () {
2398
+ function e(e) {
2399
+ this.element = Ie(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
2400
+ if (e.sheet) return e.sheet;
2401
+ for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
2402
+ var o = t[n];
2403
+ if (o.ownerNode === e) return o;
2404
+ }
2405
+ throw he(17);
2406
+ }(this.element), this.length = 0;
2407
+ }
2408
+ return e.prototype.insertRule = function (e, t) {
2409
+ try {
2410
+ return this.sheet.insertRule(t, e), this.length++, !0;
2411
+ } catch (e) {
2412
+ return !1;
2413
+ }
2414
+ }, e.prototype.deleteRule = function (e) {
2415
+ this.sheet.deleteRule(e), this.length--;
2416
+ }, e.prototype.getRule = function (e) {
2417
+ var t = this.sheet.cssRules[e];
2418
+ return t && t.cssText ? t.cssText : "";
2419
+ }, e;
2420
+ }(),
2421
+ Oe = function () {
2422
+ function e(e) {
2423
+ this.element = Ie(e), this.nodes = this.element.childNodes, this.length = 0;
2424
+ }
2425
+ return e.prototype.insertRule = function (e, t) {
2426
+ if (e <= this.length && e >= 0) {
2427
+ var n = document.createTextNode(t);
2428
+ return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
2429
+ }
2430
+ return !1;
2431
+ }, e.prototype.deleteRule = function (e) {
2432
+ this.element.removeChild(this.nodes[e]), this.length--;
2433
+ }, e.prototype.getRule = function (e) {
2434
+ return e < this.length ? this.nodes[e].textContent : "";
2435
+ }, e;
2436
+ }(),
2437
+ De = function () {
2438
+ function e(e) {
2439
+ this.rules = [], this.length = 0;
2440
+ }
2441
+ return e.prototype.insertRule = function (e, t) {
2442
+ return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
2443
+ }, e.prototype.deleteRule = function (e) {
2444
+ this.rules.splice(e, 1), this.length--;
2445
+ }, e.prototype.getRule = function (e) {
2446
+ return e < this.length ? this.rules[e] : "";
2447
+ }, e;
2448
+ }(),
2449
+ Re = S,
2450
+ Te = {
2451
+ isServer: !S,
2452
+ useCSSOMInjection: !w
2453
+ },
2454
+ ke = function () {
2455
+ function e(e, n, r) {
2456
+ void 0 === e && (e = C), void 0 === n && (n = {});
2457
+ var o = this;
2458
+ this.options = __assign(__assign({}, Te), e), this.gs = n, this.names = new Map(r), this.server = !!e.isServer, !this.server && S && Re && (Re = !1, _e(this)), ue(this, function () {
2459
+ return function (e) {
2460
+ for (var t = e.getTag(), n = t.length, r = "", o = function (n) {
2461
+ var o = function (e) {
2462
+ return ve.get(e);
2463
+ }(n);
2464
+ if (void 0 === o) return "continue";
2465
+ var s = e.names.get(o),
2466
+ i = t.getGroup(n);
2467
+ if (void 0 === s || !s.size || 0 === i.length) return "continue";
2468
+ var a = "".concat(f, ".g").concat(n, '[id="').concat(o, '"]'),
2469
+ c = "";
2470
+ void 0 !== s && s.forEach(function (e) {
2471
+ e.length > 0 && (c += "".concat(e, ","));
2472
+ }), r += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
2473
+ }, s = 0; s < n; s++) o(s);
2474
+ return r;
2475
+ }(o);
2476
+ });
2477
+ }
2478
+ return e.registerId = function (e) {
2479
+ return Se(e);
2480
+ }, e.prototype.rehydrate = function () {
2481
+ !this.server && S && _e(this);
2482
+ }, e.prototype.reconstructWithOptions = function (n, r) {
2483
+ return void 0 === r && (r = !0), new e(__assign(__assign({}, this.options), n), this.gs, r && this.names || void 0);
2484
+ }, e.prototype.allocateGSInstance = function (e) {
2485
+ return this.gs[e] = (this.gs[e] || 0) + 1;
2486
+ }, e.prototype.getTag = function () {
2487
+ return this.tag || (this.tag = (e = function (e) {
2488
+ var t = e.useCSSOMInjection,
2489
+ n = e.target;
2490
+ return e.isServer ? new De(n) : t ? new Ae(n) : new Oe(n);
2491
+ }(this.options), new fe(e)));
2492
+ var e;
2493
+ }, e.prototype.hasNameForId = function (e, t) {
2494
+ return this.names.has(e) && this.names.get(e).has(t);
2495
+ }, e.prototype.registerName = function (e, t) {
2496
+ if (Se(e), this.names.has(e)) this.names.get(e).add(t);else {
2497
+ var n = new Set();
2498
+ n.add(t), this.names.set(e, n);
2499
+ }
2500
+ }, e.prototype.insertRules = function (e, t, n) {
2501
+ this.registerName(e, t), this.getTag().insertRules(Se(e), n);
2502
+ }, e.prototype.clearNames = function (e) {
2503
+ this.names.has(e) && this.names.get(e).clear();
2504
+ }, e.prototype.clearRules = function (e) {
2505
+ this.getTag().clearGroup(Se(e)), this.clearNames(e);
2506
+ }, e.prototype.clearTag = function () {
2507
+ this.tag = void 0;
2508
+ }, e;
2509
+ }(),
2510
+ je = /&/g,
2511
+ xe = /^\s*\/\/.*$/gm;
2512
+ function Ve(e, t) {
2513
+ return e.map(function (e) {
2514
+ return "rule" === e.type && (e.value = "".concat(t, " ").concat(e.value), e.value = e.value.replaceAll(",", ",".concat(t, " ")), e.props = e.props.map(function (e) {
2515
+ return "".concat(t, " ").concat(e);
2516
+ })), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = Ve(e.children, t)), e;
2517
+ });
2518
+ }
2519
+ function Fe(e) {
2520
+ var t,
2521
+ n,
2522
+ r,
2523
+ o = void 0 === e ? C : e,
2524
+ s = o.options,
2525
+ i = void 0 === s ? C : s,
2526
+ a = o.plugins,
2527
+ c = void 0 === a ? _ : a,
2528
+ l = function (e, r, o) {
2529
+ return o.startsWith(n) && o.endsWith(n) && o.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
2530
+ },
2531
+ u = c.slice();
2532
+ u.push(function (e) {
2533
+ e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(je, n).replace(r, l));
2534
+ }), i.prefix && u.push(prefixer), u.push(stringify);
2535
+ var p = function (e, o, s, a) {
2536
+ void 0 === o && (o = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = o, r = new RegExp("\\".concat(n, "\\b"), "g");
2537
+ var c = e.replace(xe, ""),
2538
+ l = compile(s || o ? "".concat(s, " ").concat(o, " { ").concat(c, " }") : c);
2539
+ i.namespace && (l = Ve(l, i.namespace));
2540
+ var p = [];
2541
+ return serialize(l, middleware(u.concat(rulesheet(function (e) {
2542
+ return p.push(e);
2543
+ })))), p;
2544
+ };
2545
+ return p.hash = c.length ? c.reduce(function (e, t) {
2546
+ return t.name || he(15), M(e, t.name);
2547
+ }, F).toString() : "", p;
2548
+ }
2549
+ var Me = new ke(),
2550
+ ze = Fe(),
2551
+ $e = /*#__PURE__*/React.createContext({
2552
+ shouldForwardProp: void 0,
2553
+ styleSheet: Me,
2554
+ stylis: ze
2555
+ });
2556
+ $e.Consumer;
2557
+ function Ge() {
2558
+ return useContext($e);
2559
+ }
2560
+ var qe = function () {
2561
+ function e(e, t) {
2562
+ var n = this;
2563
+ this.inject = function (e, t) {
2564
+ void 0 === t && (t = ze);
2565
+ var r = n.name + t.hash;
2566
+ e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
2567
+ }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
2568
+ throw he(12, String(n.name));
2569
+ });
2570
+ }
2571
+ return e.prototype.getName = function (e) {
2572
+ return void 0 === e && (e = ze), this.name + e.hash;
2573
+ }, e;
2574
+ }(),
2575
+ We = function (e) {
2576
+ return e >= "A" && e <= "Z";
2577
+ };
2578
+ function He(e) {
2579
+ for (var t = "", n = 0; n < e.length; n++) {
2580
+ var r = e[n];
2581
+ if (1 === n && "-" === r && "-" === e[0]) return e;
2582
+ We(r) ? t += "-" + r.toLowerCase() : t += r;
2583
+ }
2584
+ return t.startsWith("ms-") ? "-" + t : t;
2585
+ }
2586
+ var Ue = function (e) {
2587
+ return null == e || !1 === e || "" === e;
2588
+ },
2589
+ Je = function (t) {
2590
+ var n,
2591
+ r,
2592
+ o = [];
2593
+ for (var s in t) {
2594
+ var i = t[s];
2595
+ t.hasOwnProperty(s) && !Ue(i) && (Array.isArray(i) && i.isCss || oe(i) ? o.push("".concat(He(s), ":"), i, ";") : ce(i) ? o.push.apply(o, __spreadArray(__spreadArray(["".concat(s, " {")], Je(i), !1), ["}"], !1)) : o.push("".concat(He(s), ": ").concat((n = s, null == (r = i) || "boolean" == typeof r || "" === r ? "" : "number" != typeof r || 0 === r || n in unitlessKeys || n.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
2596
+ }
2597
+ return o;
2598
+ };
2599
+ function Xe(e, t, n, r) {
2600
+ if (Ue(e)) return [];
2601
+ if (se(e)) return [".".concat(e.styledComponentId)];
2602
+ if (oe(e)) {
2603
+ if (!oe(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
2604
+ var o = e(t);
2605
+ return "production" === process.env.NODE_ENV || "object" != typeof o || Array.isArray(o) || o instanceof qe || ce(o) || null === o || console.error("".concat(B(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Xe(o, t, n, r);
2606
+ }
2607
+ var s;
2608
+ return e instanceof qe ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ce(e) ? Je(e) : Array.isArray(e) ? Array.prototype.concat.apply(_, e.map(function (e) {
2609
+ return Xe(e, t, n, r);
2610
+ })) : [e.toString()];
2611
+ }
2612
+ function Ze(e) {
2613
+ for (var t = 0; t < e.length; t += 1) {
2614
+ var n = e[t];
2615
+ if (oe(n) && !se(n)) return !1;
2616
+ }
2617
+ return !0;
2618
+ }
2619
+ var Ke = z(v),
2620
+ Qe = function () {
2621
+ function e(e, t, n) {
2622
+ this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && Ze(e), this.componentId = t, this.baseHash = M(Ke, t), this.baseStyle = n, ke.registerId(t);
2623
+ }
2624
+ return e.prototype.generateAndInjectStyles = function (e, t, n) {
2625
+ var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
2626
+ if (this.isStatic && !n.hash) {
2627
+ if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) r = ie(r, this.staticRulesId);else {
2628
+ var o = ae(Xe(this.rules, e, t, n)),
2629
+ s = x(M(this.baseHash, o) >>> 0);
2630
+ if (!t.hasNameForId(this.componentId, s)) {
2631
+ var i = n(o, ".".concat(s), void 0, this.componentId);
2632
+ t.insertRules(this.componentId, s, i);
2633
+ }
2634
+ r = ie(r, s), this.staticRulesId = s;
2635
+ }
2636
+ } else {
2637
+ for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
2638
+ var u = this.rules[l];
2639
+ if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
2640
+ var p = ae(Xe(u, e, t, n));
2641
+ a = M(a, p + l), c += p;
2642
+ }
2643
+ }
2644
+ if (c) {
2645
+ var d = x(a >>> 0);
2646
+ t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), r = ie(r, d);
2647
+ }
2648
+ }
2649
+ return r;
2650
+ }, e;
2651
+ }(),
2652
+ et = /*#__PURE__*/React.createContext(void 0);
2653
+ et.Consumer;
2654
+ var ot = {},
2655
+ st = new Set();
2656
+ function it(e, o, s) {
2657
+ var i = se(e),
2658
+ a = e,
2659
+ c = !L(e),
2660
+ p = o.attrs,
2661
+ d = void 0 === p ? _ : p,
2662
+ h = o.componentId,
2663
+ f = void 0 === h ? function (e, t) {
2664
+ var n = "string" != typeof e ? "sc" : R(e);
2665
+ ot[n] = (ot[n] || 0) + 1;
2666
+ var r = "".concat(n, "-").concat($(v + n + ot[n]));
2667
+ return t ? "".concat(t, "-").concat(r) : r;
2668
+ }(o.displayName, o.parentComponentId) : h,
2669
+ m = o.displayName,
2670
+ y = void 0 === m ? function (e) {
2671
+ return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
2672
+ }(e) : m,
2673
+ g = o.displayName && o.componentId ? "".concat(R(o.displayName), "-").concat(o.componentId) : o.componentId || f,
2674
+ S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
2675
+ w = o.shouldForwardProp;
2676
+ if (i && a.shouldForwardProp) {
2677
+ var b = a.shouldForwardProp;
2678
+ if (o.shouldForwardProp) {
2679
+ var E = o.shouldForwardProp;
2680
+ w = function (e, t) {
2681
+ return b(e, t) && E(e, t);
2682
+ };
2683
+ } else w = b;
2684
+ }
2685
+ var N = new Qe(s, g, i ? a.componentStyle : void 0);
2686
+ function O(e, o) {
2687
+ return function (e, o, s) {
2688
+ var i = e.attrs,
2689
+ a = e.componentStyle,
2690
+ c = e.defaultProps,
2691
+ p = e.foldedComponentIds,
2692
+ d = e.styledComponentId,
2693
+ h = e.target,
2694
+ f = React.useContext(et),
2695
+ m = Ge(),
2696
+ y = e.shouldForwardProp || m.shouldForwardProp;
2697
+ "production" !== process.env.NODE_ENV && useDebugValue(d);
2698
+ var v = I(o, f, c) || C,
2699
+ g = function (e, n, r) {
2700
+ for (var o, s = __assign(__assign({}, n), {
2701
+ className: void 0,
2702
+ theme: r
2703
+ }), i = 0; i < e.length; i += 1) {
2704
+ var a = oe(o = e[i]) ? o(s) : o;
2705
+ for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
2706
+ }
2707
+ return n.className && (s.className = ie(s.className, n.className)), s;
2708
+ }(i, o, v),
2709
+ S = g.as || h,
2710
+ w = {};
2711
+ for (var b in g) void 0 === g[b] || "$" === b[0] || "as" === b || "theme" === b && g.theme === v || ("forwardedAs" === b ? w.as = g.forwardedAs : y && !y(b, S) || (w[b] = g[b], y || "development" !== process.env.NODE_ENV || isPropValid(b) || st.has(b) || !A.has(S) || (st.add(b), console.warn('styled-components: it looks like an unknown prop "'.concat(b, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
2712
+ var E = function (e, t) {
2713
+ var n = Ge(),
2714
+ r = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
2715
+ return "production" !== process.env.NODE_ENV && useDebugValue(r), r;
2716
+ }(a, g);
2717
+ "production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
2718
+ var N = ie(p, d);
2719
+ return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, s && (w.ref = s), /*#__PURE__*/createElement(S, w);
2720
+ }(D, e, o);
2721
+ }
2722
+ O.displayName = y;
2723
+ var D = /*#__PURE__*/React.forwardRef(O);
2724
+ return D.attrs = S, D.componentStyle = N, D.displayName = y, D.shouldForwardProp = w, D.foldedComponentIds = i ? ie(a.foldedComponentIds, a.styledComponentId) : "", D.styledComponentId = g, D.target = i ? a.target : e, Object.defineProperty(D, "defaultProps", {
2725
+ get: function () {
2726
+ return this._foldedDefaultProps;
2727
+ },
2728
+ set: function (e) {
2729
+ this._foldedDefaultProps = i ? function (e) {
2730
+ for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2731
+ for (var r = 0, o = t; r < o.length; r++) le(e, o[r], !0);
2732
+ return e;
2733
+ }({}, a.defaultProps, e) : e;
2734
+ }
2735
+ }), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
2736
+ var n = {},
2737
+ r = !1;
2738
+ return function (o) {
2739
+ if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
2740
+ var s = t ? ' with the id of "'.concat(t, '"') : "";
2741
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(e).concat(s, ".\n") + "Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
2742
+ }
2743
+ };
2744
+ }(y, g)), ue(D, function () {
2745
+ return ".".concat(D.styledComponentId);
2746
+ }), c && re(D, e, {
2747
+ attrs: !0,
2748
+ componentStyle: !0,
2749
+ displayName: !0,
2750
+ foldedComponentIds: !0,
2751
+ shouldForwardProp: !0,
2752
+ styledComponentId: !0,
2753
+ target: !0
2754
+ }), D;
2755
+ }
2756
+ function at(e, t) {
2757
+ for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
2758
+ return n;
2759
+ }
2760
+ var ct = function (e) {
2761
+ return Object.assign(e, {
2762
+ isCss: !0
2763
+ });
2764
+ };
2765
+ function lt(t) {
2766
+ for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
2767
+ if (oe(t) || ce(t)) return ct(Xe(at(_, __spreadArray([t], n, !0))));
2768
+ var o = t;
2769
+ return 0 === n.length && 1 === o.length && "string" == typeof o[0] ? Xe(o) : ct(Xe(at(o, n)));
2770
+ }
2771
+ function ut(n, r, o) {
2772
+ if (void 0 === o && (o = C), !r) throw he(1, r);
2773
+ var s = function (t) {
2774
+ for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
2775
+ return n(r, o, lt.apply(void 0, __spreadArray([t], s, !1)));
2776
+ };
2777
+ return s.attrs = function (e) {
2778
+ return ut(n, r, __assign(__assign({}, o), {
2779
+ attrs: Array.prototype.concat(o.attrs, e).filter(Boolean)
2780
+ }));
2781
+ }, s.withConfig = function (e) {
2782
+ return ut(n, r, __assign(__assign({}, o), e));
2783
+ }, s;
2784
+ }
2785
+ var pt = function (e) {
2786
+ return ut(it, e);
2787
+ },
2788
+ dt = pt;
2789
+ A.forEach(function (e) {
2790
+ dt[e] = pt(e);
2791
+ });
2792
+ "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
2793
+ var wt = "__sc-".concat(f, "__");
2794
+ "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[wt] || (window[wt] = 0), 1 === window[wt] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[wt] += 1);
2795
+
2796
+ const ButtonContainer = dt.div`
2797
+ //position: relative;
2798
+ display: flex;
2799
+ align-items: center;
2800
+ justify-content: center;
2801
+ align-content: center;
2802
+ width: ${props => props.width};
2803
+ height: ${props => props.height};
2804
+ `;
2805
+ const ButtonItem = dt.div`
2806
+ display: flex;
2807
+ align-items: center;
2808
+ justify-content: center;
2809
+ align-content: center;
2810
+ flex-wrap: nowrap;
2811
+ overflow: hidden;
2812
+ width: ${props => props.width};
2813
+ height: ${props => props.height};
2814
+ color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
2815
+ border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
2816
+ border-radius: 12px;
2817
+ background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
2818
+ box-sizing: border-box;
2819
+ gap: 8px;
2820
+ padding: ${props => props.padding};
2821
+ &:hover {
2822
+ background-color: ${props => props.disabled ? props.disabled_backgroundColor : props.hover_background_color};
2823
+ border-color: ${props => props.disabled ? props.disabled_border_color : props.hover_border_color};
2824
+ color: ${props => props.disabled ? props.disabled_text_color : props.hover_text_color};
2825
+ box-shadow: ${props => props.disabled ? '' : '5px 5px 10px 0px rgba(0, 0, 0, 0.2)'};
2826
+ cursor: ${props => !props.disabled ? 'pointer' : 'default'};
2827
+ }
2828
+ &.ButtonItem-clicked {
2829
+ background-color: ${props => props.background_color};
2830
+ cursor: pointer;
2831
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
2832
+ transition: background-color 0.3s, color 0.3s;
2833
+ }
2834
+ `;
2835
+ const Label = dt.label`
2836
+ font-family: "Poppins";
2837
+ font-size: 14px;
2838
+ font-weight: 400;
2839
+ line-height: 0;
2840
+ pointer-events: none;
2841
+ user-select: none;
2842
+ `;
2843
+ const IconWrapper = dt.div`
2844
+ display: flex;
2845
+ align-items: center;
2846
+ justify-content: center;
2847
+ align-content: center;
2848
+ `;
2849
+ const InputCommit = dt.input`
2850
+ font-family: "Poppins", sans-serif;
2851
+ border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
2852
+ border-radius: 8px;
2853
+ font-weight: 400;
2854
+ font-size: 14px;
2855
+ width: ${props => props.width};
2856
+ height: ${props => props.height};
2857
+ color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
2858
+ border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
2859
+ border-radius: 12px;
2860
+ background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
2861
+ cursor: pointer;
2862
+ padding: ${props => props.padding};
2863
+
2864
+ &:hover {
2865
+ background-color: ${props => props.disabled ? props.disabled_backgroundColor : props.hover_background_color};
2866
+ border-color: ${props => props.disabled ? props.disabled_border_color : props.hover_border_color};
2867
+ color: ${props => props.disabled ? props.disabled_text_color : props.hover_text_color};
2868
+ box-shadow: ${props => props.disabled ? '' : '5px 5px 10px 0px rgba(0, 0, 0, 0.2)'};
2869
+ cursor: ${props => !props.disabled ? 'pointer' : 'default'};
2870
+ }
2871
+ &.InputCommit-clicked {
2872
+ background-color: ${props => props.background_color};
2873
+ cursor: pointer;
2874
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
2875
+ transition: background-color 0.3s, color 0.3s;
2876
+ }
2877
+ `;
2878
+
2879
+ const FilterIcon = _ref => {
2880
+ let {
2881
+ width = '17',
2882
+ height = '17',
2883
+ color = '#212121'
2884
+ } = _ref;
2885
+ return /*#__PURE__*/React.createElement("svg", {
2886
+ width: width,
2887
+ height: height,
2888
+ viewBox: "0 0 17 17",
2889
+ fill: "none",
2890
+ xmlns: "http://www.w3.org/2000/svg"
2891
+ }, /*#__PURE__*/React.createElement("g", {
2892
+ id: "Filter Active"
2893
+ }, /*#__PURE__*/React.createElement("path", {
2894
+ id: "icon",
2895
+ d: "M2.5 4.48438C2.5 3.94531 2.92188 3.5 3.46094 3.5H13.5156C14.0547 3.5 14.5 3.94531 14.5 4.48438C14.5 4.71875 14.4062 4.92969 14.2656 5.09375L10.375 9.89844V13.25C10.375 13.6719 10.0234 14 9.60156 14C9.4375 14 9.27344 13.9531 9.13281 13.8359L6.97656 12.125C6.74219 11.9375 6.625 11.6797 6.625 11.3984V9.89844L2.71094 5.09375C2.57031 4.92969 2.5 4.71875 2.5 4.48438ZM3.78906 4.625L7.60938 9.33594C7.70312 9.45312 7.75 9.57031 7.75 9.6875V11.3047L9.25 12.5V9.6875C9.25 9.57031 9.27344 9.45312 9.36719 9.33594L13.2109 4.625H3.78906Z",
2896
+ fill: color
2897
+ }), /*#__PURE__*/React.createElement("circle", {
2898
+ id: "Ellipse 8",
2899
+ cx: "13.5",
2900
+ cy: "4.5",
2901
+ r: "3",
2902
+ fill: color
2903
+ })));
2904
+ };
2905
+
2906
+ const OptionsIcon = _ref => {
2907
+ let {
2908
+ width = '12',
2909
+ height = '12',
2910
+ color = '#212121'
2911
+ } = _ref;
2912
+ return /*#__PURE__*/React.createElement("svg", {
2913
+ width: width,
2914
+ height: height,
2915
+ viewBox: "0 0 12 12",
2916
+ fill: "none",
2917
+ xmlns: "http://www.w3.org/2000/svg"
2918
+ }, /*#__PURE__*/React.createElement("path", {
2919
+ d: "M0 9.75C0 9.44531 0.234375 9.1875 0.5625 9.1875H1.94531C2.17969 8.4375 2.90625 7.875 3.75 7.875C4.57031 7.875 5.29688 8.4375 5.53125 9.1875H11.4375C11.7422 9.1875 12 9.44531 12 9.75C12 10.0781 11.7422 10.3125 11.4375 10.3125H5.53125C5.29688 11.0859 4.57031 11.625 3.75 11.625C2.90625 11.625 2.17969 11.0859 1.94531 10.3125H0.5625C0.234375 10.3125 0 10.0781 0 9.75ZM3 9.75C3 10.1719 3.32812 10.5 3.75 10.5C4.14844 10.5 4.5 10.1719 4.5 9.75C4.5 9.35156 4.14844 9 3.75 9C3.32812 9 3 9.35156 3 9.75ZM7.5 6C7.5 6.42188 7.82812 6.75 8.25 6.75C8.64844 6.75 9 6.42188 9 6C9 5.60156 8.64844 5.25 8.25 5.25C7.82812 5.25 7.5 5.60156 7.5 6ZM8.25 4.125C9.07031 4.125 9.79688 4.6875 10.0312 5.4375H11.4375C11.7422 5.4375 12 5.69531 12 6C12 6.32812 11.7422 6.5625 11.4375 6.5625H10.0312C9.79688 7.33594 9.07031 7.875 8.25 7.875C7.40625 7.875 6.67969 7.33594 6.44531 6.5625H0.5625C0.234375 6.5625 0 6.32812 0 6C0 5.69531 0.234375 5.4375 0.5625 5.4375H6.44531C6.67969 4.6875 7.40625 4.125 8.25 4.125ZM4.5 3C4.89844 3 5.25 2.67188 5.25 2.25C5.25 1.85156 4.89844 1.5 4.5 1.5C4.07812 1.5 3.75 1.85156 3.75 2.25C3.75 2.67188 4.07812 3 4.5 3ZM6.28125 1.6875H11.4375C11.7422 1.6875 12 1.94531 12 2.25C12 2.57812 11.7422 2.8125 11.4375 2.8125H6.28125C6.04688 3.58594 5.32031 4.125 4.5 4.125C3.65625 4.125 2.92969 3.58594 2.69531 2.8125H0.5625C0.234375 2.8125 0 2.57812 0 2.25C0 1.94531 0.234375 1.6875 0.5625 1.6875H2.69531C2.92969 0.9375 3.65625 0.375 4.5 0.375C5.32031 0.375 6.04688 0.9375 6.28125 1.6875Z",
2920
+ fill: color
2921
+ }));
2922
+ };
2923
+
2924
+ const DownloadIcon = _ref => {
2925
+ let {
2926
+ width = '8',
2927
+ height = '9',
2928
+ color = '#212121'
2929
+ } = _ref;
2930
+ return /*#__PURE__*/React.createElement("svg", {
2931
+ width: width,
2932
+ height: height,
2933
+ viewBox: "0 0 20 20",
2934
+ fill: "none",
2935
+ xmlns: "http://www.w3.org/2000/svg"
2936
+ }, /*#__PURE__*/React.createElement("path", {
2937
+ d: "M9.57031 14.8438L3.94531 9.84375C3.67188 9.64844 3.67188 9.21875 3.90625 8.98438C4.10156 8.71094 4.53125 8.71094 4.76562 8.90625L9.375 13.0078V0.625C9.375 0.3125 9.64844 0 10 0C10.3125 0 10.625 0.3125 10.625 0.625V13.0078L15.1953 8.94531C15.4297 8.71094 15.8594 8.71094 16.0547 8.98438C16.2891 9.21875 16.2891 9.64844 16.0156 9.84375L10.3906 14.8438C10.2734 14.9609 10.1172 15 10 15C9.84375 15 9.6875 14.9609 9.57031 14.8438ZM17.5 12.5C18.8672 12.5 20 13.6328 20 15V17.5C20 18.9062 18.8672 20 17.5 20H2.5C1.09375 20 0 18.9062 0 17.5V15C0 13.6328 1.09375 12.5 2.5 12.5H4.375C4.6875 12.5 5 12.8125 5 13.125C5 13.4766 4.6875 13.75 4.375 13.75H2.5C1.79688 13.75 1.25 14.3359 1.25 15V17.5C1.25 18.2031 1.79688 18.75 2.5 18.75H17.5C18.1641 18.75 18.75 18.2031 18.75 17.5V15C18.75 14.3359 18.1641 13.75 17.5 13.75H15.625C15.2734 13.75 15 13.4766 15 13.125C15 12.8125 15.2734 12.5 15.625 12.5H17.5ZM17.1875 16.25C17.1875 16.7969 16.7578 17.1875 16.25 17.1875C15.7031 17.1875 15.3125 16.7969 15.3125 16.25C15.3125 15.7422 15.7031 15.3125 16.25 15.3125C16.7578 15.3125 17.1875 15.7422 17.1875 16.25Z",
2938
+ fill: color
2939
+ }));
2940
+ };
2941
+
2942
+ const DocumentIcon = _ref => {
2943
+ let {
2944
+ width = '19',
2945
+ height = '20',
2946
+ color = '#212121'
2947
+ } = _ref;
2948
+ return /*#__PURE__*/React.createElement("svg", {
2949
+ xmlns: "http://www.w3.org/2000/svg",
2950
+ width: width,
2951
+ height: height,
2952
+ viewBox: "0 0 20 19",
2953
+ fill: "none"
2954
+ }, /*#__PURE__*/React.createElement("path", {
2955
+ d: "M10.5156 17.5H1.51563C0.963341 17.5 0.515625 17.0523 0.515625 16.5V1.5C0.515625 0.947715 0.96334 0.5 1.51563 0.5H13.5156C14.0679 0.5 14.5156 0.947715 14.5156 1.5V5.5",
2956
+ stroke: color,
2957
+ strokeLinecap: "round"
2958
+ }), /*#__PURE__*/React.createElement("path", {
2959
+ d: "M3.51562 5.5L9.51563 5.5",
2960
+ stroke: color,
2961
+ strokeLinecap: "round"
2962
+ }), /*#__PURE__*/React.createElement("path", {
2963
+ d: "M3.51562 8.5H6.51563",
2964
+ stroke: color,
2965
+ strokeLinecap: "round"
2966
+ }), /*#__PURE__*/React.createElement("path", {
2967
+ d: "M3.51562 11.5H5.51563",
2968
+ stroke: color,
2969
+ strokeLinecap: "round"
2970
+ }), /*#__PURE__*/React.createElement("circle", {
2971
+ cx: "12.3866",
2972
+ cy: "11.371",
2973
+ r: "4.12098",
2974
+ fill: "transparent"
2975
+ }), /*#__PURE__*/React.createElement("path", {
2976
+ d: "M16.5068 11.3703C16.5068 9.91856 15.7107 8.56049 14.4464 7.81122C13.1585 7.08537 11.5898 7.08537 10.3254 7.81122C9.03754 8.56049 8.26489 9.91856 8.26489 11.3703C8.26489 12.8454 9.03754 14.2034 10.3254 14.9527C11.5898 15.6786 13.1585 15.6786 14.4464 14.9527C15.7107 14.2034 16.5068 12.8454 16.5068 11.3703ZM15.5469 15.0698C14.704 15.819 13.5801 16.2405 12.3859 16.2405C9.69315 16.2405 7.51562 14.0629 7.51562 11.3703C7.51562 8.701 9.69315 6.5 12.3859 6.5C15.0551 6.5 17.2561 8.701 17.2561 11.3703C17.2561 12.5878 16.8112 13.6883 16.0854 14.5547L19.3869 17.8561C19.5273 17.9966 19.5273 18.2542 19.3869 18.3947C19.2463 18.5351 18.9888 18.5351 18.8483 18.3947L15.5469 15.0698Z",
2977
+ fill: color
2978
+ }));
2979
+ };
2980
+
2981
+ const FlyIcon = _ref => {
2982
+ let {
2983
+ clicked,
2984
+ width = "8",
2985
+ height = "9",
2986
+ color = '#212121'
2987
+ } = _ref;
2988
+ return /*#__PURE__*/React.createElement("svg", {
2989
+ width: width,
2990
+ height: height,
2991
+ viewBox: "0 0 20 20",
2992
+ fill: "none",
2993
+ xmlns: "http://www.w3.org/2000/svg"
2994
+ }, /*#__PURE__*/React.createElement("path", {
2995
+ d: "M19.4965 0.234375C19.8879 0.507812 20.0836 0.976562 19.9662 1.48438L17.4611 17.6953C17.422 18.0859 17.1871 18.4375 16.8349 18.5938C16.7174 18.6719 16.4826 18.75 16.2478 18.75C16.0912 18.75 15.9346 18.75 15.7389 18.6719L11.042 16.7188L7.67587 19.9219C7.63673 20 7.55844 20 7.48016 20C7.40188 20 7.28446 19.9609 7.20618 19.8047L4.77943 14.0625L0.747903 12.3828C0.317351 12.1875 0.00422266 11.7578 0.00422266 11.3281C-0.0349184 10.8594 0.199928 10.4297 0.630479 10.1562L18.1657 0.195312C18.3614 0.078125 18.5571 0 18.7919 0C19.0268 0 19.2616 0.078125 19.4965 0.234375ZM1.25674 11.25L4.81857 12.7734L16.1303 2.77344L1.25674 11.25ZM7.83243 18.0859L9.86777 16.1328L8.53697 15.5859C8.34127 15.5469 8.22384 15.3906 8.14556 15.1953C8.10642 15 8.14556 14.8047 8.26298 14.6484L14.8778 5.54688L5.91452 13.4766L7.83243 18.0859ZM16.2869 17.3438L18.5571 2.61719L9.75034 14.7266L16.2869 17.3438Z",
2996
+ fill: color
2997
+ }));
2998
+ };
2999
+
3000
+ const BellIcon = _ref => {
3001
+ let {
3002
+ width = '8',
3003
+ height = '9',
3004
+ color = '#212121'
3005
+ } = _ref;
3006
+ return /*#__PURE__*/React.createElement("svg", {
3007
+ width: width,
3008
+ height: height,
3009
+ viewBox: "0 0 18 21",
3010
+ fill: "none",
3011
+ xmlns: "http://www.w3.org/2000/svg"
3012
+ }, /*#__PURE__*/React.createElement("path", {
3013
+ d: "M8.08569 1.125C8.08569 0.8125 8.39819 0.5 8.71069 0.5C9.06226 0.5 9.37476 0.8125 9.37476 1.125V1.78906C12.4998 2.10156 14.9998 4.75781 14.9998 8V9.17188C14.9998 10.8516 15.6638 12.4922 16.8748 13.7031L16.9919 13.8203C17.3044 14.1328 17.4998 14.5625 17.4998 15.0312C17.4998 16.0078 16.7185 16.75 15.7419 16.75H1.71851C0.741943 16.75 -0.000244141 16.0078 -0.000244141 15.0312C-0.000244141 14.5625 0.156006 14.1328 0.468506 13.8203L0.585693 13.7031C1.79663 12.4922 2.49976 10.8516 2.49976 9.17188V8C2.49976 4.75781 4.96069 2.10156 8.12476 1.78906L8.08569 1.125ZM8.71069 3C5.97632 3 3.71069 5.26562 3.71069 8V9.17188C3.71069 11.2031 2.92944 13.1562 1.48413 14.6016L1.36694 14.6797C1.28882 14.7969 1.21069 14.9141 1.21069 15.0312C1.21069 15.3047 1.44507 15.5 1.71851 15.5H15.7419C16.0154 15.5 16.2498 15.3047 16.2498 15.0312C16.2498 14.9141 16.1716 14.7969 16.0935 14.6797L15.9763 14.6016C14.531 13.1562 13.7498 11.2031 13.7498 9.17188V8C13.7498 5.26562 11.4841 3 8.71069 3ZM8.71069 19.25C9.25757 19.25 9.72632 18.9375 9.92163 18.4297C10.0388 18.1172 10.3904 17.9219 10.7029 18.0391C11.0154 18.1562 11.2107 18.5078 11.0935 18.8594C10.7419 19.8359 9.80444 20.5 8.71069 20.5C7.65601 20.5 6.71851 19.8359 6.36694 18.8594C6.24976 18.5078 6.44507 18.1562 6.75757 18.0391C7.07007 17.9219 7.42163 18.1172 7.53882 18.4297C7.73413 18.9375 8.20288 19.25 8.71069 19.25Z",
3014
+ fill: color
3015
+ }));
3016
+ };
3017
+
3018
+ const MaintenanceIcon = _ref => {
3019
+ let {
3020
+ clicked,
3021
+ width = "8",
3022
+ height = "9",
3023
+ color = '#212121'
3024
+ } = _ref;
3025
+ return /*#__PURE__*/React.createElement("svg", {
3026
+ width: width,
3027
+ height: height,
3028
+ viewBox: "0 0 20 21",
3029
+ fill: "none",
3030
+ xmlns: "http://www.w3.org/2000/svg"
3031
+ }, /*#__PURE__*/React.createElement("path", {
3032
+ d: "M10.0701 20.5C7.88257 20.5 7.10132 20.0703 7.10132 19.1328V17.5703C6.47632 17.3359 5.92944 16.9844 5.42163 16.6328L4.09351 17.375C3.89819 17.4922 3.70288 17.5312 3.50757 17.5312C2.06226 17.5312 0.499756 13.9375 0.499756 13.3125C0.499756 12.8828 0.734131 12.4531 1.12476 12.2578L2.45288 11.4766C2.45288 11.1641 2.41382 10.8125 2.41382 10.5C2.41382 10.1484 2.45288 9.83594 2.49194 9.52344L1.16382 8.78125C0.773193 8.58594 0.538818 8.15625 0.538818 7.72656C0.538818 7.25781 2.02319 3.46875 3.50757 3.46875C3.74194 3.46875 3.93726 3.54688 4.13257 3.66406L5.46069 4.40625C5.96851 4.05469 6.51538 3.70312 7.10132 3.46875V1.90625C7.10132 0.695312 8.50757 0.5 10.1091 0.5C11.6326 0.5 13.0388 0.695312 13.0388 1.90625V3.46875C13.6248 3.70312 14.1716 4.01562 14.6794 4.40625L16.0076 3.66406C16.2029 3.54688 16.3982 3.50781 16.6326 3.50781C18.0388 3.50781 19.6013 7.10156 19.6013 7.72656C19.6013 8.15625 19.3669 8.58594 18.9763 8.78125L17.6482 9.5625C17.6873 9.875 17.7263 10.1875 17.7263 10.5C17.7263 10.8125 17.6873 11.1641 17.6482 11.4766L18.9763 12.2578C19.3669 12.4531 19.6013 12.8828 19.6013 13.3125C19.6013 13.7812 18.1169 17.5312 16.6326 17.5312C16.3982 17.5312 16.2029 17.4922 16.0076 17.375L14.6794 16.6328C14.1716 16.9844 13.6248 17.3359 13.0388 17.5703V19.1328C13.0779 20.0703 12.2966 20.5 10.0701 20.5ZM5.57788 15.1094C6.98413 16.3203 7.64819 16.4375 8.35132 16.7109V19.1328C8.93726 19.2109 9.48413 19.25 10.0701 19.25C10.656 19.25 11.2419 19.2109 11.8279 19.0938L11.7888 16.7109C12.4529 16.4766 13.1951 16.2812 14.5623 15.1094L16.6716 16.3203C17.4138 15.4609 17.9998 14.4453 18.3513 13.3125L16.3201 12.1406C16.3982 11.5547 16.4763 11.125 16.4763 10.5781C16.4763 10.1875 16.4373 9.67969 16.3201 8.89844L18.3904 7.72656C17.9998 6.63281 17.4138 5.61719 16.6326 4.71875L14.5623 5.92969C13.1951 4.71875 12.531 4.60156 11.7888 4.32812V1.90625C11.2419 1.82812 10.6951 1.78906 10.1091 1.78906C9.52319 1.78906 8.93726 1.82812 8.31226 1.94531L8.35132 4.32812C7.72632 4.5625 6.98413 4.71875 5.57788 5.92969L3.50757 4.71875C2.76538 5.61719 2.17944 6.63281 1.78882 7.76562L3.85913 8.89844C3.78101 9.48438 3.70288 9.91406 3.70288 10.4219C3.70288 10.8516 3.74194 11.3594 3.85913 12.1016L1.78882 13.3125C2.17944 14.3672 2.76538 15.3828 3.54663 16.2812L5.57788 15.1094ZM10.1091 14.25C8.03882 14.25 6.35913 12.5703 6.35913 10.5C6.35913 8.42969 8.03882 6.75 10.1091 6.75C12.1404 6.75 13.8591 8.42969 13.8591 10.5C13.8591 12.5703 12.1404 14.25 10.1091 14.25ZM10.1091 8C8.70288 8 7.60913 9.09375 7.60913 10.5C7.60913 11.8672 8.70288 13 10.1091 13C11.4763 13 12.6091 11.8672 12.6091 10.5C12.6091 9.09375 11.4763 8 10.1091 8Z",
3033
+ fill: color
3034
+ }));
3035
+ };
3036
+
3037
+ const ExitIcon = _ref => {
3038
+ let {
3039
+ clicked,
3040
+ width = '8',
3041
+ height = '9',
3042
+ color = '#212121'
3043
+ } = _ref;
3044
+ return /*#__PURE__*/React.createElement("svg", {
3045
+ width: width,
3046
+ height: height,
3047
+ viewBox: "0 0 20 21",
3048
+ fill: "none",
3049
+ xmlns: "http://www.w3.org/2000/svg"
3050
+ }, /*#__PURE__*/React.createElement("path", {
3051
+ d: "M14.2263 2.91667C17.3097 4.54167 19.268 7.70833 19.268 11.1667C19.268 16.3333 15.0597 20.5 9.93465 20.5C4.76798 20.5 0.601318 16.3333 0.601318 11.1667C0.601318 7.70833 2.51798 4.54167 5.60132 2.91667C5.93465 2.75 6.35132 2.875 6.51798 3.20833C6.68465 3.5 6.55965 3.91667 6.22632 4.08333C3.55965 5.45833 1.93465 8.20833 1.93465 11.1667C1.93465 15.5833 5.51798 19.1667 9.93465 19.1667C14.3097 19.1667 17.9347 15.5833 17.9347 11.1667C17.9347 8.20833 16.268 5.45833 13.6013 4.08333C13.268 3.91667 13.143 3.5 13.3097 3.20833C13.4763 2.875 13.893 2.75 14.2263 2.91667ZM9.89298 12.5C9.55965 12.5 9.26798 12.2083 9.26798 11.8333V1.16667C9.26798 0.833333 9.60132 0.5 9.93465 0.5C10.268 0.5 10.6013 0.833333 10.6013 1.16667V11.8333C10.6013 12.2083 10.268 12.5 9.89298 12.5Z",
3052
+ fill: color
3053
+ }));
3054
+ };
3055
+
3056
+ const EyeIcon = _ref => {
3057
+ let {
3058
+ clicked,
3059
+ width = '8',
3060
+ height = '9',
3061
+ color = '#212121'
3062
+ } = _ref;
3063
+ return /*#__PURE__*/React.createElement("svg", {
3064
+ width: width,
3065
+ height: height,
3066
+ viewBox: "0 0 14 12",
3067
+ fill: "none",
3068
+ xmlns: "http://www.w3.org/2000/svg"
3069
+ }, /*#__PURE__*/React.createElement("path", {
3070
+ d: "M13.9062 5.60156C13.9531 5.71875 14 5.88281 14 6C14 6.11719 13.9531 6.30469 13.9062 6.42188C12.6406 9.30469 10.1094 11.25 7.25 11.25C4.36719 11.25 1.83594 9.30469 0.570312 6.42188C0.523438 6.30469 0.5 6.11719 0.5 6C0.5 5.88281 0.523438 5.71875 0.570312 5.60156C1.83594 2.71875 4.36719 0.75 7.25 0.75C10.1094 0.75 12.6406 2.71875 13.9062 5.60156ZM7.25 10.125C9.57031 10.125 11.7031 8.55469 12.8516 6C11.7266 3.46875 9.57031 1.875 7.25 1.875C4.90625 1.875 2.77344 3.46875 1.625 6.02344C2.75 8.55469 4.90625 10.125 7.25 10.125ZM7.25 3C8.89062 3 10.25 4.35938 10.25 6.02344C10.25 7.66406 8.89062 9 7.25 9C5.58594 9 4.25 7.66406 4.25 6C4.25 4.35938 5.58594 3 7.25 3ZM7.25 7.875C8.28125 7.875 9.125 7.05469 9.125 6.02344C9.125 4.96875 8.28125 4.125 7.25 4.125C7.22656 4.125 7.20312 4.14844 7.17969 4.14844C7.22656 4.26562 7.25 4.38281 7.25 4.5C7.25 5.34375 6.57031 6 5.75 6C5.60938 6 5.49219 6 5.375 5.95312C5.375 5.97656 5.375 6 5.375 6C5.375 7.05469 6.19531 7.875 7.25 7.875Z",
3071
+ fill: color
3072
+ }));
3073
+ };
3074
+
3075
+ const ButtonArrowRight = _ref => {
3076
+ let {
3077
+ width = '16',
3078
+ height = '17'
3079
+ } = _ref;
3080
+ return /*#__PURE__*/React.createElement("svg", {
3081
+ width: width,
3082
+ height: height,
3083
+ viewBox: "0 0 16 17",
3084
+ fill: "none",
3085
+ xmlns: "http://www.w3.org/2000/svg"
3086
+ }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
3087
+ id: "icon",
3088
+ d: "M14.5 8.48438C14.5 6.17188 13.25 4.04688 11.25 2.85938C9.21875 1.70312 6.75 1.70312 4.75 2.85938C2.71875 4.04688 1.5 6.17188 1.5 8.48438C1.5 10.8282 2.71875 12.9532 4.75 14.1406C6.75 15.2969 9.21875 15.2969 11.25 14.1406C13.25 12.9532 14.5 10.8282 14.5 8.48438ZM0 8.48438C0 5.64062 1.5 3.01562 4 1.57812C6.46875 0.140625 9.5 0.140625 12 1.57812C14.4688 3.01562 16 5.64062 16 8.48438C16 11.3594 14.4688 13.9844 12 15.4219C9.5 16.8594 6.46875 16.8594 4 15.4219C1.5 13.9844 0 11.3594 0 8.48438ZM9.03125 11.7656C8.71875 12.0782 8.25 12.0782 7.96875 11.7656C7.65625 11.4844 7.65625 11.0156 7.96875 10.7032L9.4375 9.23438H4.75C4.3125 9.23438 4 8.92188 4 8.48438C4 8.07812 4.3125 7.73438 4.75 7.73438H9.4375L7.96875 6.26562C7.65625 5.98438 7.65625 5.51562 7.96875 5.23438C8.25 4.92188 8.71875 4.92188 9.03125 5.23438L11.7812 7.98438C12.0625 8.26562 12.0625 8.73438 11.7812 9.01562L9.03125 11.7656Z",
3089
+ fill: "white"
3090
+ })));
3091
+ };
3092
+
3093
+ const ReselectIcon = _ref => {
3094
+ let {
3095
+ width = '16',
3096
+ height = '16',
3097
+ color = '#212121'
3098
+ } = _ref;
3099
+ return /*#__PURE__*/React.createElement("svg", {
3100
+ width: width,
3101
+ height: height,
3102
+ viewBox: "0 0 16 16",
3103
+ fill: "none",
3104
+ xmlns: "http://www.w3.org/2000/svg"
3105
+ }, /*#__PURE__*/React.createElement("path", {
3106
+ d: "M4.21875 15.5312L1.21875 12.5312C0.90625 12.25 0.90625 11.7812 1.21875 11.4688L4.21875 8.5C4.5 8.1875 4.96875 8.1875 5.25 8.5C5.5625 8.78125 5.5625 9.25 5.25 9.53125L3.53125 11.25H14.25C14.6562 11.25 15 11.5938 15 12C15 12.4375 14.6562 12.75 14.25 12.75L3.53125 12.7812L5.25 14.5C5.5625 14.7812 5.5625 15.25 5.25 15.5312C4.96875 15.8438 4.5 15.8438 4.21875 15.5312ZM14.7812 4.53125L11.7812 7.53125C11.4688 7.84375 11 7.84375 10.7188 7.53125C10.4062 7.25 10.4062 6.78125 10.7188 6.46875L12.4375 4.75H1.75C1.3125 4.75 1 4.4375 1 4C1 3.59375 1.3125 3.25 1.75 3.25H12.4375L10.7188 1.53125C10.4062 1.25 10.4062 0.78125 10.7188 0.46875C11 0.1875 11.4688 0.1875 11.7812 0.46875L14.7812 3.5C15.0625 3.78125 15.0625 4.25 14.7812 4.53125Z",
3107
+ fill: color
3108
+ }));
3109
+ };
3110
+
3111
+ const Button = _ref => {
3112
+ let {
3113
+ text = '',
3114
+ type = 'primary',
3115
+ size = 'small',
3116
+ height = '',
3117
+ width = '',
3118
+ disabled = false,
3119
+ textColor = '',
3120
+ backgroundColor = '',
3121
+ borderColor = '',
3122
+ hoverTextColor = '',
3123
+ hoverBackgroundColor = '',
3124
+ hoverBorderColor = '',
3125
+ disabledTextColor = '',
3126
+ disabledBackgroundColor = '',
3127
+ disabledBorderColor = '',
3128
+ onClick,
3129
+ leftIcon = 'none',
3130
+ rightIcon = 'none',
3131
+ isSubmitButton = false
3132
+ } = _ref;
3133
+ const [clicked, setClicked] = useState(false);
3134
+ const [hover, setHover] = useState(false);
3135
+ const handleSubmitButtonOnClick = () => {
3136
+ setClicked(true);
3137
+ onClick(`SubmitButtonOnClick: ${text}`);
3138
+ setTimeout(() => {
3139
+ setClicked(false);
3140
+ }, 300);
3141
+ };
3142
+ const handleButtonClick = event => {
3143
+ setClicked(true);
3144
+ onClick(event);
3145
+ setTimeout(() => {
3146
+ setClicked(false);
3147
+ }, 300);
3148
+ };
3149
+ const getIcon = icon => {
3150
+ const iconHeight = '16px';
3151
+ const iconWidth = '16px';
3152
+ const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#ffffff');
3153
+ const newHoverTextColor = hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff');
3154
+ const newDisabledTextColor = disabledTextColor || '#B1B1B1';
3155
+ const newEnabledTextColor = hover ? newHoverTextColor : newTextColor;
3156
+ const color = disabled ? newDisabledTextColor : newEnabledTextColor;
3157
+ switch (icon.toLowerCase()) {
3158
+ case 'arrow':
3159
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3160
+ className: "ArrowRightIcon"
3161
+ }, /*#__PURE__*/React.createElement(ButtonArrowRight, {
3162
+ height: iconHeight,
3163
+ width: iconWidth,
3164
+ color: color
3165
+ }));
3166
+ case 'filter':
3167
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3168
+ className: "FilterIcon"
3169
+ }, /*#__PURE__*/React.createElement(FilterIcon, {
3170
+ height: "150px",
3171
+ width: iconWidth,
3172
+ color: color
3173
+ }));
3174
+ case 'options':
3175
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3176
+ className: "OptionsIcon"
3177
+ }, /*#__PURE__*/React.createElement(OptionsIcon, {
3178
+ height: iconHeight,
3179
+ width: iconWidth,
3180
+ color: color
3181
+ }));
3182
+ case 'download':
3183
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3184
+ className: "DownloadIcon"
3185
+ }, /*#__PURE__*/React.createElement(DownloadIcon, {
3186
+ height: iconHeight,
3187
+ width: iconWidth,
3188
+ color: color
3189
+ }));
3190
+ case 'document':
3191
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3192
+ className: "DocumentIcon"
3193
+ }, /*#__PURE__*/React.createElement(DocumentIcon, {
3194
+ height: iconHeight,
3195
+ width: iconWidth,
3196
+ color: color
3197
+ }));
3198
+ case 'fly':
3199
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3200
+ className: "FlyIcon"
3201
+ }, /*#__PURE__*/React.createElement(FlyIcon, {
3202
+ height: iconHeight,
3203
+ width: iconWidth,
3204
+ color: color
3205
+ }));
3206
+ case 'bell':
3207
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3208
+ className: "BellIcon"
3209
+ }, /*#__PURE__*/React.createElement(BellIcon, {
3210
+ height: iconHeight,
3211
+ width: iconWidth,
3212
+ color: color
3213
+ }));
3214
+ case 'maintenance':
3215
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3216
+ className: "MaintenanceIcon"
3217
+ }, /*#__PURE__*/React.createElement(MaintenanceIcon, {
3218
+ height: iconHeight,
3219
+ width: iconWidth,
3220
+ color: color
3221
+ }));
3222
+ case 'exit':
3223
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3224
+ className: "ExitIcon"
3225
+ }, /*#__PURE__*/React.createElement(ExitIcon, {
3226
+ height: iconHeight,
3227
+ width: iconWidth,
3228
+ color: color
3229
+ }));
3230
+ case 'eye':
3231
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3232
+ className: "EyeIcon"
3233
+ }, /*#__PURE__*/React.createElement(EyeIcon, {
3234
+ height: iconHeight,
3235
+ width: iconWidth,
3236
+ color: color
3237
+ }));
3238
+ case 'reselect':
3239
+ return /*#__PURE__*/React.createElement(IconWrapper, {
3240
+ className: "ReselectIcon"
3241
+ }, /*#__PURE__*/React.createElement(ReselectIcon, {
3242
+ height: iconHeight,
3243
+ width: iconWidth,
3244
+ color: color
3245
+ }));
3246
+ default:
3247
+ return '';
3248
+ }
3249
+ };
3250
+ const getLeftIcon = () => {
3251
+ if (!leftIcon || leftIcon === 'none') return '';
3252
+ return getIcon(leftIcon);
3253
+ };
3254
+ const getRightIcon = () => {
3255
+ if (!rightIcon || rightIcon === 'none') return '';
3256
+ return getIcon(rightIcon);
3257
+ };
3258
+ return /*#__PURE__*/React.createElement(ButtonContainer, {
3259
+ className: "ButtonContainer",
3260
+ width: width || null,
3261
+ height: height || (size === 'small' ? '33px' : '45px')
3262
+ }, isSubmitButton ? /*#__PURE__*/React.createElement(InputCommit, {
3263
+ className: clicked ? 'InputCommit-clicked' : 'InputCommit',
3264
+ value: text,
3265
+ type: "submit",
3266
+ width: width || null,
3267
+ height: height || (size === 'small' ? '33px' : '45px'),
3268
+ disabled: disabled,
3269
+ text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
3270
+ background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
3271
+ border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
3272
+ hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
3273
+ hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
3274
+ hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
3275
+ disabled_text_color: disabledTextColor || '#B1B1B1',
3276
+ disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
3277
+ disabled_border_color: disabledBorderColor || '#E3E4E5',
3278
+ padding: size === 'small' ? '0 16px' : '0 20px',
3279
+ onClick: !disabled ? handleSubmitButtonOnClick : null
3280
+ }) : /*#__PURE__*/React.createElement(ButtonItem, {
3281
+ className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
3282
+ onMouseEnter: () => setHover(true),
3283
+ onMouseLeave: () => setHover(false),
3284
+ onClick: event => !disabled ? handleButtonClick(event) : null,
3285
+ width: width || null,
3286
+ height: height || (size === 'small' ? '33px' : '45px'),
3287
+ disabled: disabled,
3288
+ text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
3289
+ background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
3290
+ border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
3291
+ hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
3292
+ hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
3293
+ hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
3294
+ disabled_text_color: disabledTextColor || '#B1B1B1',
3295
+ disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
3296
+ disabled_border_color: disabledBorderColor || '#E3E4E5',
3297
+ padding: size === 'small' ? '0 16px' : '0 20px'
3298
+ }, getLeftIcon(), /*#__PURE__*/React.createElement(Label, {
3299
+ className: "Label",
3300
+ disabled: disabled
3301
+ }, text), getRightIcon()));
3302
+ };
3303
+
3304
+ // Button.propTypes = {
3305
+ // text: PropTypes.string,
3306
+ // type: PropTypes.string,
3307
+ // size: PropTypes.string,
3308
+ // height: PropTypes.string,
3309
+ // width: PropTypes.string,
3310
+ // disabled: PropTypes.bool,
3311
+ // textColor: PropTypes.string,
3312
+ // backgroundColor: PropTypes.string,
3313
+ // borderColor: PropTypes.string,
3314
+ // hoverTextColor: PropTypes.string,
3315
+ // hoverBackgroundColor: PropTypes.string,
3316
+ // hoverBorderColor: PropTypes.string,
3317
+ // disabledTextColor: PropTypes.string,
3318
+ // disabledBackgroundColor: PropTypes.string,
3319
+ // disabledBorderColor: PropTypes.string,
3320
+ // onClick: PropTypes.func,
3321
+ // leftIcon: PropTypes.string,
3322
+ // rightIcon: PropTypes.string,
3323
+ // isSubmitButton: PropTypes.bool,
3324
+ // };
3325
+
3326
+ // Button.defaultProps = {
3327
+ // text: '',
3328
+ // type: 'primary',
3329
+ // size: 'small',
3330
+ // height: '',
3331
+ // width: '',
3332
+ // disabled: false,
3333
+ // textColor: '',
3334
+ // backgroundColor: '',
3335
+ // borderColor: '',
3336
+ // hoverTextColor: '',
3337
+ // hoverBackgroundColor: '',
3338
+ // hoverBorderColor: '',
3339
+ // disabledTextColor: '',
3340
+ // disabledBackgroundColor: '',
3341
+ // disabledBorderColor: '',
3342
+ // onClick: () => { },
3343
+ // leftIcon: 'none',
3344
+ // rightIcon: 'none',
3345
+ // isSubmitButton: false,
3346
+ // };
3347
+
3348
+ export { Button };
3349
+ //# sourceMappingURL=index.esm.js.map