{"remainingRequest":"/var/www/html/payroll_manager/front-end/node_modules/thread-loader/dist/cjs.js??ref--4-2!/var/www/html/payroll_manager/front-end/node_modules/ts-loader/index.js??ref--4-3!/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js!/var/www/html/payroll_manager/front-end/src/main/webapp/app/app.tsx","dependencies":[{"path":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/app.tsx","mtime":1533613270677},{"path":"/var/www/html/payroll_manager/front-end/node_modules/react-hot-loader/webpack.js","mtime":1505850161000},{"path":"/var/www/html/payroll_manager/front-end/node_modules/cache-loader/dist/cjs.js","mtime":0},{"path":"/var/www/html/payroll_manager/front-end/node_modules/thread-loader/dist/cjs.js","mtime":0},{"path":"/var/www/html/payroll_manager/front-end/node_modules/ts-loader/index.js","mtime":1530127508000},{"path":"/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js","mtime":1519899048000}],"contextDependencies":[],"result":["import * as tslib_1 from \"tslib\";\nimport 'react-toastify/dist/ReactToastify.css';\nimport './app.scss';\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { Card } from 'reactstrap';\nimport { HashRouter as Router } from 'react-router-dom';\nimport { ToastContainer, toast } from 'react-toastify';\nimport { getSession } from 'app/shared/reducers/authentication';\nimport { getProfile } from 'app/shared/reducers/application-profile';\nimport Header from 'app/shared/layout/header/header';\nimport Footer from 'app/shared/layout/footer/footer';\nimport { hasAnyAuthority } from 'app/shared/auth/private-route';\nimport ErrorBoundary from 'app/shared/error/error-boundary';\nimport { AUTHORITIES } from 'app/config/constants';\nimport AppRoutes from 'app/routes';\nvar App = /** @class */ (function (_super) {\n tslib_1.__extends(App, _super);\n function App() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n App.prototype.componentDidMount = function () {\n this.props.getSession();\n this.props.getProfile();\n };\n App.prototype.render = function () {\n var paddingTop = '60px';\n return (React.createElement(Router, null,\n React.createElement(\"div\", { className: \"app-container\", style: { paddingTop: paddingTop } },\n React.createElement(ToastContainer, { position: toast.POSITION.TOP_LEFT, className: \"toastify-container\", toastClassName: \"toastify-toast\" }),\n React.createElement(ErrorBoundary, null,\n React.createElement(Header, { isAuthenticated: this.props.isAuthenticated, isAdmin: this.props.isAdmin, ribbonEnv: this.props.ribbonEnv, isInProduction: this.props.isInProduction, isSwaggerEnabled: this.props.isSwaggerEnabled })),\n React.createElement(\"div\", { className: \"container-fluid view-container\", id: \"app-view-container\" },\n React.createElement(Card, { className: \"jh-card\" },\n React.createElement(ErrorBoundary, null,\n React.createElement(AppRoutes, null))),\n React.createElement(Footer, null)))));\n };\n return App;\n}(React.Component));\nexport { App };\nvar mapStateToProps = function (_a) {\n var authentication = _a.authentication, applicationProfile = _a.applicationProfile;\n return ({\n isAuthenticated: authentication.isAuthenticated,\n isAdmin: hasAnyAuthority(authentication.account.authorities, [AUTHORITIES.ADMIN]),\n ribbonEnv: applicationProfile.ribbonEnv,\n isInProduction: applicationProfile.inProduction,\n isSwaggerEnabled: applicationProfile.isSwaggerEnabled\n });\n};\nvar mapDispatchToProps = { getSession: getSession, getProfile: getProfile };\nexport default connect(mapStateToProps, mapDispatchToProps)(App);\n",{"version":3,"file":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/app.tsx","sourceRoot":"","sources":["/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js!/var/www/html/payroll_manager/front-end/src/main/webapp/app/app.tsx"],"names":[],"mappings":";AAAA,OAAO,uCAAuC,CAAC;AAC/C,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,UAAU,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAA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oBACP,oBAAC,MAAM,OAAG,CACN,CACF,CACC,CACV,CAAC;IACJ,CAAC;IACH,UAAC;AAAD,CAAC,AAjCD,CAAyB,KAAK,CAAC,SAAS,GAiCvC;;AAED,IAAM,eAAe,GAAG,UAAC,EAAkD;QAAhD,kCAAc,EAAE,0CAAkB;IAAmB,OAAA,CAAC;QAC/E,eAAe,EAAE,cAAc,CAAC,eAAe;QAC/C,OAAO,EAAE,eAAe,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACjF,SAAS,EAAE,kBAAkB,CAAC,SAAS;QACvC,cAAc,EAAE,kBAAkB,CAAC,YAAY;QAC/C,gBAAgB,EAAE,kBAAkB,CAAC,gBAAgB;KACtD,CAAC;AAN8E,CAM9E,CAAC;AAEH,IAAM,kBAAkB,GAAG,EAAE,UAAU,YAAA,EAAE,UAAU,YAAA,EAAE,CAAC;AAKtD,eAAe,OAAO,CACpB,eAAe,EACf,kBAAkB,CACnB,CAAC,GAAG,CAAC,CAAC","sourcesContent":["import 'react-toastify/dist/ReactToastify.css';\nimport './app.scss';\n\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { Card } from 'reactstrap';\nimport { HashRouter as Router } from 'react-router-dom';\nimport { ToastContainer, toast } from 'react-toastify';\n\nimport { IRootState } from 'app/shared/reducers';\nimport { getSession } from 'app/shared/reducers/authentication';\nimport { getProfile } from 'app/shared/reducers/application-profile';\nimport Header from 'app/shared/layout/header/header';\nimport Footer from 'app/shared/layout/footer/footer';\nimport { hasAnyAuthority } from 'app/shared/auth/private-route';\nimport ErrorBoundary from 'app/shared/error/error-boundary';\nimport { AUTHORITIES } from 'app/config/constants';\nimport AppRoutes from 'app/routes';\n\nexport interface IAppProps extends StateProps, DispatchProps {}\n\nexport class App extends React.Component {\n componentDidMount() {\n this.props.getSession();\n this.props.getProfile();\n }\n\n render() {\n const paddingTop = '60px';\n return (\n \n \n \n );\n }\n}\n\nconst mapStateToProps = ({ authentication, applicationProfile }: IRootState) => ({\n isAuthenticated: authentication.isAuthenticated,\n isAdmin: hasAnyAuthority(authentication.account.authorities, [AUTHORITIES.ADMIN]),\n ribbonEnv: applicationProfile.ribbonEnv,\n isInProduction: applicationProfile.inProduction,\n isSwaggerEnabled: applicationProfile.isSwaggerEnabled\n});\n\nconst mapDispatchToProps = { getSession, getProfile };\n\ntype StateProps = ReturnType;\ntype DispatchProps = typeof mapDispatchToProps;\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(App);\n"]}]}