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 : 3.142.36.215


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/82.c57fc0ab.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[82,307],{1197:function(t,e,r){"use strict";r.r(e);var n=r(1),a=r(68),o=r(100),i=r(101),c=r(103),l=r(102),u=r(104),f=r(2),s=r.n(f),h=r(941),p=(r(304),r(1377)),d=r(1343),m=r(272),v=r(1335),y=r(1337),g=r(1153),w=r(105),b=r(267),E=r(531),x=r(273);function L(){L=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",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:C(t,r,c)}),i}function s(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",p="suspendedYield",d="executing",m="completed",v={};function y(){}function g(){}function w(){}var b={};u(b,i,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,i)&&(b=x);var O=w.prototype=y.prototype=Object.create(b);function j(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var l=s(t[a],t,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.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 C(e,r,n){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=s(e,r,n);if("normal"===u.type){if(a=n.done?m:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function N(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,N(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=s(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(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 S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function R(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 g.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:g,configurable:!0}),g.displayName=u(w,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),u(_.prototype,c,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(O),u(O,l,"Generator"),u(O,i,function(){return this}),u(O,"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=R,I.prototype={constructor:I,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(S),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;S(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var O=function(t){function e(){var t,r;Object(o.a)(this,e);for(var i=arguments.length,u=new Array(i),f=0;f<i;f++)u[f]=arguments[f];return(r=Object(c.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(u)))).handleChange=function(){var t=Object(a.a)(L().mark(function t(e,n){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("fltfrom"!=n.name){t.next=4;break}return r.props.cancelInward(),t.next=4,r.props.loadData();case 4:"fconfi"==n.name?1==n.checked?r.props.changeInward(n.name,"T"):r.props.changeInward(n.name,"F"):r.props.changeInward(n.name,n.value),"fcollcode"!=n.name&&"fregno"!=n.name||r.props.getName(n.name,n.value);case 6:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleCheckbox=function(t,e,a){var o=Object(n.a)({},e,{checked:t.target.checked?"T":"F"});r.props.changeGrpData(o,e.fregno)},r.fromSubmitInward=function(){r.props.fromSubmitInward()},r.cancelInward=function(){r.props.cancelInward()},r}return Object(u.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){var t=Object(a.a)(L().mark(function t(){return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.props.loadData();case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){this.props.cancelInward()}},{key:"render",value:function(){var t=this.props.inwardCreation,e=t.college,r=t.to,n=t.fcollcode,a=t.fltfrom,o=t.fto,i=t.fname,c=t.fsubject,l=t.fregno,u=t.fothers,f=(t.fid,t.fconfi),w=Object(x.i)();return s.a.createElement("div",null,s.a.createElement(p.a,{fluid:!0},s.a.createElement(p.a.Content,null,s.a.createElement(p.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"Inward Entry"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(h.a,{to:"/viewinwordtab"},s.a.createElement(d.a,{basic:!0,color:"green",content:"View",icon:"caret up"})),s.a.createElement(d.a,{basic:!0,onClick:this.cancelInward,color:"black",icon:"times circle",content:"Cancel"}),s.a.createElement(h.a,{to:"/dashboard"},s.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(m.a,null),s.a.createElement(p.a.Description,{style:{overflowY:"auto",height:"".concat(w,"px")}},s.a.createElement(v.a,null,s.a.createElement("div",{className:"row clearfix",style:{marginRight:"0px",marginLeft:"-5px"}},s.a.createElement("div",{className:"col-md-8"},s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,null,s.a.createElement("label",null,"Letter From"),s.a.createElement(y.a,{placeholder:"Select Later From",search:!0,selection:!0,name:"fltfrom",value:a,options:[{code:"",label:"-Select-"},{code:"CL",label:"College"},{code:"ST",label:"Student"},{code:"OT",label:"Others"}].map(function(t,e){return{key:e,value:t.code,text:t.label}}),onChange:this.handleChange}))),"CL"==a?s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement("label",null,"College "),s.a.createElement(y.a,{placeholder:"Select College Range",search:!0,selection:!0,name:"fcollcode",value:n,options:e.map(function(t,e){return{key:e,value:t.fcollcode,text:t.college_name}}),onChange:this.handleChange}))):null,"ST"==a?s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement(v.a.Input,{placeholder:"Register No.",name:"fregno",onChange:this.handleChange,maxLength:"8",label:"Register No.",value:l}))):null,"OT"==a?s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement(v.a.Input,{placeholder:"Others",name:"fothers",onChange:this.handleChange,maxLength:"100",label:"Others",value:u}))):null,s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement(v.a.Input,{placeholder:"Address / Name",name:"fname",onChange:this.handleChange,label:"Address / Name",value:i}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement(v.a.Input,{placeholder:"From",name:"fsubject",onChange:this.handleChange,label:"Subject",value:c}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement("label",null,"To "),s.a.createElement(y.a,{placeholder:"to",search:!0,selection:!0,name:"fto",value:o,options:r.map(function(t,e){return{key:e,value:t.fid,text:t.fdescpn}}),onChange:this.handleChange}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement(g.a,{label:"Confidencial",onChange:this.handleChange,name:"fconfi",checked:"T"==f}))),s.a.createElement("button",{class:"ui primary button",onClick:this.fromSubmitInward},"Submit")),s.a.createElement("hr",null)))))))}}]),e}(f.Component);e.default=Object(w.b)(function(t){return{inwardCreation:t.inwardCreation}},{showError:b.A,loadData:E.e,changeInward:E.b,getName:E.d,cancelInward:E.a,fromSubmitInward:E.c})(O)},272:function(t,e,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),l=r.n(c),u=r(349),f=r(613),s=r(611),h=r(269);function p(t){var e=t.children,r=t.className,n=t.clearing,o=t.content,c=t.fitted,d=t.hidden,m=t.horizontal,v=t.inverted,y=t.section,g=t.vertical,w=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(y,"section"),Object(u.a)(g,"vertical"),"divider",r),b=Object(f.a)(p,t),E=Object(s.a)(p,t);return l.a.createElement(E,a()({},b,{className:w}),h.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p},304:function(t,e,r){},531:function(t,e,r){"use strict";r.d(e,"b",function(){return c}),r.d(e,"d",function(){return l}),r.d(e,"a",function(){return u}),r.d(e,"e",function(){return f}),r.d(e,"c",function(){return s}),r.d(e,"f",function(){return h});var n=r(68),a=r(271),o=r(267);function i(){i=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",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new I(n||[]);return a(i,"_invoke",{value:C(t,r,c)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var p="suspendedStart",d="suspendedYield",m="executing",v="completed",y={};function g(){}function w(){}function b(){}var E={};f(E,c,function(){return this});var x=Object.getPrototypeOf,L=x&&x(x(R([])));L&&L!==r&&n.call(L,c)&&(E=L);var O=b.prototype=g.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,i,c){var l=h(t[a],t,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):e.resolve(f).then(function(t){u.value=t,i(u)},function(t){return r("throw",t,i,c)})}c(l.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 C(e,r,n){var a=p;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var u=h(e,r,n);if("normal"===u.type){if(a=n.done?v:d,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=v,n.method="throw",n.arg=u.arg)}}}function N(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,N(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=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function k(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 S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function R(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 w.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=f(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,f(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),f(_.prototype,l,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new _(s(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(O),f(O,u,"Generator"),f(O,c,function(){return this}),f(O,"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=R,I.prototype={constructor:I,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(S),!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 c.type="throw",c.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(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 i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},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),S(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;S(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var c=function(t,e){return{type:"CHANGE_INWARD",payload:{name:t,value:e}}},l=function(t,e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var o,c;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(),t.next=3,a.a.get("app.php?a=getName&univcode="+o.univ.funivcode+"&value="+e+"&fltfrom="+o.inwardCreation.fltfrom);case 3:"object"!==typeof(c=t.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===c.data.error_code?r({type:"INWARD_GETNAME",payload:c.data}):r({type:"SET_ERROR",payload:c});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(){return{type:"CANCEL_INWARD"}},f=function(t,e){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,o;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.get("app.php?a=loadData&univcode="+n.univ.funivcode);case 3:"object"!==typeof(o=t.sent).data?e({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===o.data.error_code?e({type:"INWARD_LOAD",payload:o.data}):e({type:"SET_ERROR",payload:o});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,l;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),t.next=3,a.a.post("app.php?a=fromSubmitInward&univcode="+n.univ.funivcode,{fltfrom:n.inwardCreation.fltfrom,fcollcode:n.inwardCreation.fcollcode,fto:n.inwardCreation.fto,fid:n.inwardCreation.fid,fname:n.inwardCreation.fname,fsubject:n.inwardCreation.fsubject,fregno:n.inwardCreation.fregno,fothers:n.inwardCreation.fothers,fconfi:n.inwardCreation.fconfi,ftype:"I"});case 3:"object"!==typeof(c=t.sent).data?e({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===c.data.error_code?(l={header:"Success",content:c.data.data.msg},e(Object(o.A)(l)),e({type:"CANCEL_INWARD"})):e({type:"SET_ERROR",payload:c});case 5:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(){return function(){var t=Object(n.a)(i().mark(function t(e,r){var n,c,l,u;return i().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:"viewInword",univcode:n.univ.funivcode}});case 4:c=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},e(Object(o.A)(l))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},e(Object(o.A)(u))):e({type:"VIEW_INWARD",payload:c.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=82.c57fc0ab.chunk.js.map