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.144.6.236
(window.webpackJsonp=window.webpackJsonp||[]).push([[38,307],{1315:function(t,e,r){"use strict";r.r(e);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),u=r(102),l=r(104),s=r(2),p=r.n(s),d=r(941),f=r(1377),h=r(1343),y=r(272),v=r(1335),m=r(1337),E=r(726),g=r(105),b=r(298),w=r(284),x=r(300),_=r(418),S=(r(311),r(267)),O=r(346);function L(){L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),c=new k(n||[]);return a(i,"_invoke",{value:A(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var d="suspendedStart",f="suspendedYield",h="executing",y="completed",v={};function m(){}function E(){}function g(){}var b={};l(b,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var _=g.prototype=m.prototype=Object.create(b);function S(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function r(a,o,i,c){var u=p(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function A(e,r,n){var a=d;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:t,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===d)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=p(e,r,n);if("normal"===l.type){if(a=n.done?y:f,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,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,e.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[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=g,a(_,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:E,configurable:!0}),E.displayName=l(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},S(O.prototype),l(O.prototype,c,function(){return this}),e.AsyncIterator=O,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new O(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(_),l(_,u,"Generator"),l(_,i,function(){return this}),l(_,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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"),l=n.call(i,"finallyLoc");if(u&&l){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(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var A=function(t){function e(){var t,r;Object(o.a)(this,e);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(i)))).state={exam:"",board:"All",qpcode:"All",degree:"All",sem:"All",teachStatus:"All",modStatus:"All",sumTable:[],detTable:[],detQp:"",detSubject:"",formsubmit:!1,viewDetTable:!1},r.componentDidMount=function(){r.props.loadYearAndMode()},r.handleChange=function(t,e){if("exam"===e){r.setState({exam:t}),r.props.getBoardDet(t);var n=t.split("*")[0];r.props.loadmastersdeg(n)}"board"===e&&(r.setState({board:t}),r.props.getBoardSubj(r.state.exam,t)),"qpcode"===e&&r.setState({qpcode:t}),"degree"===e&&r.setState({degree:t}),"sem"===e&&r.setState({sem:t}),"teacher"===e&&r.setState({teachStatus:t}),"moderator"===e&&r.setState({modStatus:t})},r.submitHandler=Object(a.a)(L().mark(function t(){var e;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.exam){t.next=4;break}return e={header:"Error",content:"Select Exam"},r.props.showError(e),t.abrupt("return");case 4:return t.next=6,r.props.getQpSummaryNew(r.state);case 6:return t.next=8,r.setState({sumTable:r.props.qpSumData,formsubmit:!0,viewDetTable:!1});case 8:case"end":return t.stop()}},t)})),r.getDetaileQpSummary=function(){var t=Object(a.a)(L().mark(function t(e){var n,a,o,i,c,u,l,s,p;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.state,a=n.exam,o=n.board,i=n.qpcode,c=n.degree,u=n.sem,l=n.teachStatus,s=n.modStatus,p={exam:a,board:o,qpcode:i,degree:c,sem:u,teachStatus:l,modStatus:s},t.next=4,r.props.getDetaileQpSummary(e,p);case 4:return t.next=6,r.setState({detTable:r.props.qpDetData,detQp:e.fqpcode,detSubject:e.fsubname,viewDetTable:!0,formsubmit:!1});case 6:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),r.clearQpSummary=function(){r.setState({exam:"",board:"All",qpcode:"All",degree:"All",sem:"All",teachStatus:"All",modStatus:"All",sumTable:[],detTable:[],detQp:"",detSubject:"",formsubmit:!1,viewDetTable:!1})},r}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.props.yearAndMode.map(function(t,e){return{key:e,value:t.fexamyear,text:t.fdesexam}}),r=[{key:"All",text:"All",value:"All"}],a=this.props.loadBoard.map(function(t,e){return{key:e,text:t.fboardname,value:t.fboardcode}}),o=[].concat(r,Object(n.a)(a)),i=this.props.loadQp.map(function(t,e){return{key:e,text:"".concat(t.fqpcode," - ").concat(t.fsubname),value:t.fqpcode}}),c=[].concat(r,Object(n.a)(i)),u=this.props.degree.map(function(t,e){return{key:e,text:t.fdegree+" - "+t.fdescpn,value:t.fdegree}}),l=[].concat(r,Object(n.a)(u)),s=[].concat(r,[{key:"uploaded",text:"Uploaded",value:"uploaded"},{key:"notuploaded",text:"Not Uploaded",value:"not_uploaded"}]);return p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"QP Summary"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",content:"Clear",onClick:function(){return t.clearQpSummary()}}),p.a.createElement(d.a,{to:"/dashboard"},p.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(y.a,null),p.a.createElement(f.a.Description,null,p.a.createElement(v.a,null,p.a.createElement(v.a.Group,null,p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Exam"),p.a.createElement(m.a,{style:{maxHeight:"100%"},fluid:!0,search:!0,selection:!0,value:this.state.exam,options:e,allowAdditions:!0,placeholder:"Exam",onChange:function(e,r){return t.handleChange(r.value,"exam")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Board"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.board,options:o,allowAdditions:!0,placeholder:"Board",onChange:function(e,r){return t.handleChange(r.value,"board")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Qp Code"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.qpcode,options:c,allowAdditions:!0,placeholder:"qpcode",onChange:function(e,r){return t.handleChange(r.value,"qpcode")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Degree"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.degree,options:l,allowAdditions:!0,placeholder:"Degree",onChange:function(e,r){return t.handleChange(r.value,"degree")}}))),p.a.createElement(v.a.Group,null,p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Sem"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.sem,options:_.a,allowAdditions:!0,placeholder:"sem",onChange:function(e,r){return t.handleChange(r.value,"sem")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Teacher Status"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.teachStatus,options:s,allowAdditions:!0,placeholder:"Teacher Status",onChange:function(e,r){return t.handleChange(r.value,"teacher")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement("label",null,"Moderator Status"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.state.modStatus,options:s,allowAdditions:!0,placeholder:"Moderator Status",onChange:function(e,r){return t.handleChange(r.value,"moderator")}})),p.a.createElement(v.a.Field,{width:4},p.a.createElement(h.a,{style:{position:"absolute",bottom:"3px"},basic:!0,content:"Submit",color:"blue",onClick:function(){return t.submitHandler()}})))),this.state.formsubmit&&p.a.createElement("div",{style:{overflowY:"auto",maxHeight:"60vh",overflowX:"hidden"}},p.a.createElement("table",null,p.a.createElement("thead",null,p.a.createElement("tr",null,p.a.createElement("td",null,"Sl. No."),p.a.createElement("td",null,"QP Code"),p.a.createElement("td",null,"Subject"),p.a.createElement("td",null,"Set Count"),p.a.createElement("td",null,"Teacher Uploaded"),p.a.createElement("td",null,"Moderator Uploaded"),p.a.createElement("td",null,"Action"))),p.a.createElement("tbody",null,this.state.sumTable.length>0?this.state.sumTable.map(function(e,r){return p.a.createElement("tr",{key:r},p.a.createElement("td",null,r+1),p.a.createElement("td",null,e.fqpcode),p.a.createElement("td",{style:{textAlign:"initial",paddingLeft:"10px"}},e.fsubname),p.a.createElement("td",null,e.fset),p.a.createElement("td",null,e.teach_uploaded),p.a.createElement("td",null,e.mod_uploaded),p.a.createElement("td",null,p.a.createElement(h.a,{style:{width:"100%"},basic:!0,color:"green",size:"tiny",onClick:function(){return t.getDetaileQpSummary(e)}},p.a.createElement(E.a,{name:"eye"})," View")))}):p.a.createElement("tr",null,p.a.createElement("td",{colSpan:7},"No data found"))))),this.state.viewDetTable&&p.a.createElement("div",{style:{overflowY:"auto",maxHeight:"60vh",overflowX:"hidden"}},p.a.createElement("table",null,p.a.createElement("thead",null,p.a.createElement("tr",null,p.a.createElement("td",{colSpan:6,style:{paddingLeft:"10px",textAlign:"initial",border:0}},p.a.createElement("h4",null,this.state.detQp+" - "+this.state.detSubject)),p.a.createElement("td",{style:{paddingRight:"10px",textAlign:"end",border:0}},p.a.createElement(h.a,{color:"blue",size:"tiny",onClick:function(){t.setState({formsubmit:!0,viewDetTable:!1})}},p.a.createElement(E.a,{name:"arrow left"})," Back"))),p.a.createElement("tr",null,p.a.createElement("td",null,"Sl. No."),p.a.createElement("td",null,"Teacher Code - Teacher Name"),p.a.createElement("td",null,"Set No."),p.a.createElement("td",null,"Section"),p.a.createElement("td",null,"Status"),p.a.createElement("td",null,"QP Upload Status"),p.a.createElement("td",null,"Moderator Upload Status"))),p.a.createElement("tbody",null,this.state.detTable.map(function(t,e){t.fqppath,t.fmodpath;return p.a.createElement("tr",{key:e},p.a.createElement("td",null,e+1),p.a.createElement("td",{style:{textAlign:"initial",paddingLeft:"10px"}},t.fteachcode&&t.fteachcode+" - "+t.fteachname),p.a.createElement("td",null,t.fset),p.a.createElement("td",null,t.fqpcodeno),p.a.createElement("td",null,t.fstatus),p.a.createElement("td",null,p.a.createElement("p",{style:{cursor:"pointer",color:""!==t.fqppath&&"blue"}},t.teach_uploaded)),p.a.createElement("td",null,p.a.createElement("p",{style:{cursor:"pointer",color:""!==t.fmodpath&&"blue"}},t.mod_uploaded)))})))))))}}]),e}(s.Component);e.default=Object(g.b)(function(t){return{univcode:t.univ,user:t.user.fmobileno,yearAndMode:t.loadYearAndMode,loadBoard:t.boaddet,loadQp:t.boardsubj,degree:t.loadmastersdeg,qpSumData:t.getQpSumData,qpDetData:t.getQpDetData}},{loadYearAndMode:b.m,getBoardDet:x.k,getBoardSubj:x.l,loadmastersdeg:w.d,getQpSummaryNew:O.e,getDetaileQpSummary:O.b,showError:S.A})(A)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),u=r.n(c),l=r(349),s=r(613),p=r(611),d=r(269);function f(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,h=t.hidden,y=t.horizontal,v=t.inverted,m=t.section,E=t.vertical,g=i()("ui",Object(l.a)(n,"clearing"),Object(l.a)(c,"fitted"),Object(l.a)(h,"hidden"),Object(l.a)(y,"horizontal"),Object(l.a)(v,"inverted"),Object(l.a)(m,"section"),Object(l.a)(E,"vertical"),"divider",r),b=Object(s.a)(f,t),w=Object(p.a)(f,t);return u.a.createElement(w,a()({},b,{className:g}),d.a.isNil(e)?o:e)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},e.a=f},284:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"d",function(){return u}),r.d(e,"e",function(){return l}),r.d(e,"b",function(){return s}),r.d(e,"f",function(){return p}),r.d(e,"a",function(){return d}),r.d(e,"g",function(){return f});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof E?e:E,i=Object.create(o.prototype),c=new k(n||[]);return a(i,"_invoke",{value:A(t,r,c)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var f="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function E(){}function g(){}function b(){}var w={};s(w,c,function(){return this});var x=Object.getPrototypeOf,_=x&&x(x(N([])));_&&_!==r&&n.call(_,c)&&(w=_);var S=b.prototype=E.prototype=Object.create(w);function O(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var u=d(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function A(e,r,n){var a=f;return function(o,i){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=d(e,r,n);if("normal"===l.type){if(a=n.done?v:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=d(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,a(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},O(L.prototype),s(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new L(p(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(S),s(S,l,"Generator"),s(S,c,function(){return this}),s(S,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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"),l=n.call(i,"finallyLoc");if(u&&l){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(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var c=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,l,s,p;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",u="",u="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",t.next=7,a.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,fcollcode:c}});case 7:l=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},e(Object(o.A)(s))):-1===l.data.error_code?(p={header:"Error",content:l.data.data.msg},e(Object(o.A)(p))):e({type:"LOAD_DEGGRP_EXAMCENTRE",payload:l.data});case 10:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_MASTERS_DEGREE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"loadsubrptsem",degree:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_SUB_SEMESTER",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"°grp="+t.deggrp,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_ALL_EXAMCENTRE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"°grp="+t.deggrp+"&reportorder="+t.reportorder,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(t,e){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+"°gp="+t+"&fstatus="+e);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(t,e){return r.apply(this,arguments)}}()},f=function(t,e,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=saveVerifyNotifi&univcode="+l.univ.funivcode+"&findata="+t+"&userid="+e+"&usertype="+r);case 4:s=n.sent,c({type:"UNSET_LOADER"}),0===s.data.error_code?(p={header:"Success",content:s.data.data.msg},c(Object(o.A)(p))):(d={header:"Error",content:s.data.data.msg},c(Object(o.A)(d)));case 7:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()}},311:function(t,e,r){},346:function(t,e,r){"use strict";r.d(e,"d",function(){return c}),r.d(e,"a",function(){return u}),r.d(e,"f",function(){return l}),r.d(e,"k",function(){return s}),r.d(e,"i",function(){return p}),r.d(e,"g",function(){return d}),r.d(e,"e",function(){return f}),r.d(e,"b",function(){return h}),r.d(e,"c",function(){return y}),r.d(e,"j",function(){return v}),r.d(e,"h",function(){return m});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof E?e:E,i=Object.create(o.prototype),c=new k(n||[]);return a(i,"_invoke",{value:A(t,r,c)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var f="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function E(){}function g(){}function b(){}var w={};s(w,c,function(){return this});var x=Object.getPrototypeOf,_=x&&x(x(N([])));_&&_!==r&&n.call(_,c)&&(w=_);var S=b.prototype=E.prototype=Object.create(w);function O(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var u=d(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(s).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function A(e,r,n){var a=f;return function(o,i){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=d(e,r,n);if("normal"===l.type){if(a=n.done?v:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function j(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=d(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,a(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},O(L.prototype),s(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new L(p(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(S),s(S,l,"Generator"),s(S,c,function(){return this}),s(S,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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"),l=n.call(i,"finallyLoc");if(u&&l){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(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var c=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=getQpSetterDetData&univcode="+o.univ.funivcode+"&teachcode="+t);case 4:c=e.sent,r({type:"UNSET_LOADER"}),-1===c.data.error_code?r({type:"CLEAR_QP_SETTER_ACCEPT",payload:c.data}):r({type:"QP_SETTER_ACCEPT",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(t,e,r,c,u,l,s){return function(){var p=Object(n.a)(i().mark(function n(p,d){var f,h,y;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f=d(),p({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=acceptQPSetterDetData&univcode="+f.univ.funivcode+"&teachcode="+t+"&qpcode="+e+"&qpcodeno="+r+"&set="+c+"&status="+u+"&year="+l+"&examtype="+s);case 4:if(h=n.sent,p({type:"UNSET_LOADER"}),-1!==h.data.error_code){n.next=12;break}return y={header:"Error",content:h.data.data.msg},p(Object(o.A)(y)),n.abrupt("return");case 12:p({type:"SAVE_QP_SETTER_ACCEPT",payload:"success"});case 13:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=getUploadQPseterDetData&univcode="+o.univ.funivcode+"&teachcode="+t);case 4:c=e.sent,r({type:"UNSET_LOADER"}),-1===c.data.error_code?r({type:"CLEAR_UPLOAD_PREPARE_QP",payload:c.data}):r({type:"UPLOAD_PREPARE_QP",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=uploadQpPrepareFiles&univcode="+c.univ.funivcode,t);case 4:if(u=e.sent,r({type:"UNSET_LOADER"}),-1!==u.data.error_code){e.next=12;break}return l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l)),e.abrupt("return");case 12:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e,r){return function(){var o=Object(n.a)(i().mark(function n(o,c){var u,l;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=c(),o({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=selectModerator&univcode="+u.univ.funivcode+"&qpcode="+r+"°grp="+t+"&board="+e);case 4:l=n.sent,o({type:"UNSET_LOADER"}),-1===l.data.error_code?o({type:"CLEAR_SELECT_ASSIGN_MOD",payload:l.data}):o({type:"SELECT_ASSIGN_MOD",payload:l.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()},d=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveAssignModeratorDet&univcode="+c.univ.funivcode,t);case 4:if(u=e.sent,r({type:"UNSET_LOADER"}),-1!==u.data.error_code){e.next=12;break}return l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l)),e.abrupt("return");case 12:return s={header:"success",content:u.data.data.msg},r(Object(o.A)(s)),e.abrupt("return");case 15:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=getQpSummaryNew&univcode="+o.univ.funivcode+"&data="+JSON.stringify(t));case 4:c=e.sent,r({type:"UNSET_LOADER"}),-1===c.data.error_code?r({type:"CLEAR_GET_QP_SUMMARY",payload:c.data}):r({type:"GET_QP_SUMMARY",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t,e){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.get("/app.php?a=getDetaileQpSummary&univcode="+c.univ.funivcode+"&data="+JSON.stringify(t)+"&stateData="+JSON.stringify(e));case 4:u=r.sent,n({type:"UNSET_LOADER"}),-1===u.data.error_code?n({type:"CLEAR_GET_DETAILED_QP",payload:u.data}):n({type:"GET_DETAILED_QP",payload:u.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},y=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=getFinalQuestionPaperNew&univcode="+o.univ.funivcode+"&data="+JSON.stringify(t));case 4:c=e.sent,r({type:"UNSET_LOADER"}),-1===c.data.error_code?r({type:"CLEAR_GET_FINAL_SUM_QP",payload:c.data}):r({type:"GET_FINAL_SUM_QP",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},v=function(t,e){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.get("/app.php?a=showFinalQPFinalDetdata&univcode="+c.univ.funivcode+"&data="+JSON.stringify(e)+"&stateData="+JSON.stringify(t));case 4:u=r.sent,n({type:"UNSET_LOADER"}),-1===u.data.error_code?n({type:"CLEAR_GET_FINAL_DET_QP",payload:u.data}):n({type:"GET_FINAL_DET_QP",payload:u.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},m=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveFinalQuestionPaperNew&univcode="+c.univ.funivcode,t);case 4:if(u=e.sent,r({type:"UNSET_LOADER"}),-1!==u.data.error_code){e.next=12;break}return l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l)),e.abrupt("return");case 12:return s={header:"Success",content:u.data.data.msg},r(Object(o.A)(s)),e.abrupt("return");case 15:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},418:function(t,e,r){"use strict";r.d(e,"a",function(){return n});var n=[{key:"All",text:"All",value:"All"},{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"}]}}]);
//# sourceMappingURL=38.74fe85be.chunk.js.map
|