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.133.149.244
(window.webpackJsonp=window.webpackJsonp||[]).push([[99,307],{1258:function(t,e,r){"use strict";r.r(e);var n=r(68),a=r(100),o=r(101),c=r(103),i=r(102),u=r(104),s=r(2),p=r.n(s),f=r(1377),l=r(1343),h=r(272),d=r(1335),v=r(1337),y=r(273),g=r(941),m=r(370),b=r(310),w=r(105),E=r(267);function O(){O=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",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var l="suspendedStart",h="suspendedYield",d="executing",v="completed",y={};function g(){}function m(){}function b(){}var w={};s(w,c,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(D([])));x&&x!==r&&n.call(x,c)&&(w=x);var j=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function L(t,e){function r(a,o,c,i){var u=f(t[a],t,o);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,i)})}i(u.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 S(e,r,n){var a=l;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=A(i,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===l)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var s=f(e,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;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,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(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 m.prototype=b,a(j,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},_(L.prototype),s(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(p(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},_(j),s(j,u,"Generator"),s(j,c,function(){return this}),s(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=D,N.prototype={constructor:N,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(C),!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 i.type="throw",i.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],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){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,y):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),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var x=function(t){function e(){var t,r;Object(a.a)(this,e);for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];return(r=Object(c.a)(this,(t=Object(i.a)(e)).call.apply(t,[this].concat(u)))).state={code:"",boardName:"",chCode:"",chName:"",mobile:"",email:"",deggrp:""},r.componentDidMount=Object(n.a)(O().mark(function t(){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getChairmanCode();case 2:return t.next=4,r.props.fetchDegGrp();case 4:case"end":return t.stop()}},t)})),r.codeChange=function(){var t=Object(n.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({code:n.value});case 2:return t.next=4,r.props.getChairmanDetails(r.state.code);case 4:return t.next=6,r.setState({chName:r.props.cDet.fteachname,mobile:r.props.cDet.fmobile,email:r.props.cDet.femail});case 6:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.deggrpChnage=function(){var t=Object(n.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({deggrp:n.value});case 2:return t.next=4,r.props.fetchQpBoard(r.state.deggrp);case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.chCodeChange=function(){var t=Object(n.a)(O().mark(function t(e,n){return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({chCode:n.value});case 2:return t.next=4,r.props.getfbaordName(r.state.chCode);case 4:return t.next=6,r.setState({boardName:r.props.boardname.fboardname});case 6:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.saveHandler=Object(n.a)(O().mark(function t(){var e,n,a,o,c;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.state,n=e.code,a=e.boardName,e.chCode,e.chName,e.mobile,e.email,""!=n){t.next=7;break}return o={header:"Error",content:"Enter Board Code"},r.props.showError(o),t.abrupt("return");case 7:if(""!=a){t.next=13;break}return c={header:"Error",content:"Enter Board Code"},r.props.showError(c),t.abrupt("return");case 13:return t.next=15,r.props.saveBoardMaster(r.state);case 15:r.setState({code:"",boardName:"",chCode:"",chName:"",mobile:"",email:""});case 16:case"end":return t.stop()}},t)})),r.handleClear=function(){r.setState({code:"",boardName:"",chCode:"",chName:"",mobile:"",email:""})},r.changeDeggrp=function(){var t=Object(n.a)(O().mark(function t(e,n){var a,o;return O().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.props.deggrp.filter(function(t,e){return t.fdeggrp===n.value}),o=a[0],t.next=4,r.setState({fyear:o.fyear,fexamtype:o.fexamtype,fexamdate:o.fexamdate,fdeggrp:n.value,frmSubmit:!1});case 4:r.props.fetchQpBoard(r.state.fdeggrp);case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.renderHeader=function(){return p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"Add Board Master"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(g.a,{to:"/masters/boardMaster"},p.a.createElement(l.a,{basic:!0,size:"small",color:"blue",icon:"eye",content:"View"})),p.a.createElement(l.a,{basic:!0,onClick:r.handleClear,color:"black",icon:"ban",content:"Clear"}),p.a.createElement(g.a,{to:"/dashboard"},p.a.createElement(l.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(u.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.code,n=e.boardName,a=e.chCode,o=e.chName,c=e.mobile,i=e.email,u=e.deggrp,s=Object(y.i)(),g=this.props.cCode.map(function(t,e){return{key:e,value:"".concat(t.fteachcode),text:"".concat(t.fteachcode,"-").concat(t.fteachname)}}),m=this.props.fdeggrp.map(function(t,e){return{key:e,value:t.fdeggrp,text:"".concat(t.fdeggrp," - ").concat(t.fdescpn)}}),b=this.props.board.map(function(t,e){return{key:e,value:t.fboardcode,text:"".concat(t.fboardcode," - ").concat(t.fboardname)}});return p.a.createElement("div",null,p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,this.renderHeader(),p.a.createElement(h.a,null),p.a.createElement(f.a.Description,{style:{height:"".concat(s,"px"),overflowY:"auto"}},p.a.createElement(d.a,null,p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement("label",null,"Select Degree Group"),p.a.createElement(v.a,{placeholder:"Select Degree Group",name:"deggrp",value:u,selection:!0,search:!0,options:m,onChange:this.deggrpChnage}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement("label",null,"Code"),p.a.createElement(v.a,{placeholder:"Select Code",selection:!0,search:!0,value:a,name:"Code",options:b,onChange:this.chCodeChange}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement(d.a.Input,{disabled:!0,placeholder:"Description",value:n,name:"Description",label:"Description",onChange:function(e,r){t.setState({boardName:r.value})}}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement("label",null,"Chairman Code"),p.a.createElement(v.a,{placeholder:"Select Chairman Code",name:"code",value:r,selection:!0,search:!0,options:g,onChange:this.codeChange}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement(d.a.Input,{placeholder:"Chairman Name",value:o,name:"Chairman_Name",label:"Chairman Name",onChange:function(e,r){t.setState({chName:r.value})}}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement(d.a.Input,{placeholder:"Mobile Number",value:c,name:"Mobile_Number",label:"Mobile Number",onChange:function(e,r){t.setState({mobile:r.value})}}))),p.a.createElement(d.a.Group,null,p.a.createElement(d.a.Field,{width:8},p.a.createElement(d.a.Input,{placeholder:"Email",value:i,name:"Email",label:"Email",onChange:function(e,r){t.setState({email:r.value})}}))),p.a.createElement(l.a,{basic:!0,color:"blue",content:"Submit",onClick:this.saveHandler}))))))}}]),e}(p.a.Component);e.default=Object(w.b)(function(t){return{fdeggrp:t.deggrp,cCode:t.chairmanCode,cDet:t.chairmanDet,board:t.boards,boardname:t.fboardName}},{showError:E.A,saveBoardMaster:m.f,getChairmanCode:m.b,getChairmanDetails:m.d,fetchDegGrp:E.j,fetchQpBoard:b.c,getfbaordName:b.k})(x)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),u=r.n(i),s=r(349),p=r(613),f=r(611),l=r(269);function h(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,i=t.fitted,d=t.hidden,v=t.horizontal,y=t.inverted,g=t.section,m=t.vertical,b=c()("ui",Object(s.a)(n,"clearing"),Object(s.a)(i,"fitted"),Object(s.a)(d,"hidden"),Object(s.a)(v,"horizontal"),Object(s.a)(y,"inverted"),Object(s.a)(g,"section"),Object(s.a)(m,"vertical"),"divider",r),w=Object(p.a)(h,t),E=Object(f.a)(h,t);return u.a.createElement(E,a()({},w,{className:b}),l.a.isNil(e)?o:e)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},e.a=h},310:function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"d",function(){return u}),r.d(e,"a",function(){return s}),r.d(e,"e",function(){return p}),r.d(e,"f",function(){return f}),r.d(e,"b",function(){return l}),r.d(e,"g",function(){return h}),r.d(e,"i",function(){return d}),r.d(e,"j",function(){return v}),r.d(e,"h",function(){return y}),r.d(e,"k",function(){return g});var n=r(68),a=r(271),o=r(267);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:{},i=o.iterator||"@@iterator",u=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 f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function m(){}function b(){}function w(){}var E={};p(E,i,function(){return this});var O=Object.getPrototypeOf,x=O&&O(O(D([])));x&&x!==r&&n.call(x,i)&&(E=x);var j=w.prototype=m.prototype=Object.create(E);function _(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,i){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,i)})}i(u.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 S(e,r,n){var a=h;return function(o,c){if(a===v)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 i=n.delegate;if(i){var u=A(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?y:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var 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 b.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=p(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"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}},_(L.prototype),p(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(f(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},_(j),p(j,s,"Generator"),p(j,i,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=D,N.prototype={constructor:N,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(C),!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 i.type="throw",i.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],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){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,g):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),g},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),C(r),g}},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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var i=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"getfboard",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_BOARDS",payload:u.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS"}),e.next=5,a.a.get("/app.php",{params:{a:"getscript",deggrp:t.fdeggrp,univcode:i.user.fcuruniv,fboard:t.fboard,fexamno:t.Examno,status:t.valstats}});case 5:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_QPSTATS",payload:u.data});case 8: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 i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"DELETE_QPSTATS"}),e.next=4,a.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:t,univcode:i.user.fcuruniv}});case 4:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_BOARDS",payload:u.data});case 6:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS_SUM"}),e.next=5,a.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:t.fdeggrp,univcode:i.user.fcuruniv,fexamno:t.Examno,fboard:t.fboard,status:t.valsum}});case 5:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_QPSTATS_SUM",payload:u.data});case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"FETCH_BOARDS",payload:u.data});case 5: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)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"fetchBoardDetails",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_BOARDS_DETAILS",payload:u.data.data});case 5: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,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:"getTeachCode",deggrp:t,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(i=e.sent).data||-1===i.data.error_code||r({type:"GET_TEACH_CODE_DET",payload:i.data.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(t,e){return function(){var r=Object(n.a)(c().mark(function r(n,o){var i,u;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=o(),r.next=3,a.a.get("/app.php",{params:{a:"getcolList",deggrp:t,teach:e,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=r.sent).data||-1===u.data.error_code||n({type:"GET_COLL_CODE_DET",payload:u.data.data});case 5:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},v=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"getcolListfromdeggrp",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_COLL_CODE_DET_DATA",payload:u.data.data});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},y=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.get("/app.php",{params:{a:"getTeachCodeRange",deggrp:t,univcode:i.user.fcuruniv}});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_TEACHER_CODE_RANGE",payload:u.data});case 5: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 i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getfbaordName",code:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"FETCH_FBOARD_NAME",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}},370:function(t,e,r){"use strict";r.d(e,"a",function(){return i}),r.d(e,"f",function(){return u}),r.d(e,"e",function(){return s}),r.d(e,"g",function(){return p}),r.d(e,"b",function(){return f}),r.d(e,"d",function(){return l}),r.d(e,"c",function(){return h});var n=r(68),a=r(271),o=r(267);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:{},i=o.iterator||"@@iterator",u=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 f(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new N(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",d="suspendedYield",v="executing",y="completed",g={};function m(){}function b(){}function w(){}var E={};p(E,i,function(){return this});var O=Object.getPrototypeOf,x=O&&O(O(D([])));x&&x!==r&&n.call(x,i)&&(E=x);var j=w.prototype=m.prototype=Object.create(E);function _(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,i){var u=l(t[a],t,o);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(p).then(function(t){s.value=t,c(s)},function(t){return r("throw",t,c,i)})}i(u.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 S(e,r,n){var a=h;return function(o,c){if(a===v)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 i=n.delegate;if(i){var u=A(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var s=l(e,r,n);if("normal"===s.type){if(a=n.done?y:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function A(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,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=l(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var 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 b.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=p(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"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}},_(L.prototype),p(L.prototype,u,function(){return this}),e.AsyncIterator=L,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new L(f(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},_(j),p(j,s,"Generator"),p(j,i,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=D,N.prototype={constructor:N,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(C),!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 i.type="throw",i.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],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){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,g):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),g},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),C(r),g}},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;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var i=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,i,u,s;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",{params:{a:"getBoardLists",univcode:n.univ.funivcode}});case 4:i=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof i.data?(u={header:"Error",content:"Something went wrong"},e(Object(o.A)(u))):-1===i.data.error_code?(s={header:"Error",content:i.data.data.msg},e(Object(o.A)(s))):e({type:"GET_BOARD_LIST",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p,f;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("app.php?a=saveBoardMaster&univcode="+i.univ.funivcode,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(f={header:"Success",content:u.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)}}()},s=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getEditBoardLists",fboard:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"GET_EDIT_BOARD_LIST",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p,f;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.post("app.php?a=updateEditList&univcode="+i.univ.funivcode,{data:t});case 3:"object"!==typeof(u=e.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):(f={header:"Success",content:u.data.data.msg},r(Object(o.A)(f)));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},f=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,i,u,s;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",{params:{a:"getChairmanCode",univcode:n.user.fcuruniv}});case 4:i=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof i.data?(u={header:"Error",content:"Something went wrong"},e(Object(o.A)(u))):-1===i.data.error_code?(s={header:"Error",content:i.data.data.msg},e(Object(o.A)(s))):e({type:"GET_CHAIRMAN_CODE",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getChairmanDetails",code:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"GET_CHAIRMAN_DETAILS",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 i,u,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getChairmanCodeDetailsMass",college:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},r(Object(o.A)(p))):r({type:"GET_CHAIRMAN_CODE_DETAILS_MASS",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=99.48de70b3.chunk.js.map
|