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.144.6.9


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/229.910d7bc2.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[229],{1225:function(e,t,r){"use strict";r.r(t);var n=r(0),a=r(1),o=r(68),c=r(100),l=r(101),i=r(103),u=r(102),s=r(104),f=r(2),d=r.n(f),p=r(941),h=r(1377),g=r(1343),m=r(1433),y=r(1335),v=r(1337),E=r(1338),w=r(272),b=r(105),x=r(267),C=r(274),S=r(273),L=r(409);function A(){A=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",l=o.asyncIterator||"@@asyncIterator",i=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),l=new D(n||[]);return a(c,"_invoke",{value:O(e,r,l)}),c}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",p="suspendedYield",h="executing",g="completed",m={};function y(){}function v(){}function E(){}var w={};u(w,c,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(T([])));x&&x!==r&&n.call(x,c)&&(w=x);var C=E.prototype=y.prototype=Object.create(w);function S(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,c,l){var i=f(e[a],e,o);if("throw"!==i.type){var u=i.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,l)},function(e){r("throw",e,c,l)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,l)})}l(i.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 O(t,r,n){var a=d;return function(o,c){if(a===h)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var l=n.delegate;if(l){var i=k(l,n);if(i){if(i===m)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?g:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.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=f(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 _(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(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 v.prototype=E,a(C,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:v,configurable:!0}),v.displayName=u(E,i,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,i,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},S(L.prototype),u(L.prototype,l,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new L(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},S(C),u(C,i,"Generator"),u(C,c,function(){return this}),u(C,"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=T,D.prototype={constructor:D,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(j),!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 l.type="throw",l.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],l=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(i&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)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),j(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;j(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}var O=function(e){function t(){var e,r;Object(c.a)(this,t);for(var l=arguments.length,s=new Array(l),f=0;f<l;f++)s[f]=arguments[f];return(r=Object(i.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(s)))).state={college:"",examno:"",degfrom:"0",degto:"ZZZZZ",table:!1,activeIndex:0,issuetoclg:""},r.changeTabIndex=function(e,t){var n=t.activeIndex;r.setState({activeIndex:n})},r.handleChangedegfrom=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({subfrom:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleCancel=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({examno:"",degfrom:"0",degto:"ZZZZ",college:"",table:!1,issuetoclg:""});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeexamno=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({examno:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeCollege=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({college:n.value,examno:"",degfrom:"0",degto:"ZZZZ",issuetoclg:""});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangedegfrom=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({degfrom:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangedegto=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({degto:n.value.toUpperCase()});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.changeCell=function(e,t,o){var c={};if("checkbox"==e.type){var l=e.checked?"T":"F";c=Object(a.a)({},t,Object(n.a)({},e.name,l)),r.props.changeDispClg(c,o)}},r.selectallsentclg=function(e){r.props.selectallchkbxsentclg(e.target.checked)},r.handleSubmit=Object(o.a)(A().mark(function e(){var t,n,a,o,c,l,i;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,n=t.college,a=t.examno,o=t.degfrom,c=t.degto,l=t.table,""!=r.state.college){e.next=5;break}return i={header:"Error",content:"Select College"},r.props.showError(i),e.abrupt("return");case 5:return e.next=7,r.props.getDispatchmksdataclg(n,a,o,c,l);case 7:r.setState({table:!0});case 8:case"end":return e.stop()}},e)})),r.changecenter=function(e,t,o){var c;c=Object(a.a)({},t,Object(n.a)({},e.name,e.value)),r.props.changecenterpractical(c,o)},r.handleChangeissueto=function(){var e=Object(o.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({issuetoclg:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleSave=Object(o.a)(A().mark(function e(){var t,n,a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(1==r.state.table){e.next=4;break}return t={header:"Error",content:"No changes to save "},r.props.showError(t),e.abrupt("return");case 4:if(""!=r.state.issuetoclg){e.next=8;break}return n={header:"Error",content:"Enter Issue to "},r.props.showError(n),e.abrupt("return");case 8:return a=r.props.dispatchMarkscardTable,e.next=11,r.props.updatemarkscarddispclg(a,r.state.examno,r.state.college,r.state.degfrom,r.state.degto,r.state.issuetoclg);case 11:r.props.getDispDetailsclg(),r.handleCancel(),r.setState({activeIndex:1});case 14:case"end":return e.stop()}},e)})),r.handleReport=function(e){var t=e.fdispno,n=r.props.user,a=n.fdeggrp,o=n.fcuruniv,c=r.state,l=c.college,i=c.examno,u=c.degfrom,s=c.degto;c.table;window.open(C.c+"DispMarksReportClg&college="+l+"&univcode="+o+"&deggrp="+a+"&examno="+i+"&degfrom="+u+"&degto="+s+"&dispno="+t+"&format=PDF","_blank")},r.handleReportDetailed=function(e){var t=e.fdispno,n=r.props.user,a=n.fdeggrp,o=n.fcuruniv,c=r.state,l=c.examno,i=c.degfrom,u=c.degto,s=c.clgfrom,f=c.clgto;c.table;window.open(C.c+"DispMarksReportDetailedCLG&clgfrom="+s+"&clgto="+f+"&univcode="+o+"&deggrp="+a+"&examno="+l+"&degfrom="+i+"&degto="+u+"&dispno="+t+"&format=PDF","_blank")},r.renderHeader=function(){return d.a.createElement(h.a.Header,{style:{display:"flex"}},d.a.createElement("h3",null,"Dispatch Marks Card To College"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(g.a,{basic:!0,color:"green",icon:"save",content:"Save",onClick:r.handleSave}),d.a.createElement(g.a,{basic:!0,color:"black",icon:"ban",content:"Cancel",onClick:r.handleCancel}),d.a.createElement(p.a,{to:"/dashboard"},d.a.createElement(g.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(s.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.props.getDispCollegelist(),this.props.getDispDetailsclg()}},{key:"render",value:function(){var e=this,t=this.state,r=t.college,n=t.examno,a=t.degfrom,o=t.degto,c=(t.reporttype,t.Examno,t.degree,t.clgfrom,t.table),l=t.issuetoclg,i=Object(S.i)(),u=[{menuItem:"Dispatch Marks card",render:function(){return d.a.createElement(m.a.Pane,null,d.a.createElement("div",{className:"col-md-8"},d.a.createElement(y.a,null,d.a.createElement("div",null,d.a.createElement(y.a.Group,null,d.a.createElement(y.a.Field,{width:12},d.a.createElement("label",null,"College"),d.a.createElement(v.a,{placeholder:"College range",name:"college",value:r,selection:!0,search:!0,options:s,onChange:e.handleChangeCollege}))),d.a.createElement(y.a.Group,null,d.a.createElement(y.a.Field,{width:6},d.a.createElement("label",null,"Degree"),d.a.createElement(y.a.Input,{type:"text",value:a,maxLength:8,placeholder:"Degree ",name:"degfrom",onChange:e.handleChangedegfrom})),d.a.createElement(y.a.Field,{width:6},d.a.createElement(y.a.Input,{type:"text",value:o,maxLength:8,placeholder:"Degree ",name:"degto",style:{marginTop:"1.6em"},onChange:e.handleChangedegto}))),d.a.createElement(y.a.Group,null,d.a.createElement(y.a.Field,{width:6},d.a.createElement("label",null,"Exam No. range"),d.a.createElement(y.a.Input,{type:"text",value:n,maxLength:8,placeholder:"Exam No.",name:"examno",onChange:e.handleChangeexamno})))),d.a.createElement(g.a,{color:"blue",onClick:e.handleSubmit},"Submit"),d.a.createElement("br",null))),1==c?d.a.createElement("div",{className:"animated fadeIn"},d.a.createElement("div",{className:"ui mini form"},d.a.createElement(y.a.Field,{width:4,style:{float:"right",fontSize:"1.2em"}},d.a.createElement("label",null,"Issue to:-"),d.a.createElement(y.a.Input,{type:"text",value:l,maxLength:40,placeholder:"Issue To",name:"issuetoclg",onChange:e.handleChangeissueto})),d.a.createElement(E.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},d.a.createElement(E.a.Header,{style:{fontSize:"1.2em"}},d.a.createElement(E.a.Row,null,d.a.createElement(E.a.HeaderCell,{style:{width:"3%"},singleLine:!0,textAlign:"center"},d.a.createElement("label",null,"Sl. No.")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Degree")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Exam No.")),d.a.createElement(E.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},d.a.createElement("label",null,"St. MC. No.")),d.a.createElement(E.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},d.a.createElement("label",null,"Ending MC Number")),d.a.createElement(E.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},d.a.createElement("label",null,"Number of Markscard")),d.a.createElement(E.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},d.a.createElement("label",null,"Select"),d.a.createElement("div",{className:"checkbox"},d.a.createElement("input",{type:"checkbox",name:"allfreeze",onChange:function(t){return e.selectallsentclg(t)},disabled:!1}),d.a.createElement("label",null," "))))),d.a.createElement(E.a.Body,null,e.props.dispatchMarkscardTable.map(function(t,r){return d.a.createElement(E.a.Row,{key:r},d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},r+1),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdegree),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fexamno),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.first),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.end),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.count),d.a.createElement(E.a.Cell,{style:{padding:"0px 0px"},textAlign:"center"},e.props.dispatchMarkscardTable.length==r+1?d.a.createElement(y.a.Checkbox,{value:t.fcollsent,name:"fcollsent",checked:"T"==t.fcollsent,onChange:function(n,a){return e.changeCell(a,t,r)},onKeyDown:function(t){t.preventDefault(),9===t.keyCode&&e.add()}}):d.a.createElement(y.a.Checkbox,{value:t.fcollsent,name:"fcollsent",checked:"T"==t.fcollsent,onChange:function(n,a){return e.changeCell(a,t,r)}})))}))))):null)}},{menuItem:"Dispatch Details",render:function(){return d.a.createElement(m.a.Pane,null,d.a.createElement(E.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},d.a.createElement(E.a.Header,{style:{fontSize:"1.2em"}},d.a.createElement(E.a.Row,null,d.a.createElement(E.a.HeaderCell,{style:{width:"3%"},singleLine:!0,textAlign:"center"},d.a.createElement("label",null,"Sl. No.")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Dispatch Number")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Dispatch Date")),d.a.createElement(E.a.HeaderCell,{style:{width:"25%"},textAlign:"center"},d.a.createElement("label",null,"Dispatch user")),d.a.createElement(E.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},d.a.createElement("label",null,"Issuse To")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Dispatch Count")),d.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},d.a.createElement("label",null,"Download")))),d.a.createElement(E.a.Body,null,e.props.dispatchdetailsclg.map(function(t,r){return d.a.createElement(E.a.Row,{key:r},d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},r+1),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdispno),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fdispdate),d.a.createElement(E.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fdispuser),d.a.createElement(E.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fissueto),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fmccount),d.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"0.5em",display:"flex"}},d.a.createElement(g.a,{content:"Summary",basic:!0,style:{display:"flex"},size:"small",color:"green",icon:"print",onClick:function(){return e.handleReport(t)}}),d.a.createElement(g.a,{content:"Detailed",basic:!0,style:{display:"flex"},size:"small",color:"blue",icon:"print",onClick:function(){return e.handleReportDetailed(t)}})))}))))}}],s=this.props.collegelist.map(function(e){return{value:e.fcollcode,text:"".concat(e.fcollcode,"- ").concat(e.fcollname)}});return d.a.createElement("div",{className:"animated fadeIn"},d.a.createElement(h.a,{fluid:!0},d.a.createElement(h.a.Content,null,this.renderHeader(),d.a.createElement(w.a,null),d.a.createElement(h.a.Description,{style:{overflowY:"auto",overflowX:"hidden",height:"".concat(i,"px")}},d.a.createElement(m.a,{menu:{attached:!0,tabular:!0,color:"blue",className:"wrapped"},activeIndex:this.state.activeIndex,panes:u,onTabChange:this.changeTabIndex})))))}}]),t}(f.Component);t.default=Object(b.b)(function(e){return{collegelist:e.dispCollegeList,user:e.user,dispatchMarkscardTable:e.dispatchMarkscardClg,dispatchdetailsclg:e.dispatchDetailsCLG}},{showError:x.A,getDispCollegelist:L.c,getDispatchmksdataclg:L.g,changeDispClg:L.b,updatemarkscarddispclg:L.l,getDispDetailsclg:L.e,selectallchkbxsentclg:L.j})(O)},409:function(e,t,r){"use strict";r.d(t,"f",function(){return l}),r.d(t,"a",function(){return i}),r.d(t,"k",function(){return u}),r.d(t,"c",function(){return s}),r.d(t,"g",function(){return f}),r.d(t,"b",function(){return d}),r.d(t,"l",function(){return p}),r.d(t,"d",function(){return h}),r.d(t,"i",function(){return g}),r.d(t,"j",function(){return m}),r.d(t,"e",function(){return y}),r.d(t,"h",function(){return v});var n=r(68),a=r(271),o=r(267);function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},l=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 f(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),l=new D(n||[]);return a(c,"_invoke",{value:O(e,r,l)}),c}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",h="suspendedYield",g="executing",m="completed",y={};function v(){}function E(){}function w(){}var b={};s(b,l,function(){return this});var x=Object.getPrototypeOf,C=x&&x(x(T([])));C&&C!==r&&n.call(C,l)&&(b=C);var S=w.prototype=v.prototype=Object.create(b);function L(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(a,o,c,l){var i=d(e[a],e,o);if("throw"!==i.type){var u=i.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,l)},function(e){r("throw",e,c,l)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,l)})}l(i.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 O(t,r,n){var a=p;return function(o,c){if(a===g)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 l=n.delegate;if(l){var i=k(l,n);if(i){if(i===y)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var u=d(t,r,n);if("normal"===u.type){if(a=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.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")),y;var o=d(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 _(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,a(S,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=s(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},L(A.prototype),s(A.prototype,i,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new A(f(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},L(S),s(S,u,"Generator"),s(S,l,function(){return this}),s(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=T,D.prototype={constructor:D,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(j),!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 l.type="throw",l.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],l=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(i&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)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),j(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;j(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var l=function(e,t,r,l,i,u){return function(){var u=Object(n.a)(c().mark(function n(u,s){var f,d,p,h;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f=s(),u({type:"CLEAR_DISPATCH_MARKSCARD"}),n.next=4,a.a.get("app.php?a=getDispatchmksdata&univcode="+f.univ.funivcode+"&fcollcode="+f.user.fcollcode+"&degfrom="+l+"&degto="+i+"&examno="+e+"&clgfrom="+t+"&clgto="+r);case 4:"object"!==typeof(d=n.sent).data?(p={header:"Error",content:"Something went wrong"},u(Object(o.A)(p))):-1===d.data.error_code?(h={header:"Error",content:d.data.data.msg},u(Object(o.A)(h))):u({type:"DISPATCH_MARKSCARD",payload:d.data});case 6:case"end":return n.stop()}},n)}));return function(e,t){return u.apply(this,arguments)}}()},i=function(e,t){return{type:"DISPATCH_MARKSCARD_CHANGE",payload:{el:e,i:t}}},u=function(e,t,r,l,i,u,s,f){return function(){var d=Object(n.a)(c().mark(function n(d,p){var h,g,m,y,v;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=p(),d({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=updatemarkscarddisp&univcode="+h.univ.funivcode,{data:{fdeggrp:h.univ.fdeggrp,univcode:h.univ.funivcode,user:h.user.fname,updmcdisp:e,examno:t,clgfrom:r,clgto:l,degfrom:i,degto:u,degree:s,issueto:f}});case 4:g=n.sent,d({type:"UNSET_LOADER"}),"object"!==typeof g.data?d({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===g.data.error_code?(m={header:"Error",content:g.data.data.msg},d(Object(o.A)(m))):0===g.data.error_code?(y={header:"Success",content:g.data.data.msg},d(Object(o.A)(y))):(v={header:"Error",content:"Something went wrong"},d(Object(o.A)(v)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return d.apply(this,arguments)}}()},s=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,l,i,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),e.next=3,a.a.get("app.php?a=getDispCollegelist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 3:"object"!==typeof(l=e.sent).data?(i={header:"Error",content:"Something went wrong"},t(Object(o.A)(i))):-1===l.data.error_code?(u={header:"Error",content:l.data.data.msg},t(Object(o.A)(u))):t({type:"DISP_COLLEGE_LIST",payload:l.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(e,t,r,l,i){return function(){var i=Object(n.a)(c().mark(function n(i,u){var s,f,d,p;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),i({type:"CLEAR_DISPATCH_MARKSCARD_CLG"}),n.next=4,a.a.get("app.php?a=getDispatchmksdataclg&univcode="+s.univ.funivcode+"&fcollcode="+s.user.fcollcode+"&degfrom="+r+"&degto="+l+"&examno="+t+"&college="+e);case 4:"object"!==typeof(f=n.sent).data?(d={header:"Error",content:"Something went wrong"},i(Object(o.A)(d))):-1===f.data.error_code?(p={header:"Error",content:f.data.data.msg},i(Object(o.A)(p))):i({type:"DISPATCH_MARKSCARD_CLG",payload:f.data});case 6:case"end":return n.stop()}},n)}));return function(e,t){return i.apply(this,arguments)}}()},d=function(e,t){return{type:"DISPATCH_MARKSCARD_CLG_CHANGE",payload:{el:e,i:t}}},p=function(e,t,r,l,i,u){return function(){var s=Object(n.a)(c().mark(function n(s,f){var d,p,h,g,m;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=f(),s({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=updatemarkscarddispclg&univcode="+d.univ.funivcode,{data:{fdeggrp:d.univ.fdeggrp,univcode:d.univ.funivcode,user:d.user.fname,updmcdispclg:e,examno:t,college:r,degfrom:l,degto:i,issueto:u}});case 4:p=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof p.data?s({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===p.data.error_code?(h={header:"Error",content:p.data.data.msg},s(Object(o.A)(h))):0===p.data.error_code?(g={header:"Success",content:p.data.data.msg},s(Object(o.A)(g))):(m={header:"Error",content:"Something went wrong"},s(Object(o.A)(m)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return s.apply(this,arguments)}}()},h=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,l,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),e.next=3,a.a.get("app.php?a=getDispDetails&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode);case 3:"object"!==typeof(l=e.sent).data?(i={header:"Error",content:"Something went wrong"},t(Object(o.A)(i))):-1===l.data.error_code||t({type:"DISPATCH_DETAILS",payload:l.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},g=function(e){return{type:"DISP_EXAMSECTION_SELECT_ALL_CHECKBOX",payload:e}},m=function(e){return{type:"DISP_COLL_SELECT_ALL_CHECKBOX",payload:e}},y=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,l,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),e.next=3,a.a.get("app.php?a=getDispDetailsclg&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode);case 3:"object"!==typeof(l=e.sent).data?(i={header:"Error",content:"Something went wrong"},t(Object(o.A)(i))):-1===l.data.error_code||t({type:"DISPATCH_DETAILS_CLG",payload:l.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},v=function(e,t,r,l,i,u,s){return function(){var i=Object(n.a)(c().mark(function n(i,f){var d,p,h,g;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return d=f(),i({type:"CLEAR_DISPATCH_MARKSCARD_CLG"}),n.next=4,a.a.get("app.php?a=getDispatchmksdatasearch&univcode="+d.univ.funivcode+"&fcollcode="+d.user.fcollcode+"&degfrom="+r+"&degto="+l+"&regfrom="+u+"&regto="+s+"&examno="+t+"&college="+e);case 4:"object"!==typeof(p=n.sent).data?(h={header:"Error",content:"Something went wrong"},i(Object(o.A)(h))):-1===p.data.error_code?(g={header:"Error",content:p.data.data.msg},i(Object(o.A)(g))):i({type:"DISPATCH_MARKSCARD_CLG",payload:p.data});case 6:case"end":return n.stop()}},n)}));return function(e,t){return i.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=229.910d7bc2.chunk.js.map