0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.223.210.196


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/45.cef85bd1.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{1070:function(e,t,n){"use strict";n.r(t);var a=n(3),r=n(41),o=n.n(r),s=n(68),i=n(99),u=n(100),l=n(102),c=n(101),p=n(103),d=n(1),f=n.n(d),h=n(858),m=n(1139),v=n(1106),g=n(272),k=n(1098),w=n(1100),y=n(104),b=n(266),S=n(271),O=n(270),C=n(371),E=n(273),D=n.n(E),j=function(e){function t(){var e,n;Object(i.a)(this,t);for(var r=arguments.length,u=new Array(r),p=0;p<r;p++)u[p]=arguments[p];return(n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(u)))).state={fstudydeg:"",displayTbl:!1,studyExamno:"",studySubject:"",fdate:"",rtype:"",frtypes:["Received Bundle Report","Not Received Bundle Report"]},n.getDegrees=function(e,t){n.setState({frmDeggrp:t.value})},n.handleChangedeg=function(){var e=Object(s.a)(o.a.mark(function e(t,a){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(n.props),e.next=3,n.props.fetchexamno(a.value);case 3:n.setState({fstudydeg:a.value,studyExamno:"",studySubject:""}),console.log(n.props),console.log(n.state);case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChange=function(e,t){switch(t.type){case"text":default:return void n.setState(Object(a.a)({},t.name,t.value))}},n.handleChangeexm=function(){var e=Object(s.a)(o.a.mark(function e(t,a){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(n.state),e.next=3,n.props.fetchsub(a.value,n.state.fstudydeg);case 3:n.setState({studyExamno:a.value,studySubject:""});case 4:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleDate=function(e){n.setState(Object(a.a)({},e.target.name,e.target.value))},n.handleChangesub=function(){var e=Object(s.a)(o.a.mark(function e(t,a){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log(n.state),n.setState({studySubject:a.value});case 2:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleSubmit=function(){var e=n.props.user.fdeggrp,t=n.state,a=t.displayTbl,r=t.studyExamno,o=t.fstudydeg,s=t.studySubject;if(""!==e)n.props.getstudymat(a,r,o,s),n.setState({displayTbl:!0});else{n.props.showError({header:"Error",content:"Select Degree Group"})}},n.generateReport=function(){var e=n.state,t=e.fdate,a=e.rtype;e.frtypes;console.log("rept",t,a,n.props.univcode),"Received Bundle Report"===a?window.open(S.c+"generateBundRecvRprt&univcode="+n.props.univcode+"&fdate="+t,"_blank"):"Not Received Bundle Report"===a&&window.open(S.c+"generateBundNotRecvRprt&univcode="+n.props.univcode+"&fdate="+t,"_blank")},n.handleCancel=function(){n.setState({reportType:"",fdeggrpfrm:"0",fdeggrpto:"zzzzz",fcollfrm:"0",fcollto:"zzzzz",reportFormat:"",frmDeggrp:""})},n.renderHeader=function(){return f.a.createElement(m.a.Header,{style:{display:"flex"}},f.a.createElement("h3",null,"Bundle Receive Status"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(v.a,{basic:!0,color:"blue",content:"Generate",onClick:n.generateReport,icon:"file pdf outline"}),f.a.createElement(v.a,{basic:!0,color:"black",icon:"ban",onClick:n.handleCancel,content:"Cancel"}),f.a.createElement(h.a,{to:"/dashboard"},f.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},n.renderForm=function(){var e=n.state,t=(e.displayTbl,e.studyExamno,e.fstudydeg,e.studySubject,e.fdate),a=e.rtype,r=e.frtypes;console.log(n.state);n.props.degreeList.map(function(e){return{value:e.fdegree,text:"".concat(e.fdegree," ").concat(e.fdescpn)}}),n.props.examno.map(function(e){return{value:e.fexamno,text:" ".concat(e.fexamname)}}),n.props.Subject.map(function(e){return{value:e.fsubcode,text:" ".concat(e.fsubname)}});var o=r.map(function(e,t){return{key:t,value:e,text:e}}),s=Object(O.i)();return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(m.a,{fluid:!0},f.a.createElement(m.a.Content,null,n.renderHeader(),f.a.createElement(g.a,null),f.a.createElement(m.a.Description,{style:{overflowY:"auto",height:"".concat(s,"px")}},f.a.createElement("div",{className:"col-md-6"},f.a.createElement(k.a,{error:!0},f.a.createElement(k.a.Field,{width:8},f.a.createElement("label",null,"Date"),f.a.createElement(D.a,{formatChars:{n:"[0-1]",m:"[0-9]",e:"[0-3]",d:"[0-9]",z:"[1-2]",y:"[0-9]"},type:"text",value:t,mask:"ed/nm/zyyy",name:"fdate",onChange:n.handleDate})),f.a.createElement(k.a.Field,{width:8},f.a.createElement("label",null,"Report Type"),f.a.createElement(w.a,{placeholder:"Report",search:!0,selection:!0,name:"rtype",value:a,options:o,onChange:n.handleChange}))))))))},n}return Object(p.a)(t,e),Object(u.a)(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return this.renderForm()}}]),t}(d.Component);t.default=Object(y.b)(function(e){return console.log(e),{deggrp:e.deggrp,collegeReport:e.collegeReport,univcode:e.univ.funivcode,user:e.user,degreeList:e.studyDegree,examno:e.studyExamno,Subject:e.studySubject}},{getDegreeList:C.c,fetchexamno:C.a,fetchsub:C.b,getstudymat:C.d,fetchDegGrp:b.j,showError:b.w})(j)},272:function(e,t,n){"use strict";var a=n(268),r=n.n(a),o=n(265),s=n.n(o),i=n(1),u=n.n(i),l=n(333),c=n(551),p=n(549),d=n(267);function f(e){var t=e.children,n=e.className,a=e.clearing,o=e.content,i=e.fitted,h=e.hidden,m=e.horizontal,v=e.inverted,g=e.section,k=e.vertical,w=s()("ui",Object(l.a)(a,"clearing"),Object(l.a)(i,"fitted"),Object(l.a)(h,"hidden"),Object(l.a)(m,"horizontal"),Object(l.a)(v,"inverted"),Object(l.a)(g,"section"),Object(l.a)(k,"vertical"),"divider",n),y=Object(c.a)(f,e),b=Object(p.a)(f,e);return u.a.createElement(b,r()({},y,{className:w}),d.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},273:function(e,t,n){e.exports=n(274)},274:function(e,t,n){"use strict";var a,r=(a=n(1))&&"object"==typeof a&&"default"in a?a.default:a,o=n(105);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var r=n[a],o=Object.getOwnPropertyDescriptor(t,r);o&&o.configurable&&void 0===e[r]&&Object.defineProperty(e,r,o)}}(e.prototype.constructor=e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e,t,n,a,r,o,s,i){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,a,r,o,s,i],c=0;(u=new Error(t.replace(/%s/g,function(){return l[c++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}};function c(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var a=e.createTextRange();a.collapse(!0),a.moveStart("character",t),a.moveEnd("character",n-t),a.select()}}var p={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},d="_";function f(e,t,n){var a="",r="",o=null,s=[];if(void 0===t&&(t=d),null==n&&(n=p),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var i=!1;return e.split("").forEach(function(e){i=!i&&"\\"===e||(i||!n[e]?(s.push(a.length),a.length===s.length-1&&(r+=e)):o=a.length+1,a+=e,!1)}),{maskChar:t,formatChars:n,prefix:r,mask:a,lastEditablePosition:o,permanents:s}}function h(e,t){return-1!==e.permanents.indexOf(t)}function m(e,t,n){var a=e.mask,r=e.formatChars;if(!n)return!1;if(h(e,t))return a[t]===n;var o=r[a[t]];return new RegExp(o).test(n)}function v(e,t){return t.split("").every(function(t,n){return h(e,n)||!m(e,n,t)})}function g(e,t){var n=e.maskChar,a=e.prefix;if(!n){for(;t.length>a.length&&h(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var r=a.length,o=t.length;o>=a.length;o--){var s=t[o];if(!h(e,o)&&m(e,o,s)){r=o+1;break}}return r}function k(e,t){return g(e,t)===e.mask.length}function w(e,t){var n=e.maskChar,a=e.mask,r=e.prefix;if(!n){for((t=y(e,"",t,0)).length<r.length&&(t=r);t.length<a.length&&h(e,t.length);)t+=a[t.length];return t}if(t)return y(e,w(e,""),t,0);for(var o=0;o<a.length;o++)h(e,o)?t+=a[o]:t+=n;return t}function y(e,t,n,a){var r=e.mask,o=e.maskChar,s=e.prefix,i=n.split(""),u=k(e,t);return!o&&a>t.length&&(t+=r.slice(t.length,a)),i.every(function(n){for(;c=n,h(e,l=a)&&c!==r[l];){if(a>=t.length&&(t+=r[a]),i=n,o&&h(e,a)&&i===o)return!0;if(++a>=r.length)return!1}var i,l,c;return!m(e,a,n)&&n!==o||(a<t.length?t=o||u||a<s.length?t.slice(0,a)+n+t.slice(a+1):(t=t.slice(0,a)+n+t.slice(a),w(e,t)):o||(t+=n),++a<r.length)}),t}function b(e,t){for(var n=e.mask,a=t;a<n.length;++a)if(!h(e,a))return a;return null}function S(e){return e||0===e?e+"":""}function O(e,t,n,a,r){var o=e.mask,s=e.prefix,i=e.lastEditablePosition,u=t,l="",c=0,p=0,d=Math.min(r.start,n.start);return n.end>r.start?p=(c=function(e,t,n,a){var r=e.mask,o=e.maskChar,s=n.split(""),i=a;return s.every(function(t){for(;s=t,h(e,n=a)&&s!==r[n];)if(++a>=r.length)return!1;var n,s;return(m(e,a,t)||t===o)&&a++,a<r.length}),a-i}(e,0,l=u.slice(r.start,n.end),d))?r.length:0:u.length<a.length&&(p=a.length-u.length),u=a,p&&(1!==p||r.length||(d=r.start===n.start?b(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!h(e,n))return n;return null}(e,n.start)),u=function(e,t,n,a){var r=n+a,o=e.maskChar,s=e.mask,i=e.prefix,u=t.split("");if(o)return u.map(function(t,a){return a<n||r<=a?t:h(e,a)?s[a]:o}).join("");for(var l=r;l<u.length;l++)h(e,l)&&(u[l]="");return n=Math.max(i.length,n),u.splice(n,r-n),t=u.join(""),w(e,t)}(e,u,d,p)),u=y(e,u,l,d),(d+=c)>=o.length?d=o.length:d<s.length&&!c?d=s.length:d>=s.length&&d<i&&c&&(d=b(e,d)),l||(l=null),{value:u=w(e,u),enteredString:l,selection:{start:d,end:d}}}function C(e){return"function"==typeof e}function E(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function D(e){return(E()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function j(e){(E()||clearTimeout)(e)}var x=function(e){function t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=D(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(j(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=o.findDOMNode(u(u(n))),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},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=g(n.maskOptions,n.value),t=b(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,a){void 0===a&&(a={});var r=n.getInputDOMNode(),o=n.isFocused();r&&o&&(a.deferred||c(r,e,t),null!==n.selectionDeferId&&j(n.selectionDeferId),n.selectionDeferId=D(function(){n.selectionDeferId=null,c(r,e,t)}),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var a=document.selection.createRange();a.parentElement()===e&&(t=-a.moveStart("character",-e.value.length),n=-a.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,a=e.maskChar,r=e.permanents,o=e.formatChars;return{mask:t,maskChar:a,permanents:r,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:o}},n.isInputAutofilled=function(e,t,a,r){var o=n.getInputDOMNode();try{if(o.matches(":-webkit-autofill"))return!0}catch(l){}return!n.focused||r.end<a.length&&t.end===e.length},n.onChange=function(e){var t=u(u(n)).beforePasteState,a=u(u(n)).previousSelection,r=n.props.beforeMaskedValueChange,o=n.getInputValue(),s=n.value,i=n.getSelection();n.isInputAutofilled(o,i,s,a)&&(s=w(n.maskOptions,""),a={start:0,end:0,length:0}),t&&(a=t.selection,s=t.value,i={start:a.start+o.length,end:a.start+o.length,length:0},o=s.slice(0,a.start)+o+s.slice(a.end),n.beforePasteState=null);var l=O(n.maskOptions,o,i,s,a),c=l.enteredString,p=l.selection,d=l.value;if(C(r)){var f=r({value:d,selection:p},{value:s,selection:a},c,n.getBeforeMaskedValueChangeConfig());d=f.value,p=f.selection}n.setInputValue(d),C(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(p.start,p.end,{deferred:!0}):n.setSelection(p.start,p.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,a=n.maskOptions,r=a.mask,o=a.prefix;if(n.focused=!0,n.mounted=!0,r){if(n.value)g(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var s=w(n.maskOptions,o),i=w(n.maskOptions,s),u=g(n.maskOptions,i),l=b(n.maskOptions,u),c={start:l,end:l};if(C(t)){var p=t({value:i,selection:c},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());i=p.value,c=p.selection}var d=i!==n.getInputValue();d&&n.setInputValue(i),d&&C(n.props.onChange)&&n.props.onChange(e),n.setSelection(c.start,c.end)}n.runSaveSelectionLoop()}C(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,a=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,a&&!n.props.alwaysShowMask&&v(n.maskOptions,n.value)){var r="";C(t)&&(r=t({value:r,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var o=r!==n.getInputValue();o&&n.setInputValue(r),o&&C(n.props.onChange)&&n.props.onChange(e)}C(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),n.focused){var a=Math.abs(t.clientX-n.mouseDownX),r=Math.abs(t.clientY-n.mouseDownY),o=Math.max(a,r),s=(new Date).getTime()-n.mouseDownTime;(o<=10&&s<=200||o<=5&&s<=300)&&n.setCursorToEnd()}})}C(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){C(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&C(n.props.inputRef)&&n.props.inputRef(e)};var a=t.mask,r=t.maskChar,s=t.formatChars,i=t.alwaysShowMask,l=t.beforeMaskedValueChange,p=t.defaultValue,d=t.value;n.maskOptions=f(a,r,s),null==p&&(p=""),null==d&&(d=p);var h=S(d);if(n.maskOptions.mask&&(i||h)&&(h=w(n.maskOptions,h),C(l))){var m=t.value;null==t.value&&(m=p),h=l({value:h,selection:null},{value:m=S(m),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=h,n}i(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},n.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,a=t.alwaysShowMask,r=t.mask,o=t.maskChar,s=t.formatChars,i=this.maskOptions,u=a||this.isFocused(),l=null!=this.props.value,c=l?S(this.props.value):this.value,p=e?e.start:null;if(this.maskOptions=f(r,o,s),this.maskOptions.mask){!i.mask&&this.isFocused()&&this.runSaveSelectionLoop();var d=this.maskOptions.mask&&this.maskOptions.mask!==i.mask;if(i.mask||l||(c=this.getInputValue()),(d||this.maskOptions.mask&&(c||u))&&(c=w(this.maskOptions,c)),d){var h=g(this.maskOptions,c);(null===p||h<p)&&(p=k(this.maskOptions,c)?h:b(this.maskOptions,h))}!this.maskOptions.mask||!v(this.maskOptions,c)||u||l&&this.props.value||(c="");var m={start:p,end:p};if(C(n)){var y=n({value:c,selection:m},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());c=y.value,m=y.selection}this.value=c;var O=this.getInputValue()!==this.value;O?(this.setInputValue(this.value),this.forceUpdate()):d&&this.forceUpdate();var E=!1;null!=m.start&&null!=m.end&&(E=!e||e.start!==m.start||e.end!==m.end),(E||O)&&this.setSelection(m.start,m.end)}else i.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},n.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&j(this.selectionDeferId),this.stopSaveSelectionLoop()},n.render=function(){var e,t=this.props,n=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),a=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){C(n)||l(!1);var o=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],i=s({},a);o.forEach(function(e){return delete i[e]}),e=n(i),o.filter(function(t){return null!=e.props[t]&&e.props[t]!==a[t]}).length&&l(!1)}else e=r.createElement("input",s({ref:this.handleRef},a));var u={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(a.disabled||a.readOnly||(u.onChange=this.onChange,u.onPaste=this.onPaste,u.onMouseDown=this.onMouseDown),null!=a.value&&(u.value=this.value)),e=r.cloneElement(e,u)},t}(r.Component);e.exports=x},371:function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"a",function(){return l}),n.d(t,"b",function(){return c}),n.d(t,"e",function(){return p}),n.d(t,"d",function(){return d});var a=n(41),r=n.n(a),o=n(68),s=n(269),i=n(266),u=function(){return function(){var e=Object(o.a)(r.a.mark(function e(t,n){var a,o,u,l;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=n(),console.log(a),e.next=4,s.a.get("app.php?a=StudyDegreeList&univcode="+a.univ.funivcode+"&fcollcode="+a.user.fcollcode);case 4:"object"!==typeof(o=e.sent).data?(u={header:"Error",content:"Something went wrong"},t(Object(i.w)(u))):-1===o.data.error_code?(l={header:"Error",content:o.data.data.msg},t(Object(i.w)(l))):(console.log(o.data),t({type:"ALL_DEGREE_LIST",payload:o.data}));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(o.a)(r.a.mark(function t(n,a){var o,u,l,c;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(),console.log(o),console.log(o),t.next=5,s.a.get("app.php?a=getexamno&univcode="+o.univ.funivcode+"&deg="+e);case 5:"object"!==typeof(u=t.sent).data?(l={header:"Error",content:"Something went wrong"},n(Object(i.w)(l))):-1===u.data.error_code?(c={header:"Error",content:u.data.data.msg},n(Object(i.w)(c))):(console.log(u.data),n({type:"STUDY_EXAMNO",payload:u.data}));case 7:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},c=function(e,t){return function(){var n=Object(o.a)(r.a.mark(function n(a,o){var u,l,c,p;return r.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=o(),console.log(u),n.next=4,s.a.get("app.php?a=getstudysub&univcode="+u.univ.funivcode+"&deg="+t+"&exmno="+e);case 4:"object"!==typeof(l=n.sent).data?(c={header:"Error",content:"Something went wrong"},a(Object(i.w)(c))):-1===l.data.error_code?(p={header:"Error",content:l.data.data.msg},a(Object(i.w)(p))):(console.log(l.data),a({type:"STUDY_SUBJECT",payload:l.data}));case 6:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(o.a)(r.a.mark(function t(n,a){var o,i,u;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(),n({type:"SET_LOADER"}),(i=new FormData).set("filefield",e,e.name),i.set("body",JSON.stringify(o.user)),t.next=7,s.a.post("upload_study_material.php",i,{headers:{"Content-type":"multipart/form-data"}});case 7:u=t.sent,n({type:"UNSET_LOADER"}),n({type:"SET_UPLOAD_DOC",payload:u.data});case 10:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},d=function(e,t,n,a){return function(){var e=Object(o.a)(r.a.mark(function e(o,u){var l,c,p,d;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l=u(),console.log(l),console.log(t,n,a),e.next=5,s.a.get("app.php?a=getstudymat&univcode="+l.univ.funivcode+"&fstudydeg="+n+"&studyExamno="+t+"&studySubject="+a+"&fcollcode="+l.user.fcollcode);case 5:"object"!==typeof(c=e.sent).data?(p={header:"Error",content:"Something went wrong"},o(Object(i.w)(p))):-1===c.data.error_code?(d={header:"Error",content:c.data.data.msg},o(Object(i.w)(d))):(console.log(c.data),o({type:"GET_STUDY_MATERIAL",payload:c.data}));case 7:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=45.cef85bd1.chunk.js.map