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.118.33.239
(window.webpackJsonp=window.webpackJsonp||[]).push([[176,307],{1302:function(t,e,r){"use strict";r.r(e);var n=r(0),a=r(3),o=r(68),i=r(100),c=r(101),u=r(103),s=r(102),d=r(104),p=r(2),l=r.n(p),f=r(941),h=r(105),v=r(1377),y=r(1343),g=r(272),b=r(1335),m=r(1337),E=r(303),w=r(267),x=(r(271),r(274));function O(){O=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 d(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=d;var l="suspendedStart",f="suspendedYield",h="executing",v="completed",y={};function g(){}function b(){}function m(){}var E={};s(E,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(R([])));x&&x!==r&&n.call(x,i)&&(E=x);var D=m.prototype=g.prototype=Object.create(E);function A(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var u=p(t[a],t,o);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(d).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===h)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=T(c,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===l)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(e,r,n);if("normal"===s.type){if(a=n.done?v:f,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function T(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,T(e,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,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;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,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function R(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 b.prototype=m,a(D,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:b,configurable:!0}),b.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,u,"GeneratorFunction")),t.prototype=Object.create(D),t},e.awrap=function(t){return{__await:t}},A(_.prototype),s(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(d(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},A(D),s(D,u,"Generator"),s(D,i,function(){return this}),s(D,"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=R,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(L),!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,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var D=function(t){function e(){var t,r;Object(i.a)(this,e);for(var n=arguments.length,a=new Array(n),c=0;c<n;c++)a[c]=arguments[c];return(r=Object(u.a)(this,(t=Object(s.a)(e)).call.apply(t,[this].concat(a)))).state={board:"All",qpCode:"All",frmsubmit:!1,status:"F",tab:[],diffType:"All"},r.componentDidMount=Object(o.a)(O().mark(function t(){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getTDVSBoardDetails();case 2:case"end":return t.stop()}},t)})),r.boardDropDownChange=function(){var t=Object(o.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.setState({frmsubmit:!1}),r.setState({board:n.value}),t.next=4,r.props.getTdvsQPDetails(n.value);case 4:r.setState({qpCode:"All"});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.qpDropDownChange=function(){var t=Object(o.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({frmsubmit:!1}),r.setState({qpCode:n.value});case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.typeChange=function(){var t=Object(o.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({frmsubmit:!1}),r.setState({diffType:n.value});case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.decodeDifference=Object(o.a)(O().mark(function t(){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getDecodeDiff(r.state.board,r.state.qpCode,r.state.diffType);case 2:r.setState({frmsubmit:!0}),r.setState({regno1:r.props.diffDet}),r.setState({tab:r.props.diffDet});case 5:case"end":return t.stop()}},t)})),r.handleCancel=Object(o.a)(O().mark(function t(){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({board:"All"}),r.setState({qpCode:"All"});case 2:case"end":return t.stop()}},t)})),r.regno1=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.fregno=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.ansbook1=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.fansbook=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.studid=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.FSTUDID=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.regno2=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.fregno2=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.ansbook2=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.fansbook2=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.studid2=function(){var t=Object(o.a)(O().mark(function t(e,n){var a;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:a=r.state.tab.map(function(t,r){return r===n&&(t.fstudid2=e.target.value),t}),r.setState({tab:a}),r.setState({status:"T"});case 3:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.updateReg=function(){var t=Object(o.a)(O().mark(function t(e,n,a,o,i,c){var u,s,d,p,l;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("F"!=r.state.status){t.next=4;break}return u={header:"Error",content:"No Correction done"},r.props.showError(u),t.abrupt("return");case 4:if(""!=a){t.next=8;break}return s={header:"Error",content:"Enter Reg. No 1"},r.props.showError(s),t.abrupt("return");case 8:if(""!=i){t.next=12;break}return d={header:"Error",content:"Enter Reg. No 2"},r.props.showError(d),t.abrupt("return");case 12:if(""!=o){t.next=16;break}return p={header:"Error",content:"Enter Answer 1"},r.props.showError(p),t.abrupt("return");case 16:if(""!=c){t.next=20;break}return l={header:"Error",content:"Enter Answer 2"},r.props.showError(l),t.abrupt("return");case 20:return t.next=22,r.props.saveUpdatedRegAnsNo(e,n,a,o,i,c,r.props.user,r.state.diffType);case 22:if(0!=r.props.diff.code){t.next=28;break}return t.next=25,r.props.getDecodeDiff(r.state.board,r.state.qpCode,r.state.diffType);case 25:r.setState({frmsubmit:!0}),r.setState({regno1:r.props.diffDet}),r.setState({tab:r.props.diffDet});case 28:case"end":return t.stop()}},t)}));return function(e,r,n,a,o,i){return t.apply(this,arguments)}}(),r.decodemisDet=Object(o.a)(O().mark(function t(){var e,n,a,o,i;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.setState({frmsubmit:!0}),e=r.state,n=e.board,a=e.qpCode,""!==n){t.next=6;break}return o={header:"Error",content:"Select Board"},r.props.showError(o),t.abrupt("return");case 6:if(""!==a){t.next=10;break}return i={header:"Error",content:"Select QP Code"},r.props.showError(i),t.abrupt("return");case 10:window.open(x.c+"decodeMissDet&univcode="+r.props.univcode+"&board="+n+"&qpcode="+a+"&format=PDF","_blank");case 11:case"end":return t.stop()}},t)})),r}return Object(d.a)(e,t),Object(c.a)(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.board,n=e.qpCode,o=e.frmsubmit,i=e.diffType,c=[{key:"All",value:"All",text:"All"}],u=this.props.tdvsBoardDet.map(function(t,e){return{key:e,value:"".concat(t.fboard),text:"".concat(t.fboard," - ").concat(t.fboardname)}}),s=[].concat(c,Object(a.a)(u)),d=[].concat(c,[{key:"Reg. No",value:"Regno",text:"Reg. No"},{key:"Answer Booklet",value:"Ans",text:"Answer Booklet"}]),p=this.props.qpcode.map(function(t,e){return{key:e,value:"".concat(t.fqpcode),text:"".concat(t.fqpcode," - ").concat(t.fsubname)}}),h=[].concat(c,Object(a.a)(p));return l.a.createElement("div",{className:"animated fadeIn"},l.a.createElement(v.a,{fluid:!0},l.a.createElement(v.a.Content,null,l.a.createElement(v.a.Header,{style:{display:"flex"}},l.a.createElement("h4",null,"Decoding Difference"),l.a.createElement("div",{className:"ml-auto"},l.a.createElement(y.a,{basic:!0,color:"blue",icon:"file",onClick:this.decodemisDet,content:"Report"}),l.a.createElement(y.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),l.a.createElement(f.a,{to:"/dashboard"},l.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),l.a.createElement(g.a,null),l.a.createElement(v.a.Description,{style:{overflowY:"auto",height:"700px"}},l.a.createElement(b.a,null,l.a.createElement(b.a.Group,null,l.a.createElement(b.a.Field,{width:5},l.a.createElement("label",null,"Board"),l.a.createElement(m.a,{openOnFocus:!0,fluid:!0,search:!0,selection:!0,value:r,options:s,allowAdditions:!0,placeholder:"Select Board",onChange:this.boardDropDownChange,autoFocus:!0})),l.a.createElement(b.a.Field,{width:4},l.a.createElement("label",null,"QP Code"),l.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:n,options:h,allowAdditions:!0,placeholder:"Select QP Code",onChange:this.qpDropDownChange})),l.a.createElement(b.a.Field,{width:3},l.a.createElement("label",null,"Difference Type"),l.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:i,options:d,allowAdditions:!0,placeholder:"Select Type",onChange:this.typeChange})),l.a.createElement(b.a.Field,{width:3},l.a.createElement(y.a,{color:"blue",onClick:this.decodeDifference,style:{position:"absolute",bottom:0}},"Submit")))),o?l.a.createElement("div",{style:{width:"100%",height:"550px",overflowY:"auto",marginTop:"4px"}},l.a.createElement("table",{style:{width:"100%",border:"1px solid"}},l.a.createElement("thead",{style:{backgroundColor:"#1e7f91",color:"white",height:"40px",position:"sticky",top:0}},l.a.createElement("tr",null,l.a.createElement("th",{style:{border:"1px solid",textAlign:"center",width:"5%",borderTop:"1px solid"}},"Sl. No."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Board"),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"QP Code."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%"}},"Reg. Code."),l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"12%"}},"Stud Id"),"Ans"!==this.state.diffType?l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"11%"}},"Reg. No.1"):null,"Ans"!==this.state.diffType?l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"11%"}},"Reg. No 2"):null,"Regno"!==this.state.diffType?l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"8%"}},"Ansbook 1"):null,"Regno"!==this.state.diffType?l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"8%"}},"Ansbook 2"):null,l.a.createElement("th",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"12%"}},"Update"))),l.a.createElement("tbody",null,this.state.tab.map(function(e,r){return l.a.createElement("tr",{key:r},l.a.createElement("td",{style:{border:"1px solid",textAlign:"center",width:"5%",height:"30px"}},r+1),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px"}},e.fboard),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px"}},e.fqpcode),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",textAlign:"center",width:"15%",height:"30px",paddingLeft:"10px"}},l.a.createElement("a",{href:"https://answer-booklets.s3.ap-south-1.amazonaws.com/"+e.FFILEPATH,target:"_blank"},e.fregcode)),l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"12%",height:"40px"}},e.FSTUDID),"Ans"!==t.state.diffType?l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"11%",height:"40px"}},l.a.createElement("input",{type:"text",value:e.fregno,onChange:function(e){return t.regno1(e,r)}})):null,"Ans"!==t.state.diffType?l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"11%",height:"40px"}},l.a.createElement("input",{type:"text",value:e.fregno2,onChange:function(e){return t.regno2(e,r)}})):null,"Regno"!==t.state.diffType?l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"8%",height:"40px"}},l.a.createElement("input",{type:"text",value:e.fansbook,onChange:function(e){return t.ansbook1(e,r)}})):null,"Regno"!==t.state.diffType?l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"8%",height:"40px"}},l.a.createElement("input",{type:"text",value:e.fansbook2,onChange:function(e){return t.ansbook2(e,r)}})):null,l.a.createElement("td",{style:{borderBottom:"1px solid",borderRight:"1px solid",paddingLeft:"10px",width:"12%",height:"40px"}},l.a.createElement(y.a,{basic:!0,type:"submit",content:"Update",color:"green",onClick:function(){return t.updateReg(e.fregcode,e.fqpcode,e.fregno,e.fansbook,e.fregno2,e.fansbook2)}})))})))):null))))}}]),e}(p.Component);e.default=Object(h.b)(function(t){return Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)({univ:t.univ,user:t.user,univcode:t.univ.funivcode},"user",t.user.fuserid),"tdvsBoardDet",t.tdvsBoard),"qpcode",t.qpDet),"diffDet",t.getDecodeDiffDet),"diff",t.saveDecodeDif)},{showError:w.A,getTDVSBoardDetails:E.d,getTdvsQPDetails:E.h,getDecodeDiff:E.a,saveUpdatedRegAnsNo:E.k})(D)},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),d=r(613),p=r(611),l=r(269);function f(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,h=t.hidden,v=t.horizontal,y=t.inverted,g=t.section,b=t.vertical,m=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(v,"horizontal"),Object(s.a)(y,"inverted"),Object(s.a)(g,"section"),Object(s.a)(b,"vertical"),"divider",r),E=Object(d.a)(f,t),w=Object(p.a)(f,t);return u.a.createElement(w,a()({},E,{className:m}),l.a.isNil(e)?o:e)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},e.a=f},303:function(t,e,r){"use strict";r.d(e,"d",function(){return u}),r.d(e,"h",function(){return s}),r.d(e,"e",function(){return d}),r.d(e,"f",function(){return p}),r.d(e,"j",function(){return l}),r.d(e,"n",function(){return f}),r.d(e,"c",function(){return h}),r.d(e,"m",function(){return v}),r.d(e,"b",function(){return y}),r.d(e,"l",function(){return g}),r.d(e,"a",function(){return b}),r.d(e,"k",function(){return m}),r.d(e,"g",function(){return E}),r.d(e,"i",function(){return w});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 d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,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 f="suspendedStart",h="suspendedYield",v="executing",y="completed",g={};function b(){}function m(){}function E(){}var w={};d(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==r&&n.call(O,i)&&(w=O);var D=E.prototype=b.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(d).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=f;return function(o,i){if(a===v)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=T(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===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?y:h,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function T(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,T(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 j(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function R(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(D,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:m,configurable:!0}),m.displayName=d(E,s,"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,d(t,s,"GeneratorFunction")),t.prototype=Object.create(D),t},e.awrap=function(t){return{__await:t}},A(_.prototype),d(_.prototype,u,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(p(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},A(D),d(D,s,"Generator"),d(D,i,function(){return this}),d(D,"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=R,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(L),!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),L(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;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(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,d;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?a=getTDVSBoardDetails&univcode="+i.univ.funivcode+"°grp="+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?(d={header:"Error",content:u.data.data.msg},r(Object(o.A)(d))):r({type:"TDVS_BOARD_DETAILS",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,i){var u,s,d,p;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=i(),n({type:"SET_LOADER"}),r.next=4,a.a.get("app.php?a=getTdvsQPDetails&univcode="+u.univ.funivcode+"&board="+t+"°grp="+e);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(d={header:"Error",content:"Something went wrong"},n(Object(o.A)(d))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},n(Object(o.A)(p))):n({type:"TDVS_QP_DETAILS",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},d=function(t,e,r,u){return function(){var s=Object(n.a)(c().mark(function n(s,d){var p,l,f;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=d(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getTDVSQpPdfDet&univcode="+p.univ.funivcode+"&board="+t+"&qpcode="+e+"&userid="+u+"&enter="+r);case 4:l=n.sent,s({type:"UNSET_LOADER"}),0===l.data.error_code?s({type:"TDVS_PDF_DETAILS",payload:l.data}):-1===l.data.error_code&&(f={header:"Error",content:l.data.data.msg},s({type:"TDVS_PDF_DETAILS",payload:l.data}),s(Object(o.A)(f)),1==r?i.l.push("/tdvsdecoding"):2==r&&i.l.push("/tdvsdecoding2"));case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},p=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,d;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?a=getTDVSStudentDeatils&univcode="+i.univ.funivcode+"®no="+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?(d={header:"Error",content:u.data.data.msg},r(Object(o.A)(d))):0===u.data.error_code&&r({type:"TDVS_STUDENT_DETAILS",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t,e,r,i,u,s,d,p,l,f){return function(){var h=Object(n.a)(c().mark(function n(h,v){var y,g,b,m;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return y=v(),h({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveTDVSDecoding&univcode="+y.univ.funivcode+"®code="+t+"&ansbook="+e+"&qpcode="+r+"®no="+i+"&user="+u+"&rejected="+s+"&remarks="+d+"&enter="+p+"&fstudid="+l+"&fregno="+f);case 4:g=n.sent,h({type:"UNSET_LOADER"}),-1===g.data.error_code&&(b={header:"Error",content:g.data.data.msg},h(Object(o.A)(b))),0===g.data.error_code&&(m={header:"Success",content:g.data.data.msg},h(Object(o.A)(m)));case 8:case"end":return n.stop()}},n)}));return function(t,e){return h.apply(this,arguments)}}()},f=function(t,e,r,i,u){return function(){var s=Object(n.a)(c().mark(function n(s,d){var p,l,f;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=d(),s({type:"SET_LOADER"}),l="",n.next=5,a.a.post("app.php?a=viewTdvsBoard&univcode="+p.univ.funivcode+"&board="+t+"&qpcodefrm="+e+"&qpcodeto="+r+"&status="+i+"&report="+u);case 5:l=n.sent,s({type:"UNSET_LOADER"}),-1===l.data.error_code&&(f={header:"Error",content:l.data.data.msg},s(Object(o.A)(f))),0===l.data.error_code&&({header:"Success",content:l.data.data.msg},s({type:"VIEW_TDVS_REPORT_DETAILS",payload:l.data}));case 9:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},h=function(t,e,r,i,u){return function(){var s=Object(n.a)(c().mark(function n(s,d){var p,l,f,h;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=d(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPVerificationDet&univcode="+p.univ.funivcode+"°grp="+t+"&board="+e+"&qpcode="+r+"&type="+i+"&limit="+u);case 4:l=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof l.data?(f={header:"Error",content:"Something went wrong"},s(Object(o.A)(f))):-1===l.data.error_code?(h={header:"Error",content:l.data.data.msg},s(Object(o.A)(h)),s({type:"CLEAR_REGCODE_VERIFICATION",payload:l.data})):0===l.data.error_code&&s({type:"REGCODE_VERIFICATION",payload:l.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},v=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,d;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.post("app.php?a=verifyRegcode&univcode="+i.univ.funivcode+"&data="+JSON.stringify(t));case 4:u=e.sent,r({type:"UNSET_LOADER"}),-1===u.data.error_code&&(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))),0===u.data.error_code&&(d={header:"Success",content:u.data.data.msg},r(Object(o.A)(d)));case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},y=function(t,e,r,i){return function(){var u=Object(n.a)(c().mark(function n(u,s){var d,p,l;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=s(),u({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=decodingData&univcode="+d.univ.funivcode+"&qpcode="+t+"&typ="+e+"&from="+r+"&to="+i);case 4:if(p=n.sent,u({type:"UNSET_LOADER"}),-1!==p.data.error_code){n.next=13;break}return l={header:"Error",content:p.data.data.msg},u({type:"CLEAR_DECODE_DATA",payload:p.data}),u(Object(o.A)(l)),n.abrupt("return");case 13:u({type:"GET_DECODE_DATA",payload:p.data});case 14:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},g=function(t,e,r){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,d,p,l;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.post("app.php?a=saveVerifyDecode&univcode="+s.univ.funivcode+"&mob="+s.user.fmobileno,{data:{qpcode:t,userid:r,table:e}});case 4:d=n.sent,i({type:"UNSET_LOADER"}),-1===d.data.error_code&&(p={header:"Error",content:d.data.data.msg},i(Object(o.A)(p))),0===d.data.error_code&&(l={header:"Success",content:d.data.data.msg},i(Object(o.A)(l)));case 8:case"end":return n.stop()}},n)}));return function(t,e){return i.apply(this,arguments)}}()},b=function(t,e,r){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,d,p;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.post("app.php?a=getDecodeDiff&univcode="+s.univ.funivcode+"&board="+t+"&qpcode="+e+"&type="+r);case 4:if(d=n.sent,i({type:"UNSET_LOADER"}),-1!==d.data.error_code){n.next=13;break}return p={header:"Error",content:d.data.data.msg},i({type:"CLEAR_DECODE_DIFF",payload:d.data}),i(Object(o.A)(p)),n.abrupt("return");case 13:i({type:"GET_DECODE_DIFF",payload:d.data});case 14:case"end":return n.stop()}},n)}));return function(t,e){return i.apply(this,arguments)}}()},m=function(t,e,r,i,u,s,d,p){return function(){var l=Object(n.a)(c().mark(function n(l,f){var h,v,y;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),l({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveUpdatedRegAnsNo&univcode="+h.univ.funivcode+"®code="+t+"&qpcode="+e+"®1="+r+"&ans1="+i+"®2="+u+"&ans2="+s+"&user="+d+"&type="+p);case 4:if(v=n.sent,l({type:"UNSET_LOADER"}),-1!==v.data.error_code){n.next=13;break}return y={header:"Error",content:v.data.data.msg},l({type:"CLEAR_SAVE_DECODE_DIFF",payload:v.data}),l(Object(o.A)(y)),n.abrupt("return");case 13:l({type:"SAVE_DECODE_DIFF",payload:v.data});case 14:case"end":return n.stop()}},n)}));return function(t,e){return l.apply(this,arguments)}}()},E=function(t,e,r,o){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,d;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.post("app.php?a=getTdvsCountData&univcode="+s.univ.funivcode+"&entry="+t+"&status="+e+"&board="+r+"&qpcode="+o);case 4:if(d=n.sent,i({type:"UNSET_LOADER"}),-1!==d.data.error_code){n.next=12;break}return{header:"Error",content:d.data.data.msg},i({type:"CLEAR_TDVS_DECODING_COUNT",payload:d.data}),n.abrupt("return");case 12:i({type:"TDVS_DECODING_COUNT",payload:d.data});case 13:case"end":return n.stop()}},n)}));return function(t,e){return i.apply(this,arguments)}}()},w=function(t,e,r){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,d,p,l;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.post("app.php?a=releaseDecodeData&univcode="+s.univ.funivcode+"&entry="+r+"&board="+t+"&qpcode="+e);case 4:if(d=n.sent,i({type:"UNSET_LOADER"}),0!==d.data.error_code){n.next=12;break}return p={header:"Success",content:"Released Successfully"},i(Object(o.A)(p)),n.abrupt("return");case 12:return l={header:"Error",content:"Released Failed"},i(Object(o.A)(l)),n.abrupt("return");case 15:case"end":return n.stop()}},n)}));return function(t,e){return i.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=176.201c83a2.chunk.js.map
|