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.149.24.49
(window.webpackJsonp=window.webpackJsonp||[]).push([[174,307],{1215:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),p=r.n(s),h=r(105),f=r(1377),d=r(1343),g=r(272),y=r(1335),v=r(1337),m=r(941),w=r(267),E=r(407),b=r(274);function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:_(e,r,c)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",d="executing",g="completed",y={};function v(){}function m(){}function w(){}var E={};u(E,i,function(){return this});var b=Object.getPrototypeOf,O=b&&b(b(R([])));O&&O!==r&&n.call(O,i)&&(E=O);var L=w.prototype=v.prototype=Object.create(E);function S(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(a,o,i,c){var l=p(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function _(t,r,n){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=p(t,r,n);if("normal"===u.type){if(a=n.done?g:f,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return m.prototype=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=u(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},S(j.prototype),u(j.prototype,c,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new j(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var O=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];return(r=Object(c.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(i)))).state={deggrp:"",type:"",year:"",degree:[],college:[],examno:"",rtype:""},r.componentDidMount=Object(a.a)(x().mark(function e(){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loaddegreegroup();case 2:case"end":return e.stop()}},e)})),r.handleChangedeggrp=function(){var e=Object(a.a)(x().mark(function e(t,n){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({deggrp:n.value});case 2:return r.props.degcentre.filter(function(e,t){e.fdeggrp==n.value&&r.setState({type:e.fexamtype,year:e.fyear})}),r.setState({degree:["all"],college:["all"]}),e.next=6,r.props.loaddegres(r.state.deggrp);case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(a.a)(x().mark(function e(t,n){return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({degree:n.value});case 2:return e.next=4,r.props.loadcollresstae(r.state.degree);case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeCollege=function(e,t){r.setState({college:t.value})},r.handleChangeRType=function(e,t){r.setState({rtype:t.value})},r.handleChangeType=function(e,t){r.setState({type:t.value})},r.handleChangeYear=function(e,t){r.setState({year:t.value})},r.handleChangeExamno=function(e,t){r.setState({examno:t.value})},r.handleSubmitReport=Object(a.a)(x().mark(function e(){var t,n,a,o,i,c,l,u,s,p,h,f,d,g,y;return x().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,n=t.deggrp,a=t.degree,o=t.college,i=t.examno,c=t.year,l=t.type,""!==r.state.deggrp){e.next=5;break}return u={header:"Error",content:"Select Degree Group"},r.props.showError(u),e.abrupt("return");case 5:if(""!==r.state.degree){e.next=9;break}return s={header:"Error",content:"Select Degree"},r.props.showError(s),e.abrupt("return");case 9:if(""!==r.state.college){e.next=13;break}return p={header:"Error",content:"Select college"},r.props.showError(p),e.abrupt("return");case 13:if(""!==r.state.rtype){e.next=17;break}return h={header:"Error",content:"Select Report Type"},r.props.showError(h),e.abrupt("return");case 17:if(""!==r.state.examno){e.next=21;break}return f={header:"Error",content:"Enter Exam No."},r.props.showError(f),e.abrupt("return");case 21:if(""!==r.state.year){e.next=25;break}return d={header:"Error",content:"Enter Year"},r.props.showError(d),e.abrupt("return");case 25:if(""!==r.state.type){e.next=29;break}return g={header:"Error",content:"Enter Type"},r.props.showError(g),e.abrupt("return");case 29:if(y=i.split(""),"ResultStatsGenderWise"!=r.state.rtype){e.next=33;break}return e.next=33,window.open(b.c+"ResultStatsGenderWise°grp="+n+"&sem="+y+"&year="+c+"&examtype="+l+"&univcode="+r.props.univcode+"&college="+JSON.stringify(o)+"°ree="+JSON.stringify(a),"_blank");case 33:if("ResultStatsCategoryWise"!=r.state.rtype){e.next=36;break}return e.next=36,window.open(b.c+"ResultStatsCategoryWise°grp="+n+"&sem="+y+"&year="+c+"&examtype="+l+"&univcode="+r.props.univcode+"&college="+JSON.stringify(o)+"°ree="+JSON.stringify(a),"_blank");case 36:if("ResultStatsDegreeWise"!=r.state.rtype){e.next=39;break}return e.next=39,window.open(b.c+"ResultStatsDegreeWise°grp="+n+"&sem="+y+"&year="+c+"&examtype="+l+"&univcode="+r.props.univcode+"&college="+JSON.stringify(o)+"°ree="+JSON.stringify(a),"_blank");case 39:if("ResultStatsCollegeWise"!=r.state.rtype){e.next=42;break}return e.next=42,window.open(b.c+"ResultStatsCollegeWise°grp="+n+"&sem="+y+"&year="+c+"&examtype="+l+"&univcode="+r.props.univcode+"&college="+JSON.stringify(o)+"°ree="+JSON.stringify(a),"_blank");case 42:case"end":return e.stop()}},e)})),r}return Object(u.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this.state,t=e.deggrp,r=e.degree,a=e.college,o=e.rtype,i=e.year,c=e.type,l=e.examno,u=[{key:1,value:"all",text:"All"}],s=this.props.degcentre.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdescpn}}),h=this.props.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+"-"+e.fdescpn}}),w=[].concat(u,Object(n.a)(h)),E=this.props.college.map(function(e){return{key:e.fcollcode,value:e.fcollcode,text:e.fcollcode+"-"+e.fcollname}}),b=[].concat(u,Object(n.a)(E));return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"Result Statistics"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(d.a,{basic:!0,color:"blue",onClick:this.handleSubmitReport,content:"Report",icon:"file"}),p.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(m.a,{to:"/dashboard"},p.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(g.a,null),p.a.createElement(f.a.Description,{style:{overflowY:"auto",height:"600px"}},p.a.createElement("div",{className:"col-md-8 col-lg-8 col-sm-12"},p.a.createElement(y.a,null,p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:16},p.a.createElement("label",null,"Degree Group"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangedeggrp,value:t,name:"deggrp",placeholder:"Degree Group",options:s}))),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Year"),p.a.createElement(y.a.Input,{placeholder:"Year",name:"year",onChange:this.handleChangeYear,value:i})),p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Type"),p.a.createElement(y.a.Input,{placeholder:"Type",name:"type",onChange:this.handleChangeType,value:c}))),p.a.createElement(y.a.Field,{width:16},p.a.createElement("label",null,"Degree"),p.a.createElement(v.a,{multiple:!0,fluid:!0,search:!0,selection:!0,onChange:this.handleChangeDegree,value:r,name:"degree",placeholder:"Degree",options:w})),p.a.createElement(y.a.Field,{width:16},p.a.createElement("label",null,"College"),p.a.createElement(v.a,{multiple:!0,fluid:!0,search:!0,selection:!0,onChange:this.handleChangeCollege,value:a,name:"college",placeholder:"College",options:b})),p.a.createElement(y.a.Group,null,p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Exam No."),p.a.createElement(y.a.Input,{placeholder:"Exam No.",name:"examno",onChange:this.handleChangeExamno,value:l})),p.a.createElement(y.a.Field,{width:8},p.a.createElement("label",null,"Report Type"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeRType,value:o,name:"rtype",placeholder:"Report Type",options:[{value:"ResultStatsGenderWise",text:"Gender Wise"},{value:"ResultStatsDegreeWise",text:"Degree Wise"},{value:"ResultStatsCollegeWise",text:"College Wise"},{value:"ResultStatsCategoryWise",text:"Category Wise"}]})))))))))}}]),t}(s.Component);t.default=Object(h.b)(function(e){return{univcode:e.univ.funivcode,degcentre:e.deggrpexamcentre,degree:e.restatloaddeg,college:e.restatloadcoll}},{showError:w.A,loaddegreegroup:E.d,loaddegres:E.e,loadcollresstae:E.c})(O)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),l=r.n(c),u=r(349),s=r(613),p=r(611),h=r(269);function f(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,c=e.fitted,d=e.hidden,g=e.horizontal,y=e.inverted,v=e.section,m=e.vertical,w=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(g,"horizontal"),Object(u.a)(y,"inverted"),Object(u.a)(v,"section"),Object(u.a)(m,"vertical"),"divider",r),E=Object(s.a)(f,e),b=Object(p.a)(f,e);return l.a.createElement(b,a()({},E,{className:w}),h.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},407:function(e,t,r){"use strict";r.d(t,"d",function(){return c}),r.d(t,"e",function(){return l}),r.d(t,"c",function(){return u}),r.d(t,"b",function(){return s}),r.d(t,"a",function(){return p});var n=r(68),a=r(271),o=r(267);function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:_(e,r,c)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",d="suspendedYield",g="executing",y="completed",v={};function m(){}function w(){}function E(){}var b={};s(b,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==r&&n.call(O,c)&&(b=O);var L=E.prototype=m.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(a,o,i,c){var l=h(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function _(t,r,n){var a=f;return function(o,i){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?y:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=E,a(L,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,u,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},S(j.prototype),s(j.prototype,l,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new j(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(L),s(L,u,"Generator"),s(L,c,function(){return this}),s(L,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,u,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),c=n.user.fcollcode?n.user.fcollcode:"",e.next=5,a.a.get("/app.php",{params:{a:"loaddeggrpexamcentre",univcode:n.user.fcuruniv,fcollcode:c}});case 5:l=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},t(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},t(Object(o.A)(s))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:l.data});case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,l,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loaddegres",univcode:c.user.fcuruniv,deggrp:e}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_DEGREE_RES",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,l,u,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"loadcollres",univcode:c.user.fcuruniv,deg:e}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"LOAD_COLLEGE_RES",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,u;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),e.next=3,a.a.get("app.php?a=getstatsdeglist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 3:"object"!==typeof(c=e.sent).data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},t(Object(o.A)(u))):t({type:"RESULT_STATS_DEGREE_LIST",payload:c.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,u;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),e.next=3,a.a.get("app.php?a=getstatsclglist&univcode="+n.univ.funivcode+"&fcollcode="+n.user.fcollcode+"&fdeggrp="+n.user.fdeggrp);case 3:"object"!==typeof(c=e.sent).data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},t(Object(o.A)(u))):t({type:"RESULT_STATS_COLLEGE_LIST",payload:c.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=174.0b05600f.chunk.js.map
|