@kando-env/kando-ui 1.0.40-alpha.11 → 1.0.40-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (688) hide show
  1. package/lib/CovidView/views/components/Body.js +104 -0
  2. package/lib/CovidView/views/components/Map.js +144 -0
  3. package/lib/CovidView/views/components/Sidebar.js +69 -0
  4. package/lib/CovidView/views/components/Summary.js +142 -0
  5. package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +177 -0
  6. package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/index.js +1 -1
  7. package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +157 -0
  8. package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/index.js +1 -1
  9. package/lib/CovidView/views/components/areas/Area.js +182 -0
  10. package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +266 -0
  11. package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +82 -0
  12. package/lib/CovidView/views/components/areas/AreasList.js +124 -0
  13. package/lib/CovidView/views/components/areas/Sort.js +60 -0
  14. package/lib/CovidView/views/covidView.js +47 -0
  15. package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +125 -0
  16. package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +97 -0
  17. package/lib/DashboardV2/AreaDashboard/Dashboard/EventsCarousel/EventsCarousel.js +107 -0
  18. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +82 -0
  19. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +102 -0
  20. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +120 -0
  21. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/PieChart/PieChart.js +123 -0
  22. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/SiteBox.js +58 -0
  23. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/styles.js +26 -0
  24. package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/factories.mock.js +1 -1
  25. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/styles.js +25 -0
  26. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +96 -0
  27. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.stories.js +31 -0
  28. package/lib/DashboardV2/Header/DoubleTabs/styles.js +32 -0
  29. package/lib/DashboardV2/Header/Header.js +21 -0
  30. package/lib/DashboardV2/Header/Header.stories.js +29 -0
  31. package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +37 -0
  32. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +88 -0
  33. package/lib/DashboardV2/Header/Toolbar/Toolbar.js +117 -0
  34. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +69 -0
  35. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/RadioTabs.js +49 -0
  36. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/SeverityButtons.js +32 -0
  37. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +229 -0
  38. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.stories.js +33 -0
  39. package/lib/DashboardV2/Notifications/Notification/Notification.js +95 -0
  40. package/lib/DashboardV2/Notifications/Notifications.js +98 -0
  41. package/lib/DashboardV2/Notifications/Notifications.mock.js +45 -0
  42. package/lib/DashboardV2/Notifications/Notifications.stories.js +38 -0
  43. package/lib/DashboardV2/Profile/PasswordModal/PasswordModal.js +99 -0
  44. package/lib/DashboardV2/Profile/Profile.js +225 -0
  45. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +53 -0
  46. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.stories.js +27 -0
  47. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +30 -0
  48. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +41 -0
  49. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +42 -0
  50. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersContainer.js +63 -0
  51. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +69 -0
  52. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +42 -0
  53. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +48 -0
  54. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +103 -0
  55. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +38 -0
  56. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +131 -0
  57. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +973 -0
  58. package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +173 -0
  59. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +58 -0
  60. package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/charts/SamplingChart.js +1 -1
  61. package/lib/DashboardV2/SamplingParameters/charts/options/options.js +233 -0
  62. package/lib/DashboardV2/SamplingParameters/dataParser.js +109 -0
  63. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +32 -0
  64. package/lib/DashboardV2/SamplingParameters/styles/styles.js +35 -0
  65. package/lib/DashboardV2/SiteDashboard.js +365 -0
  66. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +128 -0
  67. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.js +3 -3
  68. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +130 -0
  69. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +31 -0
  70. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +152 -0
  71. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +575 -0
  72. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +25 -0
  73. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +188 -0
  74. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +53 -0
  75. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +123 -0
  76. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +26 -0
  77. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factories.mock.js +1 -1
  78. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/styles.js +25 -0
  79. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/MostPolluting.js +2 -2
  80. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +117 -0
  81. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +32 -0
  82. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +21 -0
  83. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +81 -0
  84. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +38 -0
  85. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/index.js +0 -34
  86. package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +50 -0
  87. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +25 -0
  88. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +125 -0
  89. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +384 -0
  90. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +54 -0
  91. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +27 -0
  92. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +175 -0
  93. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/styles.js +24 -0
  94. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +102 -0
  95. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/Back/Back.js +34 -0
  96. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +85 -0
  97. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/styles.js +81 -0
  98. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +44 -0
  99. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +155 -0
  100. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +69 -0
  101. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +95 -0
  102. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummary.mock.js +30 -0
  103. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +63 -0
  104. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +34 -0
  105. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +95 -0
  106. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +61 -0
  107. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/utilityInformation.mock.js +15 -0
  108. package/lib/DashboardV2/UtilityDashboard/TopBar/styles.js +18 -0
  109. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +89 -0
  110. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +141 -0
  111. package/lib/DashboardV2/WaterAuthorityDashboard.js +60 -0
  112. package/lib/DashboardV2/index.js +32 -0
  113. package/lib/DashboardV2/styles.scss +128 -0
  114. package/lib/DashboardV2/useApiWithDashboardQuery.js +66 -0
  115. package/lib/EventsView/views/components/Body.js +81 -0
  116. package/lib/EventsView/views/components/areas/AreaPolygon.js +54 -0
  117. package/lib/EventsView/views/components/areas/AreaPolygons.js +64 -0
  118. package/lib/EventsView/views/components/edges/Edge.js +76 -0
  119. package/lib/EventsView/views/components/edges/Edges.js +51 -0
  120. package/lib/EventsView/views/components/events/EventIndicator.js +275 -0
  121. package/lib/EventsView/views/components/events/EventPath.js +95 -0
  122. package/lib/EventsView/views/components/events/MoreInfo.js +73 -0
  123. package/lib/EventsView/views/components/events/Sidebar.js +63 -0
  124. package/lib/EventsView/views/components/events/event_info/EarlyWarnings.js +150 -0
  125. package/lib/EventsView/views/components/events/event_info/EventDetails.js +101 -0
  126. package/lib/EventsView/views/components/events/event_info/EventInfo.js +137 -0
  127. package/lib/EventsView/views/components/events/event_info/EventTimeRange.js +153 -0
  128. package/lib/EventsView/views/components/events/event_info/HistoricalInformation.js +45 -0
  129. package/lib/EventsView/views/components/events/event_info/MiniEventTree.js +117 -0
  130. package/lib/EventsView/views/components/events/event_info/MobileEventPath.js +40 -0
  131. package/lib/EventsView/views/components/events/event_info/PollutionDischarge.js +66 -0
  132. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +76 -0
  133. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +122 -0
  134. package/lib/EventsView/views/components/events/event_info/damage_type/DamageType.js +111 -0
  135. package/lib/EventsView/views/components/events/event_info/samplings/Sampling.js +30 -0
  136. package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +37 -0
  137. package/lib/EventsView/views/components/events/event_info/sources/Source.js +119 -0
  138. package/lib/EventsView/views/components/events/event_info/sources/Sources.js +47 -0
  139. package/lib/EventsView/views/components/events/events_list/EventItem.js +140 -0
  140. package/lib/EventsView/views/components/events/events_list/EventsList.js +299 -0
  141. package/lib/EventsView/views/components/events/events_list/Filter/Filter.js +138 -0
  142. package/lib/EventsView/views/components/events/events_list/Filter/FilterContainer.js +389 -0
  143. package/lib/EventsView/views/components/events/events_list/Filter/FilterItem.js +211 -0
  144. package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +69 -0
  145. package/lib/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +140 -0
  146. package/lib/EventsView/views/components/events/events_list/Sort.js +93 -0
  147. package/lib/EventsView/views/components/map/FloatingGraph.js +78 -0
  148. package/lib/EventsView/views/components/map/Map.js +176 -0
  149. package/lib/EventsView/views/components/map/Map.stories.js +31 -0
  150. package/lib/EventsView/views/components/points/PointMarker.js +455 -0
  151. package/lib/EventsView/views/components/points/PointMarkers.js +31 -0
  152. package/lib/EventsView/views/eventsView.js +48 -0
  153. package/lib/Router.js +23 -37
  154. package/lib/index.js +4 -10
  155. package/lib/macros/getVersion.js +2 -2
  156. package/lib/shared/TimeRangeSelector/TimeRangeSelector.js +118 -0
  157. package/lib/shared/TimeRangeSelector/TimeRangeSelector.stories.js +36 -0
  158. package/lib/shared/TimeRangeSelector/constants.js +9 -0
  159. package/lib/{components → shared}/TimeRangeSelector/index.js +1 -1
  160. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +43 -0
  161. package/lib/{components → shared/components}/Breadcrumbs/index.js +1 -1
  162. package/lib/shared/components/ContentLoader/ContentLoader.js +72 -0
  163. package/lib/{components → shared/components}/ContentLoader/index.js +1 -1
  164. package/lib/shared/components/DamageType/DamageType.js +264 -0
  165. package/lib/{components → shared/components}/DamageType/index.js +1 -1
  166. package/lib/shared/components/DataLoaderError/DataLoaderError.js +32 -0
  167. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +219 -0
  168. package/lib/{components → shared/components}/DischargeHeatmap/index.js +1 -1
  169. package/lib/shared/components/DoubleTabs/DoubleTabs.js +45 -0
  170. package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +31 -0
  171. package/lib/shared/components/DoubleTabs/styles.js +32 -0
  172. package/lib/shared/components/ErrorBoundary.js +67 -0
  173. package/lib/shared/components/Events/Events.js +237 -0
  174. package/lib/{components → shared/components}/Events/index.js +1 -1
  175. package/lib/shared/components/Graph/Graph.js +211 -0
  176. package/lib/{components → shared/components}/Graph/index.js +1 -1
  177. package/lib/shared/components/InfoBar/InfoBar.js +76 -0
  178. package/lib/shared/components/InfoBar/InfoBar.stories.js +32 -0
  179. package/lib/shared/components/KandoModal/KandoModal.js +121 -0
  180. package/lib/{components → shared/components}/KandoModal/index.js +1 -1
  181. package/lib/shared/components/KandoNavbar/KandoNavbar.js +297 -0
  182. package/lib/{components → shared/components}/KandoNavbar/NavbarStyle.scss +3 -3
  183. package/lib/{components → shared/components}/KandoNavbar/index.js +1 -1
  184. package/lib/shared/components/LiveEvents/CarouselSlide.js +65 -0
  185. package/lib/shared/components/LiveEvents/LiveEvents.js +59 -0
  186. package/lib/{components → shared/components}/LiveEvents/index.js +1 -1
  187. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +51 -0
  188. package/lib/shared/components/Map/Map.js +94 -0
  189. package/lib/{components → shared/components}/Map/index.js +1 -1
  190. package/lib/{components → shared/components}/NarrowHeader.js +1 -1
  191. package/lib/shared/components/PasswordInput/PasswordInput.js +54 -0
  192. package/lib/shared/components/PointInfo/PointInfo.js +84 -0
  193. package/lib/{components → shared/components}/PointInfo/index.js +1 -1
  194. package/lib/shared/components/PopupModal/PopupModal.js +55 -0
  195. package/lib/shared/components/PopupModal/PopupModal.stories.js +53 -0
  196. package/lib/shared/components/PrimaryButton/PrimaryButton.js +21 -0
  197. package/lib/shared/components/Search/Search.js +152 -0
  198. package/lib/{components → shared/components}/Search/index.js +1 -1
  199. package/lib/shared/components/Sector/Sector.js +198 -0
  200. package/lib/{components → shared/components}/Sector/index.js +1 -1
  201. package/lib/shared/components/Select/Select.js +101 -0
  202. package/lib/shared/components/Select/Select.stories.js +48 -0
  203. package/lib/shared/components/Spinner/Spinner.js +29 -0
  204. package/lib/shared/components/Spinner/Spinner.stories.js +39 -0
  205. package/lib/{components → shared/components}/Spinner/index.js +1 -1
  206. package/lib/shared/components/Spinner/styles.js +44 -0
  207. package/lib/{components → shared/components}/Toggle/Toggle.js +1 -1
  208. package/lib/{components → shared/components}/Toggle/index.js +1 -1
  209. package/lib/shared/components/TrendGraph/TrendGraph.js +215 -0
  210. package/lib/{components → shared/components}/TrendGraph/index.js +1 -1
  211. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +168 -0
  212. package/lib/{components → shared/components}/TrendGraphNVL/index.js +1 -1
  213. package/lib/shared/helpers/kql.js +53 -0
  214. package/lib/shared/helpers/time.js +22 -0
  215. package/lib/shared/redux/WBE/actionTypes.js +9 -0
  216. package/lib/shared/redux/WBE/actions.js +16 -0
  217. package/lib/shared/redux/WBE/reducer.js +37 -0
  218. package/lib/shared/redux/areas/actionTypes.js +13 -0
  219. package/lib/shared/redux/areas/actions.js +41 -0
  220. package/lib/shared/redux/areas/reducer.js +55 -0
  221. package/lib/shared/redux/context/actionTypes.js +9 -0
  222. package/lib/shared/redux/context/actions.js +16 -0
  223. package/lib/shared/redux/context/reducer.js +37 -0
  224. package/lib/shared/redux/dashboard/dashboardSlice.js +24 -0
  225. package/lib/shared/redux/edges/actionTypes.js +15 -0
  226. package/lib/shared/redux/edges/actions.js +49 -0
  227. package/lib/shared/redux/edges/reducer.js +81 -0
  228. package/lib/shared/redux/events/actionTypes.js +29 -0
  229. package/lib/shared/redux/events/actions.js +113 -0
  230. package/lib/shared/redux/events/reducer.js +197 -0
  231. package/lib/shared/redux/global/actionTypes.js +25 -0
  232. package/lib/shared/redux/global/actions.js +97 -0
  233. package/lib/shared/redux/global/reducer.js +92 -0
  234. package/lib/shared/redux/points/actionTypes.js +11 -0
  235. package/lib/shared/redux/points/actions.js +33 -0
  236. package/lib/shared/redux/points/reducer.js +36 -0
  237. package/lib/shared/redux/rootActionTypes.js +9 -0
  238. package/lib/shared/redux/rootActions.js +15 -0
  239. package/lib/shared/redux/rootReducer.js +57 -0
  240. package/lib/shared/redux/rootStore.js +51 -0
  241. package/lib/shared/utilities/ActionUtility.js +18 -0
  242. package/lib/shared/utilities/ErrorBoundary.js +73 -0
  243. package/lib/{utilities → shared/utilities}/KandoDate.js +1 -1
  244. package/lib/{utilities → shared/utilities}/KandoModal.js +1 -1
  245. package/lib/shared/utilities/LocalStorage.js +49 -0
  246. package/lib/shared/utilities/TimeFormat.js +71 -0
  247. package/lib/shared/utilities/Truncate.js +83 -0
  248. package/lib/shared/utilities/custom_hooks/useApi.js +94 -0
  249. package/lib/shared/utilities/custom_hooks/useClickOutside.js +27 -0
  250. package/lib/shared/utilities/custom_hooks/useKandoFetch.js +83 -0
  251. package/lib/shared/utilities/custom_hooks/useMap.js +152 -0
  252. package/lib/shared/utilities/custom_hooks/useQueryURL.js +16 -0
  253. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +35 -0
  254. package/lib/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +63 -0
  255. package/lib/shared/utilities/custom_hooks/useWindowSize.js +48 -0
  256. package/lib/{i18n → shared/utilities/i18n}/en.json +0 -1
  257. package/lib/shared/utilities/i18n.js +74 -0
  258. package/lib/styles.scss +4 -133
  259. package/package.json +4 -6
  260. package/lib/components/Breadcrumbs/Breadcrumbs.js +0 -43
  261. package/lib/components/ContentLoader/ContentLoader.js +0 -72
  262. package/lib/components/DamageType/DamageType.js +0 -264
  263. package/lib/components/DataLoaderError/DataLoaderError.js +0 -32
  264. package/lib/components/DischargeHeatmap/DischargeHeatmap.js +0 -219
  265. package/lib/components/DoubleTabs/DoubleTabs.js +0 -45
  266. package/lib/components/DoubleTabs/DoubleTabs.stories.js +0 -31
  267. package/lib/components/DoubleTabs/styles.js +0 -32
  268. package/lib/components/ErrorBoundary.js +0 -67
  269. package/lib/components/Events/Events.js +0 -237
  270. package/lib/components/Graph/Graph.js +0 -211
  271. package/lib/components/Header/DoubleTabs/DoubleTabs.js +0 -96
  272. package/lib/components/Header/DoubleTabs/DoubleTabs.stories.js +0 -31
  273. package/lib/components/Header/DoubleTabs/styles.js +0 -32
  274. package/lib/components/Header/Header.js +0 -21
  275. package/lib/components/Header/Header.stories.js +0 -29
  276. package/lib/components/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +0 -37
  277. package/lib/components/Header/InfoBar/InfoBar.js +0 -88
  278. package/lib/components/Header/Toolbar/Toolbar.js +0 -117
  279. package/lib/components/InfoBar/InfoBar.js +0 -76
  280. package/lib/components/InfoBar/InfoBar.stories.js +0 -32
  281. package/lib/components/KandoModal/KandoModal.js +0 -121
  282. package/lib/components/KandoNavbar/KandoNavbar.js +0 -297
  283. package/lib/components/Link.js +0 -37
  284. package/lib/components/LiveEvents/CarouselSlide.js +0 -65
  285. package/lib/components/LiveEvents/LiveEvents.js +0 -59
  286. package/lib/components/LoaderByPercent/LoaderByPercent.js +0 -51
  287. package/lib/components/Map/Map.js +0 -94
  288. package/lib/components/PasswordInput/PasswordInput.js +0 -54
  289. package/lib/components/PointInfo/PointInfo.js +0 -84
  290. package/lib/components/PopupModal/PopupModal.js +0 -55
  291. package/lib/components/PopupModal/PopupModal.stories.js +0 -53
  292. package/lib/components/PrimaryButton/PrimaryButton.js +0 -21
  293. package/lib/components/Search/Search.js +0 -152
  294. package/lib/components/Sector/Sector.js +0 -198
  295. package/lib/components/Select/Select.js +0 -101
  296. package/lib/components/Select/Select.stories.js +0 -48
  297. package/lib/components/Spinner/Spinner.js +0 -29
  298. package/lib/components/Spinner/Spinner.stories.js +0 -39
  299. package/lib/components/Spinner/styles.js +0 -44
  300. package/lib/components/TimeRangeSelector/TimeRangeSelector.js +0 -118
  301. package/lib/components/TimeRangeSelector/TimeRangeSelector.stories.js +0 -36
  302. package/lib/components/TimeRangeSelector/constants.js +0 -9
  303. package/lib/components/TrendGraph/TrendGraph.js +0 -215
  304. package/lib/components/TrendGraphNVL/TrendGraphNVL.js +0 -168
  305. package/lib/development-environment/index.js +0 -50
  306. package/lib/development-environment/mock/browser.js +0 -21
  307. package/lib/development-environment/mock/get.js +0 -21
  308. package/lib/development-environment/mock/handlers.js +0 -52
  309. package/lib/development-environment/mock/mockBus.js +0 -24
  310. package/lib/development-environment/mock/mockObjects/area-trends-graph.js +0 -14
  311. package/lib/development-environment/mock/mockObjects/areaInformation.js +0 -63
  312. package/lib/development-environment/mock/mockObjects/areaQualitySummary.js +0 -31
  313. package/lib/development-environment/mock/mockObjects/areaSitesData.js +0 -409
  314. package/lib/development-environment/mock/mockObjects/areasJson.js +0 -399
  315. package/lib/development-environment/mock/mockObjects/controlRoomNetworkEdges.js +0 -2839
  316. package/lib/development-environment/mock/mockObjects/covidView-areasData-24.js +0 -54
  317. package/lib/development-environment/mock/mockObjects/data-menuData.js +0 -518
  318. package/lib/development-environment/mock/mockObjects/data-search.js +0 -436
  319. package/lib/development-environment/mock/mockObjects/discharge_effluent_quality.js +0 -27
  320. package/lib/development-environment/mock/mockObjects/discharge_pattern_overtime.js +0 -11
  321. package/lib/development-environment/mock/mockObjects/eventFiltersJson.js +0 -278
  322. package/lib/development-environment/mock/mockObjects/eventsJson.js +0 -2240
  323. package/lib/development-environment/mock/mockObjects/metascore.js +0 -19
  324. package/lib/development-environment/mock/mockObjects/pointsJson.js +0 -6021
  325. package/lib/development-environment/mock/mockObjects/trend-graph-component-data-907.js +0 -14
  326. package/lib/development-environment/togly/ToglyDashboard.js +0 -73
  327. package/lib/development-environment/togly/ToglyItem.js +0 -89
  328. package/lib/development-environment/togly/flags.js +0 -8
  329. package/lib/development-environment/togly/init.js +0 -16
  330. package/lib/development-environment/togly/macro.js +0 -39
  331. package/lib/development-environment/togly/useDoubleKeyDown.js +0 -38
  332. package/lib/development-environment/togly/useLocalStorage.js +0 -42
  333. package/lib/hooks/useApi.js +0 -94
  334. package/lib/hooks/useApiWithDashboardQuery.js +0 -66
  335. package/lib/hooks/useClickOutside.js +0 -27
  336. package/lib/hooks/useKandoFetch.js +0 -83
  337. package/lib/hooks/useMap.js +0 -163
  338. package/lib/hooks/useQueryURL.js +0 -16
  339. package/lib/hooks/useRemoveExistingLayers.js +0 -37
  340. package/lib/hooks/useUpdateEventBodyTail.js +0 -63
  341. package/lib/hooks/useWindowSize.js +0 -48
  342. package/lib/pages/AreaPage/AreaPage.js +0 -122
  343. package/lib/pages/AreaPage/Dashboard/Dashboard.js +0 -97
  344. package/lib/pages/AreaPage/Dashboard/EventsCarousel/EventsCarousel.js +0 -107
  345. package/lib/pages/AreaPage/Dashboard/LineChart/LineChart.js +0 -82
  346. package/lib/pages/AreaPage/Dashboard/LineChart/options/options.js +0 -102
  347. package/lib/pages/AreaPage/Dashboard/Sites/Sites.js +0 -128
  348. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/PieChart/PieChart.js +0 -123
  349. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/SiteBox.js +0 -58
  350. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/styles.js +0 -26
  351. package/lib/pages/AreaPage/Dashboard/Sites/styles.js +0 -25
  352. package/lib/pages/CovidPage/CovidPage.js +0 -47
  353. package/lib/pages/CovidPage/components/Body.js +0 -104
  354. package/lib/pages/CovidPage/components/Map.js +0 -144
  355. package/lib/pages/CovidPage/components/Sidebar.js +0 -69
  356. package/lib/pages/CovidPage/components/Summary.js +0 -142
  357. package/lib/pages/CovidPage/components/TrendGraphNVL/TrendGraphNVL.js +0 -177
  358. package/lib/pages/CovidPage/components/TrendPopupContent/TrendPopupContent.js +0 -157
  359. package/lib/pages/CovidPage/components/areas/Area.js +0 -182
  360. package/lib/pages/CovidPage/components/areas/AreaPolygonWBE.js +0 -266
  361. package/lib/pages/CovidPage/components/areas/AreaPolygonsWBE.js +0 -82
  362. package/lib/pages/CovidPage/components/areas/AreasList.js +0 -124
  363. package/lib/pages/CovidPage/components/areas/Sort.js +0 -60
  364. package/lib/pages/EventsPage/EventsPage.js +0 -47
  365. package/lib/pages/EventsPage/components/Body.js +0 -81
  366. package/lib/pages/EventsPage/components/areas/AreaPolygon.js +0 -54
  367. package/lib/pages/EventsPage/components/areas/AreaPolygons.js +0 -64
  368. package/lib/pages/EventsPage/components/edges/Edge.js +0 -76
  369. package/lib/pages/EventsPage/components/edges/Edges.js +0 -51
  370. package/lib/pages/EventsPage/components/events/EventIndicator.js +0 -275
  371. package/lib/pages/EventsPage/components/events/EventPath.js +0 -95
  372. package/lib/pages/EventsPage/components/events/MoreInfo.js +0 -73
  373. package/lib/pages/EventsPage/components/events/Sidebar.js +0 -63
  374. package/lib/pages/EventsPage/components/events/event_info/EarlyWarnings.js +0 -150
  375. package/lib/pages/EventsPage/components/events/event_info/EventDetails.js +0 -101
  376. package/lib/pages/EventsPage/components/events/event_info/EventInfo.js +0 -137
  377. package/lib/pages/EventsPage/components/events/event_info/EventTimeRange.js +0 -153
  378. package/lib/pages/EventsPage/components/events/event_info/HistoricalInformation.js +0 -45
  379. package/lib/pages/EventsPage/components/events/event_info/MiniEventTree.js +0 -117
  380. package/lib/pages/EventsPage/components/events/event_info/MobileEventPath.js +0 -40
  381. package/lib/pages/EventsPage/components/events/event_info/PollutionDischarge.js +0 -66
  382. package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsLineChart.js +0 -76
  383. package/lib/pages/EventsPage/components/events/event_info/charts/EventDetailsPieChart.js +0 -122
  384. package/lib/pages/EventsPage/components/events/event_info/damage_type/DamageType.js +0 -111
  385. package/lib/pages/EventsPage/components/events/event_info/samplings/Sampling.js +0 -30
  386. package/lib/pages/EventsPage/components/events/event_info/samplings/Samplings.js +0 -37
  387. package/lib/pages/EventsPage/components/events/event_info/sources/Source.js +0 -119
  388. package/lib/pages/EventsPage/components/events/event_info/sources/Sources.js +0 -47
  389. package/lib/pages/EventsPage/components/events/events_list/EventItem.js +0 -140
  390. package/lib/pages/EventsPage/components/events/events_list/EventsList.js +0 -299
  391. package/lib/pages/EventsPage/components/events/events_list/Filter/Filter.js +0 -138
  392. package/lib/pages/EventsPage/components/events/events_list/Filter/FilterContainer.js +0 -389
  393. package/lib/pages/EventsPage/components/events/events_list/Filter/FilterItem.js +0 -211
  394. package/lib/pages/EventsPage/components/events/events_list/Filter/FiltersDropDown.js +0 -69
  395. package/lib/pages/EventsPage/components/events/events_list/Filter/OptionsDropDown.js +0 -140
  396. package/lib/pages/EventsPage/components/events/events_list/Sort.js +0 -93
  397. package/lib/pages/EventsPage/components/map/FloatingGraph.js +0 -78
  398. package/lib/pages/EventsPage/components/map/Map.js +0 -176
  399. package/lib/pages/EventsPage/components/map/Map.stories.js +0 -31
  400. package/lib/pages/EventsPage/components/points/PointMarker.js +0 -455
  401. package/lib/pages/EventsPage/components/points/PointMarkers.js +0 -31
  402. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/MultiChoiceTabs.js +0 -69
  403. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/RadioTabs.js +0 -49
  404. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/SeverityButtons.js +0 -32
  405. package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.js +0 -229
  406. package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.stories.js +0 -33
  407. package/lib/pages/NotificationsPage/Notification/Notification.js +0 -95
  408. package/lib/pages/NotificationsPage/Notifications.mock.js +0 -45
  409. package/lib/pages/NotificationsPage/Notifications.stories.js +0 -38
  410. package/lib/pages/NotificationsPage/NotificationsPage.js +0 -98
  411. package/lib/pages/ProfilePage/PasswordModal/PasswordModal.js +0 -99
  412. package/lib/pages/ProfilePage/ProfilePage.js +0 -225
  413. package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.js +0 -53
  414. package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.stories.js +0 -27
  415. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +0 -30
  416. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +0 -41
  417. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +0 -42
  418. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersContainer.js +0 -63
  419. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +0 -69
  420. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +0 -42
  421. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +0 -48
  422. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +0 -103
  423. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/SamplingContainer.js +0 -38
  424. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.js +0 -131
  425. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.mock.js +0 -973
  426. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.stories.js +0 -173
  427. package/lib/pages/SitePage/SamplingParameters/charts/ParametersChart.js +0 -58
  428. package/lib/pages/SitePage/SamplingParameters/charts/options/options.js +0 -233
  429. package/lib/pages/SitePage/SamplingParameters/dataParser.js +0 -109
  430. package/lib/pages/SitePage/SamplingParameters/styles/samplingParameters.js +0 -32
  431. package/lib/pages/SitePage/SamplingParameters/styles/styles.js +0 -35
  432. package/lib/pages/SitePage/SitePage.js +0 -361
  433. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/AreaBox.js +0 -124
  434. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +0 -130
  435. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/styles.js +0 -31
  436. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/Areas.js +0 -160
  437. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/areas.mock.js +0 -575
  438. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/styles.js +0 -25
  439. package/lib/pages/UtilityDashboardPage/MostPolluting/EmptyState/EmptyState.js +0 -57
  440. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/Factories.js +0 -196
  441. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/FactoryBox.js +0 -53
  442. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +0 -123
  443. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/styles.js +0 -26
  444. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/styles.js +0 -25
  445. package/lib/pages/UtilityDashboardPage/MostPolluting/MostPolluting.stories.js +0 -117
  446. package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/ShowMore.js +0 -32
  447. package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/styles.js +0 -21
  448. package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.js +0 -81
  449. package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.stories.js +0 -38
  450. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/factory.svg +0 -31
  451. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-areas.svg +0 -24
  452. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-collector.svg +0 -66
  453. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-wwtp.svg +0 -34
  454. package/lib/pages/UtilityDashboardPage/MostPolluting/components/ChangePercent.js +0 -50
  455. package/lib/pages/UtilityDashboardPage/MostPolluting/styles.js +0 -25
  456. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.js +0 -125
  457. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.stories.js +0 -384
  458. package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.js +0 -54
  459. package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.stories.js +0 -27
  460. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/Eta.js +0 -175
  461. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/styles.js +0 -24
  462. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/SevereEvent.js +0 -102
  463. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/Back/Back.js +0 -34
  464. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/MostCommon.js +0 -85
  465. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/styles.js +0 -81
  466. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +0 -44
  467. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/PieChart.js +0 -155
  468. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PollutedLine/PollutedLine.js +0 -69
  469. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/QualitySummary.js +0 -95
  470. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/qualitySummary.mock.js +0 -30
  471. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/styles.js +0 -63
  472. package/lib/pages/UtilityDashboardPage/TopBar/TopBar.js +0 -34
  473. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/UtilityInformation.js +0 -95
  474. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/styles.js +0 -61
  475. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/utilityInformation.mock.js +0 -15
  476. package/lib/pages/UtilityDashboardPage/TopBar/styles.js +0 -18
  477. package/lib/pages/UtilityDashboardPage/UtilityDashboard.js +0 -89
  478. package/lib/pages/UtilityDashboardPage/UtilityDashboard.stories.js +0 -141
  479. package/lib/pages/UtilityDashboardPage/UtilityDashboardPage.js +0 -57
  480. package/lib/react-app-env.d.js +0 -6
  481. package/lib/store/WBE/actionTypes.js +0 -9
  482. package/lib/store/WBE/actions.js +0 -16
  483. package/lib/store/WBE/reducer.js +0 -37
  484. package/lib/store/areas/actionTypes.js +0 -13
  485. package/lib/store/areas/actions.js +0 -41
  486. package/lib/store/areas/reducer.js +0 -55
  487. package/lib/store/context/actionTypes.js +0 -9
  488. package/lib/store/context/actions.js +0 -16
  489. package/lib/store/context/reducer.js +0 -37
  490. package/lib/store/dashboard/dashboardSlice.js +0 -24
  491. package/lib/store/edges/actionTypes.js +0 -15
  492. package/lib/store/edges/actions.js +0 -49
  493. package/lib/store/edges/reducer.js +0 -81
  494. package/lib/store/events/actionTypes.js +0 -29
  495. package/lib/store/events/actions.js +0 -113
  496. package/lib/store/events/reducer.js +0 -197
  497. package/lib/store/global/actionTypes.js +0 -25
  498. package/lib/store/global/actions.js +0 -97
  499. package/lib/store/global/reducer.js +0 -92
  500. package/lib/store/points/actionTypes.js +0 -11
  501. package/lib/store/points/actions.js +0 -33
  502. package/lib/store/points/reducer.js +0 -36
  503. package/lib/store/rootActionTypes.js +0 -9
  504. package/lib/store/rootActions.js +0 -15
  505. package/lib/store/rootReducer.js +0 -57
  506. package/lib/store/rootStore.js +0 -51
  507. package/lib/utilities/ActionUtility.js +0 -18
  508. package/lib/utilities/ErrorBoundary.js +0 -73
  509. package/lib/utilities/LocalStorage.js +0 -49
  510. package/lib/utilities/TimeFormat.js +0 -71
  511. package/lib/utilities/Truncate.js +0 -83
  512. package/lib/utilities/i18n.js +0 -74
  513. package/lib/utilities/kql.js +0 -53
  514. package/lib/utilities/time.js +0 -22
  515. /package/lib/{pages/CovidPage → CovidView/views}/components/MapStyle.scss +0 -0
  516. /package/lib/{pages/CovidPage → CovidView/views}/components/SidebarStyle.scss +0 -0
  517. /package/lib/{pages/CovidPage → CovidView/views}/components/SummaryStyle.scss +0 -0
  518. /package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/styles.scss +0 -0
  519. /package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/styles.scss +0 -0
  520. /package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreasStyle.scss +0 -0
  521. /package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/SitesResponse.interface.js +0 -0
  522. /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-bold.svg +0 -0
  523. /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-light.svg +0 -0
  524. /package/lib/{components → DashboardV2}/Header/Toolbar/arrow.svg +0 -0
  525. /package/lib/{components → DashboardV2}/Header/Toolbar/user.svg +0 -0
  526. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/Notifications.interface.js +0 -0
  527. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/alert1.svg +0 -0
  528. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/chat.svg +0 -0
  529. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/close.svg +0 -0
  530. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/index.js +0 -0
  531. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/mail.svg +0 -0
  532. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/monitor.svg +0 -0
  533. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/right.svg +0 -0
  534. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/spill1.svg +0 -0
  535. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/telegram.svg +0 -0
  536. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/trash-del.svg +0 -0
  537. /package/lib/{pages/ProfilePage → DashboardV2/Profile}/pen.svg +0 -0
  538. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/NoResults/discover.svg +0 -0
  539. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +0 -0
  540. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +0 -0
  541. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/models.js +0 -0
  542. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.scss +0 -0
  543. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/areasResponse.interface.js +0 -0
  544. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factoriesResponse.interface.js +0 -0
  545. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/home.svg +0 -0
  546. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/index.js +0 -0
  547. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/matash.svg +0 -0
  548. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/plant.svg +0 -0
  549. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/shape.svg +0 -0
  550. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/water.svg +0 -0
  551. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/down-arrow.svg +0 -0
  552. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/gas.svg +0 -0
  553. /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/leather.svg +0 -0
  554. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/metal.svg +0 -0
  555. /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/shop.svg +0 -0
  556. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/show-more.svg +0 -0
  557. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/models.js +0 -0
  558. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/MostSevereEvents.scss +0 -0
  559. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/NoEvents/discover.svg +0 -0
  560. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/SevereEvent.scss +0 -0
  561. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/info.svg +0 -0
  562. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +0 -0
  563. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe.svg +0 -0
  564. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/sludge.svg +0 -0
  565. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/models.js +0 -0
  566. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/arrow.svg +0 -0
  567. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/bacteria.svg +0 -0
  568. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/clock.svg +0 -0
  569. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/pipes.svg +0 -0
  570. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/assets/down-arrow.svg +0 -0
  571. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/qualitySummaryResponse.interface.js +0 -0
  572. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/UtilityInformation/UtilityInformationResponse.interface.js +0 -0
  573. /package/lib/{pages/SitePage → DashboardV2/types}/IDashboardData.js +0 -0
  574. /package/lib/{pages/EventsPage → EventsView/views}/_colors.scss +0 -0
  575. /package/lib/{pages/EventsPage → EventsView/views}/components/events/EventsStyle.scss +0 -0
  576. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventInfoStyle.scss +0 -0
  577. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/agriculture.svg +0 -0
  578. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/bacteria-process.svg +0 -0
  579. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/effluent.svg +0 -0
  580. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/energy.svg +0 -0
  581. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/equipment.svg +0 -0
  582. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +0 -0
  583. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/overflow.svg +0 -0
  584. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +0 -0
  585. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +0 -0
  586. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/reuse.svg +0 -0
  587. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sea-rivers.svg +0 -0
  588. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sludge.svg +0 -0
  589. /package/lib/{pages/EventsPage → EventsView/views}/components/map/floatingGraphStyle.scss +0 -0
  590. /package/lib/{pages/EventsPage → EventsView/views}/components/map/mapStyle.scss +0 -0
  591. /package/lib/{assets/fonts → fonts}/Gilroy-ExtraBold.otf +0 -0
  592. /package/lib/{assets/fonts → fonts}/Gilroy-Light.otf +0 -0
  593. /package/lib/{assets/fonts → fonts}/Gilroy-Regular.otf +0 -0
  594. /package/lib/{assets/fonts → fonts}/Gilroy-SemiBold.otf +0 -0
  595. /package/lib/{components → shared}/TimeRangeSelector/styles.scss +0 -0
  596. /package/lib/{components → shared/components}/Breadcrumbs/styles.scss +0 -0
  597. /package/lib/{components → shared/components}/DamageType/styles.scss +0 -0
  598. /package/lib/{components → shared/components}/DischargeHeatmap/styles.scss +0 -0
  599. /package/lib/{components → shared/components}/Events/styles.scss +0 -0
  600. /package/lib/{components → shared/components}/KandoModal/styles.scss +0 -0
  601. /package/lib/{components → shared/components}/LiveEvents/styles.scss +0 -0
  602. /package/lib/{components → shared/components}/Map/styles.scss +0 -0
  603. /package/lib/{components → shared/components}/PasswordInput/show.svg +0 -0
  604. /package/lib/{components → shared/components}/PointInfo/styles.scss +0 -0
  605. /package/lib/{components → shared/components}/Search/styles.scss +0 -0
  606. /package/lib/{components → shared/components}/Sector/styles.scss +0 -0
  607. /package/lib/{components → shared/components}/Sector/svgs/Brewing.svg +0 -0
  608. /package/lib/{components → shared/components}/Sector/svgs/Cowshed.svg +0 -0
  609. /package/lib/{components → shared/components}/Sector/svgs/Garage.svg +0 -0
  610. /package/lib/{components → shared/components}/Sector/svgs/Missing.svg +0 -0
  611. /package/lib/{components → shared/components}/Sector/svgs/barrel.svg +0 -0
  612. /package/lib/{components → shared/components}/Sector/svgs/beer.svg +0 -0
  613. /package/lib/{components → shared/components}/Sector/svgs/beverage.svg +0 -0
  614. /package/lib/{components → shared/components}/Sector/svgs/car-repair.svg +0 -0
  615. /package/lib/{components → shared/components}/Sector/svgs/car-wash.svg +0 -0
  616. /package/lib/{components → shared/components}/Sector/svgs/chemistry.svg +0 -0
  617. /package/lib/{components → shared/components}/Sector/svgs/conductor-manufacturer.svg +0 -0
  618. /package/lib/{components → shared/components}/Sector/svgs/cosmetic-manufacturer.svg +0 -0
  619. /package/lib/{components → shared/components}/Sector/svgs/cow.svg +0 -0
  620. /package/lib/{components → shared/components}/Sector/svgs/cpu.svg +0 -0
  621. /package/lib/{components → shared/components}/Sector/svgs/dairy.svg +0 -0
  622. /package/lib/{components → shared/components}/Sector/svgs/dippel-oil.svg +0 -0
  623. /package/lib/{components → shared/components}/Sector/svgs/food-donation.svg +0 -0
  624. /package/lib/{components → shared/components}/Sector/svgs/food-factory.svg +0 -0
  625. /package/lib/{components → shared/components}/Sector/svgs/garbage-truck-1.svg +0 -0
  626. /package/lib/{components → shared/components}/Sector/svgs/gas-station.svg +0 -0
  627. /package/lib/{components → shared/components}/Sector/svgs/glass-manufacturer.svg +0 -0
  628. /package/lib/{components → shared/components}/Sector/svgs/glass.svg +0 -0
  629. /package/lib/{components → shared/components}/Sector/svgs/hand-washing.svg +0 -0
  630. /package/lib/{components → shared/components}/Sector/svgs/hospital.svg +0 -0
  631. /package/lib/{components → shared/components}/Sector/svgs/hotel.svg +0 -0
  632. /package/lib/{components → shared/components}/Sector/svgs/laundromat.svg +0 -0
  633. /package/lib/{components → shared/components}/Sector/svgs/leather-factory.svg +0 -0
  634. /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/leather.svg +0 -0
  635. /package/lib/{components → shared/components}/Sector/svgs/lipstick.svg +0 -0
  636. /package/lib/{components → shared/components}/Sector/svgs/meat.svg +0 -0
  637. /package/lib/{components → shared/components}/Sector/svgs/metal-coating-plant.svg +0 -0
  638. /package/lib/{components → shared/components}/Sector/svgs/metal-facbrication.svg +0 -0
  639. /package/lib/{components → shared/components}/Sector/svgs/milk.svg +0 -0
  640. /package/lib/{components → shared/components}/Sector/svgs/oil-rig.svg +0 -0
  641. /package/lib/{components → shared/components}/Sector/svgs/petrochemical.svg +0 -0
  642. /package/lib/{components → shared/components}/Sector/svgs/pie.svg +0 -0
  643. /package/lib/{components → shared/components}/Sector/svgs/pills.svg +0 -0
  644. /package/lib/{components → shared/components}/Sector/svgs/plant-unkown-3.svg +0 -0
  645. /package/lib/{components → shared/components}/Sector/svgs/plastic-rubber.svg +0 -0
  646. /package/lib/{components → shared/components}/Sector/svgs/printer.svg +0 -0
  647. /package/lib/{components → shared/components}/Sector/svgs/recycling.svg +0 -0
  648. /package/lib/{components → shared/components}/Sector/svgs/refinery.svg +0 -0
  649. /package/lib/{components → shared/components}/Sector/svgs/repair.svg +0 -0
  650. /package/lib/{components → shared/components}/Sector/svgs/sewing-machine.svg +0 -0
  651. /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/shop.svg +0 -0
  652. /package/lib/{components → shared/components}/Sector/svgs/soda.svg +0 -0
  653. /package/lib/{components → shared/components}/Sector/svgs/spray-gun.svg +0 -0
  654. /package/lib/{components → shared/components}/Sector/svgs/washing-machine.svg +0 -0
  655. /package/lib/{components → shared/components}/Sector/svgs/waste.svg +0 -0
  656. /package/lib/{components → shared/components}/Sector/svgs/welder-a.svg +0 -0
  657. /package/lib/{components → shared/components}/Sector/svgs/wine-glass.svg +0 -0
  658. /package/lib/{components → shared/components}/Select/Select.scss +0 -0
  659. /package/lib/{components → shared/components}/Toggle/styles.scss +0 -0
  660. /package/lib/{components → shared/components}/TrendGraph/styles.scss +0 -0
  661. /package/lib/{components → shared/components}/TrendGraphNVL/styles.scss +0 -0
  662. /package/lib/{models → shared/models}/IAction.js +0 -0
  663. /package/lib/{models → shared/models}/IAppState.js +0 -0
  664. /package/lib/{store → shared/redux}/WBE/models/IAreaWBE.js +0 -0
  665. /package/lib/{store → shared/redux}/WBE/models/IWBE.js +0 -0
  666. /package/lib/{store → shared/redux}/WBE/models/IWBEState.js +0 -0
  667. /package/lib/{store → shared/redux}/areas/models/IArea.js +0 -0
  668. /package/lib/{store → shared/redux}/areas/models/IAreasState.js +0 -0
  669. /package/lib/{store → shared/redux}/context/models/INavContext.js +0 -0
  670. /package/lib/{store → shared/redux}/context/models/INavContextState.js +0 -0
  671. /package/lib/{store → shared/redux}/edges/models/IEdge.js +0 -0
  672. /package/lib/{store → shared/redux}/edges/models/IEdgesState.js +0 -0
  673. /package/lib/{store → shared/redux}/events/models/IEvent.js +0 -0
  674. /package/lib/{store → shared/redux}/events/models/IEventsState.js +0 -0
  675. /package/lib/{store → shared/redux}/events/models/ISource.js +0 -0
  676. /package/lib/{store → shared/redux}/filters/IFilter.js +0 -0
  677. /package/lib/{store → shared/redux}/filters/IFilterItem.js +0 -0
  678. /package/lib/{store → shared/redux}/global/models/IGlobalState.js +0 -0
  679. /package/lib/{store → shared/redux}/points/models/IGroup.js +0 -0
  680. /package/lib/{store → shared/redux}/points/models/IPoint.js +0 -0
  681. /package/lib/{store → shared/redux}/points/models/IPointsState.js +0 -0
  682. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-matash-white.svg +0 -0
  683. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-plant-white.svg +0 -0
  684. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-suction.svg +0 -0
  685. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-water.svg +0 -0
  686. /package/lib/{i18n → shared/utilities/i18n}/fr.json +0 -0
  687. /package/lib/{i18n → shared/utilities/i18n}/he.json +0 -0
  688. /package/lib/{i18n → shared/utilities/i18n}/it.json +0 -0
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.SamplingParameters = void 0;
11
+
12
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
13
+
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _DoubleTabs = require("../../shared/components/DoubleTabs/DoubleTabs");
17
+
18
+ var _Spinner = require("../../shared/components/Spinner/Spinner");
19
+
20
+ var _useApi3 = require("../../shared/utilities/custom_hooks/useApi");
21
+
22
+ var _dataParser = require("./dataParser");
23
+
24
+ var _ParametersContainer = require("./ParametersContainer/ParametersContainer");
25
+
26
+ var _NoResults = require("./NoResults/NoResults");
27
+
28
+ var _SamplingContainer = require("./SamplingContainer/SamplingContainer");
29
+
30
+ var _samplingParameters = require("./styles/samplingParameters");
31
+
32
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
33
+
34
+ var _i18n = _interopRequireDefault(require("../../shared/utilities/i18n"));
35
+
36
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
37
+
38
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
39
+
40
+ var SamplingParameters = function SamplingParameters(_ref) {
41
+ var _ref$DefaultShowParam = _ref.DefaultShowParameters,
42
+ DefaultShowParameters = _ref$DefaultShowParam === void 0 ? false : _ref$DefaultShowParam;
43
+
44
+ var _useState = (0, _react.useState)(!DefaultShowParameters),
45
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
46
+ samplingParameters = _useState2[0],
47
+ setSamplingParameters = _useState2[1];
48
+
49
+ var endPoint = '/test';
50
+
51
+ var _useState3 = (0, _react.useState)([]),
52
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
53
+ headers = _useState4[0],
54
+ setHeaders = _useState4[1];
55
+
56
+ var _useState5 = (0, _react.useState)([]),
57
+ _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
58
+ rows = _useState6[0],
59
+ setRows = _useState6[1];
60
+
61
+ var _useState7 = (0, _react.useState)([]),
62
+ _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
63
+ exceptionTags = _useState8[0],
64
+ setExceptionTags = _useState8[1];
65
+
66
+ var _useState9 = (0, _react.useState)([]),
67
+ _useState10 = (0, _slicedToArray2.default)(_useState9, 2),
68
+ labResults = _useState10[0],
69
+ setLabResults = _useState10[1];
70
+
71
+ var _useApi = (0, _useApi3.useApi)(endPoint),
72
+ _useApi2 = (0, _slicedToArray2.default)(_useApi, 3),
73
+ response = _useApi2[0],
74
+ isLoading = _useApi2[1],
75
+ Error = _useApi2[2];
76
+
77
+ var _useState11 = (0, _react.useState)({}),
78
+ _useState12 = (0, _slicedToArray2.default)(_useState11, 2),
79
+ parametersSummary = _useState12[0],
80
+ setParametersSummary = _useState12[1];
81
+
82
+ (0, _react.useEffect)(function () {
83
+ if (response && !Error) {
84
+ var _parseTableData = (0, _dataParser.parseTableData)(response.data),
85
+ _headers = _parseTableData.headers,
86
+ _rows = _parseTableData.rows,
87
+ _parametersSummary = _parseTableData.parametersSummary,
88
+ _exceptionTags = _parseTableData.exceptions;
89
+
90
+ setHeaders(_headers);
91
+ setRows(_rows);
92
+ setParametersSummary(_parametersSummary);
93
+ setLabResults(response.data.lab_results);
94
+ setExceptionTags(_exceptionTags);
95
+ }
96
+ }, [response]);
97
+
98
+ if (isLoading) {
99
+ return /*#__PURE__*/_react.default.createElement(_Spinner.Spinner, null);
100
+ } else if (Error) {
101
+ console.error(Error);
102
+ return /*#__PURE__*/_react.default.createElement("div", null, Error);
103
+ }
104
+
105
+ return /*#__PURE__*/_react.default.createElement(_samplingParameters.Main, null, /*#__PURE__*/_react.default.createElement(_samplingParameters.TitleTabsHolder, null, /*#__PURE__*/_react.default.createElement(_samplingParameters.Title, null, samplingParameters ? _i18n.default.t('dashboard_v2.sampling_parameters.sampling') : _i18n.default.t('dashboard_v2.sampling_parameters.lab-tests')), /*#__PURE__*/_react.default.createElement(_DoubleTabs.DoubleTabs, {
106
+ active: samplingParameters,
107
+ toggle: function toggle() {
108
+ return setSamplingParameters(!samplingParameters);
109
+ },
110
+ textLeft: _i18n.default.t('dashboard_v2.sampling_parameters.sampling'),
111
+ textRight: _i18n.default.t('dashboard_v2.sampling_parameters.parameters'),
112
+ disabled: labResults.length === 0
113
+ })), isLoading === false && (response === null || response === void 0 ? void 0 : response.data.lab_results.length) === 0 ? /*#__PURE__*/_react.default.createElement(_NoResults.NoResults, null) : /*#__PURE__*/_react.default.createElement(Container, {
114
+ className: samplingParameters ? 'left' : 'right'
115
+ }, /*#__PURE__*/_react.default.createElement(_SamplingContainer.SamplingContainer, {
116
+ headers: headers,
117
+ rows: rows,
118
+ exceptionTags: exceptionTags,
119
+ labResults: labResults
120
+ }), /*#__PURE__*/_react.default.createElement(_ParametersContainer.ParametersContainer, {
121
+ parametersSummary: parametersSummary
122
+ })));
123
+ };
124
+
125
+ exports.SamplingParameters = SamplingParameters;
126
+
127
+ var Container = _styledComponents.default.div.withConfig({
128
+ displayName: "SamplingParameters__Container",
129
+ componentId: "sc-6oqmti-0"
130
+ })(["display:flex;width:200%;overflow:hidden;transition:transform 0.5s ease-in-out;&.right{transform:translateX(-50%);}[dir='rtl'] &.right{transform:translateX(50%);}"]);
131
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9idW5kbGVzL0Rhc2hib2FyZFYyL1NhbXBsaW5nUGFyYW1ldGVycy9TYW1wbGluZ1BhcmFtZXRlcnMudHN4Il0sIm5hbWVzIjpbIlNhbXBsaW5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ICAgICBjb25zb2xlLmVycm9yKEVycm9yKTtcbiAgICAgICAgcmV0dXJuIDxkaXY+e0Vycm9yfTwvZGl2PjtcbiAgICB9XG5cbiAgICByZXR1cm4gKFxuICAgICAgICA8TWFpbj5cbiAgICAgICAgICAgIDxUaXRsZVRhYnNIb2xkZXI+XG4gICAgICAgICAgICAgICAgPFRpdGxlPlxuICAgICAgICAgICAgICAgICAgICB7c2FtcGxpbmdQYXJhbWV0ZXJzXG4gICAgICAgICAgICAgICAgICAgICAgICA/IGkxOG4udCgnZGFzaGJvYXJkX3YyLnNhbXBsaW5nX3BhcmFtZXRlcnMuc2FtcGxpbmcnKVxuICAgICAgICAgICAgICAgICAgICAgICAgOiBpMThuLnQoJ2Rhc2hib2FyZF92Mi5zYW1wbGluZ19wYXJhbWV0ZXJzLmxhYi10ZXN0cycpfVxuICAgICAgICAgICAgICAgIDwvVGl0bGU+XG4gICAgICAgICAgICAgICAgPERvdWJsZVRhYnNcbiAgICAgICAgICAgICAgICAgICAgYWN0aXZlPXtzYW1wbGluZ1BhcmFtZXRlcnN9XG4gICAgICAgICAgICAgICAgICAgIHRvZ2dsZT17KCkgPT4gc2V0U2FtcGxpbmdQYXJhbWV0ZXJzKCFzYW1wbGluZ1BhcmFtZXRlcnMpfVxuICAgICAgICAgICAgICAgICAgICB0ZXh0TGVmdD17aTE4bi50KFxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhc2hib2FyZF92Mi5zYW1wbGluZ19wYXJhbWV0ZXJzLnNhbXBsaW5nJyxcbiAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgdGV4dFJpZ2h0PXtpMThuLnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFzaGJvYXJkX3YyLnNhbXBsaW5nX3BhcmFtZXRlcnMucGFyYW1ldGVycycsXG4gICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXtsYWJSZXN1bHRzLmxlbmd0aCA9PT0gMH1cbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC9UaXRsZVRhYnNIb2xkZXI+XG4gICAgICAgICAgICB7aXNMb2FkaW5nID09PSBmYWxzZSAmJiByZXNwb25zZT8uZGF0YS5sYWJfcmVzdWx0cy5sZW5ndGggPT09IDAgPyAoXG4gICAgICAgICAgICAgICAgPE5vUmVzdWx0cyAvPlxuICAgICAgICAgICAgKSA6IChcbiAgICAgICAgICAgICAgICA8Q29udGFpbmVyIGNsYXNzTmFtZT17c2FtcGxpbmdQYXJhbWV0ZXJzID8gJ2xlZnQnIDogJ3JpZ2h0J30+XG4gICAgICAgICAgICAgICAgICAgIDxTYW1wbGluZ0NvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVycz17aGVhZGVyc31cbiAgICAgICAgICAgICAgICAgICAgICAgIHJvd3M9e3Jvd3N9XG4gICAgICAgICAgICAgICAgICAgICAgICBleGNlcHRpb25UYWdzPXtleGNlcHRpb25UYWdzfVxuICAgICAgICAgICAgICAgICAgICAgICAgbGFiUmVzdWx0cz17bGFiUmVzdWx0c31cbiAgICAgICAgICAgICAgICAgICAgLz5cblxuICAgICAgICAgICAgICAgICAgICA8UGFyYW1ldGVyc0NvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICAgcGFyYW1ldGVyc1N1bW1hcnk9e3BhcmFtZXRlcnNTdW1tYXJ5fVxuICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgIDwvQ29udGFpbmVyPlxuICAgICAgICAgICAgKX1cbiAgICAgICAgPC9NYWluPlxuICAgICk7XG59O1xuXG5jb25zdCBDb250YWluZXIgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgd2lkdGg6IDIwMCU7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gMC41cyBlYXNlLWluLW91dDtcbiAgICAmLnJpZ2h0IHtcbiAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpO1xuICAgIH1cblxuICAgIFtkaXI9J3J0bCddICYucmlnaHQge1xuICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoNTAlKTtcbiAgICB9XG5gO1xuIl19