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.145.55.25
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{298:function(t,e,r){"use strict";r.d(e,"l",function(){return u}),r.d(e,"j",function(){return i}),r.d(e,"i",function(){return p}),r.d(e,"q",function(){return d}),r.d(e,"a",function(){return s}),r.d(e,"k",function(){return f}),r.d(e,"m",function(){return h}),r.d(e,"b",function(){return y}),r.d(e,"o",function(){return E}),r.d(e,"n",function(){return l}),r.d(e,"B",function(){return v}),r.d(e,"r",function(){return g}),r.d(e,"A",function(){return O}),r.d(e,"y",function(){return A}),r.d(e,"z",function(){return m}),r.d(e,"d",function(){return w}),r.d(e,"g",function(){return _}),r.d(e,"f",function(){return b}),r.d(e,"x",function(){return j}),r.d(e,"v",function(){return S}),r.d(e,"w",function(){return T}),r.d(e,"p",function(){return D}),r.d(e,"h",function(){return L}),r.d(e,"e",function(){return R}),r.d(e,"u",function(){return x}),r.d(e,"s",function(){return N}),r.d(e,"t",function(){return k}),r.d(e,"c",function(){return P});var n=r(68),a=r(271),o=r(267);r(286);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",p=o.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),u=new x(n||[]);return a(c,"_invoke",{value:T(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=s;var h="suspendedStart",y="suspendedYield",E="executing",l="completed",v={};function g(){}function O(){}function A(){}var m={};d(m,u,function(){return this});var w=Object.getPrototypeOf,_=w&&w(w(N([])));_&&_!==r&&n.call(_,u)&&(m=_);var b=A.prototype=g.prototype=Object.create(m);function j(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function r(a,o,c,u){var i=f(t[a],t,o);if("throw"!==i.type){var p=i.arg,d=p.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then(function(t){r("next",t,c,u)},function(t){r("throw",t,c,u)}):e.resolve(d).then(function(t){p.value=t,c(p)},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 T(e,r,n){var a=h;return function(o,c){if(a===E)throw new Error("Generator is already running");if(a===l){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=D(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=l,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=E;var p=f(e,r,n);if("normal"===p.type){if(a=n.done?l:y,p.arg===v)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(a=l,n.method="throw",n.arg=p.arg)}}}function D(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,D(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 L(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 x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function N(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 O.prototype=A,a(b,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:O,configurable:!0}),O.displayName=d(A,p,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===O||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,d(t,p,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},j(S.prototype),d(S.prototype,i,function(){return this}),e.AsyncIterator=S,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new S(s(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},j(b),d(b,p,"Generator"),d(b,u,function(){return this}),d(b,"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,x.prototype={constructor:x,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"),p=n.call(c,"finallyLoc");if(i&&p){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(!p)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:N(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,p;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=getDesignation&univcode="+n.univ.funivcode);case 4:u=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},e(Object(o.A)(p))):e({type:"TEACHER_DESIGNATION",payload:u.data});case 7: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,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("app.php?a=getTeachBoardDetails&univcode="+u.univ.funivcode+"°grp="+t);case 4:i=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?(p={header:"Error",content:"Something went wrong"},r(Object(o.A)(p))):-1===i.data.error_code?(d={header:"Error",content:i.data.data.msg},r(Object(o.A)(d)),r({type:"CLEAR_TEACHER_BOARD",payload:i.data})):r({type:"TEACHER_BOARD",payload:i.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t,e,r){return function(){var u=Object(n.a)(c().mark(function n(u,i){var p,d,s;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=i(),u({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=getQPSubjects&univcode="+p.univ.funivcode+"°grp="+t+"&sem="+e+"&board="+r);case 4:d=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof d.data?(s={header:"Error",content:"Something went wrong"},u(Object(o.A)(s))):-1===d.data.error_code?u({type:"CLEAR_TEACHER_BOARD_DETAILS",payload:d.data}):u({type:"TEACHER_BOARD_DETAILS",payload:d.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},d=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveTeacherEntry",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},s=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:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("app.php?a=viewTeacherEntry&univcode="+n.univ.funivcode);case 4:u=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},e(Object(o.A)(i))):-1===u.data.error_code?({header:"Error",content:u.data.data.msg},e({type:"CLEAR_TEACHER_ENTRY_DATA",payload:u.data})):e({type:"VIEW_TEACHER_ENTRY_DATA",payload:u.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,u){var i,p,d;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=u(),n({type:"SET_LOADER"}),r.next=4,a.a.get("app.php?a=getTeacherData&univcode="+i.univ.funivcode+"&teachcode="+t+"&collcode="+e);case 4:p=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof p.data?(d={header:"Error",content:"Something went wrong"},n(Object(o.A)(d))):-1===p.data.error_code?({header:"Error",content:p.data.data.msg},n({type:"CLEAR_GET_TEACHER_ENTRY_DATA",payload:p.data})):n({type:"GET_TEACHER_ENTRY_DATA",payload:p.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),r({type:"SET_LOADER"}),i="",i="051"===u.univ.funivcode?"deggrpQPDet":"examDate",e.next=6,a.a.get("app.php?a="+i+"&univcode="+u.univ.funivcode+"&type="+t);case 6:p=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof p.data?(d={header:"Error",content:"Something went wrong"},r(Object(o.A)(d))):-1===p.data.error_code?{header:"Error",content:p.data.data.msg}:r({type:"LOAD_YEAR_AND_MODE",payload:p.data});case 9:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},y=function(t,e,r){return function(){var u=Object(n.a)(c().mark(function n(u,i){var p,d,s;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=i(),u({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=assignModerator&univcode="+p.univ.funivcode+"&board="+t+"&qpcode="+e+"°grp="+r);case 4:d=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof d.data?(s={header:"Error",content:"Something went wrong"},u(Object(o.A)(s))):-1===d.data.error_code?({header:"Error",content:d.data.data.msg},u({type:"CLEAR_ASSIGN_MODERATOR",payload:d.data})):u({type:"ASSIGN_MODERATOR",payload:d.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},E=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveAssignModerator&univcode="+u.univ.funivcode,t,{headers:{"Content-type":"multipart/form-data"}});case 4:i=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?(p={header:"Error",content:"Something went wrong"},r(Object(o.A)(p))):-1===i.data.error_code?(d={header:"Error",content:i.data.data.msg},r(Object(o.A)(d))):(s={header:"Success",content:i.data.data.msg},r(Object(o.A)(s)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t,e,r,u,i,p,d){return function(){var s=Object(n.a)(c().mark(function n(s,f){var h,y,E;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=qpModeratorSummary&univcode="+h.univ.funivcode+"&exam="+t+"&board="+e+"&qpcode="+r+"°ree="+u+"&sem="+i+"&status="+p+"&modstatus="+d);case 4:y=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof y.data?(E={header:"Error",content:"Something went wrong"},s(Object(o.A)(E))):-1===y.data.error_code?({header:"Error",content:y.data.data.msg},s({type:"CLEAR_QP_ASSIGN_MODERATOR_SUMMARY",payload:y.data})):s({type:"QP_ASSIGN_MODERATOR_SUMMARY",payload:y.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},v=function(t,e,r,u,i,p,d){return function(){var s=Object(n.a)(c().mark(function n(s,f){var h,y,E;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return h=f(),s({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=viewQuestionPaper&univcode="+h.univ.funivcode+"&exam="+t+"&board="+e+"&qpcode="+r+"°ree="+i+"&sem="+p+"&status="+u+"&stype="+d);case 4:y=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof y.data?(E={header:"Error",content:"Something went wrong"},s(Object(o.A)(E))):-1===y.data.error_code?({header:"Error",content:y.data.data.msg},s({type:"CLEAR_QUESTION_PAPER",payload:y.data})):s({type:"VIEW_QUESTION_PAPER",payload:y.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},g=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveViewQuestionPaper",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},O=function(t,e,r,u,i){return function(){var p=Object(n.a)(c().mark(function n(p,d){var s,f,h;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=d(),p({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=viewQPPatternHandler&univcode="+s.univ.funivcode+"&exam="+t+"&board="+e+"&qpcode="+r+"&status="+u+"&sem="+i);case 4:f=n.sent,p({type:"UNSET_LOADER"}),"object"!==typeof f.data?(h={header:"Error",content:"Something went wrong"},p(Object(o.A)(h))):-1===f.data.error_code?({header:"Error",content:f.data.data.msg},p({type:"CLEAR_QP_PATTERN",payload:f.data})):p({type:"QP_PATTERN",payload:f.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return p.apply(this,arguments)}}()},A=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=uploadQpSyllabusFile",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},m=function(t,e,r){return function(){var u=Object(n.a)(c().mark(function n(u,i){var p,d,s;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return p=i(),u({type:"SET_LOADER"}),n.next=4,a.a.get("app.php?a=viewFinalQp&univcode="+p.univ.funivcode+"&exam="+t+"&board="+e+"&qpcode="+r);case 4:d=n.sent,u({type:"UNSET_LOADER"}),"object"!==typeof d.data?(s={header:"Error",content:"Something went wrong"},u(Object(o.A)(s))):-1===d.data.error_code?({header:"Error",content:d.data.data.msg},u({type:"CLEAR_QP_FINAL_PAPER",payload:d.data})):u({type:"QP_FINAL_PAPER",payload:d.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return u.apply(this,arguments)}}()},w=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=downloadQPFinal",t,{headers:{"Content-type":"multipart/form-data"}});case 4:e.sent,r({type:"UNSET_LOADER"});case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},_=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,u){var i,p;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=getModeratorData&univcode="+e+"&teachcode="+t);case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(p={header:"Error",content:"Something went wrong"},n(Object(o.A)(p))):-1===i.data.error_code?n({type:"CLEAR_QP_MOD_DET",payload:i.data}):n({type:"QP_MOD_DET",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},b=function(t,e,r,u,i,p,d){return function(){var s=Object(n.a)(c().mark(function n(s,f){var h,y,E;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return f(),s({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=getModUpdData&univcode="+t+"&teachcode="+r+"&qpcode="+e+"&userId="+u+"&setnos="+i+"&fyear="+p+"&fexamtype="+d);case 4:h=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof h.data?(y={header:"Error",content:"Something went wrong"},s(Object(o.A)(y))):-1===h.data.error_code?(s({type:"CLEAR_MOD_UPD",payload:h.data}),E={header:"Error",content:h.data.data.msg},s(Object(o.A)(E))):s({type:"MOD_UPD",payload:h.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return s.apply(this,arguments)}}()},j=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=uploadQPMODFIle",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},S=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=uploadAnsMODFIle",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:"File Uploaded"},r(Object(o.A)(d)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},T=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=uploadMODFormFIle",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},D=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=saveSelQPSeterNew&univcode="+u.univ.funivcode,t,{headers:{"Content-type":"multipart/form-data"}});case 4:i=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?(p={header:"Error",content:"Something went wrong"},r(Object(o.A)(p))):-1===i.data.error_code?(d={header:"Error",content:i.data.data.msg},r(Object(o.A)(d))):(s={header:"Success",content:i.data.data.msg},r(Object(o.A)(s)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},L=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,u){var i,p;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=getModeratorDet&univcode="+e+"&teachcode="+t);case 4:i=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof i.data?(p={header:"Error",content:"Something went wrong"},n(Object(o.A)(p))):-1===i.data.error_code?n({type:"CLEAR_MODE_DETI",payload:i.data}):n({type:"GET_MODE_DETI",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},R=function(t,e,r,u,i,p){return function(){var d=Object(n.a)(c().mark(function n(d,s){var f,h,y;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s(),d({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=getModQPData&univcode="+t+"&teachcode="+r+"&qpcode="+e+"&userId="+u+"&setnos="+i+"§ion="+p);case 4:f=n.sent,d({type:"UNSET_LOADER"}),"object"!==typeof f.data?(h={header:"Error",content:"Something went wrong"},d(Object(o.A)(h))):-1===f.data.error_code?(d({type:"CLEAR_UPLD_DATA",payload:f.data}),y={header:"Error",content:f.data.data.msg},d(Object(o.A)(y))):d({type:"UPLD_DATA",payload:f.data});case 7:case"end":return n.stop()}},n)}));return function(t,e){return d.apply(this,arguments)}}()},x=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=upldQPMODFile",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},N=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=upldAnsMODFile",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:"File Uploaded"},r(Object(o.A)(d)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},k=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var u,i,p,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("/app.php?a=upldMODFormFile",t,{headers:{"Content-type":"multipart/form-data"}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(i={header:"Error",content:"Something went wrong"},r(Object(o.A)(i))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(d={header:"Success",content:u.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)}}()},P=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,u){var i,p;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=checkTeachEntryMobile&mobileno="+t+"&univcode="+e);case 4:i=r.sent,n({type:"UNSET_LOADER"}),-1===i.data.error_code?(p={header:"Error",content:i.data.data.msg},n(Object(o.A)(p))):console.log("success");case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=2.10d817ca.chunk.js.map
|