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 : 3.140.195.142


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/240.8b90c07d.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[240],{1293:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),u=r(102),s=r(104),l=r(2),p=r.n(l),f=r(105),d=r(1337),h=r(1157),m=r(284),v=r(300),y=r(298),g=r(267);function E(){E=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:S(e,r,c)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",v={};function y(){}function g(){}function b(){}var w={};s(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(T([])));O&&O!==r&&n.call(O,i)&&(w=O);var A=b.prototype=y.prototype=Object.create(w);function L(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,i,c){var u=p(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function S(t,r,n){var a=f;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?m:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.arg)}}}function j(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=b,a(A,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},L(k.prototype),s(k.prototype,c,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new k(l(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},L(A),s(A,u,"Generator"),s(A,i,function(){return this}),s(A,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var b=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(r=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(i)))).state={exam:"",board:"All",qpcode:"All",degree:"All",sem:"All",status:"All",loading:!1,finQP:null,indexSet:"",finQPFile:"",remarks:"",finTable:[],finAns:null,indexAnsSet:"",finAnsFile:""},r.componentDidMount=function(){r.props.loadYearAndMode()},r.chnageExam=function(){var e=Object(a.a)(E().mark(function e(t){var n,a;return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({exam:t.value,loading:!1});case 2:r.props.getBoardDet(t.value),n=t.value.split("*"),a=n[0],r.props.loadmastersdeg(a);case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.changeBoard=function(){var e=Object(a.a)(E().mark(function e(t){return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({board:t.value,loading:!1}),r.props.getBoardSubj(r.state.exam,t.value);case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.changeSubjectQp=function(){var e=Object(a.a)(E().mark(function e(t){return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({qpcode:t.value,loading:!1});case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.changeDegree=function(){var e=Object(a.a)(E().mark(function e(t){return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.setState({degree:t.value,loading:!1}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.changeSem=function(){var e=Object(a.a)(E().mark(function e(t){return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.setState({sem:t.value,loading:!1}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.statusChange=function(){var e=Object(a.a)(E().mark(function e(t){return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.setState({status:t.value,loading:!1}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.submitHandler=Object(a.a)(E().mark(function e(){var t,n,a,o,i,c,u;return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,n=t.exam,a=t.board,o=t.qpcode,i=t.degree,c=t.sem,(u=new FormData).append("univcode",r.props.univ.funivcode),u.append("exam",n),u.append("board",a),u.append("qpcode",o),u.append("degree",i),u.append("sem",c),e.next=10,r.props.getFinalQpData(u);case 10:r.setState({finTable:r.props.data,loading:!0});case 11:case"end":return e.stop()}},e)})),r.changeHandler=function(e,t,n){r.setState({indexSet:t,finQPFile:e.target.files[0],finQP:t})},r.changeAnsHandler=function(e,t,n){r.setState({indexAnsSet:t,finAnsFile:e.target.files[0],finAns:t})},r.finalQPfile=function(e,t){var n="";1==t.target.checked?n="T":0==t.target.checked&&(n="F");var a=r.state.finTable.map(function(t,r){return r===e&&(t.ffinalqpstatus=n),t});r.setState({finTable:a})},r.remarksSave=function(e,t){var n=r.state.finTable.map(function(r,n){return n===e&&(r.fremarks=t.value),r});r.setState({finTable:n})},r.saveFinData=function(){var e=Object(a.a)(E().mark(function e(t,n){var a,o,i,c,u,s,l,p,f,d,h,m,v,y,g;return E().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""===r.state.finQPFile){e.next=7;break}if(a=r.state.finQPFile.name,"pdf"===a.split(".")[1]){e.next=7;break}return o={header:"Error",content:"Please Upload pdf File"},r.props.showError(o),e.abrupt("return");case 7:if(""===r.state.finAnsFile){e.next=14;break}if(i=r.state.finAnsFile.name,"pdf"===i.split(".")[1]){e.next=14;break}return c={header:"Error",content:"Please Upload pdf File"},r.props.showError(c),e.abrupt("return");case 14:if(u=r.state,s=u.finQPFile,l=u.finQP,p=u.finAnsFile,f=u.finAns,d="",h="",m="",v="",t===l&&(d=s,h=l),t===f&&(m=p,v=f),t!==l&&t!==f){e.next=37;break}return(y=new FormData).append("univcode",r.props.univ.funivcode),y.append("userid",r.props.userid),y.append("exam",r.state.exam),y.append("finQPFile",d),y.append("finQP",h),y.append("finAnsFile",m),y.append("finAns",v),y.append("data",JSON.stringify(n)),e.next=33,r.props.saveFinalQPData(y);case 33:return e.next=35,r.submitHandler();case 35:e.next=50;break;case 37:return(g=new FormData).append("univcode",r.props.univ.funivcode),g.append("userid",r.props.userid),g.append("exam",r.state.exam),g.append("finQPFile",""),g.append("finQP",""),g.append("finAnsFile",""),g.append("finAns",""),g.append("data",JSON.stringify(n)),e.next=48,r.props.saveFinalQPData(g);case 48:return e.next=50,r.submitHandler();case 50:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r}return Object(s.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=[{key:"All",text:"All",value:"All"}],r=this.props.year.map(function(e,t){return{key:t,text:e.fdesexam,value:e.fexamyear}}),a=this.props.boards.map(function(e,t){return{key:t,text:e.fboardname,value:e.fboardcode}}),o=[].concat(t,Object(n.a)(a)),i=this.props.subject.map(function(e,t){return{key:t,text:"".concat(e.fqpcode," - ").concat(e.fsubname),value:e.fqpcode}}),c=[].concat(t,Object(n.a)(i)),u=this.props.degree.map(function(e,t){return{key:t,text:e.fdegree+" - "+e.fdescpn,value:e.fdegree}}),s=[].concat(t,Object(n.a)(u)),l=[].concat(t,[{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]);return p.a.createElement("section",null,p.a.createElement("div",{className:"card"},p.a.createElement("div",{className:"card-body"},p.a.createElement("div",{className:"d-flex justify-content-between"},p.a.createElement("h4",{className:"card-title"},"View Question Paper"),p.a.createElement("button",{className:"btn btn-danger"},"Exit")),p.a.createElement("div",{className:"my-3"},p.a.createElement("hr",null)),p.a.createElement("form",{className:"container"},p.a.createElement("div",{className:"row"},p.a.createElement("div",{className:"col-md-4"},p.a.createElement("label",{htmlFor:"exam",className:"form-label"},"Exam"),p.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.state.exam,options:r,allowAdditions:!0,placeholder:"Exam",onChange:function(t,r){return e.chnageExam(r)}})),p.a.createElement("div",{className:"col-md-4"},p.a.createElement("label",{htmlFor:"board",className:"form-label"},"Board"),p.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.state.board,options:o,allowAdditions:!0,placeholder:"Board",onChange:function(t,r){return e.changeBoard(r)}})),p.a.createElement("div",{className:"col-md-4"},p.a.createElement("label",{htmlFor:"qpode",className:"form-label"},"Qp Code"),p.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.state.qpcode,options:c,allowAdditions:!0,placeholder:"QP Code",onChange:function(t,r){return e.changeSubjectQp(r)}}))),p.a.createElement("div",{className:"row my-3"},p.a.createElement("div",{className:"col-md-4"},p.a.createElement("label",{htmlFor:"degree",className:"form-label"},"Degree"),p.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.state.degree,options:s,allowAdditions:!0,placeholder:"Degree",onChange:function(t,r){return e.changeDegree(r)}})),p.a.createElement("div",{className:"col-md-4"},p.a.createElement("label",{htmlFor:"sem",className:"form-label"},"Sem"),p.a.createElement(d.a,{fluid:!0,search:!0,selection:!0,value:this.state.sem,options:l,allowAdditions:!0,placeholder:"sem",onChange:function(t,r){return e.changeSem(r)}})),p.a.createElement("div",{className:"col-md-3 mt-4 pt-2"},p.a.createElement("button",{className:"btn btn-success",onClick:this.submitHandler},"Submit")))),this.state.loading&&p.a.createElement("div",{className:"table-responsive mt-4",style:{height:"450px"}},p.a.createElement("table",{className:"table table-bordered"},p.a.createElement("thead",{className:"sticky-top bg-success text-center",style:{zIndex:2}},p.a.createElement("tr",null,p.a.createElement("th",null,"Degree"),p.a.createElement("th",null,"QP Code"),p.a.createElement("th",null,"Subject Name"),p.a.createElement("th",null,"Date Time"),p.a.createElement("th",null,"QP"),p.a.createElement("th",null,"Ans Key"),p.a.createElement("th",null,"Mod Form"),p.a.createElement("th",null,"Upload Final QP"),p.a.createElement("th",null,"Upload Final Ans Key"),p.a.createElement("th",null,"Remarks"),100==this.props.usertype||200==this.props.usertype||302==this.props.usertype||318==this.props.usertype?p.a.createElement("th",null,"Final"):null,p.a.createElement("th",null,"Action"))),p.a.createElement("tbody",{className:"text-center"},this.props.data.length>0?this.state.finTable.map(function(t,r){var n="https://moderator-upd.s3.ap-south-1.amazonaws.com/",a=n+t.fmodqpupd,o=n+t.fmodanskey,i=n+t.fmodform,c="https://moderator-upd.s3.ap-south-1.amazonaws.com/"+t.ffinalqppath,u="https://moderator-upd.s3.ap-south-1.amazonaws.com/"+t.ffinalanspath;return p.a.createElement("tr",{key:r},p.a.createElement("td",null,t.fdegree),p.a.createElement("td",null,t.fqpcode),p.a.createElement("td",{className:"text-left"},t.fsubname),p.a.createElement("td",null,t.ffinalpaperdate),p.a.createElement("td",null,p.a.createElement("a",{href:a,target:"_blank",rel:"noopener noreferrer"},"View")),p.a.createElement("td",null,p.a.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer"},"View")),p.a.createElement("td",null,p.a.createElement("a",{href:i,target:"_blank",rel:"noopener noreferrer"},"View")),p.a.createElement("td",null,"T"!==t.ffinalqpstatus?p.a.createElement("input",{type:"file",style:{width:"82px"},onChange:function(n){return e.changeHandler(n,r,t)}}):p.a.createElement("input",{type:"file",style:{width:"80px"},disabled:!0}),""!==t.ffinalqppath?p.a.createElement("a",{href:c,target:"_blank",rel:"noopener noreferrer"},"View"):null),p.a.createElement("td",null,"T"!==t.ffinalqpstatus?p.a.createElement("input",{type:"file",style:{width:"82px"},onChange:function(n){return e.changeAnsHandler(n,r,t)}}):p.a.createElement("input",{type:"file",style:{width:"80px"},disabled:!0}),""!==t.ffinalanspath?p.a.createElement("a",{href:u,target:"_blank",rel:"noopener noreferrer"},"View"):null),p.a.createElement("td",null,p.a.createElement(h.a,{type:"text",style:{backgroundColor:"transparent",border:"0px solid",height:"60px"},value:t.fremarks,onChange:function(t,n){return e.remarksSave(r,n)}})),100==e.props.usertype||200==e.props.usertype||302==e.props.usertype||318==e.props.usertype?p.a.createElement("td",null,p.a.createElement("input",{type:"checkbox",checked:"T"==t.ffinalqpstatus,onChange:function(t){return e.finalQPfile(r,t)}})):null,p.a.createElement("td",null,p.a.createElement("button",{className:"btn btn-success",onClick:function(n){return e.saveFinData(r,t)}},"Save")))}):p.a.createElement("tr",null,p.a.createElement("td",{colSpan:7},"No Data Found"))))))))}}]),t}(l.Component);t.default=Object(f.b)(function(e){return{univ:e.univ,year:e.loadYearAndMode,boards:e.boaddet,subject:e.boardsubj,degree:e.loadmastersdeg,data:e.getFinalQpData,userid:e.user.fuserid,usertype:e.user.fcurtype}},{getBoardDet:v.k,getBoardSubj:v.l,loadYearAndMode:y.m,loadmastersdeg:m.d,getFinalQpData:v.p,saveFinalQPData:v.z,showError:g.A})(b)},284:function(e,t,r){"use strict";r.d(t,"c",function(){return c}),r.d(t,"d",function(){return u}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return l}),r.d(t,"f",function(){return p}),r.d(t,"a",function(){return f}),r.d(t,"g",function(){return d});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),c=new F(n||[]);return a(i,"_invoke",{value:S(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="suspendedYield",m="executing",v="completed",y={};function g(){}function E(){}function b(){}var w={};l(w,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(T([])));O&&O!==r&&n.call(O,c)&&(w=O);var A=b.prototype=g.prototype=Object.create(w);function L(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function r(a,o,i,c){var u=f(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function S(t,r,n){var a=d;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function j(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=b,a(A,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=l(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},L(k.prototype),l(k.prototype,u,function(){return this}),t.AsyncIterator=k,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new k(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},L(A),l(A,s,"Generator"),l(A,c,function(){return this}),l(A,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,u,s,l,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",u="",u="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",e.next=7,a.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,fcollcode:c}});case 7:s=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},t(Object(o.A)(p))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:s.data});case 10:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_MASTERS_DEGREE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadsubrptsem",degree:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_SUB_SEMESTER",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"&deggrp="+e.deggrp,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_ALL_EXAMCENTRE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"&deggrp="+e.deggrp+"&reportorder="+e.reportorder,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getVerfyData&univcode="+c.univ.funivcode+"&deggp="+e+"&fstatus="+t);case 4:u=r.sent,n({type:"UNSET_LOADER"}),-1===u.data.error_code?n({type:"CLEAR_GET_VERF_NOTI"}):n({type:"GET_VERF_NOTI",payload:u.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=saveVerifyNotifi&univcode="+s.univ.funivcode+"&findata="+e+"&userid="+t+"&usertype="+r);case 4:l=n.sent,c({type:"UNSET_LOADER"}),0===l.data.error_code?(p={header:"Success",content:l.data.data.msg},c(Object(o.A)(p))):(f={header:"Error",content:l.data.data.msg},c(Object(o.A)(f)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=240.8b90c07d.chunk.js.map