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



Your IP : 3.139.235.100


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/178.c62152bb.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[178,307],{1303:function(t,e,r){"use strict";r.r(e);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),d=r.n(l),p=r(941),f=r(105),h=r(1377),y=r(1343),v=r(272),m=r(1335),E=r(1337),g=r(303),b=r(267);function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=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 l(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:L(t,r,i)}),c}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p="suspendedStart",f="suspendedYield",h="executing",y="completed",v={};function m(){}function E(){}function g(){}var b={};s(b,c,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(C([])));_&&_!==r&&n.call(_,c)&&(b=_);var x=g.prototype=m.prototype=Object.create(b);function D(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(a,o,c,i){var u=d(t[a],t,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(l).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,i)})}i(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 L(e,r,n){var a=p;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=A(i,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=d(e,r,n);if("normal"===s.type){if(a=n.done?y:f,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=d(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}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 T(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 C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=g,a(x,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:E,configurable:!0}),E.displayName=s(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},D(S.prototype),s(S.prototype,i,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new S(l(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},D(x),s(x,u,"Generator"),s(x,c,function(){return this}),s(x,"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=C,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(T),!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 i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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(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 c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var O=function(t){function e(){var t,r;Object(o.a)(this,e);for(var n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return(r=Object(i.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(c)))).state={entry:"",status:"Pending",board:"All",qpcode:"All",formSubmit:!1,det:"S"},r.componentDidMount=function(){r.props.getTDVSBoardDetails(),r.props.getTdvsQPDetails(r.state.board)},r.getTdvsCountData=Object(a.a)(w().mark(function t(){var e,n;return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.entry){t.next=4;break}return e={header:"Error",content:"Select Entry Type"},r.props.showError(e),t.abrupt("return");case 4:if(""!==r.state.board){t.next=8;break}return n={header:"Error",content:"Select Board"},r.props.showError(n),t.abrupt("return");case 8:return t.next=10,r.props.getTdvsCountData(r.state.entry,r.state.status,r.state.board,r.state.qpcode);case 10:r.setState({formSubmit:!0});case 11:case"end":return t.stop()}},t)})),r.releaseData=function(){var t=Object(a.a)(w().mark(function t(e,n){return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.props.releaseData(e,n,r.state.entry);case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleCancel=function(){r.setState({entry:"",status:"Pending",board:"",qpcode:"All",formSubmit:!1})},r}return Object(s.a)(e,t),Object(c.a)(e,[{key:"render",value:function(){var t=this,e=[{key:"All",value:"All",text:"All"}],r=this.props.boardDet.map(function(t,e){return{key:e,value:"".concat(t.fboard),text:"".concat(t.fboard," - ").concat(t.fboardname)}}),a=[].concat(e,Object(n.a)(r)),o=this.props.qpcodeDet.map(function(t,e){return{key:e,value:"".concat(t.fqpcode),text:"".concat(t.fqpcode," - ").concat(t.fsubname)}}),c=[].concat(e,Object(n.a)(o)),i="";i="1"==this.state.entry?"modifytdvs":"modifytdvs2";var u={border:"1px solid grey",borderCollapse:"collapse"};return d.a.createElement("div",{className:"animated fadeIn"},d.a.createElement(h.a,{fluid:!0},d.a.createElement(h.a.Content,{style:{height:"700px"}},d.a.createElement(h.a.Header,{style:{display:"flex"}},d.a.createElement("h4",null,"Decoding Status"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(y.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),d.a.createElement(p.a,{to:"/dashboard"},d.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(v.a,null),d.a.createElement(h.a.Description,{style:{overflowY:"auto",height:"680px"}},d.a.createElement(m.a,null,d.a.createElement(m.a.Group,null,d.a.createElement(m.a.Field,{width:4},d.a.createElement("label",null,"Select Entry"),d.a.createElement(E.a,{openOnFocus:!0,fluid:!0,search:!0,selection:!0,value:this.state.entry,options:[{key:"1",value:"1",text:"1"},{key:"2",value:"2",text:"2"}],allowAdditions:!0,placeholder:"Select Board",onChange:function(e,r){t.setState({entry:r.value}),t.setState({formSubmit:!1})},autoFocus:!0})),d.a.createElement(m.a.Field,{width:4},d.a.createElement("label",null,"Status"),d.a.createElement(E.a,{fluid:!0,search:!0,selection:!0,value:this.state.status,options:[{key:"All",value:"All",text:"All"},{key:"Pending",value:"Pending",text:"Pending"},{key:"Completed",value:"Completed",text:"Completed"}],allowAdditions:!0,onChange:function(e,r){t.setState({status:r.value}),t.setState({formSubmit:!1})}}))),d.a.createElement(m.a.Group,null,d.a.createElement(m.a.Field,{width:4},d.a.createElement("label",null,"Board"),d.a.createElement(E.a,{openOnFocus:!0,fluid:!0,search:!0,selection:!0,value:this.state.board,options:a,allowAdditions:!0,placeholder:"Select Board",onChange:function(e,r){t.setState({board:r.value}),t.props.getTdvsQPDetails(r.value),t.setState({formSubmit:!1})},autoFocus:!0})),d.a.createElement(m.a.Field,{width:4},d.a.createElement("label",null,"QP Code"),d.a.createElement(E.a,{fluid:!0,search:!0,selection:!0,value:this.state.qpcode,options:c,allowAdditions:!0,onChange:function(e,r){t.setState({qpcode:r.value}),t.setState({formSubmit:!1})}})),d.a.createElement(m.a.Field,{width:4},d.a.createElement(y.a,{style:{position:"relative",top:"23px"},content:"Submit",color:"blue",onClick:function(){return t.getTdvsCountData()}})))),this.state.formSubmit&&d.a.createElement("div",{style:{height:"55vh",overflowY:"auto"}},d.a.createElement("table",{style:{width:"100%"}},d.a.createElement("thead",{style:{backgroundColor:"tan",border:"1px solid grey",height:"40px",position:"sticky",top:0,zIndex:2,textAlign:"center"}},d.a.createElement("tr",null,d.a.createElement("th",{style:u},"Sl. No."),d.a.createElement("th",{style:u},"Board"),d.a.createElement("th",{style:u},"QP Code"),d.a.createElement("th",{style:u},"Subject Name"),d.a.createElement("th",{style:u},"Total Script"),d.a.createElement("th",{style:u},"Completed"),d.a.createElement("th",{style:u},"Pending"),d.a.createElement("th",{style:u},"Action"),d.a.createElement("th",{style:u},"Release"))),d.a.createElement("tbody",null,this.props.count.length>0?this.props.count.map(function(e,r){return d.a.createElement("tr",{style:{height:"40px",textAlign:"center"},key:r},d.a.createElement("td",{style:u},r+1),d.a.createElement("td",{style:u},e.fboard),d.a.createElement("td",{style:u},e.fqpcode),d.a.createElement("td",{style:{border:"1px solid grey",textAlign:"initial",paddingLeft:"10px"}},e.fsubname),d.a.createElement("td",{style:u},e.total),d.a.createElement("td",{style:u},e.Completed),d.a.createElement("td",{style:u},e.Pending),d.a.createElement("td",{style:u},e.total!==e.Completed?d.a.createElement(p.a,{to:{pathname:"/".concat(i,"/").concat(e.fboard,"/").concat(e.fqpcode,"/").concat(t.state.entry,"/").concat(t.state.det,"/")}},d.a.createElement(y.a,{color:"green",size:"mini"},"Start")):"Completed"),d.a.createElement("td",{style:u},e.total!==e.Completed?d.a.createElement(y.a,{color:"blue",size:"mini",onClick:function(r){return t.releaseData(e.fboard,e.fqpcode)}},"Release"):"Completed"))}):d.a.createElement("tr",{style:{height:"40px",textAlign:"center"}},d.a.createElement("td",{colSpan:8},"No data found")))))))))}}]),e}(l.Component);e.default=Object(f.b)(function(t){return{boardDet:t.tdvsBoard,qpcodeDet:t.qpDet,count:t.decodeCount}},{getTDVSBoardDetails:g.d,getTdvsQPDetails:g.h,getTdvsCountData:g.g,showError:b.A,releaseData:g.i})(O)},272:function(t,e,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),s=r(349),l=r(613),d=r(611),p=r(269);function f(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,i=t.fitted,h=t.hidden,y=t.horizontal,v=t.inverted,m=t.section,E=t.vertical,g=c()("ui",Object(s.a)(n,"clearing"),Object(s.a)(i,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(y,"horizontal"),Object(s.a)(v,"inverted"),Object(s.a)(m,"section"),Object(s.a)(E,"vertical"),"divider",r),b=Object(l.a)(f,t),w=Object(d.a)(f,t);return u.a.createElement(w,a()({},b,{className:g}),p.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 l}),r.d(e,"f",function(){return d}),r.d(e,"j",function(){return p}),r.d(e,"n",function(){return f}),r.d(e,"c",function(){return h}),r.d(e,"m",function(){return y}),r.d(e,"b",function(){return v}),r.d(e,"l",function(){return m}),r.d(e,"a",function(){return E}),r.d(e,"k",function(){return g}),r.d(e,"g",function(){return b}),r.d(e,"i",function(){return w});var n=r(68),a=r(271),o=r(267),c=r(286);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof E?e:E,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:L(t,r,i)}),c}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 f="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function E(){}function g(){}function b(){}var w={};l(w,c,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(C([])));_&&_!==r&&n.call(_,c)&&(w=_);var x=b.prototype=E.prototype=Object.create(w);function D(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(a,o,c,i){var u=p(t[a],t,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(l).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,i)})}i(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 L(e,r,n){var a=f;return function(o,c){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,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=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var s=p(e,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=p(a,e.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[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}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 T(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 C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=b,a(x,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},D(S.prototype),l(S.prototype,u,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new S(d(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},D(x),l(x,s,"Generator"),l(x,c,function(){return this}),l(x,"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=C,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(T),!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 i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!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(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 c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},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),m},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),T(r),m}},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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("app.php?a=getTDVSBoardDetails&univcode="+c.univ.funivcode+"&deggrp="+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?(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 e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,c){var u,s,l,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="+t+"&deggrp="+e);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?(d={header:"Error",content:s.data.data.msg},n(Object(o.A)(d))):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)}}()},l=function(t,e,r,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var d,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=l(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getTDVSQpPdfDet&univcode="+d.univ.funivcode+"&board="+t+"&qpcode="+e+"&userid="+u+"&enter="+r);case 4:p=n.sent,s({type:"UNSET_LOADER"}),0===p.data.error_code?s({type:"TDVS_PDF_DETAILS",payload:p.data}):-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},s({type:"TDVS_PDF_DETAILS",payload:p.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(t,e){return s.apply(this,arguments)}}()},d=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("app.php?a=getTDVSStudentDeatils&univcode="+c.univ.funivcode+"&regno="+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?(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 e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e,r,c,u,s,l,d,p,f){return function(){var h=Object(n.a)(i().mark(function n(h,y){var v,m,E,g;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return v=y(),h({type:"SET_LOADER"}),n.next=4,a.a.post("app.php?a=saveTDVSDecoding&univcode="+v.univ.funivcode+"&regcode="+t+"&ansbook="+e+"&qpcode="+r+"&regno="+c+"&user="+u+"&rejected="+s+"&remarks="+l+"&enter="+d+"&fstudid="+p+"&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(t,e){return h.apply(this,arguments)}}()},f=function(t,e,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var d,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=l(),s({type:"SET_LOADER"}),p="",n.next=5,a.a.post("app.php?a=viewTdvsBoard&univcode="+d.univ.funivcode+"&board="+t+"&qpcodefrm="+e+"&qpcodeto="+r+"&status="+c+"&report="+u);case 5:p=n.sent,s({type:"UNSET_LOADER"}),-1===p.data.error_code&&(f={header:"Error",content:p.data.data.msg},s(Object(o.A)(f))),0===p.data.error_code&&({header:"Success",content:p.data.data.msg},s({type:"VIEW_TDVS_REPORT_DETAILS",payload:p.data}));case 9:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},h=function(t,e,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var d,p,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=l(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPVerificationDet&univcode="+d.univ.funivcode+"&deggrp="+t+"&board="+e+"&qpcode="+r+"&type="+c+"&limit="+u);case 4:p=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},s(Object(o.A)(f))):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},s(Object(o.A)(h)),s({type:"CLEAR_REGCODE_VERIFICATION",payload:p.data})):0===p.data.error_code&&s({type:"REGCODE_VERIFICATION",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},y=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("app.php?a=verifyRegcode&univcode="+c.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&&(l={header:"Success",content:u.data.data.msg},r(Object(o.A)(l)));case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},v=function(t,e,r,c){return function(){var u=Object(n.a)(i().mark(function n(u,s){var l,d,p;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="+t+"&typ="+e+"&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(t,e){return u.apply(this,arguments)}}()},m=function(t,e,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,d,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=saveVerifyDecode&univcode="+s.univ.funivcode+"&mob="+s.user.fmobileno,{data:{qpcode:t,userid:r,table:e}});case 4:l=n.sent,c({type:"UNSET_LOADER"}),-1===l.data.error_code&&(d={header:"Error",content:l.data.data.msg},c(Object(o.A)(d))),0===l.data.error_code&&(p={header:"Success",content:l.data.data.msg},c(Object(o.A)(p)));case 8:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()},E=function(t,e,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,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=getDecodeDiff&univcode="+s.univ.funivcode+"&board="+t+"&qpcode="+e+"&type="+r);case 4:if(l=n.sent,c({type:"UNSET_LOADER"}),-1!==l.data.error_code){n.next=13;break}return d={header:"Error",content:l.data.data.msg},c({type:"CLEAR_DECODE_DIFF",payload:l.data}),c(Object(o.A)(d)),n.abrupt("return");case 13:c({type:"GET_DECODE_DIFF",payload:l.data});case 14:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()},g=function(t,e,r,c,u,s,l,d){return function(){var p=Object(n.a)(i().mark(function n(p,f){var h,y,v;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+"&regcode="+t+"&qpcode="+e+"&reg1="+r+"&ans1="+c+"&reg2="+u+"&ans2="+s+"&user="+l+"&type="+d);case 4:if(y=n.sent,p({type:"UNSET_LOADER"}),-1!==y.data.error_code){n.next=13;break}return v={header:"Error",content:y.data.data.msg},p({type:"CLEAR_SAVE_DECODE_DIFF",payload:y.data}),p(Object(o.A)(v)),n.abrupt("return");case 13:p({type:"SAVE_DECODE_DIFF",payload:y.data});case 14:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()},b=function(t,e,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="+t+"&status="+e+"&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(t,e){return c.apply(this,arguments)}}()},w=function(t,e,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,d,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=releaseDecodeData&univcode="+s.univ.funivcode+"&entry="+r+"&board="+t+"&qpcode="+e);case 4:if(l=n.sent,c({type:"UNSET_LOADER"}),0!==l.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(t,e){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=178.c62152bb.chunk.js.map