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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/191.faa88f47.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[191,307],{1286:function(t,e,r){"use strict";r.r(e);var n=r(3),o=r(68),a=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),d=r.n(s),p=r(941),f=r(105),h=r(1377),m=r(1343),y=r(272),v=r(1335),g=r(1337),b=r(267),E=r(298),x=r(300),w=r(284);function O(){O=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new R(n||[]);return o(i,"_invoke",{value:j(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=s;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",y={};function v(){}function g(){}function b(){}var E={};u(E,i,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(T([])));w&&w!==r&&n.call(w,i)&&(E=w);var S=b.prototype=v.prototype=Object.create(E);function A(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(o,a,i,c){var l=d(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.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){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=p;return function(a,i){if(o===h)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var u=d(e,r,n);if("normal"===u.type){if(o=n.done?m:f,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=d(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.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,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function _(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=u(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,u(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},A(L.prototype),u(L.prototype,c,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(s(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},A(S),u(S,l,"Generator"),u(S,i,function(){return this}),u(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=T,R.prototype={constructor:R,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(N),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):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),y},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),N(r),y}},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 o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var S=function(t){function e(){var t,r;Object(a.a)(this,e);for(var i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(u)))).state={exam:"",board:"All",qpcode:"All",data:[],formSubmit:!1,status:"All",degree:"All",sem:"All",type:"Current"},r.componentDidMount=function(){r.props.loadYearAndMode(r.state.type)},r.submitViewQPHandler=Object(o.a)(O().mark(function t(){var e;return O().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.setState({formSubmit:!0});case 6:return t.next=8,r.props.viewQuestionPaper(r.state.exam,r.state.board,r.state.qpcode,r.state.status,r.state.degree,r.state.sem,r.state.type);case 8:return t.next=10,r.setState({data:r.props.qpaper});case 10:case"end":return t.stop()}},t)})),r.checkBoxHandler=function(t,e,o,a,i){var c=r.state.data.map(function(r,n){return n===e?(""!==i&&t.target.checked?r.ffinalpaper="Final":r.ffinalpaper="",r):r});r.setState({data:Object(n.a)(c)})},r.handleSave=function(){var t=new FormData;t.append("univcode",r.props.univcode),t.append("exam",r.state.exam),t.append("board",r.state.board),t.append("qpcode",r.state.qpcode),t.append("data",JSON.stringify(r.state.data)),r.props.saveViewQuestionPaper(t)},r.clickQpFilePath=function(t){if(""!==t)window.open("https://universitysolutions.in/univadmin/"+t);else{r.props.showError({header:"Error",content:"No File found"})}},r.clickModFilePath=function(t){if(""!==t)window.open("https://universitysolutions.in/univadmin/"+t);else{r.props.showError({header:"Error",content:"No File found"})}},r.clickAnsPath=function(t){if(""!==t)window.open("https://universitysolutions.in/univadmin/"+t);else{r.props.showError({header:"Error",content:"No File found"})}},r}return Object(u.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=[{key:"All",text:"All",value:"All"}],r=this.props.year.map(function(t,e){return{key:e,text:t.fdesexam,value:t.fexamyear}}),o=this.props.loadBoard.map(function(t,e){return{key:e,text:t.fboardname,value:t.fboardcode}}),a=[].concat(e,Object(n.a)(o)),i=this.props.loadQp.map(function(t,e){return{key:e,text:"".concat(t.fqpcode," - ").concat(t.fsubname),value:t.fqpcode}}),c=[].concat(e,Object(n.a)(i)),l=[].concat(e,[{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"}]),u=this.props.degree.map(function(t,e){return{key:e,text:t.fdegree+" - "+t.fdescpn,value:t.fdegree}}),s=[].concat(e,Object(n.a)(u)),f=[].concat(e,[{key:"uploaded",text:"Uploaded",value:"uploaded"},{key:"notuploaded",text:"Not Uploaded",value:"not_uploaded"}]);return d.a.createElement(h.a,{fluid:!0},d.a.createElement(h.a.Content,null,d.a.createElement(h.a.Header,{style:{display:"flex"}},d.a.createElement("h4",null,"View Question Paper"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(m.a,{basic:!0,color:"black",icon:"ban",content:"Clear",onClick:function(){t.setState({exam:"",board:"All",qpcode:"All",data:[],formSubmit:!1,type:""})}}),d.a.createElement(p.a,{to:"/dashboard"},d.a.createElement(m.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(y.a,null),d.a.createElement(h.a.Description,null,d.a.createElement(v.a,null,d.a.createElement(v.a.Group,null,d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Type"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.type,options:[{key:"Current",text:"Current",value:"Current"},{key:"Old",text:"Old",value:"old"}],placeholder:"Select Type",onChange:function(e,r){t.setState({type:r.value,exam:"",formSubmit:!1,qpcode:"All",data:[],teach:[],check:"F"}),t.props.loadYearAndMode(r.value)}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Exam"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.exam,options:r,allowAdditions:!0,placeholder:"Exam",onChange:function(e,r){t.setState({exam:r.value}),t.setState({formSubmit:!1}),t.setState({board:"All"}),t.setState({qpcode:"All"}),t.props.getBoardDet(r.value);var n=r.value.split("*")[0];t.props.loadmastersdeg(n)}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Board"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.board,options:a,allowAdditions:!0,placeholder:"Board",onChange:function(e,r){t.setState({board:r.value}),t.setState({formSubmit:!1}),t.setState({qpcodoe:"All"}),t.props.getBoardSubj(t.state.exam,r.value)}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Qp Code"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.qpcode,options:c,allowAdditions:!0,placeholder:"qpcode",onChange:function(e,r){t.setState({qpcode:r.value}),t.setState({formSubmit:!1})}}))),d.a.createElement(v.a.Group,null,d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Degree"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.degree,options:s,allowAdditions:!0,placeholder:"Degree",onChange:function(e,r){t.setState({degree:r.value}),t.setState({formsubmit:!1})}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Sem"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.sem,options:l,allowAdditions:!0,placeholder:"sem",onChange:function(e,r){t.setState({sem:r.value}),t.setState({formsubmit:!1})}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement("label",null,"Status"),d.a.createElement(g.a,{fluid:!0,search:!0,selection:!0,value:this.state.status,options:f,allowAdditions:!0,placeholder:"Status",onChange:function(e,r){t.setState({status:r.value}),t.setState({formsubmit:!1})}})),d.a.createElement(v.a.Field,{width:4},d.a.createElement(m.a,{style:{position:"absolute",bottom:"3px"},basic:!0,content:"Submit",color:"blue",onClick:function(){return t.submitViewQPHandler()}})))),this.state.formSubmit&&d.a.createElement("div",{style:{width:"100%",height:"550px",overflowY:"auto"}},d.a.createElement("table",{style:{width:"100%",border:"1px solid"}},d.a.createElement("thead",{style:{background:"tan",height:"40px",position:"sticky",top:0}},d.a.createElement("tr",null,d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"Sl. No."),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"Subject Name"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"QP Set"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"Teacher Code - Name"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"Status"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"View Q.P."),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"View Ans. Key"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"Moderator"),d.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},"View Moderator"))),d.a.createElement("tbody",null,this.state.data.length>0?this.state.data.map(function(e,r){e.fqpfilepath,e.fmodqppath;return d.a.createElement("tr",{style:{height:"30px"},key:r},d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},r+1),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px"}},e.fsubname),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},e.fset),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px"}},e.fteachcode," - ",e.fteachname),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",textAlign:"center"}},"ACCEPTED"===e.status?"QP Accepted":e.status),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},d.a.createElement("p",{style:{cursor:"pointer",color:"blue"},onClick:function(){return t.clickQpFilePath(e.fqpfilepath)},onMouseOver:function(t){return t.target.style.textDecoration="underline"},onMouseOut:function(t){return t.target.style.textDecoration="none"}},""!==e.fqpfilepath&&"File Submitted"," ",d.a.createElement("br",null),e.fqpupddate)),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},d.a.createElement("p",{style:{cursor:"pointer",color:"blue"},onClick:function(){return t.clickAnsPath(e.fanskeypath)},onMouseOver:function(t){return t.target.style.textDecoration="underline"},onMouseOut:function(t){return t.target.style.textDecoration="none"}},""!==e.fanskeypath&&"File Submitted")),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px"}},e.fmodteach," - ",e.fmodteachname),d.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center"}},d.a.createElement("p",{style:{cursor:"pointer",color:"blue"},onClick:function(){return t.clickModFilePath(e.fmodqppath)},onMouseOver:function(t){return t.target.style.textDecoration="underline"},onMouseOut:function(t){return t.target.style.textDecoration="none"}},""!==e.fmodqppath&&"File Submitted")))}):d.a.createElement("tr",null,d.a.createElement("td",{colSpan:10,style:{border:"1px solid",textAlign:"center",height:"30px"}},"No Data Found"))))))))}}]),e}(s.Component);e.default=Object(f.b)(function(t){return{univcode:t.univ.funivcode,year:t.loadYearAndMode,loadBoard:t.boaddet,loadQp:t.boardsubj,qpaper:t.viewQuestionPaper,degree:t.loadmastersdeg}},{showError:b.A,loadYearAndMode:E.m,getBoardDet:x.k,getBoardSubj:x.l,viewQuestionPaper:E.B,saveViewQuestionPaper:E.r,loadmastersdeg:w.d})(S)},272:function(t,e,r){"use strict";var n=r(270),o=r.n(n),a=r(268),i=r.n(a),c=r(2),l=r.n(c),u=r(349),s=r(613),d=r(611),p=r(269);function f(t){var e=t.children,r=t.className,n=t.clearing,a=t.content,c=t.fitted,h=t.hidden,m=t.horizontal,y=t.inverted,v=t.section,g=t.vertical,b=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(h,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(y,"inverted"),Object(u.a)(v,"section"),Object(u.a)(g,"vertical"),"divider",r),E=Object(s.a)(f,t),x=Object(d.a)(f,t);return l.a.createElement(x,o()({},E,{className:b}),p.a.isNil(e)?a: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 l}),r.d(e,"e",function(){return u}),r.d(e,"b",function(){return s}),r.d(e,"f",function(){return d}),r.d(e,"a",function(){return p}),r.d(e,"g",function(){return f});var n=r(68),o=r(271),a=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.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 d(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),c=new R(n||[]);return o(i,"_invoke",{value:j(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=d;var f="suspendedStart",h="suspendedYield",m="executing",y="completed",v={};function g(){}function b(){}function E(){}var x={};s(x,c,function(){return this});var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==r&&n.call(O,c)&&(x=O);var S=E.prototype=g.prototype=Object.create(x);function A(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(o,a,i,c){var l=p(t[o],t,a);if("throw"!==l.type){var u=l.arg,s=u.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){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=f;return function(a,i){if(o===m)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?y:h,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=p(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.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){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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function T(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=E,o(S,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:b,configurable:!0}),b.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},A(L.prototype),s(L.prototype,l,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(d(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},A(S),s(S,u,"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=T,R.prototype={constructor:R,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(N),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.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),N(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 o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var c=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,l,u,s,d;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:"",l="",l="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",t.next=7,o.a.get("/app.php",{params:{a:l,univcode:n.user.fcuruniv,fcollcode:c}});case 7:u=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},e(Object(a.A)(s))):-1===u.data.error_code?(d={header:"Error",content:u.data.data.msg},e(Object(a.A)(d))):e({type:"LOAD_DEGGRP_EXAMCENTRE",payload:u.data});case 10:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,l,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:t,univcode:c.user.fcuruniv}});case 4:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(a.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(a.A)(s))):r({type:"LOAD_MASTERS_DEGREE",payload:l.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,l,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.get("/app.php",{params:{a:"loadsubrptsem",degree:t,univcode:c.user.fcuruniv}});case 4:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(a.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(a.A)(s))):r({type:"LOAD_SUB_SEMESTER",payload:l.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,l,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"&deggrp="+t.deggrp,{data:t});case 4:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(a.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(a.A)(s))):r({type:"LOAD_ALL_EXAMCENTRE",payload:l.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,l,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"&deggrp="+t.deggrp+"&reportorder="+t.reportorder,{data:t});case 4:l=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(a.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(a.A)(s))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:l.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,a){var c,l;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=a(),n({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=getVerfyData&univcode="+c.univ.funivcode+"&deggp="+t+"&fstatus="+e);case 4:l=r.sent,n({type:"UNSET_LOADER"}),-1===l.data.error_code?n({type:"CLEAR_GET_VERF_NOTI"}):n({type:"GET_VERF_NOTI",payload:l.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,l){var u,s,d,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=l(),c({type:"SET_LOADER"}),n.next=4,o.a.post("/app.php?a=saveVerifyNotifi&univcode="+u.univ.funivcode+"&findata="+t+"&userid="+e+"&usertype="+r);case 4:s=n.sent,c({type:"UNSET_LOADER"}),0===s.data.error_code?(d={header:"Success",content:s.data.data.msg},c(Object(a.A)(d))):(p={header:"Error",content:s.data.data.msg},c(Object(a.A)(p)));case 7:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=191.faa88f47.chunk.js.map