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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/33.8796158a.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{1251:function(t,e,r){"use strict";r.r(e);var n=r(3),o=r(0),a=r(68),i=r(100),c=r(101),u=r(103),s=r(102),l=r(104),f=r(2),h=r.n(f),p=r(1377),d=r(1343),v=r(272),g=r(1335),y=r(1337),m=r(273),w=r(105),E=r(328),b=r(407),O=r(274),L=r(267),k=r(941),x=r(398);r(275),r(287);function S(){S=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.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 a=e&&e.prototype instanceof y?e:y,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:j(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",g={};function y(){}function m(){}function w(){}var E={};s(E,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(T([])));O&&O!==r&&n.call(O,i)&&(E=O);var L=w.prototype=y.prototype=Object.create(E);function k(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function r(o,a,i,c){var u=f(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=h;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===v){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=w,o(L,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},k(x.prototype),s(x.prototype,c,function(){return this}),e.AsyncIterator=x,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new x(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},k(L),s(L,u,"Generator"),s(L,i,function(){return this}),s(L,"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=T,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var j=function(t){function e(){var t,r;Object(i.a)(this,e);for(var n=arguments.length,c=new Array(n),l=0;l<n;l++)c[l]=arguments[l];return(r=Object(u.a)(this,(t=Object(s.a)(e)).call.apply(t,[this].concat(c)))).state={degree:"All",type:"QpA",coll:"All",fdatefrom:"",fdateto:""},r.componentDidMount=Object(a.a)(S().mark(function t(){return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.loaddegreegroup();case 2:case"end":return t.stop()}},t)})),r.degreeChange=function(t,e){r.setState({degree:e.value}),r.props.getCollAbsentReport(e.value),r.setState({type:"",coll:"",fdatefrom:"",fdateto:""})},r.typeChange=function(t,e){r.setState({type:e.value})},r.handleChangedate=function(t){r.setState(Object(o.a)({},t.target.name,t.target.value))},r.coll_opts=function(t,e){r.setState({coll:e.value})},r.handleCancel=Object(a.a)(S().mark(function t(){return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({degree:"",type:"",coll:"",fdatefrom:"",fdateto:""});case 1:case"end":return t.stop()}},t)})),r.generateMpQpReport=Object(a.a)(S().mark(function t(){var e,n;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!=r.state.degree){t.next=6;break}return e={header:"Error",content:"Select Degree Group Please"},r.props.showError(e),t.abrupt("return");case 6:if(""!=r.state.type){t.next=12;break}return n={header:"Error",content:"Select Type Please"},r.props.showError(n),t.abrupt("return");case 12:window.open(O.c+"generateQpAMpAreport&degree="+r.state.degree+"&type="+r.state.type+"&univcode="+r.props.user.fcuruniv+"&frmdate="+r.state.fdatefrom+"&todate="+r.state.fdateto+"&fcollcode="+r.state.coll);case 13:case"end":return t.stop()}},t)})),r}return Object(l.a)(e,t),Object(c.a)(e,[{key:"render",value:function(){var t=this,e=Object(m.i)(),r=[{value:"All",text:"All"}],o=this.props.DegreeDetails.map(function(t,e){return{key:e,value:t.fdeggrp,text:"".concat(t.fdeggrp," - ").concat(t.fdescpn)}}),a=[].concat(r,Object(n.a)(o)),i=this.props.college.map(function(t,e){return{key:e,value:t.fcollege,text:"".concat(t.fcollege," - ").concat(t.fcollname)}}),c=[].concat(r,Object(n.a)(i));return h.a.createElement("div",null,h.a.createElement(p.a,{fluid:!0},h.a.createElement(p.a.Content,null,h.a.createElement(p.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"Absent / Malpractice Report"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),h.a.createElement(k.a,{to:"/dashboard"},h.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(v.a,null),h.a.createElement(p.a.Description,{style:{height:"".concat(e,"px"),overflowY:"auto"}},h.a.createElement("div",{className:"col-md-8 col-lg-8 col-sm-12"},h.a.createElement(g.a,null,h.a.createElement(g.a.Group,null,h.a.createElement(g.a.Field,{width:10},h.a.createElement("label",null,"Degree Group"),h.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,options:a,value:this.state.degree,name:"fdegree",allowAdditions:!0,placeholder:"Degree",onChange:this.degreeChange}))),h.a.createElement(g.a.Group,null,h.a.createElement(g.a.Field,{width:10},h.a.createElement("label",null,"College"),h.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,options:c,value:this.state.coll,name:"college",allowAdditions:!0,placeholder:"College",onChange:this.coll_opts}))),h.a.createElement(g.a.Group,null,h.a.createElement(g.a.Field,{width:5},h.a.createElement("label",null," Date Range "),h.a.createElement("input",{type:"date",onChange:function(e){t.setState({fdatefrom:e.target.value})},mask:"ed/nm/zyyy",clearIcon:!1,className:"date",name:"fdatefrom",value:this.state.fdatefrom})),h.a.createElement(g.a.Field,{width:5},h.a.createElement("input",{type:"date",onChange:function(e){t.setState({fdateto:e.target.value})},mask:"ed/nm/zyyy",clearIcon:!1,className:"date",name:"fdateto",value:this.state.fdateto,style:{marginTop:"1.6em"}}))),h.a.createElement(g.a.Group,null,h.a.createElement(g.a.Field,{width:10},h.a.createElement("label",null,"Report Type"),h.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,options:[{key:1,value:"QpA",text:"Absent"},{key:2,value:"QpM",text:"Malpractice"}],value:this.state.type,allowAdditions:!0,placeholder:"Type",onChange:this.typeChange}))))),h.a.createElement(d.a,{positive:!0,content:"Generate Report",onClick:this.generateMpQpReport,style:{marginLeft:"1em"}})))))}}]),e}(h.a.Component);e.default=Object(w.b)(function(t){return{DegreeDetails:t.deggrpexamcentre,user:t.user,college:t.getabsReport}},{generateDegreeDetails:E.a,showError:L.A,getCollAbsentReport:x.b,loaddegreegroup:b.d})(j)},275:function(t,e,r){t.exports=r(276)},276:function(t,e,r){"use strict";var n,o=(n=r(2))&&"object"==typeof n&&"default"in n?n.default:n,a=r(106);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){t.prototype=Object.create(e.prototype),function(t,e){for(var r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var o=r[n],a=Object.getOwnPropertyDescriptor(e,o);a&&a.configurable&&void 0===t[o]&&Object.defineProperty(t,o,a)}}(t.prototype.constructor=t,e)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var s=function(t,e,r,n,o,a,i,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,o,a,i,c],l=0;(u=new Error(e.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function l(t,e,r){if("selectionStart"in t&&"selectionEnd"in t)t.selectionStart=e,t.selectionEnd=r;else{var n=t.createTextRange();n.collapse(!0),n.moveStart("character",e),n.moveEnd("character",r-e),n.select()}}var f={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},h="_";function p(t,e,r){var n="",o="",a=null,i=[];if(void 0===e&&(e=h),null==r&&(r=f),!t||"string"!=typeof t)return{maskChar:e,formatChars:r,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var c=!1;return t.split("").forEach(function(t){c=!c&&"\\"===t||(c||!r[t]?(i.push(n.length),n.length===i.length-1&&(o+=t)):a=n.length+1,n+=t,!1)}),{maskChar:e,formatChars:r,prefix:o,mask:n,lastEditablePosition:a,permanents:i}}function d(t,e){return-1!==t.permanents.indexOf(e)}function v(t,e,r){var n=t.mask,o=t.formatChars;if(!r)return!1;if(d(t,e))return n[e]===r;var a=o[n[e]];return new RegExp(a).test(r)}function g(t,e){return e.split("").every(function(e,r){return d(t,r)||!v(t,r,e)})}function y(t,e){var r=t.maskChar,n=t.prefix;if(!r){for(;e.length>n.length&&d(t,e.length-1);)e=e.slice(0,e.length-1);return e.length}for(var o=n.length,a=e.length;a>=n.length;a--){var i=e[a];if(!d(t,a)&&v(t,a,i)){o=a+1;break}}return o}function m(t,e){return y(t,e)===t.mask.length}function w(t,e){var r=t.maskChar,n=t.mask,o=t.prefix;if(!r){for((e=E(t,"",e,0)).length<o.length&&(e=o);e.length<n.length&&d(t,e.length);)e+=n[e.length];return e}if(e)return E(t,w(t,""),e,0);for(var a=0;a<n.length;a++)d(t,a)?e+=n[a]:e+=r;return e}function E(t,e,r,n){var o=t.mask,a=t.maskChar,i=t.prefix,c=r.split(""),u=m(t,e);return!a&&n>e.length&&(e+=o.slice(e.length,n)),c.every(function(r){for(;l=r,d(t,s=n)&&l!==o[s];){if(n>=e.length&&(e+=o[n]),c=r,a&&d(t,n)&&c===a)return!0;if(++n>=o.length)return!1}var c,s,l;return!v(t,n,r)&&r!==a||(n<e.length?e=a||u||n<i.length?e.slice(0,n)+r+e.slice(n+1):(e=e.slice(0,n)+r+e.slice(n),w(t,e)):a||(e+=r),++n<o.length)}),e}function b(t,e){for(var r=t.mask,n=e;n<r.length;++n)if(!d(t,n))return n;return null}function O(t){return t||0===t?t+"":""}function L(t,e,r,n,o){var a=t.mask,i=t.prefix,c=t.lastEditablePosition,u=e,s="",l=0,f=0,h=Math.min(o.start,r.start);return r.end>o.start?f=(l=function(t,e,r,n){var o=t.mask,a=t.maskChar,i=r.split(""),c=n;return i.every(function(e){for(;i=e,d(t,r=n)&&i!==o[r];)if(++n>=o.length)return!1;var r,i;return(v(t,n,e)||e===a)&&n++,n<o.length}),n-c}(t,0,s=u.slice(o.start,r.end),h))?o.length:0:u.length<n.length&&(f=n.length-u.length),u=n,f&&(1!==f||o.length||(h=o.start===r.start?b(t,r.start):function(t,e){for(var r=e;0<=r;--r)if(!d(t,r))return r;return null}(t,r.start)),u=function(t,e,r,n){var o=r+n,a=t.maskChar,i=t.mask,c=t.prefix,u=e.split("");if(a)return u.map(function(e,n){return n<r||o<=n?e:d(t,n)?i[n]:a}).join("");for(var s=o;s<u.length;s++)d(t,s)&&(u[s]="");return r=Math.max(c.length,r),u.splice(r,o-r),e=u.join(""),w(t,e)}(t,u,h,f)),u=E(t,u,s,h),(h+=l)>=a.length?h=a.length:h<i.length&&!l?h=i.length:h>=i.length&&h<c&&l&&(h=b(t,h)),s||(s=null),{value:u=w(t,u),enteredString:s,selection:{start:h,end:h}}}function k(t){return"function"==typeof t}function x(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function S(t){return(x()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(t,1e3/60)})(t)}function j(t){(x()||clearTimeout)(t)}var _=function(t){function e(e){var r=t.call(this,e)||this;r.focused=!1,r.mounted=!1,r.previousSelection=null,r.selectionDeferId=null,r.saveSelectionLoopDeferId=null,r.saveSelectionLoop=function(){r.previousSelection=r.getSelection(),r.saveSelectionLoopDeferId=S(r.saveSelectionLoop)},r.runSaveSelectionLoop=function(){null===r.saveSelectionLoopDeferId&&r.saveSelectionLoop()},r.stopSaveSelectionLoop=function(){null!==r.saveSelectionLoopDeferId&&(j(r.saveSelectionLoopDeferId),r.saveSelectionLoopDeferId=null,r.previousSelection=null)},r.getInputDOMNode=function(){if(!r.mounted)return null;var t=a.findDOMNode(u(u(r))),e="undefined"!=typeof window&&t instanceof window.Element;if(t&&!e)return null;if("INPUT"!==t.nodeName&&(t=t.querySelector("input")),!t)throw new Error("react-input-mask: inputComponent doesn't contain input node");return t},r.getInputValue=function(){var t=r.getInputDOMNode();return t?t.value:null},r.setInputValue=function(t){var e=r.getInputDOMNode();e&&(r.value=t,e.value=t)},r.setCursorToEnd=function(){var t=y(r.maskOptions,r.value),e=b(r.maskOptions,t);null!==e&&r.setCursorPosition(e)},r.setSelection=function(t,e,n){void 0===n&&(n={});var o=r.getInputDOMNode(),a=r.isFocused();o&&a&&(n.deferred||l(o,t,e),null!==r.selectionDeferId&&j(r.selectionDeferId),r.selectionDeferId=S(function(){r.selectionDeferId=null,l(o,t,e)}),r.previousSelection={start:t,end:e,length:Math.abs(e-t)})},r.getSelection=function(){return function(t){var e=0,r=0;if("selectionStart"in t&&"selectionEnd"in t)e=t.selectionStart,r=t.selectionEnd;else{var n=document.selection.createRange();n.parentElement()===t&&(e=-n.moveStart("character",-t.value.length),r=-n.moveEnd("character",-t.value.length))}return{start:e,end:r,length:r-e}}(r.getInputDOMNode())},r.getCursorPosition=function(){return r.getSelection().start},r.setCursorPosition=function(t){r.setSelection(t,t)},r.isFocused=function(){return r.focused},r.getBeforeMaskedValueChangeConfig=function(){var t=r.maskOptions,e=t.mask,n=t.maskChar,o=t.permanents,a=t.formatChars;return{mask:e,maskChar:n,permanents:o,alwaysShowMask:!!r.props.alwaysShowMask,formatChars:a}},r.isInputAutofilled=function(t,e,n,o){var a=r.getInputDOMNode();try{if(a.matches(":-webkit-autofill"))return!0}catch(s){}return!r.focused||o.end<n.length&&e.end===t.length},r.onChange=function(t){var e=u(u(r)).beforePasteState,n=u(u(r)).previousSelection,o=r.props.beforeMaskedValueChange,a=r.getInputValue(),i=r.value,c=r.getSelection();r.isInputAutofilled(a,c,i,n)&&(i=w(r.maskOptions,""),n={start:0,end:0,length:0}),e&&(n=e.selection,i=e.value,c={start:n.start+a.length,end:n.start+a.length,length:0},a=i.slice(0,n.start)+a+i.slice(n.end),r.beforePasteState=null);var s=L(r.maskOptions,a,c,i,n),l=s.enteredString,f=s.selection,h=s.value;if(k(o)){var p=o({value:h,selection:f},{value:i,selection:n},l,r.getBeforeMaskedValueChangeConfig());h=p.value,f=p.selection}r.setInputValue(h),k(r.props.onChange)&&r.props.onChange(t),r.isWindowsPhoneBrowser?r.setSelection(f.start,f.end,{deferred:!0}):r.setSelection(f.start,f.end)},r.onFocus=function(t){var e=r.props.beforeMaskedValueChange,n=r.maskOptions,o=n.mask,a=n.prefix;if(r.focused=!0,r.mounted=!0,o){if(r.value)y(r.maskOptions,r.value)<r.maskOptions.mask.length&&r.setCursorToEnd();else{var i=w(r.maskOptions,a),c=w(r.maskOptions,i),u=y(r.maskOptions,c),s=b(r.maskOptions,u),l={start:s,end:s};if(k(e)){var f=e({value:c,selection:l},{value:r.value,selection:null},null,r.getBeforeMaskedValueChangeConfig());c=f.value,l=f.selection}var h=c!==r.getInputValue();h&&r.setInputValue(c),h&&k(r.props.onChange)&&r.props.onChange(t),r.setSelection(l.start,l.end)}r.runSaveSelectionLoop()}k(r.props.onFocus)&&r.props.onFocus(t)},r.onBlur=function(t){var e=r.props.beforeMaskedValueChange,n=r.maskOptions.mask;if(r.stopSaveSelectionLoop(),r.focused=!1,n&&!r.props.alwaysShowMask&&g(r.maskOptions,r.value)){var o="";k(e)&&(o=e({value:o,selection:null},{value:r.value,selection:r.previousSelection},null,r.getBeforeMaskedValueChangeConfig()).value);var a=o!==r.getInputValue();a&&r.setInputValue(o),a&&k(r.props.onChange)&&r.props.onChange(t)}k(r.props.onBlur)&&r.props.onBlur(t)},r.onMouseDown=function(t){if(!r.focused&&document.addEventListener){r.mouseDownX=t.clientX,r.mouseDownY=t.clientY,r.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function t(e){if(document.removeEventListener("mouseup",t),r.focused){var n=Math.abs(e.clientX-r.mouseDownX),o=Math.abs(e.clientY-r.mouseDownY),a=Math.max(n,o),i=(new Date).getTime()-r.mouseDownTime;(a<=10&&i<=200||a<=5&&i<=300)&&r.setCursorToEnd()}})}k(r.props.onMouseDown)&&r.props.onMouseDown(t)},r.onPaste=function(t){k(r.props.onPaste)&&r.props.onPaste(t),t.defaultPrevented||(r.beforePasteState={value:r.getInputValue(),selection:r.getSelection()},r.setInputValue(""))},r.handleRef=function(t){null==r.props.children&&k(r.props.inputRef)&&r.props.inputRef(t)};var n=e.mask,o=e.maskChar,i=e.formatChars,c=e.alwaysShowMask,s=e.beforeMaskedValueChange,f=e.defaultValue,h=e.value;r.maskOptions=p(n,o,i),null==f&&(f=""),null==h&&(h=f);var d=O(h);if(r.maskOptions.mask&&(c||d)&&(d=w(r.maskOptions,d),k(s))){var v=e.value;null==e.value&&(v=f),d=s({value:d,selection:null},{value:v=O(v),selection:null},null,r.getBeforeMaskedValueChangeConfig()).value}return r.value=d,r}c(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var t=new RegExp("windows","i"),e=new RegExp("phone","i"),r=navigator.userAgent;return t.test(r)&&e.test(r)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},r.componentDidUpdate=function(){var t=this.previousSelection,e=this.props,r=e.beforeMaskedValueChange,n=e.alwaysShowMask,o=e.mask,a=e.maskChar,i=e.formatChars,c=this.maskOptions,u=n||this.isFocused(),s=null!=this.props.value,l=s?O(this.props.value):this.value,f=t?t.start:null;if(this.maskOptions=p(o,a,i),this.maskOptions.mask){!c.mask&&this.isFocused()&&this.runSaveSelectionLoop();var h=this.maskOptions.mask&&this.maskOptions.mask!==c.mask;if(c.mask||s||(l=this.getInputValue()),(h||this.maskOptions.mask&&(l||u))&&(l=w(this.maskOptions,l)),h){var d=y(this.maskOptions,l);(null===f||d<f)&&(f=m(this.maskOptions,l)?d:b(this.maskOptions,d))}!this.maskOptions.mask||!g(this.maskOptions,l)||u||s&&this.props.value||(l="");var v={start:f,end:f};if(k(r)){var E=r({value:l,selection:v},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());l=E.value,v=E.selection}this.value=l;var L=this.getInputValue()!==this.value;L?(this.setInputValue(this.value),this.forceUpdate()):h&&this.forceUpdate();var x=!1;null!=v.start&&null!=v.end&&(x=!t||t.start!==v.start||t.end!==v.end),(x||L)&&this.setSelection(v.start,v.end)}else c.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},r.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&j(this.selectionDeferId),this.stopSaveSelectionLoop()},r.render=function(){var t,e=this.props,r=(e.mask,e.alwaysShowMask,e.maskChar,e.formatChars,e.inputRef,e.beforeMaskedValueChange,e.children),n=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],0<=e.indexOf(r)||(o[r]=t[r]);return o}(e,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(r){k(r)||s(!1);var a=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],c=i({},n);a.forEach(function(t){return delete c[t]}),t=r(c),a.filter(function(e){return null!=t.props[e]&&t.props[e]!==n[e]}).length&&s(!1)}else t=o.createElement("input",i({ref:this.handleRef},n));var u={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(n.disabled||n.readOnly||(u.onChange=this.onChange,u.onPaste=this.onPaste,u.onMouseDown=this.onMouseDown),null!=n.value&&(u.value=this.value)),t=o.cloneElement(t,u)},e}(o.Component);t.exports=_},302:function(t,e,r){},328:function(t,e,r){"use strict";r.d(e,"a",function(){return c});var n=r(68),o=r(271),a=r(267);r(302);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.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 f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:j(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",g="completed",y={};function m(){}function w(){}function E(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,L=O&&O(O(T([])));L&&L!==r&&n.call(L,c)&&(b=L);var k=E.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(o,a,i,c){var u=h(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=p;return function(a,i){if(o===v)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function T(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=E,o(k,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},x(S.prototype),l(S.prototype,u,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new S(f(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(k),l(k,s,"Generator"),l(k,c,function(){return this}),l(k,"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=T,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var c=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),u="","500"!=c.user.fcurtype&&"501"!=c.user.fcurtype||""!=c.user.fcollcode&&(u=c.user.fcollcode),e.next=6,o.a.get("/app.php",{params:{a:"generateDegreeDetails",univcode:c.user.fcuruniv,deggrp:t,college:u}});case 6:s=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},r(Object(a.A)(l))):-1===s.data.error_code?(f={header:"Error",content:s.data.data.msg},r(Object(a.A)(f))):r({type:"GENERATE_DEGREE_DETAILS",payload:s.data});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},398:function(t,e,r){"use strict";r.d(e,"e",function(){return c}),r.d(e,"c",function(){return u}),r.d(e,"d",function(){return s}),r.d(e,"a",function(){return l}),r.d(e,"b",function(){return f});var n=r(68),o=r(271),a=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.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 f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:j(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",g="completed",y={};function m(){}function w(){}function E(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,L=O&&O(O(T([])));L&&L!==r&&n.call(L,c)&&(b=L);var k=E.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(o,a,i,c){var u=h(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=p;return function(a,i){if(o===v)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function T(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=E,o(k,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},x(S.prototype),l(S.prototype,u,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new S(f(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(k),l(k,s,"Generator"),l(k,c,function(){return this}),l(k,"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=T,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var c=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),c="",c=n.user.fcollcode?n.user.fcollcode:"",t.next=6,o.a.get("/app.php",{params:{a:"loaddegreegroupclgrpt",univcode:n.univ.funivcode,fcurcollcode:c}});case 6:u=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},e(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},e(Object(a.A)(l))):e({type:"DEGGRP_COLLEGE_REPORT",payload:u.data});case 9:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l,f;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),console.log(c.user),u="","500"!=c.user.fcurtype&&"501"!=c.user.fcurtype||""!==c.user.fcollcode&&(u=c.user.fcollcode),e.next=7,o.a.get("/app.php",{params:{a:"getCollegeReports",deggrp:t,univcode:c.user.fcuruniv,college:u}});case 7:s=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},r(Object(a.A)(l))):-1===s.data.error_code?(f={header:"Error",content:s.data.data.msg},r(Object(a.A)(f))):r({type:"COLLEGE_REPORT",payload:s.data});case 10:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=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,o.a.get("/app.php",{params:{a:"getDegreeReports",college:t.college,deggrp:t.deggrp,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"DEGREE_REPORT",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t,e,r,c,u){return function(){var s=Object(n.a)(i().mark(function n(s,l){var f,h,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f=l(),s({type:"SET_LOADER"}),n.next=4,o.a.get("/app.php",{params:{a:"getclgrptActivelistCollege",val:t,format:u,deggrp:c,degree:r,college:e,univcode:f.univ.funivcode}});case 4:h=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof h.data?(p={header:"Error",content:"Something went wrong"},s(Object(a.A)(p))):-1===h.data.error_code?(d={header:"Error",content:h.data.data.msg},s(Object(a.A)(d))):s({type:"SUBMIT_COLLEGE_REPORT",payload:h.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},f=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,o.a.get("/app.php",{params:{a:"getCollAbsentReport",deggrp:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"COLL_ABS_REPORT",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},407:function(t,e,r){"use strict";r.d(e,"d",function(){return c}),r.d(e,"e",function(){return u}),r.d(e,"c",function(){return s}),r.d(e,"b",function(){return l}),r.d(e,"a",function(){return f});var n=r(68),o=r(271),a=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.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 f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new D(n||[]);return o(i,"_invoke",{value:j(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",v="executing",g="completed",y={};function m(){}function w(){}function E(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,L=O&&O(O(T([])));L&&L!==r&&n.call(L,c)&&(b=L);var k=E.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(o,a,i,c){var u=h(t[o],t,a);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,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=p;return function(a,i){if(o===v)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function T(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 o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=E,o(k,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},x(S.prototype),l(S.prototype,u,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new S(f(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(k),l(k,s,"Generator"),l(k,c,function(){return this}),l(k,"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=T,D.prototype={constructor:D,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(A),!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 o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var c=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",t.next=5,o.a.get("/app.php",{params:{a:"loaddeggrpexamcentre",univcode:n.user.fcuruniv,fcollcode:c}});case 5:u=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},e(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},e(Object(a.A)(l))):e({type:"LOAD_DEGGRP_EXAMCENTRE",payload:u.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},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,o.a.get("/app.php",{params:{a:"loaddegres",univcode:c.user.fcuruniv,deggrp:t}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_DEGREE_RES",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=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,o.a.get("/app.php",{params:{a:"loadcollres",univcode:c.user.fcuruniv,deg:t}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_COLLEGE_RES",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,o.a.get("app.php?a=getstatsdeglist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 3:"object"!==typeof(c=t.sent).data?(u={header:"Error",content:"Something went wrong"},e(Object(a.A)(u))):-1===c.data.error_code?(s={header:"Error",content:c.data.data.msg},e(Object(a.A)(s))):e({type:"RESULT_STATS_DEGREE_LIST",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,o.a.get("app.php?a=getstatsclglist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 3:"object"!==typeof(c=t.sent).data?(u={header:"Error",content:"Something went wrong"},e(Object(a.A)(u))):-1===c.data.error_code?(s={header:"Error",content:c.data.data.msg},e(Object(a.A)(s))):e({type:"RESULT_STATS_COLLEGE_LIST",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=33.8796158a.chunk.js.map