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.119.235.107
(window.webpackJsonp=window.webpackJsonp||[]).push([[44,307],{1228:function(t,e,r){"use strict";r.r(e);var n=r(0),a=r(68),o=r(100),i=r(101),c=r(103),u=r(102),s=r(104),f=r(2),p=r.n(f),l=r(941),h=r(105),d=r(1377),y=r(1343),v=r(272),g=r(1338),m=r(267),E=r(310),w=r(410),b=r(274),O=r(273);r(327);function _(){_=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 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 f(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new k(n||[]);return a(i,"_invoke",{value:S(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=f;var l="suspendedStart",h="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function E(){}var w={};s(w,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(D([])));O&&O!==r&&n.call(O,i)&&(w=O);var j=E.prototype=g.prototype=Object.create(w);function x(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=p(t[a],t,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){s.value=t,i(s)},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 S(e,r,n){var a=l;return function(o,i){if(a===d)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=A(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===l)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var s=p(e,r,n);if("normal"===s.type){if(a=n.done?y:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(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,A(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 R(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 D(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 m.prototype=E,a(j,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:m,configurable:!0}),m.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"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(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),s(L.prototype,c,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(j),s(j,u,"Generator"),s(j,i,function(){return this}),s(j,"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=D,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(R),!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"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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),R(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;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var j=function(t){function e(){var t,r;Object(o.a)(this,e);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(i)))).state={fboard:"",fdeggrp:"",fdeggrpfrm:r.props.user.fdeggrp,fdeggrpto:r.props.user.fdeggrp,fboardfrm:"0",fboardto:"zzzzz",frmsubmit:!1},r.onBoardChange=function(t,e){r.setState({fboard:e.value})},r.changeDeggrpfrom=function(t,e){r.setState({fdeggrpfrm:e.value})},r.changeDeggrpto=function(t,e){r.setState({fdeggrpto:e.value})},r.changeBoardfrom=function(t,e){r.setState({fboardfrm:e.value})},r.changeBoardto=function(t,e){r.setState({fboardto:e.value})},r.handleReport=function(){var t=r.props.user,e=t.fdeggrp,n=t.fcuruniv,a=r.state,o=(a.teachersList,a.fboard),i=a.fdeggrpfrm,c=a.fdeggrpto,u=a.fboardfrm,s=a.fboardto;if(""!==e)window.open(b.c+"teachersList&univcode="+n+"&fboard="+o+"&fdeggrpfrm="+i+"&fdeggrpto="+c+"&fboardfrm="+u+"&fboardto="+s+"&user="+JSON.stringify(r.props.user),"_blank");else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleSubmit=Object(a.a)(_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.setState({frmsubmit:!1}),t.next=3,r.props.fetchQpStatistics(r.state.fboard);case 3:r.setState({frmsubmit:!0});case 4:case"end":return t.stop()}},t)})),r}return Object(s.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){this.props.getRVtable(this.props.user.fdeggrp)}},{key:"componentDidUpdate",value:function(t){this.props.user.fdeggrp!==t.user.fdeggrp&&this.props.fetchQpBoard(this.props.user.fdeggrp)}},{key:"render",value:function(){var t=Object(O.i)(),e=this.state;e.deggrp,e.frmSubmit,e.fdeggrpfrm,e.fdeggrpto,e.fboardfrm,e.fboardto,e.reportType;return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(d.a,{fluid:!0},p.a.createElement(d.a.Content,null,p.a.createElement(d.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"RV Marks Entry"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(l.a,{to:"/dashboard"},p.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(v.a,null),p.a.createElement(d.a.Description,{style:{height:"".concat(t,"px"),overflowY:"auto"}},p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement("div",{className:"ui mini form"},p.a.createElement(g.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},p.a.createElement(g.a.Header,{style:{fontSize:"1.2em"}},p.a.createElement(g.a.Row,null,p.a.createElement(g.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},p.a.createElement("label",null,"Sl. No.")),p.a.createElement(g.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},p.a.createElement("label",null,"Document No.")),p.a.createElement(g.a.HeaderCell,{style:{width:"20%"},textAlign:"center"},p.a.createElement("label",null,"Document Type")),p.a.createElement(g.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},p.a.createElement("label",null,"Action")))),p.a.createElement(g.a.Body,null,this.props.rventrytable.map(function(t,e){return p.a.createElement(g.a.Row,{key:e},p.a.createElement(g.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},e+1),p.a.createElement(g.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdocno),p.a.createElement(g.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fdoctype),p.a.createElement(g.a.Cell,Object(n.a)({textAlign:"center",style:{fontSize:"0.5em"}},"textAlign","center"),p.a.createElement(l.a,{to:{pathname:"/Detailed/".concat(t.fdocno),query:{ifdocno:t.fdocno}}},p.a.createElement(y.a,{content:"Detailed",basic:!0,size:"small",color:"blue",icon:"print"}))))})))))))))}}]),e}(f.Component);e.default=Object(h.b)(function(t){return{user:t.user,board:t.board,deggrp:t.deggrp,rventrytable:t.rvMarksEntry}},{showError:m.A,fetchTeachBoard:E.f,fetchQpStatistics:E.d,getRVtable:w.d})(j)},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),s=r(349),f=r(613),p=r(611),l=r(269);function h(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,y=t.horizontal,v=t.inverted,g=t.section,m=t.vertical,E=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(d,"hidden"),Object(s.a)(y,"horizontal"),Object(s.a)(v,"inverted"),Object(s.a)(g,"section"),Object(s.a)(m,"vertical"),"divider",r),w=Object(f.a)(h,t),b=Object(p.a)(h,t);return u.a.createElement(b,a()({},w,{className:E}),l.a.isNil(e)?o:e)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},e.a=h},308:function(t,e,r){"use strict";r.d(e,"b",function(){return u}),r.d(e,"c",function(){return s}),r.d(e,"d",function(){return f}),r.d(e,"a",function(){return p}),r.d(e,"f",function(){return l}),r.d(e,"g",function(){return h}),r.d(e,"i",function(){return d}),r.d(e,"h",function(){return y}),r.d(e,"e",function(){return v}),r.d(e,"j",function(){return g});var n=r(68),a=r(271),o=r(24),i=r(267);function c(){c=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",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(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:S(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function E(){}function w(){}var b={};f(b,i,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(D([])));_&&_!==r&&n.call(_,i)&&(b=_);var j=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){s.value=t,i(s)},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 S(e,r,n){var a=h;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=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?v:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}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 R(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 D(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=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=f(w,s,"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,w):(t.__proto__=w,f(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),f(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()})},x(j),f(j,s,"Generator"),f(j,i,function(){return this}),f(j,"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=D,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(R),!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"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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,g):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),g},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),R(r),g}},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;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var u=function(t,e,r){return function(){var t=Object(n.a)(c().mark(function t(n,i){var u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=i(),t.next=3,a.a.get("/app.php",{params:{a:"getDegrees",modtype:r,fboard:e,deggrp:u.user.fdeggrp,univcode:u.univ.funivcode}});case 3:"object"!==typeof(s=t.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Degrees"},status:"failure"}}):-1===s.data.error_code?n({type:"SET_ERROR",payload:s.data}):n({type:o.g,payload:s.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var i,u;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=o(),r.next=3,a.a.get("/app.php",{params:{a:"getPracticalSubjects",fdegree:t,fboard:e,univcode:i.univ.funivcode}});case 3:"object"!==typeof(u=r.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Subjects"},status:"failure"}}):-1===u.data.error_code?n({type:"SET_ERROR",payload:u.data}):n({type:"FETCH_PRSUB",payload:u.data});case 5:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.get("/app.php",{params:{a:"getPracticalBoards",fdeggrp:t,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(i=e.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Boards"},status:"failure"}}):-1===i.data.error_code?r({type:"SET_ERROR",payload:i.data}):r({type:"FETCH_BOARDS",payload:i.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e,r,o){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,f;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),i({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php",{params:{a:"getPracticalBatchDet",fdeggrp:t,fdegree:r,fboard:e,fsubcode:o,univcode:s.univ.funivcode}});case 4:f=n.sent,i({type:"UNSET_LOADER"}),"object"!==typeof f.data?i({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Batch Details"},status:"failure"}}):-1===f.data.error_code?i({type:"SET_ERROR",payload:f.data}):i({type:"FETCH_PRBATCHDET",payload:f.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return i.apply(this,arguments)}}()},l=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,o,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=getCollegeDet&univcode="+n.univ.funivcode);case 4:o=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof o.data?(u={header:"Error",content:"Something went wrong"},e(Object(i.A)(u))):-1===o.data.error_code?(s={header:"Error",content:o.data.data.msg},e(Object(i.A)(s)),e({type:"CLEAR_PR_COLLEGE",payload:o.data})):e({type:"GET_PR_COLLEGE",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,s,f;return c().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=getDegreeColl&univcode="+o.univ.funivcode+"&college="+t);case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(i.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(i.A)(f)),r({type:"CLEAR_PR_DEGREE",payload:u.data})):r({type:"GET_PR_DEGREE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(t,e,r){return function(){var o=Object(n.a)(c().mark(function n(o,u){var s,f,p,l;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),o({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getSubjDeg&univcode="+s.univ.funivcode+"&college="+t+"°ree="+e+"&sem="+r);case 4:f=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof f.data?(p={header:"Error",content:"Something went wrong"},o(Object(i.A)(p))):-1===f.data.error_code?(l={header:"Error",content:f.data.data.msg},o(Object(i.A)(l)),o({type:"CLEAR_PR_SUBJ",payload:f.data})):o({type:"GET_PR_SUBJ",payload:f.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()},y=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var u,s,f,p;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getSemDeg&univcode="+u.univ.funivcode+"&college="+t+"°ree="+e);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(f={header:"Error",content:"Something went wrong"},n(Object(i.A)(f))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},n(Object(i.A)(p)),n({type:"CLEAR_PR_SEM",payload:s.data})):n({type:"GET_PR_SEM",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},v=function(t,e,r,o){return function(){var u=Object(n.a)(c().mark(function n(u,s){var f,p,l,h;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f=s(),u({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getBatchSub&univcode="+f.univ.funivcode+"&college="+t+"°ree="+e+"&sem="+r+"&subject="+o);case 4:p=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof p.data?(l={header:"Error",content:"Something went wrong"},u(Object(i.A)(l))):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},u(Object(i.A)(h)),u({type:"CLEAR_PR_BATCH",payload:p.data})):u({type:"GET_PR_BATCH",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},g=function(t,e,r,o,u,s,f){return function(){var p=Object(n.a)(c().mark(function n(p,l){var h,d,y,v;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=l(),p({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=viewPracticalMarks&univcode="+h.univ.funivcode+"&usertype="+h.user.fcurtype+"&college="+t+"°ree="+e+"&sem="+r+"&subject="+o+"®frm="+u+"®to="+s+"&batch="+f);case 4:d=n.sent,p({type:"UNSET_LOADER"}),"object"!==typeof d.data?(y={header:"Error",content:"Something went wrong"},p(Object(i.A)(y))):-1===d.data.error_code?(v={header:"Error",content:d.data.data.msg},p(Object(i.A)(v)),p({type:"CLEAR_PR_VIEW",payload:d.data})):p({type:"GET_PR_VIEW",payload:d.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()}},310:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"d",function(){return u}),r.d(e,"a",function(){return s}),r.d(e,"e",function(){return f}),r.d(e,"f",function(){return p}),r.d(e,"b",function(){return l}),r.d(e,"g",function(){return h}),r.d(e,"i",function(){return d}),r.d(e,"j",function(){return y}),r.d(e,"h",function(){return v}),r.d(e,"k",function(){return g});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",s=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(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:S(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function E(){}function w(){}var b={};f(b,c,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(D([])));_&&_!==r&&n.call(_,c)&&(b=_);var j=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){s.value=t,i(s)},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 S(e,r,n){var a=h;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=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?v:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}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 R(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 D(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 E.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=f(w,s,"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,w):(t.__proto__=w,f(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),f(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()})},x(j),f(j,s,"Generator"),f(j,c,function(){return this}),f(j,"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=D,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(R),!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"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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,g):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),g},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),R(r),g}},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;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var c=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"getfboard",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_BOARDS",payload:u.data});case 5: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,u,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS"}),e.next=5,a.a.get("/app.php",{params:{a:"getscript",deggrp:t.fdeggrp,univcode:c.user.fcuruniv,fboard:t.fboard,fexamno:t.Examno,status:t.valstats}});case 5:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_QPSTATS",payload:u.data});case 8: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,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"DELETE_QPSTATS"}),e.next=4,a.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:t,univcode:c.user.fcuruniv}});case 4:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_BOARDS",payload:u.data});case 6: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 c,u,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS_SUM"}),e.next=5,a.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:t.fdeggrp,univcode:c.user.fcuruniv,fexamno:t.Examno,fboard:t.fboard,status:t.valsum}});case 5:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_QPSTATS_SUM",payload:u.data});case 8: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,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"FETCH_BOARDS",payload:u.data});case 5: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,s,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"fetchBoardDetails",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_BOARDS_DETAILS",payload:u.data.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=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(),e.next=3,a.a.get("/app.php",{params:{a:"getTeachCode",deggrp:t,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(c=e.sent).data||-1===c.data.error_code||r({type:"GET_TEACH_CODE_DET",payload:c.data.data});case 5: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(),r.next=3,a.a.get("/app.php",{params:{a:"getcolList",deggrp:t,teach:e,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=r.sent).data||-1===u.data.error_code||n({type:"GET_COLL_CODE_DET",payload:u.data.data});case 5: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 c,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"getcolListfromdeggrp",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_COLL_CODE_DET_DATA",payload:u.data.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},v=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.get("/app.php",{params:{a:"getTeachCodeRange",deggrp:t,univcode:c.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_TEACHER_CODE_RANGE",payload:u.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},g=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,f;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:"getfbaordName",code:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"FETCH_FBOARD_NAME",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},327:function(t,e,r){"use strict";var n=r(100),a=r(101),o=r(103),i=r(102),c=r(104),u=r(2),s=r.n(u),f=r(105),p=r(1335),l=r(1337),h=r(308),d=function(t){function e(){return Object(n.a)(this,e),Object(o.a)(this,Object(i.a)(e).apply(this,arguments))}return Object(c.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t=this.props.board.map(function(t,e){return{key:e,value:t.fboardcode,text:"".concat(t.fboardcode," - ").concat(t.fboardname)}});return s.a.createElement(p.a.Field,null,s.a.createElement("label",null,"Board"),s.a.createElement(l.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.props.onBoardChange,placeholder:"Select Board",options:t}))}}]),e}(u.Component);e.a=Object(f.b)(function(t){return{board:t.boards,user:t.user}},{fetchSubPrBoard:h.d})(d)},410:function(t,e,r){"use strict";r.d(e,"d",function(){return u}),r.d(e,"e",function(){return s}),r.d(e,"a",function(){return f}),r.d(e,"c",function(){return p}),r.d(e,"b",function(){return l}),r.d(e,"f",function(){return h});var n=r(68),a=r(271),o=r(267),i=r(286);function c(){c=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",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(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:S(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function E(){}function w(){}var b={};f(b,i,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(D([])));_&&_!==r&&n.call(_,i)&&(b=_);var j=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,i,c){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){s.value=t,i(s)},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 S(e,r,n){var a=h;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=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?v:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}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 R(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 D(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=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=f(w,s,"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,w):(t.__proto__=w,f(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),f(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()})},x(j),f(j,s,"Generator"),f(j,i,function(){return this}),f(j,"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=D,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(R),!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"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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,g):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),g},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),R(r),g}},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;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var u=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,f;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"loadrvmarksentrytable",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"RV_ENTRY",payload:u.data});case 5: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)(c().mark(function e(r,n){var i,u,s,f;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getdocdetRV",univcode:i.user.fcuruniv,docno:t}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(o.A)(f))):r({type:"GET_DOC_DET_RV",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(t,e,r){return{type:"RV_MARKS_CHANGE",payload:{data:t,el:e,i:r}}},p=function(t){return{type:"RV_MARKS_QPCODE_CHANGE",payload:{data:t}}},l=function(t){return{type:"RV_MARKS_PACKET_CHANGE",payload:{data:t}}},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,s,f,p,l;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),e.next=3,a.a.post("/app.php?a=saveRVMarks&univcode="+u.univ.funivcode,{data:{docno:t,table:u.rvDocDet.table,pktno:u.rvDocDet.fpacket,qpcode:u.rvDocDet.fqpcode,user:u.user}});case 3:"object"!==typeof(s=e.sent).data?(f={header:"Error",content:"Something went wrong"},r(Object(o.A)(f))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},r(Object(o.A)(p))):(l={header:"Success",content:s.data.data.msg},r(Object(o.A)(l)),i.l.push("/after-exam/rvMarksEntry"));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=44.682da57f.chunk.js.map
|