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.135.241.191
(window.webpackJsonp=window.webpackJsonp||[]).push([[187,307],{1324:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),l=r(102),u=r(104),s=r(2),d=r.n(s),f=r(105),p=r(1377),h=r(1343),m=r(272),v=r(1335),y=r(1337),g=r(267),E=r(941),b=r(284),w=r(300),x=r(298);function O(){O=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",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:L(e,r,i)}),c}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function y(){}function g(){}function E(){}var b={};u(b,c,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==r&&n.call(x,c)&&(b=x);var S=E.prototype=y.prototype=Object.create(b);function j(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,c,i){var l=d(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(l.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 L(t,r,n){var a=f;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=_(i,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(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var u=d(t,r,n);if("normal"===u.type){if(a=n.done?m:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function _(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,_(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=d(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,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 g.prototype=E,a(S,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:g,configurable:!0}),g.displayName=u(E,l,"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,E):(e.__proto__=E,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},j(A.prototype),u(A.prototype,i,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new A(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},j(S),u(S,l,"Generator"),u(S,c,function(){return this}),u(S,"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,N.prototype={constructor:N,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(D),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},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),D(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;D(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 S=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,c=new Array(n),u=0;u<n;u++)c[u]=arguments[u];return(r=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={exam:"",board:"All",qpcode:"All",degree:"All",sem:"All",formSubmit:!1,detStatus:!1},r.componentDidMount=function(){r.props.loadYearAndMode()},r.chnageExam=function(){var e=Object(a.a)(O().mark(function e(t){var n,a;return O().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)(O().mark(function e(t){return O().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)(O().mark(function e(t){return O().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)(O().mark(function e(t){return O().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)(O().mark(function e(t){return O().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.submitHandler=function(){var e=Object(a.a)(O().mark(function e(t){var n;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!=r.state.exam){e.next=4;break}return n={header:"Error",content:"Please select exam"},r.props.showError(n),e.abrupt("return");case 4:return e.next=6,r.props.getAvailableQp(r.state);case 6:return e.next=8,r.setState({formSubmit:!0,detStatus:!1});case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.getDetailedAvailableQpData=function(){var e=Object(a.a)(O().mark(function e(t,n,a,o){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.getDetailedAvailableQpData(t,n,a,o);case 2:r.setState({detStatus:!0});case 3:case"end":return e.stop()}},e)}));return function(t,r,n,a){return e.apply(this,arguments)}}(),r.setDefaultState=function(){r.setState({exam:"",board:"All",qpcode:"All",degree:"All",sem:"All",formSubmit:!1,detStatus:!1})},r}return Object(u.a)(t,e),Object(c.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)),c=this.props.subject.map(function(e,t){return{key:t,text:"".concat(e.fqpcode," - ").concat(e.fsubname),value:e.fqpcode}}),i=[].concat(t,Object(n.a)(c)),l=this.props.degree.map(function(e,t){return{key:t,text:e.fdegree+" - "+e.fdescpn,value:e.fdegree}}),u=[].concat(t,Object(n.a)(l)),s=[].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 d.a.createElement("section",null,d.a.createElement(p.a,{fluid:!0},d.a.createElement(p.a.Content,null,d.a.createElement(p.a.Header,{style:{display:"flex"}},d.a.createElement("h4",null,"Available QP"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",content:"Clear",onClick:function(){return e.setDefaultState()}}),d.a.createElement(E.a,{to:"/dashboard"},d.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(m.a,null),d.a.createElement(p.a.Description,null,d.a.createElement(v.a,null,d.a.createElement(v.a.Group,null,d.a.createElement(v.a.Field,{width:6},d.a.createElement("label",null,"Exam"),d.a.createElement(y.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)}})),d.a.createElement(v.a.Field,{width:6},d.a.createElement("label",null,"Board"),d.a.createElement(y.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)}})),d.a.createElement(v.a.Field,{width:6},d.a.createElement("label",null,"Qp Code"),d.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.state.qpcode,options:i,allowAdditions:!0,placeholder:"QP Code",onChange:function(t,r){return e.changeSubjectQp(r)}}))),d.a.createElement(v.a.Group,null,d.a.createElement(v.a.Field,{width:6},d.a.createElement("label",null,"Degree"),d.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.state.degree,options:u,allowAdditions:!0,placeholder:"Degree",onChange:function(t,r){return e.changeDegree(r)}})),d.a.createElement(v.a.Field,{width:6},d.a.createElement("label",null,"Sem"),d.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.state.sem,options:s,allowAdditions:!0,placeholder:"sem",onChange:function(t,r){return e.changeSem(r)}})),d.a.createElement(v.a.Field,{width:6},d.a.createElement(h.a,{style:{position:"relative",top:"23px"},content:"Submit",color:"green",basic:!0,onClick:this.submitHandler})))),this.state.formSubmit&&d.a.createElement("div",null,!this.state.detStatus&&d.a.createElement("div",{className:"table-responsive mt-4",style:{height:"450px"}},d.a.createElement("table",{className:"table table-bordered"},d.a.createElement("thead",{className:"sticky-top bg-success text-center",style:{zIndex:2}},d.a.createElement("tr",null,d.a.createElement("th",null,"Sl.No."),d.a.createElement("th",null,"Qp Code"),d.a.createElement("th",null,"Subject Name"),d.a.createElement("th",null,"Total Set"),d.a.createElement("th",null,"Used"),d.a.createElement("th",null,"Available"),d.a.createElement("th",null,"Action"))),d.a.createElement("tbody",{className:"text-center"},this.props.data.length>0?this.props.data.map(function(t,r){return d.a.createElement("tr",{key:r},d.a.createElement("td",null,r+1),d.a.createElement("td",null,t.fqpcode),d.a.createElement("td",{className:"text-left"},t.fsubname),d.a.createElement("td",null,t.fset),d.a.createElement("td",null,t.used),d.a.createElement("td",null,t.available),d.a.createElement("td",null,d.a.createElement(h.a,{size:"tiny",content:"View",basic:!0,icon:"eye",color:"green",onClick:function(){e.getDetailedAvailableQpData(t.fqpcode,t.fdegree,t.fdeggrp,t.fexamno)}})))}):d.a.createElement("tr",null,d.a.createElement("td",{colSpan:7},"No Data Found"))))),d.a.createElement("div",null,this.state.detStatus&&d.a.createElement("div",{className:"table-responsive mt-4",style:{height:"450px"}},d.a.createElement("table",{className:"table table-bordered"},d.a.createElement("thead",{className:"sticky-top bg-success text-center",style:{zIndex:2}},d.a.createElement("tr",null,d.a.createElement("td",{colSpan:12},d.a.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},d.a.createElement("div",null,d.a.createElement("b",null," Detailed QP Available Statistics ")),d.a.createElement("div",null,d.a.createElement(h.a,{size:"tiny",style:{float:"right"},content:"Back",icon:"arrow left",color:"#fff",onClick:function(){e.setState({detStatus:!1})}}))))),d.a.createElement("tr",null,d.a.createElement("th",{width:"3%"},"Sl. ",d.a.createElement("br",null)," No."),d.a.createElement("th",{width:"5%"},"QP Code"),d.a.createElement("th",{width:"20%"},"Subject Name (Subshort)"),d.a.createElement("th",{width:"5%"},"Teach. ",d.a.createElement("br",null)," Code"),d.a.createElement("th",{width:"3%"},"Set"),d.a.createElement("th",{width:"6%"},"Year/Mode"),d.a.createElement("th",{width:"5%"},"QP. Upd.",d.a.createElement("br",null)," status"),d.a.createElement("th",{width:"13%"},"QP Upd Time"),d.a.createElement("th",{width:"5%"},"Mod. Upd. ",d.a.createElement("br",null)," Status"),d.a.createElement("th",{width:"13%"},"Mod. Upd Time"),d.a.createElement("th",{width:"3%"},"Used?"),d.a.createElement("th",{width:"13%"},"QP Used Date"))),d.a.createElement("tbody",null,this.props.getAvlQPDet.length>0?this.props.getAvlQPDet.map(function(e,t){return d.a.createElement("tr",{align:"center"},d.a.createElement("td",null,t+1),d.a.createElement("td",null,e.fqpcode),d.a.createElement("td",{style:{textAlign:"initial"}},e.fsubname+" ("+e.fsubshort+")"),d.a.createElement("td",null,e.fteachcode),d.a.createElement("td",null,e.fset),d.a.createElement("td",null,e.fyears),d.a.createElement("td",null,e.fqpupdstatus),d.a.createElement("td",null,e.fqpdtme),d.a.createElement("td",null,e.fmodstatus),d.a.createElement("td",null,e.fmodtme),d.a.createElement("td",null,e.used),d.a.createElement("td",null,e.ffinalpaperdate))}):d.a.createElement("tr",{align:"center"},d.a.createElement("td",{colSpan:12},"No data found")))))))))))}}]),t}(s.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.getAvlQP,getAvlQPDet:e.getAvlQPDet}},{getBoardDet:w.k,getBoardSubj:w.l,loadYearAndMode:x.m,loadmastersdeg:b.d,getFinalQpData:w.p,closeQpSettings:w.d,showError:g.A,getAvailableQp:w.i,getDetailedAvailableQpData:w.m})(S)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),l=r.n(i),u=r(349),s=r(613),d=r(611),f=r(269);function p(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,h=e.hidden,m=e.horizontal,v=e.inverted,y=e.section,g=e.vertical,E=c()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(h,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(y,"section"),Object(u.a)(g,"vertical"),"divider",r),b=Object(s.a)(p,e),w=Object(d.a)(p,e);return l.a.createElement(w,a()({},b,{className:E}),f.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},284:function(e,t,r){"use strict";r.d(t,"c",function(){return i}),r.d(t,"d",function(){return l}),r.d(t,"e",function(){return u}),r.d(t,"b",function(){return s}),r.d(t,"f",function(){return d}),r.d(t,"a",function(){return f}),r.d(t,"g",function(){return p});var n=r(68),a=r(271),o=r(267);function c(){c=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",l=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 d(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:L(e,r,i)}),c}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",h="suspendedYield",m="executing",v="completed",y={};function g(){}function E(){}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 S=b.prototype=g.prototype=Object.create(w);function j(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,c,i){var l=f(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(l.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 L(t,r,n){var a=p;return function(o,c){if(a===m)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=_(i,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(a===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?v:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=v,n.method="throw",n.arg=u.arg)}}}function _(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,_(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 c=o.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,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 E.prototype=b,a(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,u,"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,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},j(A.prototype),s(A.prototype,l,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new A(d(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},j(S),s(S,u,"Generator"),s(S,i,function(){return this}),s(S,"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,N.prototype={constructor:N,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(D),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(c)},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),D(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;D(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 i=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,i,l,u,s,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),i=n.user.fcollcode?n.user.fcollcode:"",l="",l="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",e.next=7,a.a.get("/app.php",{params:{a:l,univcode:n.user.fcuruniv,fcollcode:i}});case 7:u=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},t(Object(o.A)(s))):-1===u.data.error_code?(d={header:"Error",content:u.data.data.msg},t(Object(o.A)(d))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:u.data});case 10:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:e,univcode:i.user.fcuruniv}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_MASTERS_DEGREE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadsubrptsem",degree:e,univcode:i.user.fcuruniv}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_SUB_SEMESTER",payload:l.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)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadallexamcentre&univcode="+i.univ.funivcode+"°grp="+e.deggrp,{data:e});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_ALL_EXAMCENTRE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadtableexamcentre&univcode="+i.univ.funivcode+"°grp="+e.deggrp+"&reportorder="+e.reportorder,{data:e});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:l.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)(c().mark(function r(n,o){var i,l;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getVerfyData&univcode="+i.univ.funivcode+"°gp="+e+"&fstatus="+t);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(e,t){return r.apply(this,arguments)}}()},p=function(e,t,r){return function(){var i=Object(n.a)(c().mark(function n(i,l){var u,s,d,f;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=l(),i({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=saveVerifyNotifi&univcode="+u.univ.funivcode+"&findata="+e+"&userid="+t+"&usertype="+r);case 4:s=n.sent,i({type:"UNSET_LOADER"}),0===s.data.error_code?(d={header:"Success",content:s.data.data.msg},i(Object(o.A)(d))):(f={header:"Error",content:s.data.data.msg},i(Object(o.A)(f)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return i.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=187.e6ec0245.chunk.js.map
|