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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/163.4548a9af.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[163,307],{1366:function(e,t,a){"use strict";a.r(t);var n=a(68),r=a(100),l=a(101),o=a(103),i=a(102),c=a(104),u=a(2),h=a.n(u),d=a(1377),s=a(1343),p=a(272),f=a(1335),m=a(941),g=a(273),v=a(271),E=a(267);function y(){y=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},l="function"==typeof Symbol?Symbol:{},o=l.iterator||"@@iterator",i=l.asyncIterator||"@@asyncIterator",c=l.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function h(e,t,a,n){var l=t&&t.prototype instanceof v?t:v,o=Object.create(l.prototype),i=new S(n||[]);return r(o,"_invoke",{value:N(e,a,i)}),o}function d(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var s="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function v(){}function E(){}function b(){}var C={};u(C,o,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(_([])));k&&k!==a&&n.call(k,o)&&(C=k);var O=b.prototype=v.prototype=Object.create(C);function x(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function F(e,t){function a(r,l,o,i){var c=d(e[r],e,l);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?t.resolve(h.__await).then(function(e){a("next",e,o,i)},function(e){a("throw",e,o,i)}):t.resolve(h).then(function(e){u.value=e,o(u)},function(e){return a("throw",e,o,i)})}i(c.arg)}var l;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){a(e,n,t,r)})}return l=l?l.then(r,r):r()}})}function N(t,a,n){var r=s;return function(l,o){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===l)throw o;return{value:e,done:!0}}for(n.method=l,n.arg=o;;){var i=n.delegate;if(i){var c=A(i,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,a,n);if("normal"===u.type){if(r=n.done?m:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=m,n.method="throw",n.arg=u.arg)}}}function A(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,A(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var l=d(r,t.iterator,a.arg);if("throw"===l.type)return a.method="throw",a.arg=l.arg,a.delegate=null,g;var o=l.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,g)}function j(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function _(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,l=function a(){for(;++r<t.length;)if(n.call(t,r))return a.value=t[r],a.done=!1,a;return a.value=e,a.done=!0,a};return l.next=l}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=b,r(O,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:E,configurable:!0}),E.displayName=u(b,c,"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,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(F.prototype),u(F.prototype,i,function(){return this}),t.AsyncIterator=F,t.async=function(e,a,n,r,l){void 0===l&&(l=Promise);var o=new F(h(e,a,n,r),l);return t.isGeneratorFunction(a)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(O),u(O,c,"Generator"),u(O,o,function(){return this}),u(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,S.prototype={constructor:S,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(L),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=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 a=this;function r(n,r){return i.type="throw",i.arg=t,a.next=n,r&&(a.method="next",a.arg=e),!!r}for(var l=this.tryEntries.length-1;l>=0;--l){var o=this.tryEntries[l],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var l=r;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var o=l?l.completion:{};return o.type=e,o.arg=t,l?(this.method="next",this.next=l.finallyLoc,g):this.complete(o)},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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),L(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;L(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:_(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var b=a(105),C=a(1374),w=a(1156),k=a(1141),O=a(1338),x=a(1154),F=a(335),N=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,l=new Array(n),c=0;c<n;c++)l[c]=arguments[c];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(l)))).state={editDet:{}},a.componentDidMount=function(){a.props.getFacultyDegree(),a.props.getCategory()},a.handleChange=function(e,t){var n=t.name,r=t.value;a.props.changePgetDet(n,r)},a.handleChangeCheck=function(e,t){var n=t.name,r=t.checked?"Yes":"No";a.props.changePgetDet(n,r)},a}return Object(c.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){Object(g.i)();for(var e=this.props.degrees.map(function(e,t){return{key:t,value:e.int_code,text:"".concat(e.val)}}),t=this.props.category.map(function(e,t){return{key:t,value:e.fcategory,text:"".concat(e.fdescpn)}}),a=[],n=2019;n>2e3;n--)a.push({key:n,value:n.toString(),text:n});var r=[{key:"January",value:"January",text:"January"},{key:"February",value:"February",text:"February"},{key:"March",value:"March",text:"March"},{key:"April",value:"April",text:"April"},{key:"May",value:"May",text:"May"},{key:"June",value:"June",text:"June"},{key:"July",value:"July",text:"July"},{key:"August",value:"August",text:"August"},{key:"September",value:"September",text:"September"},{key:"October",value:"October",text:"October"},{key:"November",value:"November",text:"November"},{key:"December",value:"December",text:"December"}],l=this.props.pgetEditApp;return h.a.createElement("div",{className:"mt-5"},h.a.createElement(p.a,null),h.a.createElement(f.a,null,h.a.createElement(C.a,{as:"h3"},"Remarks"),h.a.createElement(f.a.Field,{width:10},h.a.createElement(f.a.TextArea,{placeholder:"Enter your remarks",id:"fappremarks",name:"fappremarks",value:l.fappremarks,onChange:this.handleChange})),h.a.createElement(C.a,{as:"h3"},"Course for which you are appearing for entrance test"),h.a.createElement(f.a.Group,{width:"equal"},h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree1",value:l.fdegree1,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0})),h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree2",value:l.fdegree2,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0})),h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree3",value:l.fdegree3,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0}))),h.a.createElement(f.a.Group,{width:"equal"},h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree4",value:l.fdegree4,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0})),h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree5",value:l.fdegree5,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0})),h.a.createElement(f.a.Field,{width:5},h.a.createElement(w.a,{name:"fdegree6",value:l.fdegree6,placeholder:"Select your Preferance",options:e,onChange:this.handleChange,disabled:!0}))),h.a.createElement(p.a,null),h.a.createElement(C.a,{as:"h3"},"Personal Details"),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-3"},h.a.createElement(k.a,{src:"http://universitysolutions.in/bcu/adm/".concat(l.fphotopath),size:"small"})),h.a.createElement("div",{className:"col-md-9"},h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Field,{width:8},h.a.createElement(f.a.Input,{id:"fname",name:"fname",label:"Name",placeholder:"Your name",value:l.fname,onChange:this.handleChange}))),h.a.createElement(f.a.Group,{inline:!0},h.a.createElement("label",null,"Gender"),h.a.createElement(f.a.Radio,{label:"Male",value:"M",name:"fgender",checked:"M"==l.fgender,disabled:!0}),h.a.createElement(f.a.Radio,{label:"Female",value:"F",name:"fgender",checked:"F"==l.fgender,disabled:!0}),h.a.createElement(f.a.Radio,{label:"Transgender",value:"T",name:"fgender",checked:"T"==l.fgender,disabled:!0})),h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fdob",name:"fdob",value:l.fdob,label:"Date of Birth",placeholder:"",onChange:this.handleChange})),h.a.createElement(f.a.Field,null,h.a.createElement("label",null,"Category"),h.a.createElement(w.a,{id:"fcategory",name:"fcategory",value:l.fcategory,onChange:this.handleChange,placeholder:"Category",options:t})),h.a.createElement(f.a.Field,null,h.a.createElement("label",null,"Nationalitys"),h.a.createElement(w.a,{name:"fnational",value:l.fnational,placeholder:"Nationality",options:[{key:"Indian",value:"Indian",text:"Indian"},{key:"Foreigner",value:"Foreigner",text:"Foreigner"},{key:"Expatriate",value:"Expatriate",text:"Expatriate"}],onChange:this.handleChange})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{name:"faadharno",value:l.faadharno,onChange:this.handleChange,label:"Aadhar No.",placeholder:"Aadhar Number"})))),h.a.createElement("div",{className:"col-md-12"},h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"ffatname",name:"ffatname",value:l.ffatname,onChange:this.handleChange,label:"Father Name",placeholder:"Father Name"})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"ffatocc",name:"ffatocc",value:l.ffatocc,onChange:this.handleChange,label:"Father Occupation",placeholder:"Father Occ."})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fmotname",name:"fmotname",value:l.fmotname,onChange:this.handleChange,label:"Mother Name",placeholder:"Mother Name"})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fmotocc",name:"fmotocc",value:l.fmotocc,onChange:this.handleChange,label:"Mother Occupation",placeholder:"Mother Occ."}))))),h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fincome",name:"fincome",value:l.fincome,onChange:this.handleChange,label:"Annual Family Income ",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpmregno",name:"fpmregno",value:l.fpmregno,onChange:this.handleChange,label:"Online Scholarship(Post metric) Reg. No.",placeholder:"Register No."})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fmobileno",name:"fmobileno",value:l.fmobileno,onChange:this.handleChange,label:"Contact No.",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"femail",name:"femail",value:l.femail,onChange:this.handleChange,label:"Email ID",placeholder:""}))),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-12"},h.a.createElement("b",null,"Permanent Address"),h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpermadd1",name:"fpermadd1",value:l.fpermadd1,onChange:this.handleChange,label:"Address Line1",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpermadd2",name:"fpermadd2",value:l.fpermadd2,onChange:this.handleChange,label:"Address Line2",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpermadd3",name:"fpermadd3",value:l.fpermadd3,onChange:this.handleChange,label:"Address Line3",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpermdist",name:"fpermdist",value:l.fpermdist,onChange:this.handleChange,label:"District",placeholder:"District"}))))),h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fpermpin",name:"fpermpin",value:l.fpermpin,onChange:this.handleChange,label:"Pincode",placeholder:"PinCode"})),h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fpermstate",name:"fpermstate",value:l.fpermstate,onChange:this.handleChange,label:"State",placeholder:"State"}))),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-12"},h.a.createElement("b",null,"Communication Address"),h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fcurradd1",name:"fcurradd1",value:l.fcurradd1,onChange:this.handleChange,label:"Address Line1",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fcurradd2",name:"fcurradd2",value:l.fcurradd2,onChange:this.handleChange,label:"Address Line2",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fcurradd3",name:"fcurradd3",value:l.fcurradd3,onChange:this.handleChange,label:"Address Line3",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fcurrdist",name:"fcurrdist",value:l.fcurrdist,onChange:this.handleChange,label:"District",placeholder:"District"}))))),h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fcurrpin",name:"fcurrpin",value:l.fcurrpin,onChange:this.handleChange,label:"Pincode",placeholder:"PinCode"})),h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fcurrstate",name:"fcurrstate",value:l.fcurrstate,onChange:this.handleChange,label:"State",placeholder:"State"}))),h.a.createElement(p.a,null),h.a.createElement(C.a,{as:"h3"},"Reservation Details "),h.a.createElement(O.a,{basic:"very"},h.a.createElement(O.a.Body,null,h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,{style:{width:"40%"}},"Do you belong to Below Poverty Line Family (BPL)"," "),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fbpl",checked:"Yes"==l.fbpl,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fbpl",checked:"No"==l.fbpl,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Are you the single Girl child to your parents?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fogirl",checked:"Yes"===l.fogirl,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fogirl",checked:"No"===l.fogirl,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Have you studied 7 years in Karnataka?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fkarstudy",checked:"Yes"==l.fkarstudy,readOnly:!0}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fkarstudy",checked:"No"==l.fkarstudy,disabled:!0})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Are you a Kashmiri migrant?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fkashmir",checked:"Yes"==l.fkashmir,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fkashmir",checked:"No"==l.fkashmir,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Are you a student of Hyderabad-Karnataka?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fhk",checked:"Yes"==l.fhk,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fhk",checked:"No"==l.fhk,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Are you a student of Jammu & Kashmir State?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fjk",checked:"Yes"==l.fjk,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fjk",checked:"No"==l.fjk,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Have you studied in Rural Area upto 10th Std ?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"frural",checked:"Yes"==l.frural,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"frural",checked:"No"==l.frural,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Have you studied in Kannada Medium upto 10th Std ?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fkannada",checked:"Yes"==l.fkannada,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fkannada",checked:"No"==l.fkannada,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Are you a son/daughter of B\u2019luru Central University Employee? (If yes, choose between teaching or non-teaching)"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fbcue",checked:"Yes"==l.fbcue,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fbcue",checked:"No"==l.fbcue,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"Teaching",value:"Teaching",name:"fbcuetype",checked:"Teaching"==l.fbcuetype,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"Non-Teaching",value:"Non-Teaching",name:"fbcuetype",checked:"Non-Teaching"==l.fbcuetype,onChange:this.handleChange})))),h.a.createElement(O.a.Row,null,h.a.createElement(O.a.Cell,null,"Mention whether you claim any of the following quota?"),h.a.createElement(O.a.Cell,null,h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Checkbox,{label:"Sports",value:"Yes",name:"fsports",checked:"Yes"==l.fsports,onChange:this.handleChangeCheck}),h.a.createElement(f.a.Checkbox,{label:"Culture",value:"Yes",name:"fculture",checked:"Yes"==l.fculture,onChange:this.handleChangeCheck}),h.a.createElement(f.a.Checkbox,{label:"NCC",value:"Yes",name:"fncc",checked:"Yes"==l.fncc,onChange:this.handleChangeCheck})),h.a.createElement(f.a.Group,{inline:!0},h.a.createElement(f.a.Checkbox,{label:"NSS",value:"Yes",name:"fnss",checked:"Yes"==l.fnss,onChange:this.handleChangeCheck}),h.a.createElement(f.a.Checkbox,{label:"Defence",value:"Yes",name:"fdefence",checked:"Yes"==l.fdefence,onChange:this.handleChangeCheck}),h.a.createElement(f.a.Checkbox,{label:"Differently Abled/ Blind",value:"Yes",name:"fhandicap",checked:"Yes"==l.fhandicap,onChange:this.handleChangeCheck})))))),h.a.createElement(p.a,null),h.a.createElement(C.a,{as:"h3"},"Details of qualifying examination "),h.a.createElement(f.a.Group,{inline:!0},h.a.createElement("label",null,"Have you studied Mathematics in Pre-University [10+2]?"," "),h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fpumat",checked:"Yes"==l.fpumat,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fpumat",checked:"No"==l.fpumat,onChange:this.handleChange})),h.a.createElement(f.a.Group,{inline:!0},h.a.createElement("label",null,"Have you studied Biology in Pre-University [10+2]?"),h.a.createElement(f.a.Radio,{label:"Yes",value:"Yes",name:"fpubio",checked:"Yes"==l.fpubio,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fpubio",checked:"No"==l.fpubio,onChange:this.handleChange})),h.a.createElement(f.a.Field,{width:6},h.a.createElement(f.a.Input,{id:"fsslcregno",name:"fsslcregno",value:l.fsslcregno,onChange:this.handleChange,label:"SSLC Register No.",placeholder:"Register No."})),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-6"},h.a.createElement(f.a.Group,{grouped:!0},h.a.createElement("label",null,"University Studied "),h.a.createElement(f.a.Field,{label:"Bangalore University",control:x.a,value:"Bangalore University",checked:"Bangalore University"==l.fqutype,onChange:this.handleChange,name:"fqutype"}),h.a.createElement(f.a.Field,{label:"Other University within Karnataka",control:x.a,value:"Other University within Karnataka",checked:"Other University within Karnataka"==l.fqutype,onChange:this.handleChange,name:"fqutype"}),h.a.createElement(f.a.Field,{label:"Other University outside Karnataka",control:x.a,value:" Other University Outside Karnataka ",checked:" Other University Outside Karnataka "==l.fqutype,onChange:this.handleChange,name:"fqutype"}),h.a.createElement(f.a.Field,{label:"Bangalore University, Auotnomous College",control:x.a,value:"Bangalore University Autonomous Colleges",checked:"Bangalore University Autonomous Colleges"==l.fqutype,onChange:this.handleChange,name:"fqutype"}))),h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fquniv",name:"fquniv",value:l.fquniv,onChange:this.handleChange,label:"If other University, mention here",placeholder:""}))),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-12"},h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqdegree",name:"fqdegree",value:l.fqdegree,onChange:this.handleChange,label:"Degree",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqregno",name:"fqregno",value:l.fqregno,onChange:this.handleChange,label:"Register No.",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqclass",name:"fqclass",value:l.fqclass,onChange:this.handleChange,label:"Class/ Division",placeholder:""}))),h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Field,{width:5},h.a.createElement("label",null,"Passing month / year "),h.a.createElement(w.a,{id:"fqmonth",name:"fqmonth",value:l.fqmonth,onChange:this.handleChange,options:r})),h.a.createElement(f.a.Field,{width:5,style:{marginTop:"2%"}},h.a.createElement(w.a,{id:"fqyear",name:"fqyear",value:l.fqyear,onChange:this.handleChange,options:a})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqmaxmarks",name:"fqmaxmarks",value:l.fqmaxmarks,onChange:this.handleChange,label:"Max. Marks",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqsecmarks",name:"fqsecmarks",value:l.fqsecmarks,onChange:this.handleChange,label:"Sec. Marks",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fqpercentage",name:"fqpercentage",value:l.fqpercentage,onChange:this.handleChange,label:"Total",placeholder:"",disabled:!0}))))),h.a.createElement(f.a.Field,null,h.a.createElement("label",null,"Marks in Degree"),h.a.createElement("p",null,"Note : Enter the aggregate marks of all semesters.")),h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Checkbox,{label:"Results Awaited",value:"Yes",name:"fresstat",checked:"Yes"==l.fresstat,onChange:this.handleChange})),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Languages "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang1",name:"flang1",value:l.flang1,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang2",name:"flang2",value:l.flang2,onChange:this.handleChange,placeholder:""}))),h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Maximum Marks "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang1mm",name:"flang1mm",value:l.flang1mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang2mm",name:"flang2mm",value:l.flang2mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"",placeholder:"",disabled:!0}))),h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Secured Marks "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang1ms",name:"flang1ms",value:l.flang1ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"flang2ms",name:"flang2ms",value:l.flang2ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"",placeholder:"",disabled:!0})))),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Optionals "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt1",name:"fopt1",value:l.fopt1,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt2",name:"fopt2",value:l.fopt2,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt3",name:"fopt3",value:l.fopt3,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt4",name:"fopt4",value:l.fopt4,onChange:this.handleChange,placeholder:""}))),h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Maximum Marks "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt1mm",name:"fopt1mm",value:l.fopt1mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt2mm",name:"fopt2mm",value:l.fopt2mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt3mm",name:"fopt3mm",value:l.fopt3mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt4mm",name:"fopt4mm",value:l.fopt4mm,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"",placeholder:"",disabled:!0}))),h.a.createElement("div",{className:"col-md-4"},h.a.createElement("b",null,"Secured Marks "),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt1ms",name:"fopt1ms",value:l.fopt1ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt2ms",name:"fopt2ms",value:l.fopt2ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt3ms",name:"fopt3ms",value:l.fopt3ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fopt4ms",name:"fopt4ms",value:l.fopt4ms,onChange:this.handleChange,placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"",placeholder:"",disabled:!0})))),h.a.createElement(f.a.Group,{inline:!0},h.a.createElement("label",null,"Have you passed any Postgraduate Degree?"),h.a.createElement(f.a.Radio,{label:"Yes",value:"yes",name:"fpgdegree",checked:"yes"==l.fpgdegree,onChange:this.handleChange}),h.a.createElement(f.a.Radio,{label:"No",value:"No",name:"fpgdegree",checked:"No"==l.fpgdegree,onChange:this.handleChange})),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-6"},h.a.createElement(f.a.Group,{grouped:!0},h.a.createElement("label",null,"University Studied "),h.a.createElement(f.a.Field,{label:"Bangalore University",control:x.a,value:"Bangalore University",checked:"Bangalore University"==l.fpgunivtype,onChange:this.handleChange,name:"fpgunivtype"}),h.a.createElement(f.a.Field,{label:"Other University within Karnataka",control:x.a,value:"Other University within Karnataka",checked:"Other University within Karnataka"==l.fpgunivtype,onChange:this.handleChange,name:"fpgunivtype"}),h.a.createElement(f.a.Field,{label:"Other University outside Karnataka",control:x.a,value:" Other University Outside Karnataka ",checked:" Other University Outside Karnataka "==l.fpgunivtype,onChange:this.handleChange,name:"fpgunivtype"}),h.a.createElement(f.a.Field,{label:"Bangalore University, Auotnomous College",control:x.a,value:"Bangalore University Autonomous Colleges",checked:"Bangalore University Autonomous Colleges"==l.fpgunivtype,onChange:this.handleChange,name:"fpgunivtype"}))),h.a.createElement(f.a.Field,{width:4},h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"If other University, mention here",placeholder:""}))),h.a.createElement("div",{className:"row"},h.a.createElement("div",{className:"col-md-12"},h.a.createElement(f.a.Group,{widths:"equal"},h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"Degree",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"Register No.",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"Class/ Division",placeholder:""}))),h.a.createElement(f.a.Group,null,h.a.createElement(f.a.Field,null,h.a.createElement("label",null,"Passing month / year "),h.a.createElement(w.a,{placeholder:"",id:"fpgyear",name:"fpgyear",value:l.fpgyear,onChange:this.handleChange,options:r})),h.a.createElement(f.a.Field,{style:{marginTop:"2%"}},h.a.createElement(w.a,{placeholder:"",id:"fpgmonth",name:"fpgmonth",value:l.fpgmonth,onChange:this.handleChange,options:a})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"Max. Marks",placeholder:""})),h.a.createElement(f.a.Field,null,h.a.createElement(f.a.Input,{id:"fpguniv",name:"fpguniv",value:l.fpguniv,onChange:this.handleChange,label:"Sec. Marks",placeholder:""}))))),h.a.createElement(f.a.Field,{width:6},h.a.createElement(f.a.TextArea,{label:"Other examinations passed?",placeholder:"...",id:"fothexam",name:"fothexam",value:l.fothexam,onChange:this.handleChange})),h.a.createElement(f.a.Field,{width:6},h.a.createElement(f.a.Input,{label:"If you are a Sponsored candidate \u2013 mention Organization\u2019s Name & enclose a copy of the certificate. ",placeholder:"...",id:"fsponsor",name:"fsponsor",value:l.fsponsor,onChange:this.handleChange})),h.a.createElement(f.a.Field,{width:6},h.a.createElement(f.a.TextArea,{label:"Any other information you would like to furnish?",placeholder:"...",id:"fothinfo",name:"fothinfo",value:l.fothinfo,onChange:this.handleChange})),h.a.createElement(f.a.Field,{width:6},h.a.createElement(f.a.Input,{label:"Total Number of enclosures attested by self?",placeholder:"",id:"fdocattest",name:"fdocattest",value:l.fdocattest,onChange:this.handleChange}))))}}]),t}(u.Component),A=Object(b.b)(function(e){return{univcode:e.univ.funivcode,pgetEditApp:e.pgetEditApp,degrees:e.pgetDeg,category:e.category}},{showError:E.A,getCategory:F.f,getFacultyDegree:function(){return function(){var e=Object(n.a)(y().mark(function e(t,a){var n,r,l,o;return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,v.a.get("/app.php",{params:{a:"getFacultyDegree",univcode:n.univ.funivcode}});case 4:r=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof r.data?(l={header:"Error",content:"Something went wrong"},t(Object(E.A)(l))):-1===r.data.error_code?(o={header:"Error",content:r.data.data.msg},t(Object(E.A)(o))):t({type:"GET_PGET_DEG",payload:r.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},changePgetDet:function(e,t){return{type:"CHANGE_PGET_DATA",payload:{name:e,value:t}}}})(N);function j(){j=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},l="function"==typeof Symbol?Symbol:{},o=l.iterator||"@@iterator",i=l.asyncIterator||"@@asyncIterator",c=l.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function h(e,t,a,n){var l=t&&t.prototype instanceof v?t:v,o=Object.create(l.prototype),i=new S(n||[]);return r(o,"_invoke",{value:F(e,a,i)}),o}function d(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var s="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function v(){}function E(){}function y(){}var b={};u(b,o,function(){return this});var C=Object.getPrototypeOf,w=C&&C(C(_([])));w&&w!==a&&n.call(w,o)&&(b=w);var k=y.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function x(e,t){function a(r,l,o,i){var c=d(e[r],e,l);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?t.resolve(h.__await).then(function(e){a("next",e,o,i)},function(e){a("throw",e,o,i)}):t.resolve(h).then(function(e){u.value=e,o(u)},function(e){return a("throw",e,o,i)})}i(c.arg)}var l;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){a(e,n,t,r)})}return l=l?l.then(r,r):r()}})}function F(t,a,n){var r=s;return function(l,o){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===l)throw o;return{value:e,done:!0}}for(n.method=l,n.arg=o;;){var i=n.delegate;if(i){var c=N(i,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,a,n);if("normal"===u.type){if(r=n.done?m:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=m,n.method="throw",n.arg=u.arg)}}}function N(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,N(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var l=d(r,t.iterator,a.arg);if("throw"===l.type)return a.method="throw",a.arg=l.arg,a.delegate=null,g;var o=l.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,g)}function A(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function _(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,l=function a(){for(;++r<t.length;)if(n.call(t,r))return a.value=t[r],a.done=!1,a;return a.value=e,a.done=!0,a};return l.next=l}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=y,r(k,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:E,configurable:!0}),E.displayName=u(y,c,"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,y):(e.__proto__=y,u(e,c,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},O(x.prototype),u(x.prototype,i,function(){return this}),t.AsyncIterator=x,t.async=function(e,a,n,r,l){void 0===l&&(l=Promise);var o=new x(h(e,a,n,r),l);return t.isGeneratorFunction(a)?o:o.next().then(function(e){return e.done?e.value:o.next()})},O(k),u(k,c,"Generator"),u(k,o,function(){return this}),u(k,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,S.prototype={constructor:S,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(L),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=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 a=this;function r(n,r){return i.type="throw",i.arg=t,a.next=n,r&&(a.method="next",a.arg=e),!!r}for(var l=this.tryEntries.length-1;l>=0;--l){var o=this.tryEntries[l],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var l=r;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var o=l?l.completion:{};return o.type=e,o.arg=t,l?(this.method="next",this.next=l.finallyLoc,g):this.complete(o)},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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),L(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;L(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:_(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var L=function(e){function t(){var e,a;Object(r.a)(this,t);for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(c)))).state={fappno:"",editApp:!1},a.handleCancel=function(){a.setState({fappno:""})},a.handleUpdate=Object(n.a)(j().mark(function e(){return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.props.saveApplication(a.props.pgetEditApp);case 2:a.setState({editApp:!1});case 3:case"end":return e.stop()}},e)})),a.handleChange=function(e){a.setState({fappno:e.target.value})},a.handleSubmit=function(){a.props.getSavedData(a.state.fappno),a.setState({editApp:!0})},a}return Object(c.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=Object(g.i)(),t=this.state.fappno;return h.a.createElement("div",null,h.a.createElement(d.a,{fluid:!0},h.a.createElement(d.a.Content,null,h.a.createElement(d.a.Header,{style:{display:"flex"}},h.a.createElement("h4",null,"PGET Edit Application"),h.a.createElement("div",{className:"ml-auto"},h.a.createElement(s.a,{basic:!0,color:"blue",content:"Update",icon:"cloud upload",onClick:this.handleUpdate}),h.a.createElement(s.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),h.a.createElement(m.a,{to:"/dashboard"},h.a.createElement(s.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),h.a.createElement(p.a,null),h.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(e,"px")}},h.a.createElement(f.a,null,h.a.createElement(f.a.Field,{width:8},h.a.createElement(f.a.Input,{id:"fappno",label:"Enter Application No.",placeholder:"Application No.",value:t,onChange:this.handleChange})),h.a.createElement(s.a,{content:"Submit",size:"mini",color:"facebook",onClick:this.handleSubmit})),this.state.editApp?h.a.createElement(A,null):null))))}}]),t}(u.Component);t.default=Object(b.b)(function(e){return{univcode:e.univ.funivcode,pgetEditApp:e.pgetEditApp}},{showError:E.A,getSavedData:function(e){return function(){var t=Object(n.a)(y().mark(function t(a,n){var r,l,o,i;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=n(),a({type:"SET_LOADER"}),t.next=4,v.a.get("/app.php",{params:{a:"getSavedData",fappno:e,univcode:r.univ.funivcode}});case 4:l=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof l.data?(o={header:"Error",content:"Something went wrong"},a(Object(E.A)(o))):-1===l.data.error_code?(i={header:"Error",content:l.data.data.msg},a(Object(E.A)(i))):a({type:"GET_PGET_DATA",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},saveApplication:function(e){return function(){var t=Object(n.a)(y().mark(function t(a,n){var r,l,o,i,c;return y().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a({type:"SET_LOADER"}),r=n(),t.next=4,v.a.post("app.php?a=saveApplication&univcode="+r.univ.funivcode,{data:e});case 4:l=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof l.data?(o={header:"Error",content:"Something went wrongr"},a(Object(E.A)(o))):-1===l.data.error_code?(i={header:"Error",content:l.data.data.msg},a(Object(E.A)(i))):(c={header:"Success",content:l.data.data.msg},a(Object(E.A)(c)));case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()}})(L)},272:function(e,t,a){"use strict";var n=a(270),r=a.n(n),l=a(268),o=a.n(l),i=a(2),c=a.n(i),u=a(349),h=a(613),d=a(611),s=a(269);function p(e){var t=e.children,a=e.className,n=e.clearing,l=e.content,i=e.fitted,f=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,E=e.vertical,y=o()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(f,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(g,"inverted"),Object(u.a)(v,"section"),Object(u.a)(E,"vertical"),"divider",a),b=Object(h.a)(p,e),C=Object(d.a)(p,e);return c.a.createElement(C,r()({},b,{className:y}),s.a.isNil(t)?l:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},335:function(e,t,a){"use strict";a.d(t,"h",function(){return i}),a.d(t,"f",function(){return c}),a.d(t,"l",function(){return u}),a.d(t,"c",function(){return h}),a.d(t,"a",function(){return d}),a.d(t,"e",function(){return s}),a.d(t,"i",function(){return p}),a.d(t,"g",function(){return f}),a.d(t,"k",function(){return m}),a.d(t,"d",function(){return g}),a.d(t,"j",function(){return v}),a.d(t,"b",function(){return E});var n=a(68),r=a(271),l=a(267);function o(){o=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,r=Object.defineProperty||function(e,t,a){e[t]=a.value},l="function"==typeof Symbol?Symbol:{},i=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function h(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,a){return e[t]=a}}function d(e,t,a,n){var l=t&&t.prototype instanceof E?t:E,o=Object.create(l.prototype),i=new S(n||[]);return r(o,"_invoke",{value:N(e,a,i)}),o}function s(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",f="suspendedYield",m="executing",g="completed",v={};function E(){}function y(){}function b(){}var C={};h(C,i,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(_([])));k&&k!==a&&n.call(k,i)&&(C=k);var O=b.prototype=E.prototype=Object.create(C);function x(e){["next","throw","return"].forEach(function(t){h(e,t,function(e){return this._invoke(t,e)})})}function F(e,t){function a(r,l,o,i){var c=s(e[r],e,l);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?t.resolve(h.__await).then(function(e){a("next",e,o,i)},function(e){a("throw",e,o,i)}):t.resolve(h).then(function(e){u.value=e,o(u)},function(e){return a("throw",e,o,i)})}i(c.arg)}var l;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){a(e,n,t,r)})}return l=l?l.then(r,r):r()}})}function N(t,a,n){var r=p;return function(l,o){if(r===m)throw new Error("Generator is already running");if(r===g){if("throw"===l)throw o;return{value:e,done:!0}}for(n.method=l,n.arg=o;;){var i=n.delegate;if(i){var c=A(i,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=m;var u=s(t,a,n);if("normal"===u.type){if(r=n.done?g:f,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}function A(t,a){var n=a.method,r=t.iterator[n];if(r===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,A(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var l=s(r,t.iterator,a.arg);if("throw"===l.type)return a.method="throw",a.arg=l.arg,a.delegate=null,v;var o=l.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,v):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,v)}function j(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function _(t){if(t||""===t){var a=t[i];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,l=function a(){for(;++r<t.length;)if(n.call(t,r))return a.value=t[r],a.done=!1,a;return a.value=e,a.done=!0,a};return l.next=l}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,r(O,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:y,configurable:!0}),y.displayName=h(b,u,"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,h(e,u,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(F.prototype),h(F.prototype,c,function(){return this}),t.AsyncIterator=F,t.async=function(e,a,n,r,l){void 0===l&&(l=Promise);var o=new F(d(e,a,n,r),l);return t.isGeneratorFunction(a)?o:o.next().then(function(e){return e.done?e.value:o.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),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,S.prototype={constructor:S,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(L),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=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 a=this;function r(n,r){return i.type="throw",i.arg=t,a.next=n,r&&(a.method="next",a.arg=e),!!r}for(var l=this.tryEntries.length-1;l>=0;--l){var o=this.tryEntries[l],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var l=r;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var o=l?l.completion:{};return o.type=e,o.arg=t,l?(this.method="next",this.next=l.finallyLoc,v):this.complete(o)},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 a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),L(a),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;L(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:_(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var i=function(){return function(){var e=Object(n.a)(o().mark(function e(t,a){var n,i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,r.a.get("/app.php",{params:{a:"getFeeHeads",univcode:n.univ.funivcode}});case 4:i=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},t(Object(l.A)(c))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(l.A)(u))):t({type:"GET_FEE_HEADS",payload:i.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},c=function(){return function(){var e=Object(n.a)(o().mark(function e(t,a){var n,i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,r.a.get("/app.php",{params:{a:"getCategory",univcode:n.univ.funivcode}});case 4:i=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},t(Object(l.A)(c))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(l.A)(u))):t({type:"GET_CATEGORY",payload:i.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(o().mark(function t(a,n){var i,c,u,h,d;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),a({type:"SET_LOADER"}),t.next=4,r.a.post("/app.php?a=saveFeeHeads&univcode="+i.univ.funivcode,{data:{feeheads:e}});case 4:c=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof c.data?(u={header:"Error",content:"Something went wrong"},a(Object(l.A)(u))):-1===c.data.error_code?(h={header:"Error",content:c.data.data.msg},a(Object(l.A)(h))):(d={header:"Success",content:c.data.data.msg},a(Object(l.A)(d)));case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},h=function(e,t){return{type:"CHANGE_FEESTRFORM",payload:{name:e,value:t}}},d=function(){return{type:"CANCEL_FEESTR"}},s=function(){return function(){var e=Object(n.a)(o().mark(function e(t,a){var n,i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,r.a.post("/app.php?a=displayfeeDetails&univcode="+n.univ.funivcode,{feeStrForm:n.feeStrForm});case 4:i=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},t(Object(l.A)(c))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(l.A)(u))):t({type:"GET_FEEDETL",payload:i.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},p=function(){return function(){var e=Object(n.a)(o().mark(function e(t,a){var n,i,c,u,h;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),e.prev=1,e.next=4,r.a.post("/app.php?a=getFeeParams&univcode="+n.univ.funivcode);case 4:"object"!==typeof(i=e.sent).data?(c={header:"Error",content:"Something went wrong"},t(Object(l.A)(c))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(l.A)(u))):t({type:"CHANGE_FEESTRFORM",payload:{name:"module_opt",value:i.data.data.module}}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),h={header:"Error",content:"Something went wrong"},t(Object(l.A)(h));case 12:case"end":return e.stop()}},e,null,[[1,8]])}));return function(t,a){return e.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(o().mark(function t(a,n){var i,c,u,h,d;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),t.prev=1,t.next=4,r.a.post("/app.php?a=getContTypes&univcode="+i.univ.funivcode+"&fcombcode="+e);case 4:"object"!==typeof(c=t.sent).data?(u={header:"Error",content:"Something went wrong"},a(Object(l.A)(u))):-1===c.data.error_code?(h={header:"Error",content:c.data.data.msg},a(Object(l.A)(h))):a({type:"CHANGE_FEESTRFORM",payload:{name:"feetype",value:c.data.data.feetype}}),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),d={header:"Error",content:"Something went wrong"},a(Object(l.A)(d));case 12:case"end":return t.stop()}},t,null,[[1,8]])}));return function(e,a){return t.apply(this,arguments)}}()},m=function(e){return function(){var t=Object(n.a)(o().mark(function t(a,n){var i,c,u,h,d;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),a({type:"SET_LOADER"}),t.next=4,r.a.post("/app.php?a=saveFeeDetails&univcode="+i.univ.funivcode,{feeStrForm:i.feeStrForm,feeDetl:e});case 4:c=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof c.data?(u={header:"Error",content:"Something went wrong"},a(Object(l.A)(u))):-1===c.data.error_code?(h={header:"Error",content:c.data.data.msg},a(Object(l.A)(h))):(d={header:"Success",content:c.data.data.msg},a(Object(l.A)(d)));case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},g=function(){return function(){var e=Object(n.a)(o().mark(function e(t,a){var n,i,c,u;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a(),t({type:"SET_LOADER"}),e.next=4,r.a.post("/app.php?a=displayfeeDates&univcode="+n.univ.funivcode,{feeStrForm:n.feeStrForm});case 4:i=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof i.data?(c={header:"Error",content:"Something went wrong"},t(Object(l.A)(c))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(l.A)(u))):t({type:"GET_FEEDATES",payload:i.data});case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(o().mark(function t(a,n){var i,c,u,h,d;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),a({type:"SET_LOADER"}),t.next=4,r.a.post("/app.php?a=saveFeeDates&univcode="+i.univ.funivcode,{feeStrForm:i.feeStrForm,feearray:e});case 4:c=t.sent,a({type:"UNSET_LOADER"}),"object"!==typeof c.data?(u={header:"Error",content:"Something went wrong"},a(Object(l.A)(u))):-1===c.data.error_code?(h={header:"Error",content:c.data.data.msg},a(Object(l.A)(h))):(d={header:"Success",content:c.data.data.msg},a(Object(l.A)(d)));case 7:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},E=function(e,t){return function(){var a=Object(n.a)(o().mark(function a(n,r){return o().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:n({type:"CHECK_FEEDETAIL",payload:{cond:e,ind:t}});case 1:case"end":return a.stop()}},a)}));return function(e,t){return a.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=163.4548a9af.chunk.js.map