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



Your IP : 18.119.138.124


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/168.7a5d0adb.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[168,307],{1186:function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(68),o=n(100),c=n(101),i=n(103),l=n(102),u=n(104),h=n(2),s=n.n(h),f=n(1377),p=n(1343),d=n(272),g=n(1335),m=n(1337),v=n(1154),y=n(105),b=n(267),E=n(368),w=n(941),L=n(273);function C(){C=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new _(r||[]);return a(c,"_invoke",{value:k(e,n,i)}),c}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var f="suspendedStart",p="suspendedYield",d="executing",g="completed",m={};function v(){}function y(){}function b(){}var E={};u(E,c,function(){return this});var w=Object.getPrototypeOf,L=w&&w(w(N([])));L&&L!==n&&r.call(L,c)&&(E=L);var O=b.prototype=v.prototype=Object.create(E);function x(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function n(a,o,c,i){var l=s(e[a],e,o);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then(function(e){n("next",e,c,i)},function(e){n("throw",e,c,i)}):t.resolve(h).then(function(e){u.value=e,c(u)},function(e){return n("throw",e,c,i)})}i(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function k(t,n,r){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(r.method=o,r.arg=c;;){var i=r.delegate;if(i){var l=j(i,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===f)throw a=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=d;var u=s(t,n,r);if("normal"===u.type){if(a=r.done?g:p,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=g,r.method="throw",r.arg=u.arg)}}}function j(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=s(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var c=o.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function F(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(A.prototype),u(A.prototype,i,function(){return this}),t.AsyncIterator=A,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var c=new A(h(e,n,r,a),o);return t.isGeneratorFunction(n)?c:c.next().then(function(e){return e.done?e.value:c.next()})},x(O),u(O,l,"Generator"),u(O,c,function(){return this}),u(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,_.prototype={constructor:_,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(S),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return i.type="throw",i.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),u=r.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){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 n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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 n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}var O=[],x=function(e){function t(){var e,n;Object(o.a)(this,t);for(var r=arguments.length,c=new Array(r),u=0;u<r;u++)c[u]=arguments[u];return(n=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={checkbox:"",checkbox1:"",getallclg:!0,colcode:"",flag:!1,shodrop1:!1,shodrop:!1,error:!1,errorMessage:"",frmsubmit:!1,fdeggrp:""},n.setDeggrp=function(e){n.setState({fdeggrp:e})},n.handleSave=Object(a.a)(C().mark(function e(){return C().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.props.SaveCollegeForm(n.props.Collegeformdata);case 2:n.handleCancel();case 3:case"end":return e.stop()}},e)})),n.handleCancel=function(){n.setState({flag:!1,colcode:""}),n.props.CancelForm()},n.handleChangeSelectClg=function(){var e=Object(a.a)(C().mark(function e(t,r){var o;return C().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.name,o=r.value,e.next=3,n.props.Collegeform("FCOLLCODE",o);case 3:return n.setState({colcode:o}),n.props.collegeList.map(function(){var e=Object(a.a)(C().mark(function e(t){return C().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o===t.fcollcode;case 2:if(!e.sent){e.next=11;break}return e.t1=s.a,e.t2=s.a.Fragment,e.next=7,n.props.GetSpecificCollege(o);case 7:e.t3=e.sent,e.t0=e.t1.createElement.call(e.t1,e.t2,null," ",e.t3),e.next=12;break;case 11:e.t0=null;case 12:return e.abrupt("return",e.t0);case 13:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),e.next=7,n.setState({flag:!0});case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChange=function(){var e=Object(a.a)(C().mark(function e(t,r){var a,o,c;return C().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.name,o=r.value,""!=n.props.Collegeformdata.FCOLLNAME&&""!=n.props.Collegeformdata.FTOWN&&""!=n.props.Collegeformdata.FCOLLCODE&&n.setState({flag:!0}),"ffaculty"===a){e.next=5;break}return e.next=5,n.props.Collegeform(a,o,typeof o);case 5:if("ffaculty"!=a){e.next=13;break}if("object"!=typeof o||"ffaculty"!=a){e.next=13;break}return n.props.SpecificCollegeDetails.ffaculty?n.props.SpecificCollegeDetails.ffaculty:"",c="",o.map(function(e,t){return t<o.length&&""!=e?c="".concat(e,"*").concat(c):null}),e.next=13,n.props.Collegeform(a,c);case 13:if(e.t0="NA"==o,!e.t0){e.next=17;break}return e.next=17,n.setState({checkbox:"NA"});case 17:if(e.t1="A"==o,!e.t1){e.next=21;break}return e.next=21,n.setState({checkbox:"A"});case 21:if(e.t2="AUTO"==o,!e.t2){e.next=25;break}return e.next=25,n.setState({checkbox1:"AUTO"});case 25:if(e.t3="AFF"==o,!e.t3){e.next=29;break}return e.next=29,n.setState({checkbox1:"AFF"});case 29:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.add=Object(a.a)(C().mark(function e(){return C().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.setState({getallclg:!1});case 2:case"end":return e.stop()}},e)})),n.renderHeader=function(){return s.a.createElement(f.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"College Form"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(p.a,{disabled:!n.state.flag,basic:!0,color:"green",content:"Save",onClick:n.handleSave,icon:"save"}),s.a.createElement(p.a,{basic:!0,onClick:n.handleCancel,color:"black",icon:"ban",content:"Cancel"}),s.a.createElement(w.a,{to:"/dashboard"},s.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},n}return Object(u.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.props.getCollegeList()}},{key:"render",value:function(){var e=this.props.deggrp;O=e.map(function(e,t){return{key:t,value:e.fdeggrp,text:e.fdeggrp}});var t=this.props.Collegeformdata,n=t.FADMSTATUS,a=this.props.collegeList.map(function(e){return{value:e.fcollcode,text:"".concat(e.fcollcode," ").concat(e.fcollname)}});if(null!=t.ffaculty)var o=t.ffaculty.split("*");o=void 0==o?[]:o;var c=Object(L.i)();return s.a.createElement("div",{className:"animated fadeIn"},s.a.createElement(f.a,{fluid:!0},s.a.createElement(f.a.Content,null,this.renderHeader(),s.a.createElement(d.a,null),s.a.createElement(f.a.Description,{style:{height:"".concat(c,"px"),overflowY:"auto"}},s.a.createElement("div",{className:"col-md-8"},s.a.createElement(g.a,null,s.a.createElement(g.a.Group,null,s.a.createElement(g.a.Field,{width:16},s.a.createElement("label",null,"College List"),s.a.createElement(m.a,Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({size:"mini",fluid:!0,openOnFocus:!1,selectOnBlur:!1,searchInput:{autoFocus:!0},placeholder:"Select college ",name:"collegeOptionsList",allowAdditions:!0,onAddItem:this.add},"openOnFocus",!1),"selectOnBlur",!1),"value",this.state.colcode),"selection",!0),"search",!0),"options",a),"onChange",this.handleChangeSelectClg)))),(this.state.flag||this.state.shodrop1)&&s.a.createElement(s.a.Fragment,null,s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{width:3,placeholder:"College Code",value:t.FCOLLCODE?t.FCOLLCODE:this.state.colcode,label:"College Code",name:"FCOLLCODE",readOnly:""!=this.props.Collegeformdata.FCOLLCODE||""!=this.state.colcode,onChange:this.handleChange}),s.a.createElement(g.a.Input,{width:10,id:"FCOLLNAME",name:"FCOLLNAME",label:"College Name",value:t.FCOLLNAME,placeholder:"College Name",onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Consituency",width:4,label:"Consituency",name:"FTOWN",value:t.FTOWN,onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Address Line1",width:8,label:"Address Line1",name:"FCOLLADD1",value:t.FCOLLADD1,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Land Line number",value:t.FPHONE,width:8,label:"Land Line number",name:"FPHONE",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Enter Address Line2",width:8,label:"Address Line2",name:"FCOLLADD2",value:t.FCOLLADD2,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Mobile Number",value:t.fmobile,width:8,label:"Mobile",name:"fmobile",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Address Line3",width:8,label:"Address Line3",name:"FCOLLADD3",value:t.FCOLLADD3,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Alternate Mobile",value:t.faltmobile,width:8,label:"Alternate Mobile",name:"faltmobile",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Address Line4",width:8,label:"Address Line4",name:"FCOLLADD4",value:t.FCOLLADD4,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Email",value:t.FEMAILC,width:8,label:"Email",name:"FEMAILC",onChange:this.handleChange})),s.a.createElement(g.a.Group,null,s.a.createElement(g.a.Field,{width:8,inline:!0},s.a.createElement("label",null,"Admission Status "),s.a.createElement(g.a.Field,{width:8,control:v.a,name:"FADMSTATUS",label:"A",value:"A",checked:"A"==(""!=this.state.checkbox?this.state.checkbox:n),onChange:this.handleChange}),s.a.createElement(g.a.Field,{width:8,control:v.a,name:"FADMSTATUS",label:"NA",value:"NA",checked:"NA"==(""!=this.state.checkbox?this.state.checkbox:n),onChange:this.handleChange})),s.a.createElement(g.a.Field,{width:8,inline:!0},s.a.createElement("label",null,"College Type "),s.a.createElement(g.a.Field,{width:8,control:v.a,name:"FCOLLTYPE",label:"AFFILIATED",value:"AFF",checked:"AFF"==(""!=this.state.checkbox1?this.state.checkbox1:t.FCOLLTYPE),onChange:this.handleChange}),s.a.createElement(g.a.Field,{width:8,control:v.a,name:"FCOLLTYPE",label:"AUTONOMOUS",value:"AUTO",checked:"AUTO"==(""!=this.state.checkbox1?this.state.checkbox1:t.FCOLLTYPE),onChange:this.handleChange}))),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Field,{width:8},s.a.createElement("label",null,"Select Degree Group"),o.length>0&&s.a.createElement(m.a,{label:"sss",name:"ffaculty",fluid:!0,search:!0,selection:!0,onChange:this.handleChange,placeholder:"Select Degree",options:O,value:o,multiple:!0,disabled:this.props.disabled}),o.length<=0&&s.a.createElement(m.a,{label:"sss",name:"ffaculty",fluid:!0,search:!0,selection:!0,onChange:this.handleChange,placeholder:"Select Degree",options:O,value:o,multiple:!0,disabled:this.props.disabled})),s.a.createElement(g.a.Input,{placeholder:"Principle Name",value:t.FPRINCIPALNAME,width:8,label:"Principal Name",name:"FPRINCIPALNAME",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Branch Account number",width:8,label:"Branch Account number",name:"fbankaccno",value:t.fbankaccno,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Branch Code",value:t.fbranchcode,width:8,label:"Branch Code",name:"fbranchcode",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Bank Name",width:8,label:"Bank Name",name:"fbank",value:t.fbank,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"IFSC CODE",value:t.fifsccode,width:8,label:"IFSC CODE",name:"fifsccode",onChange:this.handleChange})),s.a.createElement(g.a.Group,{width:16},s.a.createElement(g.a.Input,{placeholder:"Branch Name",width:8,label:"Branch Name",name:"fbankbranch",value:t.fbankbranch,onChange:this.handleChange}),s.a.createElement(g.a.Input,{placeholder:"Bank Location",value:t.fbankplace,width:8,label:"Bank Location",name:"fbankplace",onChange:this.handleChange}))))),s.a.createElement(d.a,null)))))}}]),t}(h.Component);t.default=Object(y.b)(function(e){return{saveDeggrp:e.saveDeggrp,univcode:e.user.fcuruniv,collegeList:e.collegeList,deggrp:e.deggrp,Collegeformdata:e.CollegeForm,SpecificCollegeDetails:e.GetSpecificCollege}},{showError:b.A,getCollegeList:E.e,SaveCollegeForm:E.d,Collegeform:E.b,CancelForm:E.a,GetSpecificCollege:E.c})(x)},272:function(e,t,n){"use strict";var r=n(270),a=n.n(r),o=n(268),c=n.n(o),i=n(2),l=n.n(i),u=n(349),h=n(613),s=n(611),f=n(269);function p(e){var t=e.children,n=e.className,r=e.clearing,o=e.content,i=e.fitted,d=e.hidden,g=e.horizontal,m=e.inverted,v=e.section,y=e.vertical,b=c()("ui",Object(u.a)(r,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(g,"horizontal"),Object(u.a)(m,"inverted"),Object(u.a)(v,"section"),Object(u.a)(y,"vertical"),"divider",n),E=Object(h.a)(p,e),w=Object(s.a)(p,e);return l.a.createElement(w,a()({},E,{className:b}),f.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},368:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return l}),n.d(t,"e",function(){return u}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return s}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return p}),n.d(t,"h",function(){return d});var r=n(68),a=n(271),o=n(267);function c(){c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),i=new _(r||[]);return a(c,"_invoke",{value:k(e,n,i)}),c}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var p="suspendedStart",d="suspendedYield",g="executing",m="completed",v={};function y(){}function b(){}function E(){}var w={};h(w,i,function(){return this});var L=Object.getPrototypeOf,C=L&&L(L(N([])));C&&C!==n&&r.call(C,i)&&(w=C);var O=E.prototype=y.prototype=Object.create(w);function x(e){["next","throw","return"].forEach(function(t){h(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function n(a,o,c,i){var l=f(e[a],e,o);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then(function(e){n("next",e,c,i)},function(e){n("throw",e,c,i)}):t.resolve(h).then(function(e){u.value=e,c(u)},function(e){return n("throw",e,c,i)})}i(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function k(t,n,r){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(r.method=o,r.arg=c;;){var i=r.delegate;if(i){var l=j(i,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=g;var u=f(t,n,r);if("normal"===u.type){if(a=r.done?m:d,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=m,r.method="throw",r.arg=u.arg)}}}function j(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var c=o.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function F(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=h(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,h(e,u,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(A.prototype),h(A.prototype,l,function(){return this}),t.AsyncIterator=A,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var c=new A(s(e,n,r,a),o);return t.isGeneratorFunction(n)?c:c.next().then(function(e){return e.done?e.value:c.next()})},x(O),h(O,u,"Generator"),h(O,i,function(){return this}),h(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=N,_.prototype={constructor:_,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(S),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return i.type="throw",i.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var l=r.call(c,"catchLoc"),u=r.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){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 n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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,v):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),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}var i=function(e,t){return{type:"COLLEGE_FORM",payload:{name:e,value:t}}},l=function(){return{type:"CANCEL_FORM",payload:1}},u=function(){return function(){var e=Object(r.a)(c().mark(function e(t,n){var r,i,l,u,h;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),t({type:"SET_LOADER"}),i="","500"!=r.user.fcurtype&&"501"!=r.user.fcurtype||""!=r.user.fcollcode&&(i=r.user.fcollcode),e.next=6,a.a.get("app.php?a=GetAllCollegeList&univcode="+r.univ.funivcode+"&college="+i);case 6:l=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},t(Object(o.A)(u))):-1===l.data.error_code?(h={header:"Error",content:l.data.data.msg},t(Object(o.A)(h))):t({type:"ALL_COLLEGE_LIST",payload:l.data});case 9:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(r.a)(c().mark(function t(n,r){var i,l,u,h;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=r(),n({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=GetSpecificCollege&collcode="+e+"&univcode="+i.univ.funivcode);case 4:l=t.sent,n({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u))):-1===l.data.error_code?(h={header:"Error",content:l.data.data.msg},n(Object(o.A)(h))):n({type:"GET_SPECIFIC_COLLEGE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(r.a)(c().mark(function t(n,r){var i,l,u,h,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n({type:"SET_LOADER"}),i=r(),t.next=4,a.a.post("/app.php?a=InsertOrUpdateCollegeDetails&univcode="+i.univ.funivcode,{data:e});case 4:l=t.sent,n({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u))):-1===l.data.error_code?(h={header:"Error",content:l.data.data.msg},n(Object(o.A)(h))):(s={header:"Success",content:l.data.msg},n(Object(o.A)(s)));case 7:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(r.a)(c().mark(function t(n,r){var i,l,u,h;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n({type:"SET_LOADER"}),i=r(),t.next=4,a.a.get("/app.php?a=getDeggrpOnCol&univcode="+i.univ.funivcode+"&collcode="+e);case 4:if(l=t.sent,n({type:"UNSET_LOADER"}),"object"===typeof l.data){t.next=11;break}u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u)),t.next=20;break;case 11:if(-1!==l.data.error_code){t.next=18;break}return h={header:"Error",content:l.data.data.msg},n(Object(o.A)(h)),n({type:"CLEAR_GET_COLLEGE_DEGGRP",payload:l.data}),t.abrupt("return");case 18:({header:"Success",content:l.data.msg}),n({type:"GET_COLLEGE_DEGGRP",payload:l.data});case 20:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},p=function(e,t){return function(){var n=Object(r.a)(c().mark(function n(r,i){var l,u,h,s;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r({type:"SET_LOADER"}),l=i(),n.next=4,a.a.get("/app.php?a=getDegreeOnCol&univcode="+l.univ.funivcode+"&collcode="+e+"&deggrp="+t);case 4:if(u=n.sent,r({type:"UNSET_LOADER"}),"object"===typeof u.data){n.next=11;break}h={header:"Error",content:"Something went wrong"},r(Object(o.A)(h)),n.next=19;break;case 11:if(-1!==u.data.error_code){n.next=18;break}return s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s)),r({type:"CLEAR_GET_COLLEGE_DEGREE",payload:u.data}),n.abrupt("return");case 18:r({type:"GET_COLLEGE_DEGREE",payload:u.data});case 19:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(r.a)(c().mark(function t(n,r){var i,l,u,h;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n({type:"SET_LOADER"}),i=r(),t.next=4,a.a.get("/app.php?a=getIaShortUpdData&univcode="+i.univ.funivcode+"&collcode="+e.college+"&deggrp="+e.deggrp+"&degree="+e.degree+"&sem="+e.sem+"&type="+e.type);case 4:if(l=t.sent,n({type:"UNSET_LOADER"}),"object"===typeof l.data){t.next=11;break}u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u)),t.next=19;break;case 11:if(-1!==l.data.error_code){t.next=18;break}return h={header:"Error",content:l.data.data.msg},n(Object(o.A)(h)),n({type:"CLEAR_GET_ATTENDANCE_IA_SHORTAGE",payload:l.data}),t.abrupt("return");case 18:n({type:"GET_ATTENDANCE_IA_SHORTAGE",payload:l.data});case 19:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=168.7a5d0adb.chunk.js.map