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([[63],{1183:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(0),i=r(100),u=r(101),c=r(103),s=r(102),l=r(104),f=r(2),p=r.n(f),h=r(941),d=r(1377),v=r(1343),g=r(272),m=r(1335),y=r(1337),w=r(105),b=r(274),E=r(275),k=r.n(E),O=r(273),x=r(287),S=r.n(x),L=r(310),C=r(267),j=r(291);function D(){D=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",u=o.asyncIterator||"@@asyncIterator",c=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 l(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),u=new T(n||[]);return a(i,"_invoke",{value:L(e,r,u)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p="suspendedStart",h="suspendedYield",d="executing",v="completed",g={};function m(){}function y(){}function w(){}var b={};s(b,i,function(){return this});var E=Object.getPrototypeOf,k=E&&E(E(I([])));k&&k!==r&&n.call(k,i)&&(b=k);var O=w.prototype=m.prototype=Object.create(b);function x(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,i,u){var c=f(e[a],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,u)},function(e){r("throw",e,i,u)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,u)})}u(c.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 L(t,r,n){var a=p;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var c=C(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function C(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,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function I(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 y.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:y,configurable:!0}),y.displayName=s(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},x(S.prototype),s(S.prototype,u,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new S(l(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},x(O),s(O,c,"Generator"),s(O,i,function(){return this}),s(O,"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=I,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(_),!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 u.type="throw",u.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],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)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,g):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),g},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),_(r),g}},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;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var _=function(e){function t(){var e,r;Object(i.a)(this,t);for(var n=arguments.length,u=new Array(n),l=0;l<n;l++)u[l]=arguments[l];return(r=Object(c.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(u)))).state={frmDeggrp:"",reportType:"datewWiseValDet",frmSubmit:!1,rftype:"PDF",tcode:"",vdatefrom:S()().subtract(7,"days").format("DD/MM/YYYY"),vdateto:S()().format("DD/MM/YYYY"),fboard:"0",deggrp:[],fdeggrp:"",fyear:"",fexamtype:"",fexamdate:"",open:!0,Examno:"ABCDEFGHIJ",valsum:"All",exams:[{key:"All",value:"ABCDEFGHIJ",text:"All"},{key:"A",value:"A",text:"I Semester"},{key:"B",value:"B",text:"II Semester"},{key:"C",value:"C",text:"III Semester"},{key:"D",value:"D",text:"IV Semester"},{key:"E",value:"E",text:"V Semester"},{key:"F",value:"F",text:"VI Semester"},{key:"G",value:"G",text:"VII Semester"},{key:"H",value:"H",text:"VIII Semester"},{key:"I",value:"I",text:"IX Semester"},{key:"J",value:"J",text:"X Semester"}]},r.getDegrees=function(e,t){r.setState({frmDeggrp:t.value})},r.handleChange=function(e,t){switch(t.type){case"text":r.setState(Object(o.a)({},t.name,t.value));default:r.setState(Object(o.a)({},t.name,t.value))}r.setState({frmSubmit:!1})},r.handleSubmit=function(){var e=r.props.user.fdeggrp;r.state.reportType;if(""!==e)r.setState({frmSubmit:!0});else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleReport=function(){var e=r.props.user,t=(e.fdeggrp,e.fcuruniv),n=r.state,a=n.reportType,o=n.rftype,i=n.tcode,u=n.vdatefrom,c=n.vdateto,s=n.fboard;if(""!==r.state.fdeggrp)window.open(b.c+a+"&univcode="+t+"°grp="+r.state.fdeggrp+"&tcode="+i+"&vdatefrom="+u+"&vdateto="+c+"&fboard="+s+"&format="+o+"&user="+JSON.stringify(r.props.user),"_blank");else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r.handleChangedate=function(e){r.setState(Object(o.a)({},e.target.name,e.target.value))},r.onBoardChange=function(){var e=Object(a.a)(D().mark(function e(t,n){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({fboard:n.value,tcodefrom:"0000",tcodeto:"zzzz"});case 1:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.changeDeggrp=function(){var e=Object(a.a)(D().mark(function e(t,n){var a,o;return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.props.deggrp.filter(function(e,t){return e.fdeggrp===n.value}),o=a[0],e.next=4,r.setState({fyear:o.fyear,fexamtype:o.fexamtype,fexamdate:o.fexamdate,fdeggrp:o.fdeggrp,frmsubmit:!1});case 4:return r.props.fetchQpBoard(r.state.fdeggrp),r.props.getTeachCodeRange(r.state.fdeggrp),e.next=8,r.setState({tcode:["all"]});case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleCancel=function(){r.setState({reportType:"",reportFormat:"",frmDeggrp:""})},r.handleChangeDrop=function(e,t){r.setState({tcode:t.value})},r.renderHeader=function(){return p.a.createElement(d.a.Header,{style:{display:"flex"}},p.a.createElement("h3",null,"Valuation Reports"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(v.a,{basic:!0,color:"blue",onClick:r.handleReport,content:"Report",icon:"file"}),p.a.createElement(v.a,{basic:!0,color:"black",icon:"ban",onClick:r.handleCancel,content:"Cancel"}),p.a.createElement(h.a,{to:"/dashboard"},p.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(l.a)(t,e),Object(u.a)(t,[{key:"componentDidMount",value:function(){var e=Object(a.a)(D().mark(function e(){return D().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.props.fetchDegGrp();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.state,t=(e.frmSubmit,e.reportType),r=(e.rftype,e.vdatefrom),a=e.vdateto,o=(e.fboard,e.tcode),i=this.state,u=i.fdeggrp,c=i.fyear,s=i.fexamtype,l=i.fexamdate,f=(i.Examno,i.valsum,{n:"[0-1]",m:"[0-9]",e:"[0-3]",d:"[0-9]",z:"[1-2]",y:"[0-9]"}),h=[{value:"All",text:"All"}],v=this.props.tRange.map(function(e,t){return{key:t,value:"".concat(e.fteachcode),text:"".concat(e.fteachcode," - ").concat(e.fteachname)}}),w=[].concat(Object(n.a)(v),[{key:"all",value:"all",text:"All"}]);this.props.board.map(function(e){h.push({value:e.fboardcode,text:"".concat(e.fboardcode," - ").concat(e.fboardname)})});var b=Object(O.i)();return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(d.a,{fluid:!0},p.a.createElement(d.a.Content,null,this.renderHeader(),p.a.createElement(g.a,null),p.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(b,"px")}},p.a.createElement("div",{className:"col-md-6"},p.a.createElement(m.a,null,p.a.createElement(j.a,{pdeggrp:{fdeggrp:u,fyear:c,fexamtype:s,fexamdate:l},changeDeggrp:this.changeDeggrp}),p.a.createElement(m.a.Field,{width:16},p.a.createElement("label",null,"Report Type"),p.a.createElement(y.a,{placeholder:"Select Report Type",name:"reportType",value:t,selection:!0,search:!0,options:[{value:"datewWiseValDet",text:"Date Wise Valuation Details"},{value:"teachWorkDone",text:"Work Done Statement"}],onChange:this.handleChange})),p.a.createElement(m.a.Group,null,p.a.createElement(m.a.Field,{width:8},p.a.createElement("label",null," Date Range "),p.a.createElement(k.a,{formatChars:f,type:"text",value:r,mask:"ed/nm/zyyy",placeholder:"Date From",name:"vdatefrom",onChange:this.handleChangedate})),p.a.createElement(m.a.Field,{width:8},p.a.createElement(k.a,{formatChars:f,type:"text",value:a,mask:"ed/nm/zyyy",placeholder:"To",name:"vdateto",onChange:this.handleChangedate,style:{marginTop:"1.6em"}}))),p.a.createElement(m.a.Group,null,p.a.createElement(m.a.Field,{width:16},p.a.createElement("label",null,"Board"),p.a.createElement(y.a,{fluid:!0,search:!0,selection:!0,value:this.props.fboard,onChange:this.onBoardChange,placeholder:"Select Board",options:h}))),p.a.createElement(m.a.Group,null,p.a.createElement(m.a.Field,{width:"16"},p.a.createElement("label",null,"Teacher Code Range"),p.a.createElement(y.a,{size:"mini",multiple:!0,fluid:!0,search:!0,selection:!0,name:"teachCode",value:o,placeholder:"Select Teacher Code",openOnFocus:!1,options:w,selectOnBlur:!1,searchInput:{autoFocus:!0},onChange:this.handleChangeDrop}))),p.a.createElement("br",null)))))))}}]),t}(f.Component);t.default=Object(w.b)(function(e){return{user:e.user,board:e.boards,deggrp:e.deggrp,tRange:e.teachRange}},{showError:C.A,changedeggrploadboard:L.a,fetchQpBoard:L.c,fetchDegGrp:C.j,getTeachCodeRange:L.h})(_)},275:function(e,t,r){e.exports=r(276)},276:function(e,t,r){"use strict";var n,a=(n=r(2))&&"object"==typeof n&&"default"in n?n.default:n,o=r(106);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var a=r[n],o=Object.getOwnPropertyDescriptor(t,a);o&&o.configurable&&void 0===e[a]&&Object.defineProperty(e,a,o)}}(e.prototype.constructor=e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e,t,r,n,a,o,i,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,a,o,i,u],l=0;(c=new Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}};function l(e,t,r){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=r;else{var n=e.createTextRange();n.collapse(!0),n.moveStart("character",t),n.moveEnd("character",r-t),n.select()}}var f={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},p="_";function h(e,t,r){var n="",a="",o=null,i=[];if(void 0===t&&(t=p),null==r&&(r=f),!e||"string"!=typeof e)return{maskChar:t,formatChars:r,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var u=!1;return e.split("").forEach(function(e){u=!u&&"\\"===e||(u||!r[e]?(i.push(n.length),n.length===i.length-1&&(a+=e)):o=n.length+1,n+=e,!1)}),{maskChar:t,formatChars:r,prefix:a,mask:n,lastEditablePosition:o,permanents:i}}function d(e,t){return-1!==e.permanents.indexOf(t)}function v(e,t,r){var n=e.mask,a=e.formatChars;if(!r)return!1;if(d(e,t))return n[t]===r;var o=a[n[t]];return new RegExp(o).test(r)}function g(e,t){return t.split("").every(function(t,r){return d(e,r)||!v(e,r,t)})}function m(e,t){var r=e.maskChar,n=e.prefix;if(!r){for(;t.length>n.length&&d(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var a=n.length,o=t.length;o>=n.length;o--){var i=t[o];if(!d(e,o)&&v(e,o,i)){a=o+1;break}}return a}function y(e,t){return m(e,t)===e.mask.length}function w(e,t){var r=e.maskChar,n=e.mask,a=e.prefix;if(!r){for((t=b(e,"",t,0)).length<a.length&&(t=a);t.length<n.length&&d(e,t.length);)t+=n[t.length];return t}if(t)return b(e,w(e,""),t,0);for(var o=0;o<n.length;o++)d(e,o)?t+=n[o]:t+=r;return t}function b(e,t,r,n){var a=e.mask,o=e.maskChar,i=e.prefix,u=r.split(""),c=y(e,t);return!o&&n>t.length&&(t+=a.slice(t.length,n)),u.every(function(r){for(;l=r,d(e,s=n)&&l!==a[s];){if(n>=t.length&&(t+=a[n]),u=r,o&&d(e,n)&&u===o)return!0;if(++n>=a.length)return!1}var u,s,l;return!v(e,n,r)&&r!==o||(n<t.length?t=o||c||n<i.length?t.slice(0,n)+r+t.slice(n+1):(t=t.slice(0,n)+r+t.slice(n),w(e,t)):o||(t+=r),++n<a.length)}),t}function E(e,t){for(var r=e.mask,n=t;n<r.length;++n)if(!d(e,n))return n;return null}function k(e){return e||0===e?e+"":""}function O(e,t,r,n,a){var o=e.mask,i=e.prefix,u=e.lastEditablePosition,c=t,s="",l=0,f=0,p=Math.min(a.start,r.start);return r.end>a.start?f=(l=function(e,t,r,n){var a=e.mask,o=e.maskChar,i=r.split(""),u=n;return i.every(function(t){for(;i=t,d(e,r=n)&&i!==a[r];)if(++n>=a.length)return!1;var r,i;return(v(e,n,t)||t===o)&&n++,n<a.length}),n-u}(e,0,s=c.slice(a.start,r.end),p))?a.length:0:c.length<n.length&&(f=n.length-c.length),c=n,f&&(1!==f||a.length||(p=a.start===r.start?E(e,r.start):function(e,t){for(var r=t;0<=r;--r)if(!d(e,r))return r;return null}(e,r.start)),c=function(e,t,r,n){var a=r+n,o=e.maskChar,i=e.mask,u=e.prefix,c=t.split("");if(o)return c.map(function(t,n){return n<r||a<=n?t:d(e,n)?i[n]:o}).join("");for(var s=a;s<c.length;s++)d(e,s)&&(c[s]="");return r=Math.max(u.length,r),c.splice(r,a-r),t=c.join(""),w(e,t)}(e,c,p,f)),c=b(e,c,s,p),(p+=l)>=o.length?p=o.length:p<i.length&&!l?p=i.length:p>=i.length&&p<u&&l&&(p=E(e,p)),s||(s=null),{value:c=w(e,c),enteredString:s,selection:{start:p,end:p}}}function x(e){return"function"==typeof e}function S(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function L(e){return(S()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function C(e){(S()||clearTimeout)(e)}var j=function(e){function t(t){var r=e.call(this,t)||this;r.focused=!1,r.mounted=!1,r.previousSelection=null,r.selectionDeferId=null,r.saveSelectionLoopDeferId=null,r.saveSelectionLoop=function(){r.previousSelection=r.getSelection(),r.saveSelectionLoopDeferId=L(r.saveSelectionLoop)},r.runSaveSelectionLoop=function(){null===r.saveSelectionLoopDeferId&&r.saveSelectionLoop()},r.stopSaveSelectionLoop=function(){null!==r.saveSelectionLoopDeferId&&(C(r.saveSelectionLoopDeferId),r.saveSelectionLoopDeferId=null,r.previousSelection=null)},r.getInputDOMNode=function(){if(!r.mounted)return null;var e=o.findDOMNode(c(c(r))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},r.getInputValue=function(){var e=r.getInputDOMNode();return e?e.value:null},r.setInputValue=function(e){var t=r.getInputDOMNode();t&&(r.value=e,t.value=e)},r.setCursorToEnd=function(){var e=m(r.maskOptions,r.value),t=E(r.maskOptions,e);null!==t&&r.setCursorPosition(t)},r.setSelection=function(e,t,n){void 0===n&&(n={});var a=r.getInputDOMNode(),o=r.isFocused();a&&o&&(n.deferred||l(a,e,t),null!==r.selectionDeferId&&C(r.selectionDeferId),r.selectionDeferId=L(function(){r.selectionDeferId=null,l(a,e,t)}),r.previousSelection={start:e,end:t,length:Math.abs(t-e)})},r.getSelection=function(){return function(e){var t=0,r=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,r=e.selectionEnd;else{var n=document.selection.createRange();n.parentElement()===e&&(t=-n.moveStart("character",-e.value.length),r=-n.moveEnd("character",-e.value.length))}return{start:t,end:r,length:r-t}}(r.getInputDOMNode())},r.getCursorPosition=function(){return r.getSelection().start},r.setCursorPosition=function(e){r.setSelection(e,e)},r.isFocused=function(){return r.focused},r.getBeforeMaskedValueChangeConfig=function(){var e=r.maskOptions,t=e.mask,n=e.maskChar,a=e.permanents,o=e.formatChars;return{mask:t,maskChar:n,permanents:a,alwaysShowMask:!!r.props.alwaysShowMask,formatChars:o}},r.isInputAutofilled=function(e,t,n,a){var o=r.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(s){}return!r.focused||a.end<n.length&&t.end===e.length},r.onChange=function(e){var t=c(c(r)).beforePasteState,n=c(c(r)).previousSelection,a=r.props.beforeMaskedValueChange,o=r.getInputValue(),i=r.value,u=r.getSelection();r.isInputAutofilled(o,u,i,n)&&(i=w(r.maskOptions,""),n={start:0,end:0,length:0}),t&&(n=t.selection,i=t.value,u={start:n.start+o.length,end:n.start+o.length,length:0},o=i.slice(0,n.start)+o+i.slice(n.end),r.beforePasteState=null);var s=O(r.maskOptions,o,u,i,n),l=s.enteredString,f=s.selection,p=s.value;if(x(a)){var h=a({value:p,selection:f},{value:i,selection:n},l,r.getBeforeMaskedValueChangeConfig());p=h.value,f=h.selection}r.setInputValue(p),x(r.props.onChange)&&r.props.onChange(e),r.isWindowsPhoneBrowser?r.setSelection(f.start,f.end,{deferred:!0}):r.setSelection(f.start,f.end)},r.onFocus=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions,a=n.mask,o=n.prefix;if(r.focused=!0,r.mounted=!0,a){if(r.value)m(r.maskOptions,r.value)<r.maskOptions.mask.length&&r.setCursorToEnd();else{var i=w(r.maskOptions,o),u=w(r.maskOptions,i),c=m(r.maskOptions,u),s=E(r.maskOptions,c),l={start:s,end:s};if(x(t)){var f=t({value:u,selection:l},{value:r.value,selection:null},null,r.getBeforeMaskedValueChangeConfig());u=f.value,l=f.selection}var p=u!==r.getInputValue();p&&r.setInputValue(u),p&&x(r.props.onChange)&&r.props.onChange(e),r.setSelection(l.start,l.end)}r.runSaveSelectionLoop()}x(r.props.onFocus)&&r.props.onFocus(e)},r.onBlur=function(e){var t=r.props.beforeMaskedValueChange,n=r.maskOptions.mask;if(r.stopSaveSelectionLoop(),r.focused=!1,n&&!r.props.alwaysShowMask&&g(r.maskOptions,r.value)){var a="";x(t)&&(a=t({value:a,selection:null},{value:r.value,selection:r.previousSelection},null,r.getBeforeMaskedValueChangeConfig()).value);var o=a!==r.getInputValue();o&&r.setInputValue(a),o&&x(r.props.onChange)&&r.props.onChange(e)}x(r.props.onBlur)&&r.props.onBlur(e)},r.onMouseDown=function(e){if(!r.focused&&document.addEventListener){r.mouseDownX=e.clientX,r.mouseDownY=e.clientY,r.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),r.focused){var n=Math.abs(t.clientX-r.mouseDownX),a=Math.abs(t.clientY-r.mouseDownY),o=Math.max(n,a),i=(new Date).getTime()-r.mouseDownTime;(o<=10&&i<=200||o<=5&&i<=300)&&r.setCursorToEnd()}})}x(r.props.onMouseDown)&&r.props.onMouseDown(e)},r.onPaste=function(e){x(r.props.onPaste)&&r.props.onPaste(e),e.defaultPrevented||(r.beforePasteState={value:r.getInputValue(),selection:r.getSelection()},r.setInputValue(""))},r.handleRef=function(e){null==r.props.children&&x(r.props.inputRef)&&r.props.inputRef(e)};var n=t.mask,a=t.maskChar,i=t.formatChars,u=t.alwaysShowMask,s=t.beforeMaskedValueChange,f=t.defaultValue,p=t.value;r.maskOptions=h(n,a,i),null==f&&(f=""),null==p&&(p=f);var d=k(p);if(r.maskOptions.mask&&(u||d)&&(d=w(r.maskOptions,d),x(s))){var v=t.value;null==t.value&&(v=f),d=s({value:d,selection:null},{value:v=k(v),selection:null},null,r.getBeforeMaskedValueChangeConfig()).value}return r.value=d,r}u(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),r=navigator.userAgent;return e.test(r)&&t.test(r)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},r.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,r=t.beforeMaskedValueChange,n=t.alwaysShowMask,a=t.mask,o=t.maskChar,i=t.formatChars,u=this.maskOptions,c=n||this.isFocused(),s=null!=this.props.value,l=s?k(this.props.value):this.value,f=e?e.start:null;if(this.maskOptions=h(a,o,i),this.maskOptions.mask){!u.mask&&this.isFocused()&&this.runSaveSelectionLoop();var p=this.maskOptions.mask&&this.maskOptions.mask!==u.mask;if(u.mask||s||(l=this.getInputValue()),(p||this.maskOptions.mask&&(l||c))&&(l=w(this.maskOptions,l)),p){var d=m(this.maskOptions,l);(null===f||d<f)&&(f=y(this.maskOptions,l)?d:E(this.maskOptions,d))}!this.maskOptions.mask||!g(this.maskOptions,l)||c||s&&this.props.value||(l="");var v={start:f,end:f};if(x(r)){var b=r({value:l,selection:v},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());l=b.value,v=b.selection}this.value=l;var O=this.getInputValue()!==this.value;O?(this.setInputValue(this.value),this.forceUpdate()):p&&this.forceUpdate();var S=!1;null!=v.start&&null!=v.end&&(S=!e||e.start!==v.start||e.end!==v.end),(S||O)&&this.setSelection(v.start,v.end)}else u.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},r.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&C(this.selectionDeferId),this.stopSaveSelectionLoop()},r.render=function(){var e,t=this.props,r=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],0<=t.indexOf(r)||(a[r]=e[r]);return a}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(r){x(r)||s(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],u=i({},n);o.forEach(function(e){return delete u[e]}),e=r(u),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==n[t]}).length&&s(!1)}else e=a.createElement("input",i({ref:this.handleRef},n));var c={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(n.disabled||n.readOnly||(c.onChange=this.onChange,c.onPaste=this.onPaste,c.onMouseDown=this.onMouseDown),null!=n.value&&(c.value=this.value)),e=a.cloneElement(e,c)},t}(a.Component);e.exports=j},291:function(e,t,r){"use strict";var n=r(3),a=r(68),o=r(100),i=r(101),u=r(103),c=r(102),s=r(104),l=r(2),f=r.n(l),p=r(105),h=r(1335),d=r(1337),v=r(267);function g(){g=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",u=o.asyncIterator||"@@asyncIterator",c=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 l(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),u=new T(n||[]);return a(i,"_invoke",{value:C(e,r,u)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p="suspendedStart",h="suspendedYield",d="executing",v="completed",m={};function y(){}function w(){}function b(){}var E={};s(E,i,function(){return this});var k=Object.getPrototypeOf,O=k&&k(k(I([])));O&&O!==r&&n.call(O,i)&&(E=O);var x=b.prototype=y.prototype=Object.create(E);function S(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,u){var c=f(e[a],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,u)},function(e){r("throw",e,i,u)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,u)})}u(c.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 C(t,r,n){var a=p;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var c=j(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=v,n.method="throw",n.arg=s.arg)}}}function j(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,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function D(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function I(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 w.prototype=b,a(x,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,c,"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,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},S(L.prototype),s(L.prototype,u,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(l(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(x),s(x,c,"Generator"),s(x,i,function(){return this}),s(x,"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=I,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(_),!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 u.type="throw",u.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],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)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,m):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),m},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),_(r),m}},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;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}var m=function(e){function t(){return Object(o.a)(this,t),Object(u.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(a.a)(g().mark(function e(){return g().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props.deggrp.map(function(e,t){return{key:t,value:e.fdeggrp,text:"".concat(e.fdeggrp," - ").concat(e.fdescpn)}}),t=[].concat([{key:"All",value:"All",text:"All"}],Object(n.a)(e)),r=this.props.pdeggrp,a=r.fdeggrp,o=r.fyear,i=r.fexamtype,u=r.fexamdate;return f.a.createElement("div",null,f.a.createElement(h.a.Field,null,f.a.createElement("label",null,"Degree Group"),f.a.createElement(d.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:a,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:t,selectOnBlur:!1})),f.a.createElement(h.a.Group,null,f.a.createElement(h.a.Input,{placeholder:"Year",value:o,width:4,label:"Year",readOnly:!0}),f.a.createElement(h.a.Input,{placeholder:"Type",value:i,width:3,label:"Type",readOnly:!0}),f.a.createElement(h.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,value:u,readOnly:!0})))}}]),t}(l.Component);t.a=Object(p.b)(function(e){return{deggrp:e.deggrp,user:e.user,funiv:e.univ.funivcode}},{fetchDegGrp:v.j})(m)},310:function(e,t,r){"use strict";r.d(t,"c",function(){return u}),r.d(t,"d",function(){return c}),r.d(t,"a",function(){return s}),r.d(t,"e",function(){return l}),r.d(t,"f",function(){return f}),r.d(t,"b",function(){return p}),r.d(t,"g",function(){return h}),r.d(t,"i",function(){return d}),r.d(t,"j",function(){return v}),r.d(t,"h",function(){return g}),r.d(t,"k",function(){return m});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:{},u=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),u=new T(n||[]);return a(i,"_invoke",{value:C(e,r,u)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",d="suspendedYield",v="executing",g="completed",m={};function y(){}function w(){}function b(){}var E={};l(E,u,function(){return this});var k=Object.getPrototypeOf,O=k&&k(k(I([])));O&&O!==r&&n.call(O,u)&&(E=O);var x=b.prototype=y.prototype=Object.create(E);function S(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,u){var c=p(e[a],e,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){r("next",e,i,u)},function(e){r("throw",e,i,u)}):t.resolve(l).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,u)})}u(c.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 C(t,r,n){var a=h;return function(o,i){if(a===v)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 u=n.delegate;if(u){var c=j(u,n);if(c){if(c===m)continue;return c}}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=v;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?g:d,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.arg)}}}function j(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,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=p(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;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,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function D(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[u];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=b,a(x,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=l(b,s,"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,b):(e.__proto__=b,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},S(L.prototype),l(L.prototype,c,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(f(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(x),l(x,s,"Generator"),l(x,u,function(){return this}),l(x,"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=I,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(_),!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 u.type="throw",u.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],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)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,m):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),m},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),_(r),m}},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;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}var u=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),t.next=3,a.a.get("/app.php",{params:{a:"getfboard",deggrp:e,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_BOARDS",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},c=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS"}),t.next=5,a.a.get("/app.php",{params:{a:"getscript",deggrp:e.fdeggrp,univcode:u.user.fcuruniv,fboard:e.fboard,fexamno:e.Examno,status:e.valstats}});case 5:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_QPSTATS",payload:c.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),r({type:"DELETE_QPSTATS"}),t.next=4,a.a.get("/app.php",{params:{a:"loadboardvaluationstats",deggrp:e,univcode:u.user.fcuruniv}});case 4:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_BOARDS",payload:c.data});case 6:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),r({type:"SET_LOADER"}),r({type:"DELETE_QPSTATS_SUM"}),t.next=5,a.a.get("/app.php",{params:{a:"getscriptSummary",deggrp:e.fdeggrp,univcode:u.user.fcuruniv,fexamno:e.Examno,fboard:e.fboard,status:e.valsum}});case 5:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_QPSTATS_SUM",payload:c.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachfboard",deggrp:e,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"FETCH_BOARDS",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),t.next=3,a.a.get("/app.php",{params:{a:"fetchBoardDetails",deggrp:e,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_BOARDS_DETAILS",payload:c.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var o,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachCode",deggrp:e,univcode:o.user.fcuruniv}});case 3:"object"!==typeof(u=t.sent).data||-1===u.data.error_code||r({type:"GET_TEACH_CODE_DET",payload:u.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},d=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,o){var u,c;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=o(),r.next=3,a.a.get("/app.php",{params:{a:"getcolList",deggrp:e,teach:t,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=r.sent).data||-1===c.data.error_code||n({type:"GET_COLL_CODE_DET",payload:c.data.data});case 5:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),t.next=3,a.a.get("/app.php",{params:{a:"getcolListfromdeggrp",deggrp:e,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_COLL_CODE_DET_DATA",payload:c.data.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},g=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),t.next=3,a.a.get("/app.php",{params:{a:"getTeachCodeRange",deggrp:e,univcode:u.user.fcuruniv}});case 3:"object"!==typeof(c=t.sent).data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):r({type:"GET_TEACHER_CODE_RANGE",payload:c.data});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},m=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var u,c,s,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getfbaordName",code:e,univcode:u.user.fcuruniv}});case 4:c=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof c.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1===c.data.error_code?(l={header:"Error",content:c.data.data.msg},r(Object(o.A)(l))):r({type:"FETCH_FBOARD_NAME",payload:c.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=63.498f9303.chunk.js.map
|