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.144.237.52
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,307],{1261:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(100),o=r(101),c=r(103),i=r(102),u=r(104),l=r(2),s=r.n(l),d=r(941),p=r(105),f=r(1377),h=r(1374),v=r(1343),m=r(272),b=r(305),y=r(316),g=r(1338),E=r(1335),O=r(1157),w=r(267),j=r(303),x=r(271);function D(){D=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 b?t:b,c=Object.create(o.prototype),i=new T(n||[]);return a(c,"_invoke",{value:S(e,r,i)}),c}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var p="suspendedStart",f="suspendedYield",h="executing",v="completed",m={};function b(){}function y(){}function g(){}var E={};l(E,c,function(){return this});var O=Object.getPrototypeOf,w=O&&O(O(R([])));w&&w!==r&&n.call(w,c)&&(E=w);var j=g.prototype=b.prototype=Object.create(E);function x(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=d(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=p;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=k(i,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=d(t,r,n);if("normal"===l.type){if(a=n.done?v:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function k(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,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=d(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;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,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,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 y.prototype=g,a(j,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=l(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},x(_.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()})},x(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(L),!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,m):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),m},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),L(r),m}},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;L(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),m}},t}var _=function(e){function t(e){var r;return Object(a.a)(this,t),(r=Object(c.a)(this,Object(i.a)(t).call(this,e))).componentDidMount=Object(n.a)(D().mark(function e(){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.getTDVSQpPdfDet(r.state.board,r.state.qpcode,r.state.enter,r.props.user.fuserid);case 2:r.inputRef.current.focus();case 3:case"end":return e.stop()}},e)})),r.getRegCodeStatus=function(){r.props.getTDVSAnswerBookDetails(r.state.regcode)},r.changeRegno=function(){var e=Object(n.a)(D().mark(function e(t,n){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({regno:n.value.toUpperCase()});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleBlur=function(){var e=Object(n.a)(D().mark(function e(t){var n,a;return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x.a.get("app.php?a=getTDVSStudentDeatils&univcode="+r.props.univ.funivcode+"®no="+t);case 2:if(-1!=(n=e.sent).data.error_code){e.next=10;break}return a={header:"Error",content:n.data.data.msg},r.props.showError(a),r.setState({name:"",studid:"",fregno:""}),e.abrupt("return");case 10:r.setState({name:n.data.data.fname,studid:n.data.data.fstudid,fregno:n.data.data.fregno});case 11:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.changeAnsbookValue=function(){var e=Object(n.a)(D().mark(function e(t,n){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({ansbook:t.target.value.toUpperCase()});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.saveTDVSDecoding=function(){var e=Object(n.a)(D().mark(function e(t){var n,a,o;return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("Rejected"==r.state.rejected){e.next=11;break}if(""!==r.state.ansbook){e.next=6;break}return n={header:"Error",content:"Enter Answer Booklet Code"},r.props.showError(n),r.inputRef.current.focus(),e.abrupt("return");case 6:if(""!==r.state.regno){e.next=11;break}return a={header:"Error",content:"Enter Register Number"},r.props.showError(a),r.inputRef.current.focus(),e.abrupt("return");case 11:if("053"==r.props.univ.funivcode){e.next=17;break}if(""!==r.state.studid){e.next=17;break}return o={header:"Error",content:"Enter vaild Student Reg. No / Stud. ID"},r.props.showError(o),r.inputRef.current.focus(),e.abrupt("return");case 17:return e.next=19,r.props.saveTDVSDecoding(r.props.pdftdvs.fregcode,r.state.ansbook,r.state.qpcode,r.state.regno,r.state.fuser,r.state.rejected,r.state.remarks,r.state.enter,r.state.studid,r.state.fregno);case 19:return e.next=21,r.props.getTDVSQpPdfDet(r.state.board,r.state.qpcode,r.state.enter,r.props.user.fuserid);case 21:r.setState({regno:"",name:"",ansbook:"",studid:"",fregno:""}),r.inputRef.current.focus(),t.preventDefault();case 24:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.handleBlurAnsBook=function(){var e=Object(n.a)(D().mark(function e(t){var n,a;return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x.a.get("app.php?a=getTdvsAnsBookDet&univcode="+r.props.univ.funivcode+"&ansbook="+t+"&enter="+r.state.enter);case 2:-1===(n=e.sent).data.error_code&&(a={header:"Error",content:n.data.data.msg},r.props.showError(a));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),r.handleReject=Object(n.a)(D().mark(function e(){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({check:!r.state.check});case 2:case"end":return e.stop()}},e)})),r.changeMarks=function(){var e=Object(n.a)(D().mark(function e(t,n){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({remarks:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.inputRef=s.a.createRef(),r.state={regno:"",name:"",ansbook:"",board:r.props.match.params.fbaord,qpcode:r.props.match.params.fqpcode,enter:r.props.match.params.enter,fuser:r.props.user.fuserid,rejected:"",check:!1,remarks:"",dete:r.props.match.params.det,studid:"",fregno:""},r}return Object(u.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this,t="";t="051"==this.props.univ.funivcode?"#zoom=100":"#view=fitH,320";var r="T"===this.props.pdftdvs.FFILFRMSER?"https://app.universitysolutions.in/eval-img/"+this.props.pdftdvs.ffilepath+this.props.pdftdvs.fregcode+"_0.webp"+t:"https://answer-booklets.s3.ap-south-1.amazonaws.com/"+this.props.pdftdvs.ffilepath+t,n="";return n="S"===this.state.dete?"/decoding/decoding-status":"/tdvsdecoding",s.a.createElement("div",null,s.a.createElement(f.a,{fluid:!0},s.a.createElement(f.a.Content,{style:{height:"720px"}},s.a.createElement(f.a.Header,{style:{display:"flex"}},s.a.createElement(h.a,{as:"h3"},"Decoding(Auto) Entry 1"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(d.a,{to:{pathname:n}},s.a.createElement(v.a,{basic:!0,color:"blue",content:"Back",icon:"arrow left"})),s.a.createElement(v.a,{basic:!0,onClick:this.saveTdvsDecoding,color:"green",icon:"save",content:"Save"}),s.a.createElement(d.a,{to:"/dashboard"},s.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(m.a,null),s.a.createElement(f.a.Description,null,s.a.createElement(b.a,{columns:2,divided:!0,style:{marginLeft:"10px",marginTop:"0px"}},s.a.createElement(b.a.Row,{stretched:!0},s.a.createElement("div",{style:{display:"block",overflow:"hidden",overflowY:"T"===this.props.pdftdvs.FFILFRMSER?"Auto":"hidden",height:"630px"}},s.a.createElement(b.a.Column,{width:10,style:{height:"auto"}},s.a.createElement(y.a,{style:{overflow:"auto !important"}},"T"===this.props.pdftdvs.FFILFRMSER?s.a.createElement("img",{src:r,width:"750px",height:"1200px"}):s.a.createElement("iframe",{src:r,width:"750px",height:"1200px"})))),s.a.createElement("div",null,s.a.createElement(b.a.Column,{width:6,style:{overflowY:"auto"}},s.a.createElement(g.a,null,s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,s.a.createElement("label",null,"QP Code"))),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"QP Code",name:"qpcode",value:this.state.qpcode,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,s.a.createElement("label",null,"Reg. Code"))),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Reg. Code",name:"regcode",value:this.props.pdftdvs.fregcode,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,s.a.createElement("label",null,"Subject"))),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Subject name",name:"subject",value:this.props.pdftdvs.fsubname,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Answer Book")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement("input",{autoFocus:!0,style:{borderColor:"#bebfc0",borderWidth:"1px",height:"33px",width:"155px",borderRadius:"4px"},placeholder:"Answer Book",name:"ansbook",ref:this.inputRef,value:this.state.ansbook,onChange:this.changeAnsbookValue,onBlur:function(t){return e.handleBlurAnsBook(t.target.value)}}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Reg. No / Stud. ID")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Reg. No.",name:"regno",value:this.state.regno,onChange:this.changeRegno,onBlur:function(t){return e.handleBlur(t.target.value)}}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Student Name")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Name",name:"name",value:this.state.name,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Student Reg. No")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Reg. No",name:"fregno",value:this.state.fregno,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Student ID")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(E.a.Input,{placeholder:"Stud. Id",name:"studid",value:this.state.studid,disabled:!0}))),s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Rejected")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement("input",{className:"ui checkbox",type:"checkbox",name:"reject",value:this.state.rejected,style:{position:"inherit"},checked:this.state.check?this.state.rejected="Rejected":this.state.rejected="",onClick:this.handleReject}))),"Rejected"===this.state.rejected?s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null,s.a.createElement("b",null,"Remarks")),s.a.createElement(g.a.Cell,null,":"),s.a.createElement(g.a.Cell,null,s.a.createElement(O.a,{placeholder:"Tell us more",value:this.state.remarks,onChange:this.changeMarks}))):null,s.a.createElement(g.a.Row,null,s.a.createElement(g.a.Cell,null),s.a.createElement(g.a.Cell,null),s.a.createElement(g.a.Cell,null,s.a.createElement(v.a,{color:"blue",onClick:this.saveTDVSDecoding},"Save"))))))))))))}}]),t}(l.Component);t.default=Object(p.b)(function(e){return{univ:e.univ,user:e.user,pdftdvs:e.tdvspdf,student:e.tdvstud}},{showError:w.A,getTDVSQpPdfDet:j.e,getTDVSStudentDeatils:j.f,saveTDVSDecoding:j.j})(_)},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),d=r(611),p=r(269);function f(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,h=e.hidden,v=e.horizontal,m=e.inverted,b=e.section,y=e.vertical,g=c()("ui",Object(l.a)(n,"clearing"),Object(l.a)(i,"fitted"),Object(l.a)(h,"hidden"),Object(l.a)(v,"horizontal"),Object(l.a)(m,"inverted"),Object(l.a)(b,"section"),Object(l.a)(y,"vertical"),"divider",r),E=Object(s.a)(f,e),O=Object(d.a)(f,e);return u.a.createElement(O,a()({},E,{className:g}),p.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},289: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),d=r(611),p=r(616);function f(e){var t=e.children,r=e.className,n=e.computer,o=e.color,i=e.floated,p=e.largeScreen,h=e.mobile,v=e.only,m=e.stretched,b=e.tablet,y=e.textAlign,g=e.verticalAlign,E=e.widescreen,O=e.width,w=c()(o,Object(l.a)(m,"stretched"),Object(l.c)(v,"only"),Object(l.d)(y),Object(l.e)(i,"floated"),Object(l.f)(g),Object(l.g)(n,"wide computer"),Object(l.g)(p,"wide large screen"),Object(l.g)(h,"wide mobile"),Object(l.g)(b,"wide tablet"),Object(l.g)(E,"wide widescreen"),Object(l.g)(O,"wide"),"column",r),j=Object(s.a)(f,e),x=Object(d.a)(f,e);return u.a.createElement(x,a()({},j,{className:w}),t)}f.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],f.propTypes={},f.create=Object(p.e)(f,function(e){return{children:e}}),t.a=f},303:function(e,t,r){"use strict";r.d(t,"d",function(){return u}),r.d(t,"h",function(){return l}),r.d(t,"e",function(){return s}),r.d(t,"f",function(){return d}),r.d(t,"j",function(){return p}),r.d(t,"n",function(){return f}),r.d(t,"c",function(){return h}),r.d(t,"m",function(){return v}),r.d(t,"b",function(){return m}),r.d(t,"l",function(){return b}),r.d(t,"a",function(){return y}),r.d(t,"k",function(){return g}),r.d(t,"g",function(){return E}),r.d(t,"i",function(){return O});var n=r(68),a=r(271),o=r(267),c=r(286);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 d(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,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=d;var f="suspendedStart",h="suspendedYield",v="executing",m="completed",b={};function y(){}function g(){}function E(){}var O={};s(O,c,function(){return this});var w=Object.getPrototypeOf,j=w&&w(w(R([])));j&&j!==r&&n.call(j,c)&&(O=j);var x=E.prototype=y.prototype=Object.create(O);function D(e){["next","throw","return"].forEach(function(t){s(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 S(t,r,n){var a=f;return function(o,c){if(a===v)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=k(i,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var l=p(t,r,n);if("normal"===l.type){if(a=n.done?m:h,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function k(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,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;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,b):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function A(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,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 g.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:g,configurable:!0}),g.displayName=s(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},D(_.prototype),s(_.prototype,u,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new _(d(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},D(x),s(x,l,"Generator"),s(x,c,function(){return this}),s(x,"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(L),!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,b):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),b},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),L(r),b}},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;L(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),b}},t}var u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,l,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=getTDVSBoardDetails&univcode="+c.univ.funivcode+"°grp="+e);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:"TDVS_BOARD_DETAILS",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var u,l,s,d;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=c(),n({type:"SET_LOADER"}),r.next=4,a.a.get("app.php?a=getTdvsQPDetails&univcode="+u.univ.funivcode+"&board="+e+"°grp="+t);case 4:l=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},n(Object(o.A)(s))):-1===l.data.error_code?(d={header:"Error",content:l.data.data.msg},n(Object(o.A)(d))):n({type:"TDVS_QP_DETAILS",payload:l.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},s=function(e,t,r,u){return function(){var l=Object(n.a)(i().mark(function n(l,s){var d,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=s(),l({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getTDVSQpPdfDet&univcode="+d.univ.funivcode+"&board="+e+"&qpcode="+t+"&userid="+u+"&enter="+r);case 4:p=n.sent,l({type:"UNSET_LOADER"}),0===p.data.error_code?l({type:"TDVS_PDF_DETAILS",payload:p.data}):-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},l({type:"TDVS_PDF_DETAILS",payload:p.data}),l(Object(o.A)(f)),1==r?c.l.push("/tdvsdecoding"):2==r&&c.l.push("/tdvsdecoding2"));case 7:case"end":return n.stop()}},n)}));return function(e,t){return l.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,l,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=getTDVSStudentDeatils&univcode="+c.univ.funivcode+"®no="+e);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))):0===u.data.error_code&&r({type:"TDVS_STUDENT_DETAILS",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e,t,r,c,u,l,s,d,p,f){return function(){var h=Object(n.a)(i().mark(function n(h,v){var m,b,y,g;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return m=v(),h({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveTDVSDecoding&univcode="+m.univ.funivcode+"®code="+e+"&ansbook="+t+"&qpcode="+r+"®no="+c+"&user="+u+"&rejected="+l+"&remarks="+s+"&enter="+d+"&fstudid="+p+"&fregno="+f);case 4:b=n.sent,h({type:"UNSET_LOADER"}),-1===b.data.error_code&&(y={header:"Error",content:b.data.data.msg},h(Object(o.A)(y))),0===b.data.error_code&&(g={header:"Success",content:b.data.data.msg},h(Object(o.A)(g)));case 8:case"end":return n.stop()}},n)}));return function(e,t){return h.apply(this,arguments)}}()},f=function(e,t,r,c,u){return function(){var l=Object(n.a)(i().mark(function n(l,s){var d,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=s(),l({type:"SET_LOADER"}),p="",n.next=5,a.a.post("app.php?a=viewTdvsBoard&univcode="+d.univ.funivcode+"&board="+e+"&qpcodefrm="+t+"&qpcodeto="+r+"&status="+c+"&report="+u);case 5:p=n.sent,l({type:"UNSET_LOADER"}),-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},l(Object(o.A)(f))),0===p.data.error_code&&({header:"Success",content:p.data.data.msg},l({type:"VIEW_TDVS_REPORT_DETAILS",payload:p.data}));case 9:case"end":return n.stop()}},n)}));return function(e,t){return l.apply(this,arguments)}}()},h=function(e,t,r,c,u){return function(){var l=Object(n.a)(i().mark(function n(l,s){var d,p,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=s(),l({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPVerificationDet&univcode="+d.univ.funivcode+"°grp="+e+"&board="+t+"&qpcode="+r+"&type="+c+"&limit="+u);case 4:p=n.sent,l({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},l(Object(o.A)(f))):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},l(Object(o.A)(h)),l({type:"CLEAR_REGCODE_VERIFICATION",payload:p.data})):0===p.data.error_code&&l({type:"REGCODE_VERIFICATION",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return l.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,l,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("app.php?a=verifyRegcode&univcode="+c.univ.funivcode+"&data="+JSON.stringify(e));case 4:u=t.sent,r({type:"UNSET_LOADER"}),-1===u.data.error_code&&(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))),0===u.data.error_code&&(s={header:"Success",content:u.data.data.msg},r(Object(o.A)(s)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},m=function(e,t,r,c){return function(){var u=Object(n.a)(i().mark(function n(u,l){var s,d,p;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=decodingData&univcode="+s.univ.funivcode+"&qpcode="+e+"&typ="+t+"&from="+r+"&to="+c);case 4:if(d=n.sent,u({type:"UNSET_LOADER"}),-1!==d.data.error_code){n.next=13;break}return p={header:"Error",content:d.data.data.msg},u({type:"CLEAR_DECODE_DATA",payload:d.data}),u(Object(o.A)(p)),n.abrupt("return");case 13:u({type:"GET_DECODE_DATA",payload:d.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return u.apply(this,arguments)}}()},b=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s,d,p;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.post("app.php?a=saveVerifyDecode&univcode="+l.univ.funivcode+"&mob="+l.user.fmobileno,{data:{qpcode:e,userid:r,table:t}});case 4:s=n.sent,c({type:"UNSET_LOADER"}),-1===s.data.error_code&&(d={header:"Error",content:s.data.data.msg},c(Object(o.A)(d))),0===s.data.error_code&&(p={header:"Success",content:s.data.data.msg},c(Object(o.A)(p)));case 8:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},y=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s,d;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.post("app.php?a=getDecodeDiff&univcode="+l.univ.funivcode+"&board="+e+"&qpcode="+t+"&type="+r);case 4:if(s=n.sent,c({type:"UNSET_LOADER"}),-1!==s.data.error_code){n.next=13;break}return d={header:"Error",content:s.data.data.msg},c({type:"CLEAR_DECODE_DIFF",payload:s.data}),c(Object(o.A)(d)),n.abrupt("return");case 13:c({type:"GET_DECODE_DIFF",payload:s.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},g=function(e,t,r,c,u,l,s,d){return function(){var p=Object(n.a)(i().mark(function n(p,f){var h,v,m;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=saveUpdatedRegAnsNo&univcode="+h.univ.funivcode+"®code="+e+"&qpcode="+t+"®1="+r+"&ans1="+c+"®2="+u+"&ans2="+l+"&user="+s+"&type="+d);case 4:if(v=n.sent,p({type:"UNSET_LOADER"}),-1!==v.data.error_code){n.next=13;break}return m={header:"Error",content:v.data.data.msg},p({type:"CLEAR_SAVE_DECODE_DIFF",payload:v.data}),p(Object(o.A)(m)),n.abrupt("return");case 13:p({type:"SAVE_DECODE_DIFF",payload:v.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return p.apply(this,arguments)}}()},E=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.post("app.php?a=getTdvsCountData&univcode="+l.univ.funivcode+"&entry="+e+"&status="+t+"&board="+r+"&qpcode="+o);case 4:if(s=n.sent,c({type:"UNSET_LOADER"}),-1!==s.data.error_code){n.next=12;break}return{header:"Error",content:s.data.data.msg},c({type:"CLEAR_TDVS_DECODING_COUNT",payload:s.data}),n.abrupt("return");case 12:c({type:"TDVS_DECODING_COUNT",payload:s.data});case 13:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},O=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var l,s,d,p;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.post("app.php?a=releaseDecodeData&univcode="+l.univ.funivcode+"&entry="+r+"&board="+e+"&qpcode="+t);case 4:if(s=n.sent,c({type:"UNSET_LOADER"}),0!==s.data.error_code){n.next=12;break}return d={header:"Success",content:"Released Successfully"},c(Object(o.A)(d)),n.abrupt("return");case 12:return p={header:"Error",content:"Released Failed"},c(Object(o.A)(p)),n.abrupt("return");case 15:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}},305:function(e,t,r){"use strict";r(288);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),d=r(611),p=r(289);function f(e){var t=e.centered,r=e.children,n=e.className,o=e.color,i=e.columns,p=e.divided,h=e.only,v=e.reversed,m=e.stretched,b=e.textAlign,y=e.verticalAlign,g=c()(o,Object(l.a)(t,"centered"),Object(l.a)(p,"divided"),Object(l.a)(m,"stretched"),Object(l.c)(h,"only"),Object(l.c)(v,"reversed"),Object(l.d)(b),Object(l.f)(y),Object(l.g)(i,"column",!0),"row",n),E=Object(s.a)(f,e),O=Object(d.a)(f,e);return u.a.createElement(O,a()({},E,{className:g}),r)}f.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"],f.propTypes={};var h=f;function v(e){var t=e.celled,r=e.centered,n=e.children,o=e.className,i=e.columns,p=e.container,f=e.divided,h=e.doubling,m=e.inverted,b=e.padded,y=e.relaxed,g=e.reversed,E=e.stackable,O=e.stretched,w=e.textAlign,j=e.verticalAlign,x=c()("ui",Object(l.a)(r,"centered"),Object(l.a)(p,"container"),Object(l.a)(h,"doubling"),Object(l.a)(m,"inverted"),Object(l.a)(E,"stackable"),Object(l.a)(O,"stretched"),Object(l.b)(t,"celled"),Object(l.b)(f,"divided"),Object(l.b)(b,"padded"),Object(l.b)(y,"relaxed"),Object(l.c)(g,"reversed"),Object(l.d)(w),Object(l.f)(j),Object(l.g)(i,"column",!0),"grid",o),D=Object(s.a)(v,e),_=Object(d.a)(v,e);return u.a.createElement(_,a()({},D,{className:x}),n)}v.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"],v.Column=p.a,v.Row=h,v.propTypes={};t.a=v},316:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=(r(277),r(268)),c=r.n(o),i=r(2),u=r.n(i),l=r(349),s=r(613),d=r(611),p=r(269);function f(e){var t=e.children,r=e.className,n=e.compact,o=e.content,i=e.horizontal,h=e.piled,v=e.raised,m=e.size,b=e.stacked,y=c()("ui",m,Object(l.a)(n,"compact"),Object(l.a)(i,"horizontal"),Object(l.a)(h,"piled"),Object(l.a)(v,"raised"),Object(l.a)(b,"stacked"),"segments",r),g=Object(s.a)(f,e),E=Object(d.a)(f,e);return u.a.createElement(E,a()({},g,{className:y}),p.a.isNil(t)?o:t)}f.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"],f.propTypes={};var h=f;function v(e){var t=e.children,r=e.className,n=e.content,o=c()("inline",r),i=Object(s.a)(v,e),l=Object(d.a)(v,e);return u.a.createElement(l,a()({},i,{className:o}),p.a.isNil(t)?n:t)}v.handledProps=["as","children","className","content"],v.propTypes={};var m=v;function b(e){var t=e.attached,r=e.basic,n=e.children,o=e.circular,i=e.className,f=e.clearing,h=e.color,v=e.compact,m=e.content,y=e.disabled,g=e.floated,E=e.inverted,O=e.loading,w=e.placeholder,j=e.padded,x=e.piled,D=e.raised,_=e.secondary,S=e.size,k=e.stacked,A=e.tertiary,L=e.textAlign,T=e.vertical,R=c()("ui",h,S,Object(l.a)(r,"basic"),Object(l.a)(o,"circular"),Object(l.a)(f,"clearing"),Object(l.a)(v,"compact"),Object(l.a)(y,"disabled"),Object(l.a)(E,"inverted"),Object(l.a)(O,"loading"),Object(l.a)(w,"placeholder"),Object(l.a)(x,"piled"),Object(l.a)(D,"raised"),Object(l.a)(_,"secondary"),Object(l.a)(k,"stacked"),Object(l.a)(A,"tertiary"),Object(l.a)(T,"vertical"),Object(l.b)(t,"attached"),Object(l.b)(j,"padded"),Object(l.d)(L),Object(l.e)(g,"floated"),"segment",i),N=Object(s.a)(b,e),C=Object(d.a)(b,e);return u.a.createElement(C,a()({},N,{className:R}),p.a.isNil(n)?m:n)}b.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tertiary","textAlign","vertical"],b.Group=h,b.Inline=m,b.propTypes={};t.a=b}}]);
//# sourceMappingURL=51.db9245b0.chunk.js.map
|