Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.119.166.141
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{267:function(t,e,r){"use strict";r.d(e,"j",function(){return u}),r.d(e,"k",function(){return i}),r.d(e,"o",function(){return s}),r.d(e,"m",function(){return p}),r.d(e,"b",function(){return d}),r.d(e,"C",function(){return f}),r.d(e,"h",function(){return h}),r.d(e,"a",function(){return l}),r.d(e,"v",function(){return g}),r.d(e,"f",function(){return y}),r.d(e,"t",function(){return v}),r.d(e,"l",function(){return m}),r.d(e,"A",function(){return E}),r.d(e,"e",function(){return w}),r.d(e,"B",function(){return O}),r.d(e,"c",function(){return _}),r.d(e,"s",function(){return j}),r.d(e,"g",function(){return x}),r.d(e,"i",function(){return L}),r.d(e,"x",function(){return A}),r.d(e,"y",function(){return T}),r.d(e,"d",function(){return S}),r.d(e,"n",function(){return R}),r.d(e,"z",function(){return G}),r.d(e,"r",function(){return k}),r.d(e,"u",function(){return N}),r.d(e,"w",function(){return D}),r.d(e,"p",function(){return C}),r.d(e,"q",function(){return I});var n=r(68),a=r(271),o=r(24);r(576);function c(){c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),u=new G(n||[]);return a(c,"_invoke",{value:A(t,r,u)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h="suspendedStart",l="suspendedYield",g="executing",y="completed",v={};function m(){}function E(){}function w(){}var b={};p(b,u,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(k([])));_&&_!==r&&n.call(_,u)&&(b=_);var j=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){p(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,c,u){var i=f(t[a],t,o);if("throw"!==i.type){var s=i.arg,p=s.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,u)},function(t){r("throw",t,c,u)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,u)})}u(i.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function A(e,r,n){var a=h;return function(o,c){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var u=n.delegate;if(u){var i=T(u,n);if(i){if(i===v)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var s=f(e,r,n);if("normal"===s.type){if(a=n.done?y:l,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function T(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,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,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=p(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,p(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),p(L.prototype,i,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(d(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},x(j),p(j,s,"Generator"),p(j,u,function(){return this}),p(j,"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=k,G.prototype={constructor:G,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(R),!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 a(n,a){return u.type="throw",u.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],u=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},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),R(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 a=n.arg;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var u=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,u,i;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(""!=(n=r()).univ.funivcode){t.next=3;break}return t.abrupt("return");case 3:return u="",u="051"==n.user.fcuruniv?"deggrpTimeTable":"getDegreeGroup",t.next=7,a.a.get("/app.php",{params:{a:u,univcode:n.user.fcuruniv,usertype:n.user.fcurtype,college:n.user.fcollcode}});case 7:"object"!==typeof(i=t.sent).data?e({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===i.data.error_code?e({type:"SET_ERROR",payload:i.data}):e({type:o.f,payload:i.data});case 9:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},i=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),i="","500"!=u.user.fcurtype&&"501"!=u.user.fcurtype||""!=u.user.fcollcode&&(i=u.user.fcollcode),e.next=5,a.a.get("/app.php",{params:{a:"getDegrees",deggrp:t,univcode:u.univ.funivcode,fcollcode:i,fcurtype:u.user.fcurtype}});case 5:"object"!==typeof(s=e.sent).data?r(E({header:"Error",content:"Something went wrong"})):0===s.data.error_code?r({type:o.g,payload:s.data}):(p={header:"Error",content:s.data.data.msg},r(E(p)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.get("/app.php",{headers:{"Content-Type":"application/json"},params:{a:"getUnivs"}});case 2:n=t.sent,e({type:"FETCH_UNIVS",payload:n.data});case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.post("/app.php?a=getRefundAppList&univcode="+o.univ.funivcode,{data:t});case 3:"object"!==typeof(u=e.sent).data?r(E({header:"Error",content:"Something went wrong"})):-1===u.data.error_code?(i={header:"Error",content:u.data.data.msg},r(E(i))):r({type:"GET_REFUND_LIST",payload:u.data.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(t,e){return{type:"CHANGE_REFUND_DET",payload:{el:t,i:e}}},f=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=updateRefund&univcode="+o.univ.funivcode,{data:t,userid:o.user.fuserid});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?r(E({header:"Error",content:"Something went wrong"})):-1===u.data.error_code?(i={header:"Error",content:u.data.data.msg},r(E(i))):(s={header:"Success",content:u.data.data.msg},r(E(s)),r({type:"EMPTY_REFUND_LIST",payload:u.data}));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getCentresForUpdation",deggrp:t,univcode:o.univ.funivcode}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===u.data.error_code?r({type:"FETCH_EXAM_CENTRES",payload:u.data}):r({type:"SET_ERROR",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return{type:"CHANGE_EXAM_CENTRES",payload:t}},g=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var u,i;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=saveUpdatedCentres&univcode="+u.univ.funivcode,{data:{fdeggrp:e,cntrlist:t}});case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?n(b({error_code:-1,data:{msg:"Something went wrong wile Saving Exam Centres."},status:"failure"})):n(b(i.data));case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},y=function(t,e,r){return function(){var o=Object(n.a)(c().mark(function n(o,u){var i,s,p,d;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=u(),o({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php",{params:{a:"compileQpIndent",deggrp:t,univcopy:e,univcode:i.univ.funivcode,fstatus:r}});case 4:s=n.sent,o({type:"UNSET_LOADER"}),"object"!==typeof s.data?o(E({header:"Error",content:"Something went wrong"})):-1===s.data.error_code?(p={header:"Error",content:s.data.data.msg},o(E(p))):(d={header:"Success",content:s.data.data.msg},o(E(d)));case 7:case"end":return n.stop()}},n)}));return function(t,e){return o.apply(this,arguments)}}()},v=function(t,e,r,o,u,i,s){return function(){var p=Object(n.a)(c().mark(function n(p,d){var f,h,l;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f=d(),h="","Active College List"===t?h="getActiveCollegeList":"Center College List"===t?h="getCenterList":"Center List With Tagged Colleges"===t&&(h="getCntWiseColgList"),p({type:"SET_LOADER"}),n.next=6,a.a.get("/app.php",{headers:{"Content-Type":"application/x-www-form-urlencoded"},params:{a:h,val:t,format:e,deggrp:r,deggrpfrm:o,deggrpto:u,collfrm:i,collto:s,univcode:f.univ.funivcode}});case 6:l=n.sent,p({type:"UNSET_LOADER"}),"object"!==typeof l.data?p({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===l.data.error_code?p({type:"FETCH_COLG_REPORT",payload:l.data}):p({type:"SET_ERROR",payload:l.data});case 9:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()},m=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,o,u;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php",{params:{a:"getfaculty",univcode:n.univ.funivcode}});case 3:"object"!==typeof(o=t.sent).data?e(E({header:"Error",content:"Something went wrong"})):-1===o.data.error_code?(u={header:"Error",content:o.data.data.msg},e(E(u))):e({type:"GET_FACULTY",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},E=function(t){return{type:"SHOW_ERROR",payload:t}},w=function(){return{type:"CLOSE_ERROR"}},b=function(t){return{type:"SET_ERROR",payload:t}},O=function(){return{type:"UNSET_ERROR"}},_=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,a){var o;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o={el:t,id:e},r.next=3,n({type:"UPDATE_TIMETABLE",payload:o});case 3:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},j=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.get("/app.php",{params:{a:"getSubExamNo",fdeggrp:o.user.fdeggrp,univcode:o.univ.funivcode,degree:t}});case 3:"object"!==typeof(u=e.sent).data?r(E({header:"Error",content:"Something went wrong"})):0===u.data.error_code?r({type:"FETCH_EXAMNO",payload:u.data}):(i={header:"Error",content:u.data.data.msg},r(E(i)));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},x=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,o,u;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php",{params:{a:"getboard",univcode:n.univ.funivcode}});case 3:"object"!==typeof(o=t.sent).data?e(E({header:"Error",content:"Something went wrong"})):-1===o.data.error_code?(u={header:"Error",content:o.data.data.msg},e(E(u))):e({type:"GET_BOARD",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},L=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var u,i,s;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php",{params:{a:"dailyValuation",univcode:u.univ.funivcode,dateFrom:t.dateFrom,dateTo:t.dateTo,board:e}});case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?n(E({header:"Error",content:"Something went wrong"})):-1===i.data.error_code?(s={header:"Error",content:i.data.data.msg},n(E(s))):n({type:"GET_DAILY_VALUATION",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},A=function(t){return{type:"SAVE_INVITE_DATA",payload:t}},T=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.post("/app.php?a=saveteachvalapi&univcode="+o.univ.funivcode,{data:{deggrp:o.user.deggrp,univcode:o.univ.funivcode,board:o.user.fdegree,taechdet:t,usr:o.user.fname}});case 3:"object"!==typeof(u=e.sent).data?r(E({header:"Error",content:"Something went wrong"})):-1===u.data.error_code?(i={header:"Error",content:u.data.data.msg},r(E(i))):(s={header:"Success",content:u.data.data.msg},r(E(s),{type:"SAVE_INVITE_LIST",payload:u.data}));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},S=function(){return{type:"CLEAR_DAILY_VALUATION"}},R=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getRvPcReport",univcode:o.univ.funivcode,dateFrom:t.dateFrom,dateTo:t.dateTo,qpcodeFrom:t.qpcodeFrom,qpcodeTo:t.qpcodeTo,regnoFrom:t.regnoFrom,regnoTo:t.regnoTo,correctionType:t.correctionType,status:t.status,reportType:t.reportType,fdeggrp:t.fdeggrp}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?r(E({header:"Error",content:"Something went wrong"})):-1===u.data.error_code?(i={header:"Error",content:u.data.data.msg},r(E(i)),r({type:"EMPTY",payload:u.data})):r({type:t.actionType,payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},G=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=updateChkListDet&univcode="+o.univ.funivcode,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?r(E({header:"Error",content:"Something went wrong"})):-1===u.data.error_code?(i={header:"Error",content:u.data.data.msg},r(E(i))):r({type:"GET_DAILY_VALUATION",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},k=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,o,u;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php",{params:{a:"getDropDownOptions",univcode:n.univ.funivcode}});case 3:"object"!==typeof(o=t.sent).data?e(E({header:"Error",content:"Something went wrong"})):-1===o.data.error_code?(u={header:"Error",content:o.data.data.msg},e(E(u))):e({type:"GET_DROP_DOWN_OPTIONS",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},N=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,o,u;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php",{params:{a:"getfboarddailyval",univcode:n.univ.funivcode}});case 3:"object"!==typeof(o=t.sent).data?e(E({header:"Error",content:"Something went wrong"})):-1===o.data.error_code?(u={header:"Error",content:o.data.data.msg},e(E(u))):e({type:"GET_DROP_DOWN_OPTIONS_FBOARD",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},D=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u,i,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),u=o.degGrpDegree,r({type:"SET_LOADER"}),e.next=5,a.a.post("/app.php?a=saveDeggrpData&univcode="+o.univ.funivcode,{data:{deggrp:t,degrees:u}});case 5:i=e.sent,r({type:"UNSET_LOADER"}),0==i.data.error_code?({error_code:-1,data:{msg:"Something went wrong"},status:"failure"},s={header:"Success",content:i.data.data.msg},r(E(s))):(p={header:"Error",content:i.data.data.msg},r(E(p)));case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},C=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var o,u;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),e.next=3,a.a.get("/app.php?a=getCollegeOnDeggrp&univcode="+o.univ.funivcode+"°grp="+t);case 3:u=e.sent,console.log(u),0==u.data.error_code?r({type:"COLLEGE_DEGGRP",payload:u.data.data}):r({type:"CLEAR_COLLEGE_DEGGRP",payload:[]});case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},I=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var u,i;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),r.next=3,a.a.get("/app.php?a=getDegreeOnDeggrpCollege&univcode="+u.univ.funivcode+"°grp="+t+"&college="+e);case 3:i=r.sent,console.log(i),0==i.data.error_code?n({type:"DEGREE_COLLEGE_DEGGRP",payload:i.data.data}):n({type:"CLEAR_DEGREE_COLLEGE_DEGGRP",payload:[]});case 6:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()}},271:function(t,e,r){"use strict";var n=r(471),a=r.n(n),o=r(274),c=a.a.create({baseURL:o.a,headers:{"X-Auth-Origin":"E-GOVERNANCE"}});c.interceptors.request.use(function(t){var e=localStorage.getItem("logtoken");return e&&(t.headers["X-Auth-Token"]=e),t},function(t){return Promise.reject(t)}),e.a=c},274:function(t,e,r){"use strict";r.d(e,"c",function(){return n}),r.d(e,"a",function(){return a}),r.d(e,"e",function(){return o}),r.d(e,"d",function(){return c}),r.d(e,"b",function(){return u});var n=window.location.protocol+"//universitysolutions.in/univadmin/app.php?a=",a=window.location.protocol+"//universitysolutions.in/univadmin",o="https://studentportal.universitysolutions.in/",c="https://university-group-attachment.s3.ap-south-1.amazonaws.com/",u="https://logisys-uploads.s3.ap-south-1.amazonaws.com/"},286:function(t,e,r){"use strict";r.d(e,"l",function(){return i}),r.d(e,"n",function(){return s}),r.d(e,"m",function(){return p}),r.d(e,"i",function(){return d}),r.d(e,"c",function(){return f}),r.d(e,"a",function(){return h}),r.d(e,"b",function(){return l}),r.d(e,"j",function(){return g}),r.d(e,"k",function(){return y}),r.d(e,"y",function(){return v}),r.d(e,"d",function(){return m}),r.d(e,"z",function(){return E}),r.d(e,"w",function(){return b}),r.d(e,"r",function(){return O}),r.d(e,"p",function(){return _}),r.d(e,"g",function(){return j}),r.d(e,"e",function(){return x}),r.d(e,"f",function(){return L}),r.d(e,"t",function(){return A}),r.d(e,"o",function(){return T}),r.d(e,"u",function(){return S}),r.d(e,"v",function(){return R}),r.d(e,"h",function(){return G}),r.d(e,"x",function(){return k}),r.d(e,"s",function(){return N}),r.d(e,"q",function(){return D});var n=r(68),a=r(271),o=r(267),c=r(910);function u(){u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),u=new G(n||[]);return a(c,"_invoke",{value:A(t,r,u)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var h="suspendedStart",l="suspendedYield",g="executing",y="completed",v={};function m(){}function E(){}function w(){}var b={};p(b,c,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(k([])));_&&_!==r&&n.call(_,c)&&(b=_);var j=w.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){p(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,c,u){var i=f(t[a],t,o);if("throw"!==i.type){var s=i.arg,p=s.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,u)},function(t){r("throw",t,c,u)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,u)})}u(i.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function A(e,r,n){var a=h;return function(o,c){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var u=n.delegate;if(u){var i=T(u,n);if(i){if(i===v)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var s=f(e,r,n);if("normal"===s.type){if(a=n.done?y:l,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function T(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,T(e,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,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(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 R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(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 a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return E.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:E,configurable:!0}),E.displayName=p(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,p(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},x(L.prototype),p(L.prototype,i,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(d(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},x(j),p(j,s,"Generator"),p(j,c,function(){return this}),p(j,"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=k,G.prototype={constructor:G,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(R),!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 a(n,a){return u.type="throw",u.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],u=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},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),R(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 a=n.arg;R(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var i=r.n(c)()(),s=function(t){return function(){var e=Object(n.a)(u().mark(function e(r,n){var c,s,p,d;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return!1,e.next=3,a.a.post("/app.php?a=eGovSignin",{data:{fmobileno:t.fmobileno,fpasswd:t.fpasswd}},{headers:{"X-Auth-Type":"LOGREGN"}}).catch(function(t){!0});case 3:if(void 0!=(c=e.sent)){e.next=8;break}return s={header:"Error",content:"Network Error"},r(Object(o.A)(s)),e.abrupt("return");case 8:"object"!==typeof c.data?(p={header:"Error",content:"Something went wrong"},r(Object(o.A)(p))):0===c.data.error_code?(r({type:"LOGIN",payload:c.data}),c.data.data.loginfo.fusertype.includes("460")?i.push("/old-question-papers"):i.push("/dashboard")):(d={header:"Error",content:c.data.data.msg},r(Object(o.A)(d)));case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,s,p,d,f,h;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r(),null!=localStorage.getItem("logtoken")){t.next=7;break}return n={header:"Error",content:"Login to access this portal"},e(Object(o.A)(n)),i.push("/"),t.abrupt("return");case 7:return t.next=9,a.a.get("/app.php?a=eGovIsSignedIn",{});case 9:if("object"===typeof(c=t.sent).data){t.next=16;break}s={header:"Error",content:"Something went wrong"},e(Object(o.A)(s)),i.push("/"),t.next=33;break;case 16:if(0!==c.data.error_code){t.next=30;break}return t.next=19,e({type:"USER_INFO",payload:c.data});case 19:return t.next=21,e({type:"FETCH_UNIVS",payload:c.data});case 21:return t.next=23,e({type:"FETCH_USER_TYPE",payload:c.data});case 23:return p=c.data.data.univs,d=c.data.data.user.fcuruniv,f=p.filter(function(t,e){return t.funivcode==d}),t.next=28,e(A(f[0]));case 28:t.next=33;break;case 30:h={header:"Error",content:c.data.msg},e(Object(o.A)(h)),i.push("/");case 33:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=localStorage.getItem("logtoken")){t.next=3;break}return t.abrupt("return");case 3:return n=r(),t.next=6,a.a.get("/app.php?",{params:{a:"eGovGetMenus",univcode:n.user.fcuruniv,usertype:n.user.fcurtype,usermob:n.user.fmobileno}});case 6:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong while fetching menus"},e(Object(o.A)(i))):0===c.data.error_code?e({type:"GET_MENUS",payload:c.data}):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(u().mark(function e(r,n){var c,i,s,p,d;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=changePassword&univcode="+c.user.fcuruniv,{data:t,user:c.user});case 4:i=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?(s={header:"Error",content:"Something went wrong "},r(Object(o.A)(s))):0===i.data.error_code?(p={header:"Success",content:i.data.data.msg},r(Object(o.A)(p))):(d={header:"Error",content:i.data.data.msg},r(Object(o.A)(d)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(u().mark(function e(r,n){var c,i,s,p,d;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.post("/app.php?a=changeMobSendOTP&univcode="+c.user.fcuruniv,{data:t,user:c.user});case 3:if("object"===typeof(i=e.sent).data){e.next=10;break}return s={header:"Error",content:"Something went wrong "},r(Object(o.A)(s)),e.abrupt("return",-1);case 10:if(0!==i.data.error_code){e.next=16;break}return p={header:"Success",content:i.data.data.msg},r(Object(o.A)(p)),e.abrupt("return",0);case 16:return d={header:"Error",content:i.data.data.msg},r(Object(o.A)(d)),e.abrupt("return",-1);case 19: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)(u().mark(function e(r,n){var c,s,p,d,f;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=changeMobileNo&univcode="+c.user.fcuruniv,{data:t,user:c.user});case 4:s=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof s.data?(p={header:"Error",content:"Something went wrong "},r(Object(o.A)(p))):0===s.data.error_code?(d={header:"Success",content:s.data.data.msg},r(Object(o.A)(d)),i.push("/")):(f={header:"Error",content:s.data.data.msg},r(Object(o.A)(f)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},g=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r(),t.next=3,a.a.get("/app.php?",{params:{a:"uniclareGetStates"},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(n=t.sent).data?(c={header:"Error",content:"Something went wrong"},e(Object(o.A)(c))):0===n.data.error_code?e({type:"GET_STATES",payload:n.data}):(i={header:"Error",content:n.data.data.msg},e(Object(o.A)(i)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},y=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"uniclareGetUnivs",statecode:n.regn.fstate},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?e({type:"GET_UNIVS",payload:c.data}):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},v=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"uniclareValidateRegno",univ:n.regn.funivcode,regno:n.regn.fuserid},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?e({type:"VALID_REGNO",payload:c.data}):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},m=function(t,e){return{type:"CHANGE_REGN",payload:{name:t,value:e}}},E=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.post("/app.php?a=uniclareValidateMob",{regno:n.regn.fuserid,univ:n.regn.funivcode,mobile:n.regn.fmobileno,email:n.regn.femail},{headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?e(w()):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},w=function(t){return function(){var e=Object(n.a)(u().mark(function e(r,n){var c,i,s,p;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=n(),e.next=3,a.a.post("/app.php?a=uniclareSendOTP&usertyp="+t,{regno:c.regn.fuserid,univ:c.regn.funivcode,mobile:c.regn.fmobileno,email:c.regn.femail,password:c.regn.fpasswd},{headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(i=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):0===i.data.error_code?r({type:"MOBILE_VALID",payload:i.data}):(p={header:"Error",content:i.data.data.msg},r(Object(o.A)(p)));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},b=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,s,p;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.post("/app.php?a=uniclareSignUp",{mobile:n.regn.fmobileno,motp:n.regn.fmotp,eotp:n.regn.feotp},{headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},e(Object(o.A)(s))):0===c.data.error_code?i.push("/"):(p={header:"Error",content:c.data.data.msg},e(Object(o.A)(p)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},O=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s,p;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.post("/app.php?a=uniclareForgotPws",{fmobileno:n.fgtpasswd.fmobileno},{headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?(s={header:"Success",content:"OTP Sent to registered Mobile No. and Email ID"},e(Object(o.A)(s)),e({type:"FGT_MOBILE_VALID",payload:c.data})):(p={header:"Error",content:c.data.data.msg},e(Object(o.A)(p)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},_=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,s,p;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.post("/app.php?a=uniclareForgotPwsSave",{mobileno:n.fgtpasswd.fmobileno,password:n.fgtpasswd.fpasswd,otp:n.fgtpasswd.fmotp},{headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},e(Object(o.A)(s))):0===c.data.error_code?i.push("/"):(p={header:"Error",content:c.data.data.msg},e(Object(o.A)(p)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},j=function(){return{type:"CLEAR_REGN"}},x=function(t,e){return{type:"CHANGE_FGT",payload:{name:t,value:e}}},L=function(){return{type:"CLEAR_FGT"}},A=function(t){return{type:"SET_UNIV",payload:t}},T=function(){return{type:"LOGOUT"}},S=function(t){return{type:"SET_USER_TYPE",payload:t}},R=function(t){return{type:"SET_DEGGRP",payload:t}},G=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"getRegDegree",statecode:n.regn.fstate,univcode:n.regn.funivcode},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?e({type:"GET_COLL",payload:c.data}):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},k=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"uniclareValidateCollCode",univcode:n.regn.funivcode,fstate:n.regn.fstate,regcoll:n.regn.coll},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?e({type:"VALID_REGNO_COLL",payload:c.data}):(s={header:"Error",content:c.data.data.msg},e(Object(o.A)(s)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},N=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s,p;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"sendRegOtp",univcode:n.regn.funivcode,fstate:n.regn.fstate,regcoll:n.regn.coll,mob:n.regn.pri.fmobil,pri:n.regn.pri.fprinic},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?(s={header:"Success",content:"OTP Sent to registered Mobile No."},e(Object(o.A)(s)),e({type:"SEND_MOBILE_VALID",payload:c.data})):(p={header:"Error",content:c.data.data.msg},e(Object(o.A)(p)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},D=function(){return function(){var t=Object(n.a)(u().mark(function t(e,r){var n,c,i,s,p;return u().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("/app.php?",{params:{a:"saveDataRegTeach",pass:n.regn.pass,univcode:n.regn.funivcode,otp:n.regn.otp,fstate:n.regn.fstate,regcoll:n.regn.coll,mob:n.regn.pri.fmobil,pri:n.regn.pri.fprinic,twon:n.regn.pri.ftowns},headers:{"X-Auth-Type":"LOGREGN"}});case 3:"object"!==typeof(c=t.sent).data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):0===c.data.error_code?(s={header:"Success",content:"Registered Successfull"},e(Object(o.A)(s)),e({type:"SAVE_TECH",payload:c.data})):(p={header:"Error",content:c.data.data.msg},e(Object(o.A)(p)));case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}},421:function(t,e,r){"use strict";var n=r(100),a=r(101),o=r(103),c=r(102),u=r(104),i=r(2),s=r.n(i),p=(r(106),r(105)),d=r(267),f=r(1333),h=r(1343),l=function(t){function e(){var t,r;Object(n.a)(this,e);for(var a=arguments.length,u=new Array(a),i=0;i<a;i++)u[i]=arguments[i];return(r=Object(o.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(u)))).close=function(){return r.props.closeError()},r}return Object(u.a)(e,t),Object(a.a)(e,[{key:"render",value:function(){var t=this.props.error,e=t.open,r=t.size,n=t.header,a=t.content,o="Error"===n?"#ca4747":"#116600";return s.a.createElement("div",null,s.a.createElement(f.a,{dimmer:"blurring",style:{maxHeight:"25vh",width:"26vw"},size:r,open:e,onClose:this.close},s.a.createElement(f.a.Header,{style:{color:"#fff",backgroundColor:"".concat(o),padding:"0.5em 1em"}},n),s.a.createElement(f.a.Content,{style:{maxHeight:"10em"}},s.a.createElement("p",null,s.a.createElement("b",null,a))),s.a.createElement(f.a.Actions,null,s.a.createElement(h.a,{style:{padding:"0.5em 1em"},color:"blue",size:"mini",basic:!0,onClick:this.close,content:"OK"}))))}}]),e}(i.Component);e.a=Object(p.b)(function(t){return{error:t.moderror}},{closeError:d.e})(l)}}]);
//# sourceMappingURL=7.a8163a36.chunk.js.map
|