Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.145.105.199
{"version":3,"sources":["pages/studymaterial/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/studymaterial/degreeform.js","pages/studymaterial/studymaterialview.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","StudyMaterial","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","fstudydeg","displayTbl","studyExamno","studySubject","getDegrees","data","setState","frmDeggrp","handleChangedeg","_ref","_asyncToGenerator","_callee","_context","props","fetchexamno","_x","_x2","handleChangeexm","_ref2","_callee2","_context2","fetchsub","_x3","_x4","handleChangesub","_ref3","_callee3","_context3","_x5","_x6","handleSubmit","fdeggrp","user","_this$state","getstudymat","showError","header","content","handleReport","_this$state2","reportType","fdeggrpfrm","fdeggrpto","fcollfrm","fcollto","window","open","ReportAPI","univcode","handleCancel","reportFormat","renderHeader","React","createElement","Card","Header","style","display","className","Link","to","Button","basic","color","icon","onClick","renderForm","_this$state3","degreeOptionsList","degreeList","map","item","fdegree","text","fdescpn","examOptionsList","examno","fexamno","fexamname","subjectOptionsList","Subject","fsubcode","fsubname","wheight","wHeight","fluid","Content","Divider","Description","overflowY","height","Form","Group","Field","width","Dropdown","placeholder","selection","search","options","onChange","StudyMaterialView","reportdet","collegeReport","_inherits","_createClass","key","getDegreeList","Component","connect","deggrp","univ","funivcode","studyDegree","fetchDegGrp","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","dispatch","getState","response","error","_error","univadmin","get","fcollcode","error_code","msg","payload","deg","_error2","exmno","_error3","qpFileUpload","file","_ref4","_callee4","formData","_context4","FormData","set","JSON","stringify","post","headers","Content-type","_x7","_x8","_ref5","_callee5","_error4","_context5","_x9","_x10","studyMaterialList","searchVal","searchTable","string","searchPrbatch","filter","some","k","toLowerCase","includes","colgdet","renderTable","marginBottom","backgroundColor","Input","fontSize","Table","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","el","overflow","Cell","upddate","FUPDTEACH","fchapter","viewed","href","fcuruniv","fpath","target","prevProps","getstudyMaterial"],"mappings":"6SACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAA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BAUtBjE,EAOA,OArGoBoH,YAAAH,EAAAnH,GA8FpBuH,YAAAJ,EAAA,EAAAK,IAAA,oBAAAvN,MAAA,cA3FqB,CAAAuN,IAAA,qBAAAvN,MAAA,SAEHkU,MAAa,CAAA3G,IAAA,SAAAvN,MAAA,WA4F9B,OAA4B,MAAxB8B,KAAK4F,MAAMyF,UAA0B,KAEhCrL,KAAK2Q,kBAEfvF,EArGoB,CAASO,cA8GjBC,gBAPS,SAAC9G,GACvB,MAAO,CACLkL,kBAAmBlL,EAAMuN,iBACzBtL,KAAMjC,EAAMiC,OAIwB,CACtCG,eADa0E,CAEZR","file":"static/js/50.37acbf19.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDegGrp } from \"../../actions\";\r\nimport StudyMaterialView from \"./studymaterialview\";\r\nimport { ReportAPI } from \"../../apis/consts\";\r\nimport { showError } from \"../../actions\";\r\nimport { wHeight } from \"../parms\";\r\nimport {\r\n getDegreeList,\r\n fetchexamno,\r\n fetchsub,\r\n getstudymat,\r\n} from \"../../actions/studymaterial/degreeform\";\r\n\r\nclass StudyMaterial extends Component {\r\n state = {\r\n fstudydeg: \"\",\r\n displayTbl: false,\r\n studyExamno: \"\",\r\n studySubject: \"\",\r\n };\r\n\r\n componentDidMount() {\r\n this.props.getDegreeList();\r\n }\r\n\r\n getDegrees = (e, data) => {\r\n this.setState({ frmDeggrp: data.value });\r\n };\r\n\r\n handleChangedeg = async (e, data) => {\r\n await this.props.fetchexamno(data.value);\r\n this.setState({ fstudydeg: data.value, studyExamno: \"\", studySubject: \"\" });\r\n // this.props.Subject = \" \";\r\n // this.props.examno = \" \";\r\n // exmno = \" \";\r\n // sub = \" \";\r\n // getExamno(data.value);\r\n };\r\n\r\n handleChangeexm = async (e, data) => {\r\n await this.props.fetchsub(data.value, this.state.fstudydeg);\r\n this.setState({ studyExamno: data.value, studySubject: \"\" });\r\n\r\n // getExamno(data.value);\r\n };\r\n handleChangesub = async (e, data) => {\r\n // await this.props.fetchsub(data.value,this.state.fstudydeg);\r\n this.setState({ studySubject: data.value });\r\n\r\n // getExamno(data.value);\r\n };\r\n handleSubmit = () => {\r\n const { fdeggrp } = this.props.user;\r\n const { displayTbl, studyExamno, fstudydeg, studySubject } = this.state;\r\n if (fdeggrp === \"\") {\r\n const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n this.props.showError(error);\r\n return;\r\n }\r\n this.props.getstudymat(displayTbl, studyExamno, fstudydeg, studySubject);\r\n this.setState({ displayTbl: true });\r\n };\r\n\r\n handleReport = () => {\r\n const { fdeggrp } = this.props.user;\r\n const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = this.state;\r\n if (fdeggrp === \"\") {\r\n const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n this.props.showError(error);\r\n return;\r\n }\r\n window.open(\r\n ReportAPI +\r\n reportType +\r\n \"&univcode=\" +\r\n this.props.univcode +\r\n \"°grp=\" +\r\n fdeggrp +\r\n \"°grpfrm=\" +\r\n fdeggrpfrm +\r\n \"°grpto=\" +\r\n fdeggrpto +\r\n \"&collfrm=\" +\r\n fcollfrm +\r\n \"&collto=\" +\r\n fcollto +\r\n \"&val=\" +\r\n reportType +\r\n \"&format=\" +\r\n \"PDF\",\r\n \"_blank\"\r\n );\r\n };\r\n\r\n handleCancel = () => {\r\n this.setState({\r\n reportType: \"\",\r\n fdeggrpfrm: \"0\",\r\n fdeggrpto: \"zzzzz\",\r\n fcollfrm: \"0\",\r\n fcollto: \"zzzzz\",\r\n reportFormat: \"\",\r\n frmDeggrp: \"\",\r\n });\r\n };\r\n\r\n renderHeader = () => {\r\n return (\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h3>Study Material</h3>\r\n <div className=\"ml-auto\">\r\n <Link to=\"/study/uploadstudymaterial\">\r\n <Button basic color=\"blue\" content=\"Upload\" icon=\"upload\" />\r\n </Link>\r\n\r\n <Button\r\n basic\r\n color=\"black\"\r\n icon=\"ban\"\r\n onClick={this.handleCancel}\r\n content=\"Cancel\"\r\n />\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n );\r\n };\r\n\r\n renderForm = () => {\r\n const { displayTbl, studyExamno, fstudydeg, studySubject } = this.state;\r\n const degreeOptionsList = this.props.degreeList.map((item) => {\r\n return {\r\n value: item.fdegree,\r\n text: `${item.fdegree} ${item.fdescpn}`,\r\n };\r\n });\r\n const examOptionsList = this.props.examno.map((item) => {\r\n return {\r\n value: item.fexamno,\r\n text: ` ${item.fexamname}`,\r\n };\r\n });\r\n const subjectOptionsList = this.props.Subject.map((item) => {\r\n return {\r\n value: item.fsubcode,\r\n text: ` ${item.fsubname}`,\r\n };\r\n });\r\n const wheight = wHeight();\r\n\r\n return (\r\n <div className=\"animated fadeIn\">\r\n <Card fluid>\r\n <Card.Content>\r\n {this.renderHeader()}\r\n <Divider />\r\n <Card.Description\r\n style={{ overflowY: \"auto\", height: `${wheight}px` }}\r\n >\r\n <div className=\"col-md-6\">\r\n <Form>\r\n <div>\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Degree</label>\r\n <Dropdown\r\n placeholder=\"Select Degree\"\r\n name=\"deg\"\r\n value={fstudydeg}\r\n selection\r\n search\r\n options={degreeOptionsList}\r\n onChange={this.handleChangedeg}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n </div>\r\n\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Exam No.</label>\r\n <Dropdown\r\n placeholder=\"Select Exam No.\"\r\n name=\"exmno\"\r\n value={studyExamno}\r\n selection\r\n search\r\n options={examOptionsList}\r\n onChange={this.handleChangeexm}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n\r\n <Form.Group>\r\n <Form.Field width={16}>\r\n <label>Subject</label>\r\n <Dropdown\r\n placeholder=\"Select Subject\"\r\n name=\"sub\"\r\n value={studySubject}\r\n selection\r\n search\r\n options={subjectOptionsList}\r\n onChange={this.handleChangesub}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n\r\n <Button color=\"blue\" onClick={this.handleSubmit}>\r\n View\r\n </Button>\r\n <br />\r\n </Form>\r\n </div>\r\n {displayTbl ? (\r\n <StudyMaterialView reportdet={this.props.collegeReport} />\r\n ) : null}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n );\r\n };\r\n render() {\r\n return this.renderForm();\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n deggrp: state.deggrp,\r\n collegeReport: state.collegeReport,\r\n univcode: state.univ.funivcode,\r\n user: state.user,\r\n degreeList: state.studyDegree,\r\n examno: state.studyExamno,\r\n Subject: state.studySubject,\r\n };\r\n};\r\nexport default connect(mapStateToProps, {\r\n getDegreeList,\r\n fetchexamno,\r\n fetchsub,\r\n getstudymat,\r\n fetchDegGrp,\r\n showError,\r\n})(StudyMaterial);\r\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\r\nimport { showError } from \"../index\";\r\n\r\nexport const getDegreeList = () => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n const response = await univadmin.get(\r\n \"app.php?a=StudyDegreeList&univcode=\" +\r\n state.univ.funivcode +\r\n \"&fcollcode=\" +\r\n state.user.fcollcode\r\n );\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"ALL_DEGREE_LIST\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const fetchexamno = (deg) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n const response = await univadmin.get(\r\n \"app.php?a=getexamno&univcode=\" + state.univ.funivcode + \"°=\" + deg\r\n );\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"STUDY_EXAMNO\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const fetchsub = (exmno, deg) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n const response = await univadmin.get(\r\n \"app.php?a=getstudysub&univcode=\" +\r\n state.univ.funivcode +\r\n \"°=\" +\r\n deg +\r\n \"&exmno=\" +\r\n exmno\r\n );\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"STUDY_SUBJECT\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const qpFileUpload = (file) => {\r\n return async function (dispatch, getState) {\r\n const state = getState();\r\n\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const formData = new FormData();\r\n formData.set(\"filefield\", file, file.name);\r\n // const data = formData(state.user);\r\n const data = formData.set(\"body\", JSON.stringify(state.user));\r\n\r\n const response = await univadmin.post(\r\n \"upload_study_material.php\",\r\n formData,\r\n {\r\n headers: {\r\n \"Content-type\": \"multipart/form-data\",\r\n },\r\n }\r\n );\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n dispatch({\r\n type: \"SET_UPLOAD_DOC\",\r\n payload: response.data,\r\n });\r\n };\r\n};\r\n\r\nexport const getstudymat = (\r\n displayTbl,\r\n studyExamno,\r\n fstudydeg,\r\n studySubject\r\n) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n const response = await univadmin.get(\r\n \"app.php?a=getstudymat&univcode=\" +\r\n state.univ.funivcode +\r\n \"&fstudydeg=\" +\r\n fstudydeg +\r\n \"&studyExamno=\" +\r\n studyExamno +\r\n \"&studySubject=\" +\r\n studySubject +\r\n \"&fcollcode=\" +\r\n state.user.fcollcode\r\n );\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"GET_STUDY_MATERIAL\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n","import React, { Component } from \"react\";\r\nimport { Table, Input } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { showError } from \"../../actions\";\r\nimport \"react-table/react-table.css\";\r\nimport \"../../index.css\";\r\n\r\nclass StudyMaterialView extends Component {\r\n state = { studyMaterialList: [], searchVal: \"\" };\r\n\r\n componentDidMount() {}\r\n\r\n componentDidUpdate(prevProps) {}\r\n\r\n searchTable = (e, data) => {\r\n const string = data.value;\r\n const searchPrbatch = this.props.reportdet.filter((o) =>\r\n Object.keys(o).some((k) =>\r\n o[k].toLowerCase().includes(string.toLowerCase())\r\n )\r\n );\r\n this.setState({ colgdet: searchPrbatch, searchVal: data.value });\r\n };\r\n\r\n renderTable = () => {\r\n const studyMaterialList = this.props.studyMaterialList;\r\n return (\r\n <div className=\"mt-3\">\r\n <hr />\r\n <div\r\n style={{\r\n marginBottom: \"1em\",\r\n backgroundColor: \"white\",\r\n }}\r\n className=\"stick\"\r\n >\r\n <Input\r\n icon=\"search\"\r\n fluid\r\n placeholder=\"Search...\"\r\n onChange={this.searchTable}\r\n value={this.state.searchVal}\r\n style={{ fontSize: \"1.1em\" }}\r\n />\r\n </div>\r\n <div>\r\n <Table\r\n celled\r\n padded\r\n selectable\r\n size=\"medium\"\r\n color=\"olive\"\r\n className=\"tbl sticky\"\r\n >\r\n <Table.Header>\r\n <Table.Row textAlign=\"center\">\r\n <Table.HeaderCell>Sl.No.</Table.HeaderCell>\r\n <Table.HeaderCell>Uploded Date</Table.HeaderCell>\r\n <Table.HeaderCell>Teacher Name</Table.HeaderCell>\r\n <Table.HeaderCell>Semester</Table.HeaderCell>\r\n <Table.HeaderCell>Subject Name</Table.HeaderCell>\r\n <Table.HeaderCell>Chapter/Unit</Table.HeaderCell>\r\n <Table.HeaderCell>Students Viewed</Table.HeaderCell>\r\n <Table.HeaderCell>View</Table.HeaderCell>\r\n <Table.HeaderCell>Delete</Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Header>\r\n <Table.Body>\r\n {studyMaterialList.map((el, i) => {\r\n var s3link =\r\n \"https://online-univ-study-material.s3.ap-south-1.amazonaws.com/\";\r\n return (\r\n <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n <Table.Cell>{el.upddate}</Table.Cell>\r\n <Table.Cell>{el.FUPDTEACH}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.fexamname}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.fsubname}</Table.Cell>\r\n <Table.Cell>{el.fchapter}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.viewed}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n <a\r\n href={\r\n s3link + this.props.user.fcuruniv + \"/\" + el.fpath\r\n }\r\n target=\"_blank\"\r\n >\r\n View\r\n </a>\r\n </Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n <a>Delete</a>\r\n </Table.Cell>\r\n </Table.Row>\r\n );\r\n })}\r\n </Table.Body>\r\n </Table>\r\n </div>\r\n </div>\r\n );\r\n };\r\n\r\n render() {\r\n if (this.props.reportdet == null) return null;\r\n else {\r\n return this.renderTable();\r\n }\r\n }\r\n}\r\nconst mapStateToProps = (state) => {\r\n return {\r\n studyMaterialList: state.getstudyMaterial,\r\n user: state.user,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n showError,\r\n})(StudyMaterialView);\r\n"],"sourceRoot":""}
|