Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.138.134.149
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,307],{1425:function(t,e,r){"use strict";r.r(e);var n=r(3),o=r(68),a=r(100),i=r(101),c=r(103),u=r(102),s=r(104),l=r(2),f=r.n(l),h=r(105),p=r(941),d=r(267),g=r(1377),y=r(949),v=r(1343),m=r(272),E=r(1335),w=r(1337),b=r(1338),x=r(284),O=r(271);r(546);function L(){L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new k(n||[]);return o(i,"_invoke",{value:A(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function E(){}var w={};s(w,i,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(N([])));x&&x!==r&&n.call(x,i)&&(w=x);var O=E.prototype=v.prototype=Object.create(w);function _(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function j(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function A(e,r,n){var o=h;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?g:p,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=E,o(O,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:m,configurable:!0}),m.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},_(j.prototype),s(j.prototype,c,function(){return this}),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(O),s(O,u,"Generator"),s(O,i,function(){return this}),s(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var _=r(274);function j(){j=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),c=new k(n||[]);return o(i,"_invoke",{value:A(t,r,c)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function E(){}var w={};s(w,i,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(N([])));x&&x!==r&&n.call(x,i)&&(w=x);var O=E.prototype=v.prototype=Object.create(w);function L(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function A(e,r,n){var o=h;return function(a,i){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?g:p,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=f(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=E,o(O,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:m,configurable:!0}),m.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(_.prototype),s(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new _(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(O),s(O,u,"Generator"),s(O,i,function(){return this}),s(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var A=function(t){function e(){var t,r;Object(a.a)(this,e);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return(r=Object(c.a)(this,(t=Object(u.a)(e)).call.apply(t,[this].concat(s)))).state={deggrp:"",table:[],frmsubmit:!1},r.componentDidMount=function(){r.props.loaddegreegroup()},r.handleChangeDeggrp=function(){var t=Object(o.a)(j().mark(function t(e,n){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({deggrp:n.value});case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.getAdmisionDegree=Object(o.a)(j().mark(function t(){var e;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.deggrp){t.next=4;break}return e={header:"Error",content:"Select Degree Group"},r.props.showError(e),t.abrupt("return");case 4:return t.next=6,r.props.getAdmisionDegree(r.state.deggrp);case 6:return t.next=8,r.setState({table:r.props.admdeg});case 8:r.setState({frmsubmit:!0});case 9:case"end":return t.stop()}},t)})),r.changeCell=function(t,e){var o=r.state.table.map(function(r,n){return r.fdegree===e.fdegree?(t.target.checked?(r.fadmdeg="T",r.fstatus="T"):(r.fadmdeg="F",r.fstatus="T"),r):r});r.setState({table:Object(n.a)(o)})},r.handleSave=Object(o.a)(j().mark(function t(){var e,n,o;return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!==r.state.deggrp){t.next=4;break}return e={header:"Error",content:"Select Degree Group"},r.props.showError(e),t.abrupt("return");case 4:return n=r.state.table.filter(function(t,e){if("T"===t.fstatus)return t}),(o=new FormData).append("arr",JSON.stringify(n)),t.next=9,r.props.updateAdmsnDegree(o);case 9:r.setState({deggrp:"",table:[],frmsubmit:!1});case 10:case"end":return t.stop()}},t)})),r.handleCancel=Object(o.a)(j().mark(function t(){return j().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({deggrp:"",table:[],frmsubmit:!1});case 1:case"end":return t.stop()}},t)})),r.getAdmisionDegReport=function(){var t=r.state.deggrp;if(""!==r.state.deggrp)window.open(_.c+"getAdmisionDegReport&univcode="+r.props.univcode+"°grp="+t,"_blank");else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r}return Object(s.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.props.deggrp.map(function(t){return{key:t.fdeggrp,value:t.fdeggrp,text:t.fdeggrp+" - "+t.fdescpn}});return f.a.createElement("div",null,f.a.createElement(g.a,{fluid:!0},f.a.createElement(y.a,null,f.a.createElement(g.a.Header,{style:{display:"flex"}},f.a.createElement("h4",null,"Admission Degree"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(v.a,{basic:!0,color:"green",icon:"save",content:"Save",onClick:function(){return t.handleSave()}}),f.a.createElement(v.a,{basic:!0,color:"blue",icon:"file",content:"Report",onClick:this.getAdmisionDegReport}),f.a.createElement(v.a,{basic:!0,color:"blue",icon:"ban",content:"Clear",onClick:this.handleCancel}),f.a.createElement(p.a,{to:"/dashboard"},f.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),f.a.createElement(m.a,null),f.a.createElement(g.a.Description,{style:{height:"690px",overflowY:"auto"}},f.a.createElement(E.a,null,f.a.createElement(E.a.Group,null,f.a.createElement(E.a.Field,{width:8},f.a.createElement("label",null,"Degree Group"),f.a.createElement(w.a,{fluid:!0,selection:!0,search:!0,value:this.state.deggrp,options:e,name:"year",placeholder:"Select Degree Group",onChange:this.handleChangeDeggrp}))),f.a.createElement(E.a.Group,null,f.a.createElement(E.a.Field,null,f.a.createElement(v.a,{basic:!0,color:"blue",content:"Submit",onClick:this.getAdmisionDegree})))),this.state.frmsubmit?f.a.createElement("div",{style:{marginLeft:"30px"}},f.a.createElement(m.a,null),f.a.createElement(b.a,{celled:!0,style:{fontSize:"1.1em"}},f.a.createElement(b.a.Header,null,f.a.createElement(b.a.Row,null,f.a.createElement(b.a.HeaderCell,{textAlign:"center"},"Sl.NO."),f.a.createElement(b.a.HeaderCell,{textAlign:"center"},"Degree Code"),f.a.createElement(b.a.HeaderCell,{textAlign:"center"},"Degree Name"),f.a.createElement(b.a.HeaderCell,{textAlign:"center"},"Actions"))),f.a.createElement(b.a.Body,null,this.state.table.map(function(e,r){return f.a.createElement(b.a.Row,{key:r},f.a.createElement(b.a.Cell,{style:{textAlign:"center"}},r+1),f.a.createElement(b.a.Cell,{style:{textAlign:"center"}},e.fdegree),f.a.createElement(b.a.Cell,{style:{textAlign:"left"}},e.fdescpn),f.a.createElement(b.a.Cell,{style:{textAlign:"center"}},f.a.createElement("input",{type:"checkbox",checked:"T"==e.fadmdeg,onChange:function(r){return t.changeCell(r,e)}})))})))):null))))}}]),e}(l.Component);e.default=Object(h.b)(function(t){return{deggrp:t.deggrpexamcentre,collcode:t.user.fuserid,univcode:t.univ.funivcode,userid:t.user.fuserid,usertype:t.user.fcurtype,admdeg:t.getAdmisionDegree}},{showError:d.A,loaddegreegroup:x.c,getAdmisionDegree:function(t){return function(){var e=Object(o.a)(L().mark(function e(r,n){var o,a,i,c;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,O.a.get("/app.php?a=getAdmisionDegree&univcode="+o.univ.funivcode+"°grp="+t);case 4:a=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},r(Object(d.A)(i))):-1==a.data.error_code?(c={header:"Error",content:a.data.data.msg},r(Object(d.A)(c))):r({type:"GET_ADDMSN_DEGREE",payload:a.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},updateAdmsnDegree:function(t){return function(){var e=Object(o.a)(L().mark(function e(r,n){var o,a,i,c,u;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,O.a.post("/app.php?a=updateAdmsnDegree&univcode="+o.univ.funivcode,t);case 4:a=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof a.data?(i={header:"Error",content:"Something went wrong"},r(Object(d.A)(i))):-1==a.data.error_code?(c={header:"Error",content:a.data.data.msg},r(Object(d.A)(c))):0===a.data.error_code&&(u={header:"success",content:"Admission Degree Updated"},r(Object(d.A)(u)),r({type:"GET_ADDMSN_DEGREE",payload:a.data}));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}})(A)},272:function(t,e,r){"use strict";var n=r(270),o=r.n(n),a=r(268),i=r.n(a),c=r(2),u=r.n(c),s=r(349),l=r(613),f=r(611),h=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,a=t.content,c=t.fitted,d=t.hidden,g=t.horizontal,y=t.inverted,v=t.section,m=t.vertical,E=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(d,"hidden"),Object(s.a)(g,"horizontal"),Object(s.a)(y,"inverted"),Object(s.a)(v,"section"),Object(s.a)(m,"vertical"),"divider",r),w=Object(l.a)(p,t),b=Object(f.a)(p,t);return u.a.createElement(b,o()({},w,{className:E}),h.a.isNil(e)?a:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p},284:function(t,e,r){"use strict";r.d(e,"c",function(){return c}),r.d(e,"d",function(){return u}),r.d(e,"e",function(){return s}),r.d(e,"b",function(){return l}),r.d(e,"f",function(){return f}),r.d(e,"a",function(){return h}),r.d(e,"g",function(){return p});var n=r(68),o=r(271),a=r(267);function i(){i=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var a=e&&e.prototype instanceof m?e:m,i=Object.create(a.prototype),c=new k(n||[]);return o(i,"_invoke",{value:A(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function E(){}function w(){}var b={};l(b,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(N([])));O&&O!==r&&n.call(O,c)&&(b=O);var L=w.prototype=m.prototype=Object.create(b);function _(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function j(t,e){function r(o,a,i,c){var u=h(t[o],t,a);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(l).then(function(t){s.value=t,i(s)},function(t){return r("throw",t,i,c)})}c(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return a=a?a.then(o,o):o()}})}function A(e,r,n){var o=p;return function(a,i){if(o===g)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=S(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(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?y:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=w,o(L,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:E,configurable:!0}),E.displayName=l(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,s,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},_(j.prototype),l(j.prototype,u,function(){return this}),e.AsyncIterator=j,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new j(f(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(L),l(L,s,"Generator"),l(L,c,function(){return this}),l(L,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var c=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,u,s,l,f;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",u="",u="051"==n.user.fcuruniv?"loaddeggrpnotif":"loaddeggrpexamcentre",t.next=7,o.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,fcollcode:c}});case 7:s=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof s.data?(l={header:"Error",content:"Something went wrong"},e(Object(a.A)(l))):-1===s.data.error_code?(f={header:"Error",content:s.data.data.msg},e(Object(a.A)(f))):e({type:"LOAD_DEGGRP_EXAMCENTRE",payload:s.data});case 10:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.get("/app.php",{params:{a:"loadmastersdeg",deggrp:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_MASTERS_DEGREE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.get("/app.php",{params:{a:"loadsubrptsem",degree:t,univcode:c.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_SUB_SEMESTER",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.post("/app.php?a=loadallexamcentre&univcode="+c.univ.funivcode+"°grp="+t.deggrp,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_ALL_EXAMCENTRE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(i().mark(function e(r,n){var c,u,s,l;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,o.a.post("/app.php?a=loadtableexamcentre&univcode="+c.univ.funivcode+"°grp="+t.deggrp+"&reportorder="+t.reportorder,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(a.A)(s))):-1===u.data.error_code?(l={header:"Error",content:u.data.data.msg},r(Object(a.A)(l))):r({type:"LOAD_TABLE_EXAMCENTRE",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t,e){return function(){var r=Object(n.a)(i().mark(function r(n,a){var c,u;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c=a(),n({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=getVerfyData&univcode="+c.univ.funivcode+"°gp="+t+"&fstatus="+e);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(t,e){return r.apply(this,arguments)}}()},p=function(t,e,r){return function(){var c=Object(n.a)(i().mark(function n(c,u){var s,l,f,h;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=u(),c({type:"SET_LOADER"}),n.next=4,o.a.post("/app.php?a=saveVerifyNotifi&univcode="+s.univ.funivcode+"&findata="+t+"&userid="+e+"&usertype="+r);case 4:l=n.sent,c({type:"UNSET_LOADER"}),0===l.data.error_code?(f={header:"Success",content:l.data.data.msg},c(Object(a.A)(f))):(h={header:"Error",content:l.data.data.msg},c(Object(a.A)(h)));case 7:case"end":return n.stop()}},n)}));return function(t,e){return c.apply(this,arguments)}}()}},546:function(t,e,r){r(547),t.exports=r(23).Number},547:function(t,e,r){"use strict";r(70)(Number,"Number",function(t){this._l=+t,this._i=0},function(){var t=this._i++,e=!(t<this._l);return{done:e,value:e?void 0:t}})}}]);
//# sourceMappingURL=85.122e7fec.chunk.js.map
|