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 : 18.221.217.100


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/233.c2d07b99.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[233],{1263:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),u=r(102),s=r(104),l=r(2),p=r.n(l),d=r(105),f=r(1377),h=r(1343),v=r(272),y=r(1335),m=r(1337),E=r(1338),g=r(941),b=r(267),w=r(303),x=(r(1134),r(274));function O(){O=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),i=new j(n||[]);return a(c,"_invoke",{value:D(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=l;var d="suspendedStart",f="suspendedYield",h="executing",v="completed",y={};function m(){}function E(){}function g(){}var b={};s(b,c,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==r&&n.call(x,c)&&(b=x);var _=g.prototype=m.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,c,i){var u=p(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(l).then(function(e){s.value=e,c(s)},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 D(t,r,n){var a=d;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=A(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===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(t,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 A(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,A(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 T(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(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=g,a(_,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:E,configurable:!0}),E.displayName=s(g,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,g):(e.__proto__=g,s(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(L.prototype),s(L.prototype,i,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new L(l(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(_),s(_,u,"Generator"),s(_,c,function(){return this}),s(_,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,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(k),!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"),s=n.call(c,"finallyLoc");if(u&&s){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(!s)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),k(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;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var _=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).state={board:"",qpcodefrm:"0",qpcodeto:"z",entry:"",status:"",report:"",frmsubmit:!1,hover:!1},r.componentDidMount=Object(a.a)(O().mark(function e(){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.getTDVSBoardDetails();case 2:r.setState({frmsubmit:!1});case 3:case"end":return e.stop()}},e)})),r.handleChangeBoard=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({board:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeQpCodeFrm=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({qpcodefrm:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeQpCodeTo=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({qpcodefrm:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeStatus=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({status:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeReport=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({report:n.value}),r.setState({frmsubmit:!1});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.viewTdvsStatus=Object(a.a)(O().mark(function e(){var t,n,a,o,c;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.setState({frmsubmit:!0}),""!==r.state.board){e.next=5;break}return t={header:"Error",content:"Select Board"},r.props.showError(t),e.abrupt("return");case 5:if(""!==r.state.qpcodefrm){e.next=9;break}return n={header:"Error",content:"Select QP Code From"},r.props.showError(n),e.abrupt("return");case 9:if(""!==r.state.qpcodeto){e.next=13;break}return a={header:"Error",content:"Select QP Code To"},r.props.showError(a),e.abrupt("return");case 13:if(""!==r.state.status){e.next=17;break}return o={header:"Error",content:"Select Status"},r.props.showError(o),e.abrupt("return");case 17:if(""!==r.state.report){e.next=21;break}return c={header:"Error",content:"Select Report Type"},r.props.showError(c),e.abrupt("return");case 21:return e.next=23,r.props.viewTdvsReport(r.state.board,r.state.qpcodefrm,r.state.qpcodeto,r.state.status,r.state.report);case 23:r.setState({frmView:!0});case 24:case"end":return e.stop()}},e)})),r.gettdvsDet=function(){var e=Object(a.a)(O().mark(function e(t,n,a){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({frmsubmit:!0}),window.open(x.c+"tdvs_report_script&univcode="+r.props.univcode+"&val="+t+"&qpcode="+n+"&board="+a+"&format=PDF","_blank");case 2:case"end":return e.stop()}},e)}));return function(t,r,n){return e.apply(this,arguments)}}(),r.gettdvsDetsxls=function(){var e=Object(a.a)(O().mark(function e(t,n){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({frmsubmit:!0}),window.open(x.c+"tdvs_report_board&univcode="+r.props.univcode+"&val="+t+"&board="+n+"&format=PDF","_blank");case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.reportTdvsStatus=Object(a.a)(O().mark(function e(){var t,n,a,o,c,i,u,s,l,p,d;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.setState({frmsubmit:!0}),t=r.state,n=t.board,a=t.qpcodefrm,o=t.qpcodeto,c=t.status,i=t.report,""!==r.state.board){e.next=6;break}return u={header:"Error",content:"Select Board"},r.props.showError(u),e.abrupt("return");case 6:if(""!==r.state.qpcodefrm){e.next=10;break}return s={header:"Error",content:"Select QP Code From"},r.props.showError(s),e.abrupt("return");case 10:if(""!==r.state.qpcodeto){e.next=14;break}return l={header:"Error",content:"Select QP Code To"},r.props.showError(l),e.abrupt("return");case 14:if(""!==r.state.status){e.next=18;break}return p={header:"Error",content:"Select Status"},r.props.showError(p),e.abrupt("return");case 18:if(""!==r.state.report){e.next=22;break}return d={header:"Error",content:"Select Report Type"},r.props.showError(d),e.abrupt("return");case 22:window.open(x.c+"tdvs_report&univcode="+r.props.univcode+"&board="+n+"&qpcodefrm="+a+"&qpcodeto="+o+"&status="+c+"&report="+i+"&format=PDF","_blank");case 23:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({board:"",qpcodefrm:"0",qpcodeto:"z",status:"",report:"",frmsubmit:!1})},r.handleMouseEnter=function(){r.setState({hover:!0})},r.handleMouseLeave=function(){r.setState({hover:!1})},r}return Object(s.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.board,a=t.qpcodefrm,o=t.qpcodeto,c=t.entry,i=t.status,u=t.report,s=this.props.board.map(function(e){return{key:e.fboard,value:e.fboard,text:e.fboard+" - "+e.fboardname}}),l=[].concat([{key:1,value:"All",text:"All"}],Object(n.a)(s));return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"TDVS Report"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(h.a,{basic:!0,color:"blue",onClick:this.reportTdvsStatus,content:"Report",icon:"file"}),p.a.createElement(g.a,{to:"/dashboard"},p.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(v.a,null),p.a.createElement(f.a.Description,{style:{overflowY:"auto",height:"600px"}},p.a.createElement(y.a,null,p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Board"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:r,name:"board",options:l,placeholder:"board",onChange:this.handleChangeBoard}))),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:4},p.a.createElement(y.a.Input,{name:"qpfrom",label:"QP Code. From",value:a,onChange:this.handleChangeQpCodeFrm})),p.a.createElement(y.a.Field,{width:4},p.a.createElement(y.a.Input,{name:"qpto",label:"QP Code. To",value:o,onChange:this.handleChangeQpCodeTo}))),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:4},p.a.createElement("label",null,"Entry Type"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:c,name:"entry",placeholder:"Entre Entry Type"})),p.a.createElement(y.a.Field,{width:4},p.a.createElement("label",null,"Status"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:i,name:"status",options:[{key:1,value:"All",text:"All"},{key:2,value:"C",text:"Completed"},{key:3,value:"R",text:"Rejected"},{key:4,value:"P",text:"Pending"}],placeholder:"status",onChange:this.handleChangeStatus}))),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Report Type"),p.a.createElement(m.a,{fluid:!0,search:!0,selection:!0,value:u,name:"report",options:[{key:1,value:"Board",text:"Boardwise"},{key:2,value:"QP",text:"QP Code"}],placeholder:"report",onChange:this.handleChangeReport}))),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,null,p.a.createElement(h.a,{basic:!0,color:"blue",onClick:this.viewTdvsStatus,content:"View"})))),this.state.frmsubmit?p.a.createElement(E.a,{celled:!0,padded:!0},p.a.createElement(E.a.Header,null,p.a.createElement(E.a.Row,null,p.a.createElement(E.a.HeaderCell,{singleLine:!0},"Sl No."),p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Board Code"),"QP"==u?p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"QP Code"):p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Board Name"),"QP"==u?p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Subject Name"):null,p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Total Scripts"),p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Decoded"),p.a.createElement(E.a.HeaderCell,{textAlign:"center"},"Pending"))),p.a.createElement(E.a.Body,null,this.props.view.map(function(t,r){return p.a.createElement(E.a.Row,{key:r,style:{overflow:"hidden"}},p.a.createElement(E.a.Cell,{textAlign:"center"},r+1),p.a.createElement(E.a.Cell,{textAlign:"center"},t.fboard),"QP"==u?p.a.createElement(E.a.Cell,{textAlign:"center"},t.fqpcode):p.a.createElement(E.a.Cell,null,t.fboardname),"QP"==u?p.a.createElement(E.a.Cell,null,t.fsubname):null,"QP"==u?p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDet("T",t.fboard,t.fqpcode)}},t.count)):p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDetsxls("T",t.fboard)}},t.count)),"QP"==u?p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDet("D",t.fboard,t.fqpcode)}},t.dcnt)):p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDetsxls("D",t.fboard)}},t.dcnt)),"QP"==u?p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDet("P",t.fboard,t.fqpcode)}},t.per)):p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("span",{onMouseEnter:e.handleMouseEnter,onMouseLeave:e.handleMouseLeave,style:{color:e.state.hover?"blue":"black",cursor:"pointer"},onClick:function(){return e.gettdvsDetsxls("P",t.fboard)}},t.per)))}))):null))))}}]),t}(l.Component);t.default=Object(d.b)(function(e){return{univcode:e.univ.funivcode,board:e.tdvsBoard,view:e.tdvsreport}},{showError:b.A,getTDVSBoardDetails:w.d,viewTdvsReport:w.n})(_)},303:function(e,t,r){"use strict";r.d(t,"d",function(){return u}),r.d(t,"h",function(){return s}),r.d(t,"e",function(){return l}),r.d(t,"f",function(){return p}),r.d(t,"j",function(){return d}),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 y}),r.d(t,"l",function(){return m}),r.d(t,"a",function(){return E}),r.d(t,"k",function(){return g}),r.d(t,"g",function(){return b}),r.d(t,"i",function(){return w});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",s=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 p(e,t,r,n){var o=t&&t.prototype instanceof E?t:E,c=Object.create(o.prototype),i=new j(n||[]);return a(c,"_invoke",{value:D(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=p;var f="suspendedStart",h="suspendedYield",v="executing",y="completed",m={};function E(){}function g(){}function b(){}var w={};l(w,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(C([])));O&&O!==r&&n.call(O,c)&&(w=O);var _=b.prototype=E.prototype=Object.create(w);function S(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,c,i){var u=d(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(l).then(function(e){s.value=e,c(s)},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 D(t,r,n){var a=f;return function(o,c){if(a===v)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=A(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===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=d(t,r,n);if("normal"===s.type){if(a=n.done?y:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(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,A(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 T(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(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=b,a(_,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,s,"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,b):(e.__proto__=b,l(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(L.prototype),l(L.prototype,u,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new L(p(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(_),l(_,s,"Generator"),l(_,c,function(){return this}),l(_,"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=C,j.prototype={constructor:j,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(k),!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"),s=n.call(c,"finallyLoc");if(u&&s){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(!s)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),k(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;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}var u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;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+"&deggrp="+e);case 4:u=t.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?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):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)}}()},s=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var u,s,l,p;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+"&deggrp="+t);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},n(Object(o.A)(l))):-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(e,t){return r.apply(this,arguments)}}()},l=function(e,t,r,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var p,d,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=l(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getTDVSQpPdfDet&univcode="+p.univ.funivcode+"&board="+e+"&qpcode="+t+"&userid="+u+"&enter="+r);case 4:d=n.sent,s({type:"UNSET_LOADER"}),0===d.data.error_code?s({type:"TDVS_PDF_DETAILS",payload:d.data}):-1===d.data.error_code&&(f={header:"Error",content:d.data.data.msg},s({type:"TDVS_PDF_DETAILS",payload:d.data}),s(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 s.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;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+"&regno="+e);case 4:u=t.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?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):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)}}()},d=function(e,t,r,c,u,s,l,p,d,f){return function(){var h=Object(n.a)(i().mark(function n(h,v){var y,m,E,g;return i().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+"&regcode="+e+"&ansbook="+t+"&qpcode="+r+"&regno="+c+"&user="+u+"&rejected="+s+"&remarks="+l+"&enter="+p+"&fstudid="+d+"&fregno="+f);case 4:m=n.sent,h({type:"UNSET_LOADER"}),-1===m.data.error_code&&(E={header:"Error",content:m.data.data.msg},h(Object(o.A)(E))),0===m.data.error_code&&(g={header:"Success",content:m.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 s=Object(n.a)(i().mark(function n(s,l){var p,d,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=l(),s({type:"SET_LOADER"}),d="",n.next=5,a.a.post("app.php?a=viewTdvsBoard&univcode="+p.univ.funivcode+"&board="+e+"&qpcodefrm="+t+"&qpcodeto="+r+"&status="+c+"&report="+u);case 5:d=n.sent,s({type:"UNSET_LOADER"}),-1===d.data.error_code&&(f={header:"Error",content:d.data.data.msg},s(Object(o.A)(f))),0===d.data.error_code&&({header:"Success",content:d.data.data.msg},s({type:"VIEW_TDVS_REPORT_DETAILS",payload:d.data}));case 9:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},h=function(e,t,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var p,d,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=l(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPVerificationDet&univcode="+p.univ.funivcode+"&deggrp="+e+"&board="+t+"&qpcode="+r+"&type="+c+"&limit="+u);case 4:d=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof d.data?(f={header:"Error",content:"Something went wrong"},s(Object(o.A)(f))):-1===d.data.error_code?(h={header:"Error",content:d.data.data.msg},s(Object(o.A)(h)),s({type:"CLEAR_REGCODE_VERIFICATION",payload:d.data})):0===d.data.error_code&&s({type:"REGCODE_VERIFICATION",payload:d.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;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&&(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))),0===u.data.error_code&&(l={header:"Success",content:u.data.data.msg},r(Object(o.A)(l)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},y=function(e,t,r,c){return function(){var u=Object(n.a)(i().mark(function n(u,s){var l,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=s(),u({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=decodingData&univcode="+l.univ.funivcode+"&qpcode="+e+"&typ="+t+"&from="+r+"&to="+c);case 4:if(p=n.sent,u({type:"UNSET_LOADER"}),-1!==p.data.error_code){n.next=13;break}return d={header:"Error",content:p.data.data.msg},u({type:"CLEAR_DECODE_DATA",payload:p.data}),u(Object(o.A)(d)),n.abrupt("return");case 13:u({type:"GET_DECODE_DATA",payload:p.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return u.apply(this,arguments)}}()},m=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveVerifyDecode&univcode="+s.univ.funivcode+"&mob="+s.user.fmobileno,{data:{qpcode:e,userid:r,table:t}});case 4:l=n.sent,c({type:"UNSET_LOADER"}),-1===l.data.error_code&&(p={header:"Error",content:l.data.data.msg},c(Object(o.A)(p))),0===l.data.error_code&&(d={header:"Success",content:l.data.data.msg},c(Object(o.A)(d)));case 8:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},E=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=getDecodeDiff&univcode="+s.univ.funivcode+"&board="+e+"&qpcode="+t+"&type="+r);case 4:if(l=n.sent,c({type:"UNSET_LOADER"}),-1!==l.data.error_code){n.next=13;break}return p={header:"Error",content:l.data.data.msg},c({type:"CLEAR_DECODE_DIFF",payload:l.data}),c(Object(o.A)(p)),n.abrupt("return");case 13:c({type:"GET_DECODE_DIFF",payload:l.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,s,l,p){return function(){var d=Object(n.a)(i().mark(function n(d,f){var h,v,y;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),d({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveUpdatedRegAnsNo&univcode="+h.univ.funivcode+"&regcode="+e+"&qpcode="+t+"&reg1="+r+"&ans1="+c+"&reg2="+u+"&ans2="+s+"&user="+l+"&type="+p);case 4:if(v=n.sent,d({type:"UNSET_LOADER"}),-1!==v.data.error_code){n.next=13;break}return y={header:"Error",content:v.data.data.msg},d({type:"CLEAR_SAVE_DECODE_DIFF",payload:v.data}),d(Object(o.A)(y)),n.abrupt("return");case 13:d({type:"SAVE_DECODE_DIFF",payload:v.data});case 14:case"end":return n.stop()}},n)}));return function(e,t){return d.apply(this,arguments)}}()},b=function(e,t,r,o){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=getTdvsCountData&univcode="+s.univ.funivcode+"&entry="+e+"&status="+t+"&board="+r+"&qpcode="+o);case 4:if(l=n.sent,c({type:"UNSET_LOADER"}),-1!==l.data.error_code){n.next=12;break}return{header:"Error",content:l.data.data.msg},c({type:"CLEAR_TDVS_DECODING_COUNT",payload:l.data}),n.abrupt("return");case 12:c({type:"TDVS_DECODING_COUNT",payload:l.data});case 13:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},w=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=releaseDecodeData&univcode="+s.univ.funivcode+"&entry="+r+"&board="+e+"&qpcode="+t);case 4:if(l=n.sent,c({type:"UNSET_LOADER"}),0!==l.data.error_code){n.next=12;break}return p={header:"Success",content:"Released Successfully"},c(Object(o.A)(p)),n.abrupt("return");case 12:return d={header:"Error",content:"Released Failed"},c(Object(o.A)(d)),n.abrupt("return");case 15:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=233.c2d07b99.chunk.js.map