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.116.10.48
(window.webpackJsonp=window.webpackJsonp||[]).push([[41,307],{1305:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(1),o=r(0),i=r(68),c=r(100),u=r(101),s=r(103),l=r(102),p=r(104),f=r(2),d=r.n(f),h=r(105),m=r(941),g=r(267),v=r(1377),y=r(949),E=r(1343),w=r(272),b=r(1335),O=r(1337),k=r(1338),x=r(1155),S=r(284),L=r(414),j=(r(274),r(275)),_=r.n(j);function A(){A=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:L(e,r,c)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function E(){}var w={};s(w,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(T([])));O&&O!==r&&n.call(O,i)&&(w=O);var k=E.prototype=v.prototype=Object.create(w);function x(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,i,c){var u=p(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function L(t,r,n){var a=f;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=j(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(a===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?m:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.arg)}}}function j(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=E,a(k,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=s(E,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,E):(e.__proto__=E,s(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},x(S.prototype),s(S.prototype,c,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new S(l(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},x(k),s(k,u,"Generator"),s(k,i,function(){return this}),s(k,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("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 a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var C=function(e){function t(){var e,r;Object(c.a)(this,t);for(var u=arguments.length,p=new Array(u),f=0;f<u;f++)p[f]=arguments[f];return(r=Object(s.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(p)))).state={deggrp:"",Programee:["All"],degree:["All"],sem:["All"],tabledata:[],fnotifid:r.props.match.params.id,frmsubmit:!1},r.componentDidMount=function(){r.props.loaddegreegroup(),void 0!==r.state.fnotifid&&r.getData()},r.getData=Object(i.a)(A().mark(function e(){var t,n,a,o;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loadeditdet(r.state.fnotifid);case 2:if(0==r.props.editdata.length){e.next=20;break}return r.setState({deggrp:r.props.editdata.sum.fdeggrp}),e.next=6,r.props.getprogramedet(r.props.editdata.sum.fdeggrp);case 6:return t=r.props.editdata.sum.fprogcode.split("*"),r.setState({Programee:t}),e.next=10,r.props.loaddegreeheads(t,r.props.editdata.sum.fdeggrp);case 10:n=r.props.editdata.sum.fdegree.split("*"),r.setState({degree:n}),a=r.props.editdata.sum.fexamno.split("*"),r.setState({sem:a}),r.setState({notifname:r.props.editdata.sum.fnotifname}),r.setState({notifdate:r.props.editdata.sum.fnotifdate}),r.setState({frmsubmit:!0}),o=[],r.props.editdata.det.map(function(e,t){var r={};r.fid=e.fid,r.fheadname=e.fheadname,r.frmdate=e.frmdate,r.todate=e.todate,r.remarks=e.remarks,"T"==e.fdeleted?r.checkbox=!0:r.checkbox=!1,o.push(r)}),r.setState({tabledata:o});case 20:case"end":return e.stop()}},e)})),r.getheadsdata=Object(i.a)(A().mark(function e(){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loadheads();case 2:case"end":return e.stop()}},e)})),r.handleChangeDeggrp=function(){var e=Object(i.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({deggrp:n.value});case 2:return e.next=4,r.props.getprogramedet(n.value);case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeprogramee=function(){var e=Object(i.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({Programee:n.value}),e.next=3,r.props.loaddegreeheads(n.value,r.state.deggrp);case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(i.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({degree:n.value}),r.setState({frmsubmit:!1});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSem=function(){var e=Object(i.a)(A().mark(function e(t,n){return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({sem:n.value});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.getDatesEntrydates=Object(i.a)(A().mark(function e(){var t,n,a;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.deggrp){e.next=4;break}return t={header:"Error",content:"Select Degree Group"},r.props.showError(t),e.abrupt("return");case 4:if(""!==r.state.degree){e.next=8;break}return n={header:"Error",content:"Select degree"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.sem){e.next=12;break}return a={header:"Error",content:"Select sem"},r.props.showError(a),e.abrupt("return");case 12:return e.next=14,r.props.getDatesEntryForm(r.state.deggrp,r.state.Programee,r.state.degree,r.state.sem);case 14:r.setState({tabledata:r.props.dates}),r.setState({frmsubmit:!0});case 16:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({deggrp:"",degree:"All",sem:["All"],Programee:"All",notifname:"",notifdate:"",tabledata:[],frmsubmit:!1}),r.props.history.push("/notification-entry")},r.inputChangeHandler=function(e){var t=e.target,n=t.name,a=t.value;r.setState(Object(o.a)({},n,a))},r.changeCell=function(e,t,i){var c=e.target,u=c.name,s=c.value,l=c.type,p=c.checked;"frmdate"===u||"todate"===u||"fdeleted"===u||"remarks"===u?r.setState(Object(o.a)({},u,s)):"checkbox"===l&&"fdeleted"===u&&(t.checkbox=p?"T":"F");var f=Object(a.a)({},t,Object(o.a)(Object(o.a)({},u,s),l,p)),d=Object(n.a)(r.state.tabledata);d[i]=f,r.setState({tabledata:d})},r.handleSave=Object(i.a)(A().mark(function e(){var t;return A().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new FormData).append("fnotifid",r.state.fnotifid),t.append("user",r.props.userid),t.append("usertype",r.props.usertype),t.append("deggrp",r.state.deggrp),t.append("Programee",r.state.Programee),t.append("degree",r.state.degree),t.append("sem",r.state.sem),t.append("notifname",r.state.notifname),t.append("notifdate",r.state.notifdate),t.append("tabledata",JSON.stringify(r.state.tabledata)),e.next=13,r.props.update_dates(t);case 13:r.props.history.push("/notification-entry"),r.setState({deggrp:"",degree:["All"],sem:["All"],Programee:["All"],notifname:"",notifdate:"",tabledata:[],frmsubmit:!1});case 15:case"end":return e.stop()}},e)})),r}return Object(p.a)(t,e),Object(u.a)(t,[{key:"render",value:function(){var e=this,t=[{key:"All",value:"All",text:"All"}],r={n:"[0-1]",m:"[0-9]",e:"[0-3]",d:"[0-9]",z:"[1-2]",y:"[0-9]"},a=this.props.deggrp.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdescpn}}),o=this.props.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),i=[].concat(t,Object(n.a)(o)),c=this.props.programe.map(function(e){return{key:e.fprogcode,value:e.fprogcode,text:e.fprogcode}}),u=[].concat(t,Object(n.a)(c)),s=[].concat(t,[{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]);return d.a.createElement("div",null,d.a.createElement(v.a,{fluid:!0},d.a.createElement(y.a,null,d.a.createElement(v.a.Header,{style:{display:"flex"}},d.a.createElement("h4",null,"Notification Entry"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(E.a,{size:"mini",basic:!0,color:"green",icon:"save",content:"Save",onClick:this.handleSave}),d.a.createElement(E.a,{size:"mini",basic:!0,color:"yellow",icon:"edit",content:"Edit",onClick:this.geteditpage=function(){return e.props.history.push("/edit_notification")}}),d.a.createElement(E.a,{size:"mini",basic:!0,color:"blue",icon:"ban",content:"Clear",onClick:this.handleCancel}),d.a.createElement(m.a,{to:"/dashboard"},d.a.createElement(E.a,{size:"mini",basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(w.a,null),d.a.createElement(v.a.Description,{style:{height:"auto"}},d.a.createElement(b.a,null,d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:6},d.a.createElement("label",null,"Degree Group"),d.a.createElement(O.a,{fluid:!0,selection:!0,search:!0,value:this.state.deggrp,options:a,name:"year",placeholder:"Select Degree Group",onChange:this.handleChangeDeggrp})),d.a.createElement(b.a.Field,{width:6},d.a.createElement("label",null,"Programee"),d.a.createElement(O.a,{fluid:!0,selection:!0,multiple:!0,search:!0,value:this.state.Programee,options:u,name:"Programee",placeholder:"Select Programee",onChange:this.handleChangeprogramee}))),d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:6},d.a.createElement("label",null,"Degree"),d.a.createElement(O.a,{fluid:!0,selection:!0,multiple:!0,search:!0,value:this.state.degree,options:i,name:"qpcode",placeholder:"Select Degree",onChange:this.handleChangeDegree})),d.a.createElement(b.a.Field,{width:6},d.a.createElement("label",null,"Sem"),d.a.createElement(O.a,{fluid:!0,selection:!0,multiple:!0,search:!0,value:this.state.sem,options:s,name:"qppacket",placeholder:"Select Sem",onChange:this.handleChangeSem})),d.a.createElement(b.a.Field,null,d.a.createElement(E.a,{style:{marginTop:"23px"},basic:!0,color:"blue",onClick:this.getDatesEntrydates,content:"Submit"})))),this.state.frmsubmit?d.a.createElement("div",{style:{marginLeft:"30px"}},d.a.createElement(w.a,null),d.a.createElement("h4",{style:{textAlign:"center"}},"Notification Dates Entry"," "),d.a.createElement(w.a,null),d.a.createElement(b.a,null,d.a.createElement(b.a.Group,null,d.a.createElement(b.a.Field,{width:7},d.a.createElement("label",null,"Notification Name"),d.a.createElement(b.a.Input,{type:"text",name:"notifname",value:this.state.notifname,onChange:function(t,r){return e.setState({notifname:r.value})},placeholder:"Entre Notificaion Name"})),d.a.createElement(b.a.Field,{width:4},d.a.createElement("label",null,"Notification Date"),d.a.createElement(b.a.Input,{type:"date",name:"notifdate",value:this.state.notifdate,onChange:function(t,r){return e.setState({notifdate:r.value})}})))),d.a.createElement(k.a,{celled:!0,style:{fontSize:"1.1em"}},d.a.createElement(k.a.Header,null,d.a.createElement(k.a.Row,null,d.a.createElement(k.a.HeaderCell,{style:{textAlign:"center",width:"50px"}},"Sl.No"),d.a.createElement(k.a.HeaderCell,{textAlign:"center"},"Description"),d.a.createElement(k.a.HeaderCell,{style:{textAlign:"center",width:"200px"}},"From"),d.a.createElement(k.a.HeaderCell,{style:{textAlign:"center",width:"200px"}},"To"),d.a.createElement(k.a.HeaderCell,{style:{textAlign:"center",width:"200px"}},"Remarks"),d.a.createElement(k.a.HeaderCell,{style:{textAlign:"center",width:"50px"}},"Delete"))),d.a.createElement(k.a.Body,null,this.state.tabledata.map(function(t,n){return d.a.createElement(k.a.Row,{key:n},d.a.createElement(k.a.Cell,{style:{textAlign:"center"}},n+1),d.a.createElement(k.a.Cell,null,t.fheadname),d.a.createElement(k.a.Cell,null,d.a.createElement(_.a,{formatChars:r,mask:"ed/nm/zyyy",value:t.frmdate,name:"frmdate",style:{padding:"7px"},onChange:function(r,a){return e.changeCell(r,t,n)}})),d.a.createElement(k.a.Cell,null,d.a.createElement(_.a,{formatChars:r,mask:"ed/nm/zyyy",value:t.todate,name:"todate",style:{padding:"7px"},onChange:function(r){return e.changeCell(r,t,n)}})),d.a.createElement(k.a.Cell,null,d.a.createElement(x.a,{value:t.remarks,name:"remarks",onChange:function(r){return e.changeCell(r,t,n)}})),d.a.createElement(k.a.Cell,{style:{textAlign:"center"}},d.a.createElement(_.a,{type:"checkbox",name:"fdeleted",style:{width:"18px",height:"18px"},checked:!!t.checkbox,onChange:function(r){return e.changeCell(r,t,n)}})))})))):null))))}}]),t}(f.Component);t.default=Object(h.b)(function(e){return{deggrp:e.deggrpexamcentre,degree:e.loaddegreeheads,dates:e.getDatesEntryForm,programe:e.getprogramedet,editdata:e.loadeditdet,collcode:e.user.fuserid,univcode:e.univ.funivcode,userid:e.user.fuserid,usertype:e.user.fcurtype}},{showError:g.A,loaddegreegroup:S.c,loadeditdet:L.d,getprogramedet:L.b,loaddegreeheads:L.c,loadmastersdeg:S.d,update_dates:L.f,getDatesEntryForm:L.a})(C)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),u=r.n(c),s=r(349),l=r(613),p=r(611),f=r(269);function d(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,c=e.fitted,h=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,y=e.vertical,E=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(h,"hidden"),Object(s.a)(m,"horizontal"),Object(s.a)(g,"inverted"),Object(s.a)(v,"section"),Object(s.a)(y,"vertical"),"divider",r),w=Object(l.a)(d,e),b=Object(p.a)(d,e);return u.a.createElement(b,a()({},w,{className:E}),f.a.isNil(t)?o:t)}d.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],d.propTypes={},t.a=d},275:function(e,t,r){e.exports=r(276)},276:function(e,t,r){"use strict";var n,a=(n=r(2))&&"object"==typeof n&&"default"in n?n.default:n,o=r(106);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var a=r[n],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}}(e.prototype.constructor=e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e,t,r,n,a,o,i,c){if(!e){var u;if(void 0===t)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,a,o,i,c],l=0;(u=new Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function l(e,t,r){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=r;else{var n=e.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",r-t),n.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},f="_";function d(e,t,r){var n="",a="",o=null,i=[];if(void 0===t&&(t=f),null==r&&(r=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:r,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var c=!1;return e.split("").forEach(function(e){c=!c&&"\\"===e||(c||!r[e]?(i.push(n.length),n.length===i.length-1&&(a+=e)):o=n.length+1,n+=e,!1)}),{maskChar:t,formatChars:r,prefix:a,mask:n,lastEditablePosition:o,permanents:i}}function h(e,t){return-1!==e.permanents.indexOf(t)}function m(e,t,r){var n=e.mask,a=e.formatChars;if(!r)return!1;if(h(e,t))return n[t]===r;var o=a[n[t]];return new RegExp(o).test(r)}function g(e,t){return t.split("").every(function(t,r){return h(e,r)||!m(e,r,t)})}function v(e,t){var r=e.maskChar,n=e.prefix;if(!r){for(;t.length>n.length&&h(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var a=n.length,o=t.length;o>=n.length;o--){var i=t[o];if(!h(e,o)&&m(e,o,i)){a=o+1;break}}return a}function y(e,t){return v(e,t)===e.mask.length}function E(e,t){var r=e.maskChar,n=e.mask,a=e.prefix;if(!r){for((t=w(e,"",t,0)).length<a.length&&(t=a);t.length<n.length&&h(e,t.length);)t+=n[t.length];return t}if(t)return w(e,E(e,""),t,0);for(var o=0;o<n.length;o++)h(e,o)?t+=n[o]:t+=r;return t}function w(e,t,r,n){var a=e.mask,o=e.maskChar,i=e.prefix,c=r.split(""),u=y(e,t);return!o&&n>t.length&&(t+=a.slice(t.length,n)),c.every(function(r){for(;l=r,h(e,s=n)&&l!==a[s];){if(n>=t.length&&(t+=a[n]),c=r,o&&h(e,n)&&c===o)return!0;if(++n>=a.length)return!1}var c,s,l;return!m(e,n,r)&&r!==o||(n<t.length?t=o||u||n<i.length?t.slice(0,n)+r+t.slice(n+1):(t=t.slice(0,n)+r+t.slice(n),E(e,t)):o||(t+=r),++n<a.length)}),t}function b(e,t){for(var r=e.mask,n=t;n<r.length;++n)if(!h(e,n))return n;return null}function O(e){return e||0===e?e+"":""}function k(e,t,r,n,a){var o=e.mask,i=e.prefix,c=e.lastEditablePosition,u=t,s="",l=0,p=0,f=Math.min(a.start,r.start);return r.end>a.start?p=(l=function(e,t,r,n){var a=e.mask,o=e.maskChar,i=r.split(""),c=n;return i.every(function(t){for(;i=t,h(e,r=n)&&i!==a[r];)if(++n>=a.length)return!1;var r,i;return(m(e,n,t)||t===o)&&n++,n<a.length}),n-c}(e,0,s=u.slice(a.start,r.end),f))?a.length:0:u.length<n.length&&(p=n.length-u.length),u=n,p&&(1!==p||a.length||(f=a.start===r.start?b(e,r.start):function(e,t){for(var r=t;0<=r;--r)if(!h(e,r))return r;return null}(e,r.start)),u=function(e,t,r,n){var a=r+n,o=e.maskChar,i=e.mask,c=e.prefix,u=t.split("");if(o)return u.map(function(t,n){return n<r||a<=n?t:h(e,n)?i[n]:o}).join("");for(var s=a;s<u.length;s++)h(e,s)&&(u[s]="");return r=Math.max(c.length,r),u.splice(r,a-r),t=u.join(""),E(e,t)}(e,u,f,p)),u=w(e,u,s,f),(f+=l)>=o.length?f=o.length:f<i.length&&!l?f=i.length:f>=i.length&&f<c&&l&&(f=b(e,f)),s||(s=null),{value:u=E(e,u),enteredString:s,selection:{start:f,end:f}}}function x(e){return"function"==typeof e}function S(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function L(e){return(S()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function j(e){(S()||clearTimeout)(e)}var _=function(e){function t(t){var r=e.call(this,t)||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=L(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 e=o.findDOMNode(u(u(r))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},r.getInputValue=function(){var e=r.getInputDOMNode();return e?e.value:null},r.setInputValue=function(e){var t=r.getInputDOMNode();t&&(r.value=e,t.value=e)},r.setCursorToEnd=function(){var e=v(r.maskOptions,r.value),t=b(r.maskOptions,e);null!==t&&r.setCursorPosition(t)},r.setSelection=function(e,t,n){void 0===n&&(n={});var a=r.getInputDOMNode(),o=r.isFocused();a&&o&&(n.deferred||l(a,e,t),null!==r.selectionDeferId&&j(r.selectionDeferId),r.selectionDeferId=L(function(){r.selectionDeferId=null,l(a,e,t)}),r.previousSelection={start:e,end:t,length:Math.abs(t-e)})},r.getSelection=function(){return function(e){var t=0,r=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,r=e.selectionEnd;else{var n=document.selection.createRange();n.parentElement()===e&&(t=-n.moveStart("character",-e.value.length),r=-n.moveEnd("character",-e.value.length))}return{start:t,end:r,length:r-t}}(r.getInputDOMNode())},r.getCursorPosition=function(){return r.getSelection().start},r.setCursorPosition=function(e){r.setSelection(e,e)},r.isFocused=function(){return r.focused},r.getBeforeMaskedValueChangeConfig=function(){var e=r.maskOptions,t=e.mask,n=e.maskChar,a=e.permanents,o=e.formatChars;return{mask:t,maskChar:n,permanents:a,alwaysShowMask:!!r.props.alwaysShowMask,formatChars:o}},r.isInputAutofilled=function(e,t,n,a){var o=r.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(s){}return!r.focused||a.end<n.length&&t.end===e.length},r.onChange=function(e){var t=u(u(r)).beforePasteState,n=u(u(r)).previousSelection,a=r.props.beforeMaskedValueChange,o=r.getInputValue(),i=r.value,c=r.getSelection();r.isInputAutofilled(o,c,i,n)&&(i=E(r.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,i=t.value,c={start:n.start+o.length,end:n.start+o.length,length:0},o=i.slice(0,n.start)+o+i.slice(n.end),r.beforePasteState=null);var s=k(r.maskOptions,o,c,i,n),l=s.enteredString,p=s.selection,f=s.value;if(x(a)){var d=a({value:f,selection:p},{value:i,selection:n},l,r.getBeforeMaskedValueChangeConfig());f=d.value,p=d.selection}r.setInputValue(f),x(r.props.onChange)&&r.props.onChange(e),r.isWindowsPhoneBrowser?r.setSelection(p.start,p.end,{deferred:!0}):r.setSelection(p.start,p.end)},r.onFocus=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions,a=n.mask,o=n.prefix;if(r.focused=!0,r.mounted=!0,a){if(r.value)v(r.maskOptions,r.value)<r.maskOptions.mask.length&&r.setCursorToEnd();else{var i=E(r.maskOptions,o),c=E(r.maskOptions,i),u=v(r.maskOptions,c),s=b(r.maskOptions,u),l={start:s,end:s};if(x(t)){var p=t({value:c,selection:l},{value:r.value,selection:null},null,r.getBeforeMaskedValueChangeConfig());c=p.value,l=p.selection}var f=c!==r.getInputValue();f&&r.setInputValue(c),f&&x(r.props.onChange)&&r.props.onChange(e),r.setSelection(l.start,l.end)}r.runSaveSelectionLoop()}x(r.props.onFocus)&&r.props.onFocus(e)},r.onBlur=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions.mask;if(r.stopSaveSelectionLoop(),r.focused=!1,n&&!r.props.alwaysShowMask&&g(r.maskOptions,r.value)){var a="";x(t)&&(a=t({value:a,selection:null},{value:r.value,selection:r.previousSelection},null,r.getBeforeMaskedValueChangeConfig()).value);var o=a!==r.getInputValue();o&&r.setInputValue(a),o&&x(r.props.onChange)&&r.props.onChange(e)}x(r.props.onBlur)&&r.props.onBlur(e)},r.onMouseDown=function(e){if(!r.focused&&document.addEventListener){r.mouseDownX=e.clientX,r.mouseDownY=e.clientY,r.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),r.focused){var n=Math.abs(t.clientX-r.mouseDownX),a=Math.abs(t.clientY-r.mouseDownY),o=Math.max(n,a),i=(new Date).getTime()-r.mouseDownTime;(o<=10&&i<=200||o<=5&&i<=300)&&r.setCursorToEnd()}})}x(r.props.onMouseDown)&&r.props.onMouseDown(e)},r.onPaste=function(e){x(r.props.onPaste)&&r.props.onPaste(e),e.defaultPrevented||(r.beforePasteState={value:r.getInputValue(),selection:r.getSelection()},r.setInputValue(""))},r.handleRef=function(e){null==r.props.children&&x(r.props.inputRef)&&r.props.inputRef(e)};var n=t.mask,a=t.maskChar,i=t.formatChars,c=t.alwaysShowMask,s=t.beforeMaskedValueChange,p=t.defaultValue,f=t.value;r.maskOptions=d(n,a,i),null==p&&(p=""),null==f&&(f=p);var h=O(f);if(r.maskOptions.mask&&(c||h)&&(h=E(r.maskOptions,h),x(s))){var m=t.value;null==t.value&&(m=p),h=s({value:h,selection:null},{value:m=O(m),selection:null},null,r.getBeforeMaskedValueChangeConfig()).value}return r.value=h,r}c(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),r=navigator.userAgent;return e.test(r)&&t.test(r)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},r.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,r=t.beforeMaskedValueChange,n=t.alwaysShowMask,a=t.mask,o=t.maskChar,i=t.formatChars,c=this.maskOptions,u=n||this.isFocused(),s=null!=this.props.value,l=s?O(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=d(a,o,i),this.maskOptions.mask){!c.mask&&this.isFocused()&&this.runSaveSelectionLoop();var f=this.maskOptions.mask&&this.maskOptions.mask!==c.mask;if(c.mask||s||(l=this.getInputValue()),(f||this.maskOptions.mask&&(l||u))&&(l=E(this.maskOptions,l)),f){var h=v(this.maskOptions,l);(null===p||h<p)&&(p=y(this.maskOptions,l)?h:b(this.maskOptions,h))}!this.maskOptions.mask||!g(this.maskOptions,l)||u||s&&this.props.value||(l="");var m={start:p,end:p};if(x(r)){var w=r({value:l,selection:m},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());l=w.value,m=w.selection}this.value=l;var k=this.getInputValue()!==this.value;k?(this.setInputValue(this.value),this.forceUpdate()):f&&this.forceUpdate();var S=!1;null!=m.start&&null!=m.end&&(S=!e||e.start!==m.start||e.end!==m.end),(S||k)&&this.setSelection(m.start,m.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 e,t=this.props,r=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],0<=t.indexOf(r)||(a[r]=e[r]);return a}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(r){x(r)||s(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],c=i({},n);o.forEach(function(e){return delete c[e]}),e=r(c),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==n[t]}).length&&s(!1)}else e=a.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)),e=a.cloneElement(e,u)},t}(a.Component);e.exports=_},284:function(e,t,r){"use strict";r.d(t,"c",function(){return c}),r.d(t,"d",function(){return u}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return l}),r.d(t,"f",function(){return p}),r.d(t,"a",function(){return f}),r.d(t,"g",function(){return d});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:j(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function E(){}function w(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,k=O&&O(O(T([])));k&&k!==r&&n.call(k,c)&&(b=k);var x=w.prototype=y.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,c){var u=f(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function j(t,r,n){var a=d;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?g:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},S(L.prototype),l(L.prototype,u,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(x),l(x,s,"Generator"),l(x,c,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("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 a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,u,s,l,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",u="",u="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",e.next=7,a.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,fcollcode:c}});case 7:s=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},t(Object(o.A)(p))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:s.data});case 10:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_MASTERS_DEGREE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadsubrptsem",degree:e,univcode:c.user.fcuruniv}});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_SUB_SEMESTER",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"°grp="+e.deggrp,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_ALL_EXAMCENTRE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"°grp="+e.deggrp+"&reportorder="+e.reportorder,{data:e});case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=getVerfyData&univcode="+c.univ.funivcode+"°gp="+e+"&fstatus="+t);case 4:u=r.sent,n({type:"UNSET_LOADER"}),-1===u.data.error_code?n({type:"CLEAR_GET_VERF_NOTI"}):n({type:"GET_VERF_NOTI",payload:u.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,a.a.post("/app.php?a=saveVerifyNotifi&univcode="+s.univ.funivcode+"&findata="+e+"&userid="+t+"&usertype="+r);case 4:l=n.sent,c({type:"UNSET_LOADER"}),0===l.data.error_code?(p={header:"Success",content:l.data.data.msg},c(Object(o.A)(p))):(f={header:"Error",content:l.data.data.msg},c(Object(o.A)(f)));case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}},414:function(e,t,r){"use strict";r.d(t,"b",function(){return c}),r.d(t,"c",function(){return u}),r.d(t,"f",function(){return s}),r.d(t,"a",function(){return l}),r.d(t,"e",function(){return p}),r.d(t,"d",function(){return f}),r.d(t,"g",function(){return d});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:j(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function E(){}function w(){}var b={};l(b,c,function(){return this});var O=Object.getPrototypeOf,k=O&&O(O(T([])));k&&k!==r&&n.call(k,c)&&(b=k);var x=w.prototype=y.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,c){var u=f(e[a],e,o);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function j(t,r,n){var a=d;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?g:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.arg)}}}function _(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=w,a(x,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},S(L.prototype),l(L.prototype,u,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(x),l(x,s,"Generator"),l(x,c,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("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 a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var c=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=getprogramedet&univcode="+c.univ.funivcode+"°grp="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):r({type:"GET_PROGRAMEE_DATA",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var u,s,l,p;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=c(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=loaddegreeheads&univcode="+u.univ.funivcode+"°grp="+t+"&Programee="+e);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},n(Object(o.A)(l))):-1==s.data.error_code?(p={header:"Error",content:s.data.data.msg},n(Object(o.A)(p))):n({type:"GET_DEGREE_HEADS_DATA",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s,l,p;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=update_dates&univcode="+c.univ.funivcode,e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(o.A)(l))):0===u.data.error_code&&(p={header:"success",content:"Notification Dates Updated"},r(Object(o.A)(p)),r({type:"GET_NOTIFCTN_DATES_DATA",payload:u.data}));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e,t,r,c){return function(){var u=Object(n.a)(i().mark(function n(u,s){var l,p,f;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l=s(),u({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=getDatesEntryForm&univcode="+l.univ.funivcode+"°grp="+e+"&Programee="+t+"°ree="+r+"&sem="+c);case 4:p=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},u(Object(o.A)(f))):-1==p.data.error_code?({header:"Error",content:p.data.data.msg},u({type:"CLEAR_NOTIFCTN_DATES_DATA",payload:p.data})):u({type:"UPDATE_NOTIFICTN_DATES",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return u.apply(this,arguments)}}()},p=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loadeditingDet&univcode="+n.univ.funivcode);case 4:c=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof c.data?(u={header:"Error",content:"Something went wrong"},t(Object(o.A)(u))):-1==c.data.error_code?(s={header:"Error",content:c.data.data.msg},t(Object(o.A)(s))):t({type:"GET_NOTIFSUM_DET",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=loadeditdet&univcode="+c.univ.funivcode+"&fnotifid="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==u.data.error_code?{header:"Error",content:u.data.data.msg}:r({type:"GET_NOTIFSUM_DETIALS",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=viewNotifdet&univcode="+c.univ.funivcode+"°grp="+e);case 4:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==u.data.error_code?({header:"Error",content:u.data.data.msg},r({type:"CLEAR_VIEW_NOTIF_DET",payload:u.data})):r({type:"VIEW_NOTIF_DET",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=41.073ccca1.chunk.js.map
|