0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.12.34.211


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/46.190d0d29.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[46,307],{1384:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(0),o=r(100),c=r(101),i=r(103),u=r(102),l=r(104),s=r(2),p=r.n(s),f=r(941),h=r(105),d=r(1377),g=r(1343),y=r(272),v=r(1335),m=r(1337),E=r(267),w=r(310),b=r(274),x=r(273),O=(r(327),r(1155)),j=r(1338),_=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,a=new Array(n),c=0;c<n;c++)a[c]=arguments[c];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(a)))).state={qpstat:[],searchVal:""},r.searchTable=function(e,t){var n=t.value,a=r.props.qpstat.filter(function(e){return Object.keys(e).some(function(t){return e[t].toLowerCase().includes(n.toLowerCase())})});r.setState({qpstat:a,searchVal:t.value})},r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.setState({qpstat:this.props.qpstat,searchVal:""})}},{key:"componentDidUpdate",value:function(e){this.props.qpstat!==e.qpstat&&this.setState({qpstat:this.props.qpstat,searchVal:""})}},{key:"render",value:function(){var e=this,t=this.state.qpstat,r=[],n=[],a=[],o=t.map(function(e,t){return{key:t,scriptRec:"".concat(e.fspresent),scriptCod:"".concat(e.fcodecount),packCount1:"".concat(e.ftotpkt1),packValue1:"".concat(e.fvalpkt1),packCount2:"".concat(e.ftotpkt2),packValue2:"".concat(e.fvalpkt2),codePend:"".concat(e.fapresent-e.fcodecount<0?r.push(0):r.push(e.fapresent-e.fcodecount)),packPend:"".concat(e.ftotpkt1-e.fvalpkt1<0?n.push(0):n.push(e.ftotpkt1-e.fvalpkt1)),packPend2:"".concat(e.ftotpkt1-e.fvalpkt2<0?a.push(0):a.push(e.ftotpkt1-e.fvalpkt2))}}),c=o.reduce(function(e,t){return e+parseInt(t.scriptRec)},0),i=o.reduce(function(e,t){return e+parseInt(t.scriptCod)},0),u=o.reduce(function(e,t){return e+parseInt(t.packCount1)},0),l=o.reduce(function(e,t){return e+parseInt(t.packCount2)},0),s=o.reduce(function(e,t){return e+parseInt(t.packValue1)},0),f=o.reduce(function(e,t){return e+parseInt(t.packValue2)},0),h=r.reduce(function(e,t){return e+t},0),d=n.reduce(function(e,t){return e+t},0),g=a.reduce(function(e,t){return e+t},0);return p.a.createElement("div",null,p.a.createElement(y.a,null),p.a.createElement("div",{style:{margin:"1em 0em",backgroundColor:"white"},className:"stick"},p.a.createElement(O.a,{icon:"search",fluid:!0,placeholder:"Search...",value:this.state.searchVal,onChange:this.searchTable})),p.a.createElement(j.a,{celled:!0,compact:!0},p.a.createElement(j.a.Header,null," ","PG"===this.props.thisstate.fdeggrp?p.a.createElement(p.a.Fragment,null,p.a.createElement(j.a.Row,null,p.a.createElement(j.a.HeaderCell,{style:{width:"5%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Sl. No."),p.a.createElement(j.a.HeaderCell,{style:{width:"15%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Board"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center",rowSpan:"2"},"Qp. Code"),p.a.createElement(j.a.HeaderCell,{style:{width:"40%"},rowSpan:"2",textAlign:"center"},"Subject Name"),p.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Preparation"),p.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"First Valuation"),p.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Second Valuation")),p.a.createElement(j.a.Row,null,p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Script Recd."),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Script Coded"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Coding Pending"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Count"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Valued"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Pending"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Count"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Valued"),p.a.createElement(j.a.HeaderCell,{style:{width:"8%"},textAlign:"center"},"Pkt. Pending"))):p.a.createElement(p.a.Fragment,null,p.a.createElement(j.a.Row,null,p.a.createElement(j.a.HeaderCell,{style:{width:"5%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Sl. No."),p.a.createElement(j.a.HeaderCell,{style:{width:"25%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Board Name"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},rowSpan:"2",textAlign:"center"},"Qp. Code"),p.a.createElement(j.a.HeaderCell,{style:{width:"40%"},rowSpan:"3",textAlign:"center"},"Subject Name"),p.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Preparation"),p.a.createElement(j.a.HeaderCell,{colSpan:"3",textAlign:"center"},"Valuation")),p.a.createElement(j.a.Row,null,p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Script Recd."),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Script Coded"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Coding Pending"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Packets Count"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Packets Valued"),p.a.createElement(j.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Valuation Pending")))," "),p.a.createElement(j.a.Body,null," ",t.map(function(t,r){return"PG"===e.props.thisstate.fdeggrp?p.a.createElement(j.a.Row,{key:r},p.a.createElement(j.a.Cell,{textAlign:"center"},r+1),p.a.createElement(j.a.Cell,{textAlign:"center"},t.fboard),p.a.createElement(j.a.Cell,{textAlign:"center"},t.fqpcode),p.a.createElement(j.a.Cell,null,t.fsubname),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fspresent)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fcodecount)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fapresent-t.fcodecount<0?0:t.fapresent-t.fcodecount)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt1)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fvalpkt1)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt1-t.fvalpkt1<0?0:t.ftotpkt1-t.fvalpkt1)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt2)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fvalpkt2)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt1-t.fvalpkt2<0?0:t.ftotpkt1-t.fvalpkt2)," ")):p.a.createElement(j.a.Row,{key:r},p.a.createElement(j.a.Cell,{textAlign:"center"},r+1),p.a.createElement(j.a.Cell,{textAlign:"left"},t.fboard+"-"+t.fboardname),p.a.createElement(j.a.Cell,{textAlign:"center"},t.fqpcode),p.a.createElement(j.a.Cell,null,t.fsubname),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fspresent)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fcodecount)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fapresent-t.fcodecount<0?0:t.fapresent-t.fcodecount)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt1)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.fvalpkt1)," "),p.a.createElement(j.a.Cell,{textAlign:"center"},Object(x.g)(t.ftotpkt1-t.fvalpkt1<0?0:t.ftotpkt1-t.fvalpkt1)," "))})," ",p.a.createElement(j.a.Row,null,p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"},colSpan:4},"Total"),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},c),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},i),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},h),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},u),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},s),p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},d),"PG"===this.props.thisstate.fdeggrp?p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},l):null,"PG"===this.props.thisstate.fdeggrp?p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},f):null,"PG"===this.props.thisstate.fdeggrp?p.a.createElement(j.a.HeaderCell,{style:{textAlign:"center"}},g):null))))}}]),t}(s.Component),A=Object(h.b)(function(e){return{qpstat:e.qpstat,user:e.user}},{showError:E.A})(_),S=r(291);function L(){L=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",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:A(e,r,i)}),c}function p(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",h="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function E(){}var w={};l(w,c,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(R([])));x&&x!==r&&n.call(x,c)&&(w=x);var O=E.prototype=v.prototype=Object.create(w);function j(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function _(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.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){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function A(t,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?g:h,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=g,n.method="throw",n.arg=l.arg)}}}function S(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,S(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=p(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function R(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 m.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:m,configurable:!0}),m.displayName=l(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,u,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(_.prototype),l(_.prototype,i,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new _(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},j(O),l(O,u,"Generator"),l(O,c,function(){return this}),l(O,"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=R,T.prototype={constructor:T,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(C),!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)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),C(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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var k=function(e){function t(){var e,r;Object(o.a)(this,t);for(var c=arguments.length,l=new Array(c),s=0;s<c;s++)l[s]=arguments[s];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(l)))).state={fboard:"",frmsubmit:!1,deggrp:[],fdeggrp:"",fyear:"",fexamtype:"",fexamdate:"",open:!0,Examno:"ABCDEFGHIJ",valstats:"All",exams:[{key:"All",value:"ABCDEFGHIJ",text:"All"},{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]},r.onBoardChange=function(e,t){r.setState({fboard:t.value,frmsubmit:!1,valstats:"All",Examno:"ABCDEFGHIJ"})},r.handleCancel=function(){r.setState({fboard:"",frmsubmit:!1,open:!0,Examno:"ABCDEFGHIJ",valstats:"All"})},r.handleChange=function(e,t){switch(t.type){case"text":return void r.setState(Object(a.a)({},t.name,t.value.toUpperCase()));default:return void r.setState(Object(a.a)({},t.name,t.value))}},r.changeDeggrp=function(){var e=Object(n.a)(L().mark(function e(t,n){var a,o;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.props.deggrp.filter(function(e,t){return e.fdeggrp===n.value}),o=a[0],e.next=4,r.setState({fyear:o.fyear,fexamtype:o.fexamtype,fexamdate:o.fexamdate,fdeggrp:n.value,frmSubmit:!1});case 4:r.props.fetchQpBoard(r.state.fdeggrp);case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleReport=function(){var e=r.props.user.fcuruniv,t=r.state,n=t.fdeggrp,a=(t.fyear,t.fexamtype,t.fexamdate,t.Examno),o=t.fboard,c=t.valstats;if(""!==n)window.open(b.c+"valuationstatsReport&univcode="+e+"&deggrp="+n+"&fboard="+o+"&fexamno="+a+"&status="+c+"&fcollcode="+r.props.user.fcollcode,"_blank");else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleSubmit=Object(n.a)(L().mark(function e(){var t,n;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.fboard){e.next=4;break}return t={header:"Error",content:"Select Board"},r.props.showError(t),e.abrupt("return");case 4:if(""!==r.state.Examno){e.next=8;break}return n={header:"Error",content:"Select Exam No."},r.props.showError(n),e.abrupt("return");case 8:return r.setState({frmsubmit:!1}),e.next=11,r.props.fetchQpStatistics(r.state);case 11:r.setState({frmsubmit:!0});case 12:case"end":return e.stop()}},e)})),r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=Object(n.a)(L().mark(function e(){return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.props.fetchDegGrp();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"componentDidUpdate",value:function(e){this.props.user.fdeggrp!==e.user.fdeggrp&&this.props.fetchQpBoard(this.props.user.fdeggrp)}},{key:"render",value:function(){var e=this.state,t=e.fdeggrp,r=e.fyear,n=e.fexamtype,a=e.fexamdate,o=e.Examno,c=e.valstats,i=Object(x.i)(),u=[{value:"All",text:"All"}];this.props.board.map(function(e){u.push({value:e.fboardcode,text:"".concat(e.fboardcode," - ").concat(e.fboardname)})});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,"Valuation Statistics"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(g.a,{basic:!0,color:"blue",onClick:this.handleReport,content:"Report",icon:"file"}),p.a.createElement(g.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(f.a,{to:"/dashboard"},p.a.createElement(g.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(y.a,null),p.a.createElement(d.a.Description,{style:{height:"".concat(i,"px"),overflowY:"auto"}},p.a.createElement(v.a,null,p.a.createElement(v.a.Field,{width:8},p.a.createElement(S.a,{pdeggrp:{fdeggrp:t,fyear:r,fexamtype:n,fexamdate:a},changeDeggrp:this.changeDeggrp}),p.a.createElement(v.a.Field,null,p.a.createElement("label",null,"Board"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.onBoardChange,placeholder:"Select Board",options:u})),p.a.createElement(v.a.Group,null,p.a.createElement(v.a.Field,{width:8},p.a.createElement("label",null," Examno "),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,name:"Examno",value:o,onChange:this.handleChange,placeholder:"Select Semester",options:this.state.exams})),p.a.createElement(v.a.Field,{width:8},p.a.createElement("label",null," Valuation Status "),p.a.createElement(m.a,{placeholder:"Select Status",name:"valstats",value:c,selection:!0,search:!0,options:[{value:"All",text:"All"},{value:"pending",text:"Pending"},{value:"completed",text:"Completed"}],onChange:this.handleChange})))),p.a.createElement(g.a,{color:"blue",onClick:this.handleSubmit,content:"Submit"})),this.state.frmsubmit?p.a.createElement(A,{thisstate:this.state}):null))))}}]),t}(s.Component);t.default=Object(h.b)(function(e){return{user:e.user,deggrp:e.deggrp,board:e.boards}},{showError:E.A,fetchQpBoard:w.c,fetchQpStatistics:w.d,changedeggrploadboard:w.a,fetchDegGrp:E.j})(k)},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),u=r.n(i),l=r(349),s=r(613),p=r(611),f=r(269);function h(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,d=e.hidden,g=e.horizontal,y=e.inverted,v=e.section,m=e.vertical,E=c()("ui",Object(l.a)(n,"clearing"),Object(l.a)(i,"fitted"),Object(l.a)(d,"hidden"),Object(l.a)(g,"horizontal"),Object(l.a)(y,"inverted"),Object(l.a)(v,"section"),Object(l.a)(m,"vertical"),"divider",r),w=Object(s.a)(h,e),b=Object(p.a)(h,e);return u.a.createElement(b,a()({},w,{className:E}),f.a.isNil(t)?o:t)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},t.a=h},291:function(e,t,r){"use strict";var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),u=r(102),l=r(104),s=r(2),p=r.n(s),f=r(105),h=r(1335),d=r(1337),g=r(267);function y(){y=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",u=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(e,r,i)}),c}function p(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",h="suspendedYield",d="executing",g="completed",v={};function m(){}function E(){}function w(){}var b={};l(b,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==r&&n.call(O,c)&&(b=O);var j=w.prototype=m.prototype=Object.create(b);function _(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.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){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function S(t,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=L(i,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?g:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=g,n.method="throw",n.arg=l.arg)}}}function L(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,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var 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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=l(w,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,w):(e.__proto__=w,l(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},_(A.prototype),l(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),l(j,u,"Generator"),l(j,c,function(){return this}),l(j,"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=R,T.prototype={constructor:T,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(C),!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)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),C(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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var v=function(e){function t(){return Object(o.a)(this,t),Object(i.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=Object(a.a)(y().mark(function e(){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props.deggrp.map(function(e,t){return{key:t,value:e.fdeggrp,text:"".concat(e.fdeggrp," - ").concat(e.fdescpn)}}),t=[].concat([{key:"All",value:"All",text:"All"}],Object(n.a)(e)),r=this.props.pdeggrp,a=r.fdeggrp,o=r.fyear,c=r.fexamtype,i=r.fexamdate;return p.a.createElement("div",null,p.a.createElement(h.a.Field,null,p.a.createElement("label",null,"Degree Group"),p.a.createElement(d.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:a,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:t,selectOnBlur:!1})),p.a.createElement(h.a.Group,null,p.a.createElement(h.a.Input,{placeholder:"Year",value:o,width:4,label:"Year",readOnly:!0}),p.a.createElement(h.a.Input,{placeholder:"Type",value:c,width:3,label:"Type",readOnly:!0}),p.a.createElement(h.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,value:i,readOnly:!0})))}}]),t}(s.Component);t.a=Object(f.b)(function(e){return{deggrp:e.deggrp,user:e.user,funiv:e.univ.funivcode}},{fetchDegGrp:g.j})(v)},308:function(e,t,r){"use strict";r.d(t,"b",function(){return u}),r.d(t,"c",function(){return l}),r.d(t,"d",function(){return s}),r.d(t,"a",function(){return p}),r.d(t,"f",function(){return f}),r.d(t,"g",function(){return h}),r.d(t,"i",function(){return d}),r.d(t,"h",function(){return g}),r.d(t,"e",function(){return y}),r.d(t,"j",function(){return v});var n=r(68),a=r(271),o=r(24),c=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=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 p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(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=p;var h="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function E(){}function w(){}var b={};s(b,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==r&&n.call(O,c)&&(b=O);var j=w.prototype=m.prototype=Object.create(b);function _(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 u=f(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.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){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function S(t,r,n){var a=h;return function(o,c){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=L(i,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===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var l=f(t,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function L(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,L(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=f(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=s(w,l,"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,w):(e.__proto__=w,s(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},_(A.prototype),s(A.prototype,u,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new A(p(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},_(j),s(j,l,"Generator"),s(j,c,function(){return this}),s(j,"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=R,T.prototype={constructor:T,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(C),!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)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),C(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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var u=function(e,t,r){return function(){var e=Object(n.a)(i().mark(function e(n,c){var u,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=c(),e.next=3,a.a.get("/app.php",{params:{a:"getDegrees",modtype:r,fboard:t,deggrp:u.user.fdeggrp,univcode:u.univ.funivcode}});case 3:"object"!==typeof(l=e.sent).data?n({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Degrees"},status:"failure"}}):-1===l.data.error_code?n({type:"SET_ERROR",payload:l.data}):n({type:o.g,payload:l.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=o(),r.next=3,a.a.get("/app.php",{params:{a:"getPracticalSubjects",fdegree:e,fboard:t,univcode:c.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(e,t){return r.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var o,c;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(),t.next=3,a.a.get("/app.php",{params:{a:"getPracticalBoards",fdeggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Boards"},status:"failure"}}):-1===c.data.error_code?r({type:"SET_ERROR",payload:c.data}):r({type:"FETCH_BOARDS",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e,t,r,o){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=u(),c({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php",{params:{a:"getPracticalBatchDet",fdeggrp:e,fdegree:r,fboard:t,fsubcode:o,univcode:l.univ.funivcode}});case 4:s=n.sent,c({type:"UNSET_LOADER"}),"object"!==typeof s.data?c({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong wile fetching Practical Batch Details"},status:"failure"}}):-1===s.data.error_code?c({type:"SET_ERROR",payload:s.data}):c({type:"FETCH_PRBATCHDET",payload:s.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},f=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,o,u,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=getCollegeDet&univcode="+n.univ.funivcode);case 4:o=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof o.data?(u={header:"Error",content:"Something went wrong"},t(Object(c.A)(u))):-1===o.data.error_code?(l={header:"Error",content:o.data.data.msg},t(Object(c.A)(l)),t({type:"CLEAR_PR_COLLEGE",payload:o.data})):t({type:"GET_PR_COLLEGE",payload:o.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var o,u,l,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=getDegreeColl&univcode="+o.univ.funivcode+"&college="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(c.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(c.A)(s)),r({type:"CLEAR_PR_DEGREE",payload:u.data})):r({type:"GET_PR_DEGREE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e,t,r){return function(){var o=Object(n.a)(i().mark(function n(o,u){var l,s,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=u(),o({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getSubjDeg&univcode="+l.univ.funivcode+"&college="+e+"&degree="+t+"&sem="+r);case 4:s=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof s.data?(p={header:"Error",content:"Something went wrong"},o(Object(c.A)(p))):-1===s.data.error_code?(f={header:"Error",content:s.data.data.msg},o(Object(c.A)(f)),o({type:"CLEAR_PR_SUBJ",payload:s.data})):o({type:"GET_PR_SUBJ",payload:s.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return o.apply(this,arguments)}}()},g=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var u,l,s,p;return i().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="+e+"&degree="+t);case 4:l=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},n(Object(c.A)(s))):-1===l.data.error_code?(p={header:"Error",content:l.data.data.msg},n(Object(c.A)(p)),n({type:"CLEAR_PR_SEM",payload:l.data})):n({type:"GET_PR_SEM",payload:l.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},y=function(e,t,r,o){return function(){var u=Object(n.a)(i().mark(function n(u,l){var s,p,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=l(),u({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=getBatchSub&univcode="+s.univ.funivcode+"&college="+e+"&degree="+t+"&sem="+r+"&subject="+o);case 4:p=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},u(Object(c.A)(f))):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},u(Object(c.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(e,t){return u.apply(this,arguments)}}()},v=function(e,t,r,o,u,l,s){return function(){var p=Object(n.a)(i().mark(function n(p,f){var h,d,g,y;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),p({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=viewPracticalMarks&univcode="+h.univ.funivcode+"&usertype="+h.user.fcurtype+"&college="+e+"&degree="+t+"&sem="+r+"&subject="+o+"&regfrm="+u+"&regto="+l+"&batch="+s);case 4:d=n.sent,p({type:"UNSET_LOADER"}),"object"!==typeof d.data?(g={header:"Error",content:"Something went wrong"},p(Object(c.A)(g))):-1===d.data.error_code?(y={header:"Error",content:d.data.data.msg},p(Object(c.A)(y)),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(e,t){return p.apply(this,arguments)}}()}},310:function(e,t,r){"use strict";r.d(t,"c",function(){return i}),r.d(t,"d",function(){return u}),r.d(t,"a",function(){return l}),r.d(t,"e",function(){return s}),r.d(t,"f",function(){return p}),r.d(t,"b",function(){return f}),r.d(t,"g",function(){return h}),r.d(t,"i",function(){return d}),r.d(t,"j",function(){return g}),r.d(t,"h",function(){return y}),r.d(t,"k",function(){return v});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",u=o.asyncIterator||"@@asyncIterator",l=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 p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(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=p;var h="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function E(){}function w(){}var b={};s(b,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==r&&n.call(O,i)&&(b=O);var j=w.prototype=m.prototype=Object.create(b);function _(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 u=f(e[a],e,o);if("throw"!==u.type){var l=u.arg,s=l.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){l.value=e,c(l)},function(e){return r("throw",e,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function S(t,r,n){var a=h;return function(o,c){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=L(i,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===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var l=f(t,r,n);if("normal"===l.type){if(a=n.done?y:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function L(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,L(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=f(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function R(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=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=s(w,l,"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,w):(e.__proto__=w,s(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},_(A.prototype),s(A.prototype,u,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new A(p(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},_(j),s(j,l,"Generator"),s(j,i,function(){return this}),s(j,"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=R,T.prototype={constructor:T,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(C),!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 u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)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),C(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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var i=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.next=3,a.a.get("/app.php",{params:{a:"getfboard",deggrp:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_BOARDS",payload:u.data});case 5: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,u,l,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS"}),t.next=5,a.a.get("/app.php",{params:{a:"getscript",deggrp:e.fdeggrp,univcode:i.user.fcuruniv,fboard:e.fboard,fexamno:e.Examno,status:e.valstats}});case 5:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_QPSTATS",payload:u.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"DELETE_QPSTATS"}),t.next=4,a.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:e,univcode:i.user.fcuruniv}});case 4:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_BOARDS",payload:u.data});case 6: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,u,l,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS_SUM"}),t.next=5,a.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:e.fdeggrp,univcode:i.user.fcuruniv,fexamno:e.Examno,fboard:e.fboard,status:e.valsum}});case 5:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_QPSTATS_SUM",payload:u.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):r({type:"FETCH_BOARDS",payload:u.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.next=3,a.a.get("/app.php",{params:{a:"fetchBoardDetails",deggrp:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_BOARDS_DETAILS",payload:u.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var o,i;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachCode",deggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(i=t.sent).data||-1===i.data.error_code||r({type:"GET_TEACH_CODE_DET",payload:i.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e,t){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:"getcolList",deggrp:e,teach:t,univcode:i.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(e,t){return r.apply(this,arguments)}}()},g=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.next=3,a.a.get("/app.php",{params:{a:"getcolListfromdeggrp",deggrp:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):r({type:"GET_COLL_CODE_DET_DATA",payload:u.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},y=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachCodeRange",deggrp:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):r({type:"GET_TEACHER_CODE_RANGE",payload:u.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,u,l,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:"getfbaordName",code:e,univcode:i.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"FETCH_FBOARD_NAME",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}},327:function(e,t,r){"use strict";var n=r(100),a=r(101),o=r(103),c=r(102),i=r(104),u=r(2),l=r.n(u),s=r(105),p=r(1335),f=r(1337),h=r(308),d=function(e){function t(){return Object(n.a)(this,t),Object(o.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(i.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this.props.board.map(function(e,t){return{key:t,value:e.fboardcode,text:"".concat(e.fboardcode," - ").concat(e.fboardname)}});return l.a.createElement(p.a.Field,null,l.a.createElement("label",null,"Board"),l.a.createElement(f.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.props.onBoardChange,placeholder:"Select Board",options:e}))}}]),t}(u.Component);t.a=Object(s.b)(function(e){return{board:e.boards,user:e.user}},{fetchSubPrBoard:h.d})(d)}}]);
//# sourceMappingURL=46.190d0d29.chunk.js.map