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EAAE,IAAI,CAAC,qBAAqB,AAAC;;;eAGlC;aACA;WACF;SACF,CACN;OACH;;;WA9CU,mBAAmB;KAAS,kBAAM,SAAS","file":"ReportBuildingPopup.js","sourcesContent":["import React from 'react';\nimport { reportActions } from 'actions/ReportActions';\nimport { reportStore } from 'stores/ReportStore';\n\nimport _ from 'lodash';\n\nexport class ReportBuildingPopup extends React.Component {\n constructor(props) {\n super(props);\n reportStore.listen(this.storeUpdated.bind(this));\n this.state = reportStore.getState();\n }\n\n storeUpdated() {\n this.setState(reportStore.getState());\n }\n\n componentDidUpdate() {\n this.state = this.props;\n }\n\n closeReportBuildPopup() {\n reportActions.closeReportBuildPopup();\n }\n\n render() {\n return (\n
\n
\n
\n Report Building\n \n
\n {this.state.reportError ? (\n
{this.state.errorMessage}
\n ) : (\n
\n Your Report is being processed. This may take a few moments. When it is finished it will automatically\n download.\n
\n )}\n
\n \n OK\n \n
\n
\n
\n );\n }\n}\n"]}