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.189.182.15


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/276.aad003ee.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[276,307],{1275:function(t,e,n){"use strict";n.r(e);var r=n(68),a=n(100),o=n(101),i=n(103),c=n(102),l=n(104),u=n(2),s=n.n(u),f=n(1377),h=n(1343),p=n(272),d=n(1335),v=n(1155),m=n(941),y=n(300),b=n(105);function g(){g=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),c=new D(r||[]);return a(i,"_invoke",{value:L(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function y(){}function b(){}function w(){}var E={};u(E,i,function(){return this});var x=Object.getPrototypeOf,k=x&&x(x(F([])));k&&k!==n&&r.call(k,i)&&(E=k);var N=w.prototype=y.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function O(t,e){function n(a,o,i,c){var l=f(t[a],t,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&r.call(s,"__await")?e.resolve(s.__await).then(function(t){n("next",t,i,c)},function(t){n("throw",t,i,c)}):e.resolve(s).then(function(t){u.value=t,i(u)},function(t){return n("throw",t,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(t,r){function a(){return new e(function(e,a){n(t,r,e,a)})}return o=o?o.then(a,a):a()}})}function L(e,n,r){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:t,done:!0}}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var l=C(c,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=d;var u=f(e,n,r);if("normal"===u.type){if(a=r.done?v:p,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=v,r.method="throw",r.arg=u.arg)}}}function C(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(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 _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function F(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=w,a(N,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=u(w,l,"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,u(t,l,"GeneratorFunction")),t.prototype=Object.create(N),t},e.awrap=function(t){return{__await:t}},j(O.prototype),u(O.prototype,c,function(){return this}),e.AsyncIterator=O,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new O(s(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(N),u(N,l,"Generator"),u(N,i,function(){return this}),u(N,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=F,D.prototype={constructor:D,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(_),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return c.type="throw",c.arg=e,n.next=r,a&&(n.method="next",n.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=r.call(i,"catchLoc"),u=r.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 n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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,m):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),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;_(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:F(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}var w=function(t){function e(){var t,n;Object(a.a)(this,e);for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];return(n=Object(i.a)(this,(t=Object(c.a)(e)).call.apply(t,[this].concat(l)))).state={bankName:"",acNo:"",ifscNo:"",panno:""},n.componentDidMount=Object(r.a)(g().mark(function t(){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.props.getBankDet(n.props.userid);case 2:n.setState({bankName:n.props.bankdata.fbankname}),n.setState({acNo:n.props.bankdata.faccno}),n.setState({ifscNo:n.props.bankdata.fifsccode}),n.setState({panno:n.props.bankdata.fpanno});case 6:case"end":return t.stop()}},t)})),n.bankNameDet=function(){var t=Object(r.a)(g().mark(function t(e,r){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({bankName:r.value.toUpperCase()});case 1:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),n.acNumb=function(){var t=Object(r.a)(g().mark(function t(e,r){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({acNo:r.value});case 1:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),n.ifscCode=function(){var t=Object(r.a)(g().mark(function t(e,r){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({ifscNo:r.value.toUpperCase()});case 1:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),n.branchNam=function(){var t=Object(r.a)(g().mark(function t(e,r){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({panno:r.value.toUpperCase()});case 1:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),n.handleCancel=Object(r.a)(g().mark(function t(){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({bankName:""}),n.setState({acNo:""}),n.setState({ifscNo:""}),n.setState({panno:""});case 4:case"end":return t.stop()}},t)})),n.handleSave=Object(r.a)(g().mark(function t(){return g().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.props.saveBankDetails(n.props.userid,n.state.bankName,n.state.acNo,n.state.ifscNo,n.state.panno);case 2:case"end":return t.stop()}},t)})),n}return Object(l.a)(e,t),Object(o.a)(e,[{key:"render",value:function(){var t=this.state,e=t.bankName,n=t.acNo,r=t.ifscNo,a=t.panno;return s.a.createElement("div",null,s.a.createElement(f.a,{fluid:!0},s.a.createElement(f.a.Content,null,s.a.createElement(f.a.Header,{style:{display:"flex"}},s.a.createElement("h4",null,"Update Bank Details"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(h.a,{basic:!0,color:"green",icon:"save",onClick:this.handleSave,content:"Save"}),s.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),s.a.createElement(m.a,{to:"/Dashboard"},s.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(p.a,null),s.a.createElement(f.a.Description,null,s.a.createElement(d.a.Group,null,s.a.createElement(d.a.Field,null,s.a.createElement("label",null,"Bank Name"),s.a.createElement("label",{style:{marginLeft:"55px"}},":"),s.a.createElement(v.a,{type:"text",style:{width:"400px"},value:e,onChange:this.bankNameDet,placeholder:"Enter Bank Name"})),s.a.createElement(d.a.Field,null,s.a.createElement("label",null,"A/C Number"),s.a.createElement("label",{style:{marginLeft:"50px",marginTop:"10px"}},":"),s.a.createElement(v.a,{type:"text",style:{width:"400px"},value:n,onChange:this.acNumb,placeholder:"Enter A/C No."})),s.a.createElement(d.a.Field,null,s.a.createElement("label",null,"IFSC Code"),s.a.createElement("label",{style:{marginLeft:"60px",marginTop:"10px"}},":"),s.a.createElement(v.a,{type:"text",style:{width:"400px"},value:r,onChange:this.ifscCode,placeholder:"Enter IFSC Code"})),s.a.createElement(d.a.Field,null,s.a.createElement("label",null,"Pan Card No."),s.a.createElement("label",{style:{marginLeft:"45px",marginTop:"10px"}},":"),s.a.createElement(v.a,{type:"text",style:{width:"400px"},value:a,onChange:this.branchNam,placeholder:"Enter Pan No."})))))))}}]),e}(u.Component);e.default=Object(b.b)(function(t){return{userid:t.user.fuserid,bankdata:t.bankDet}},{getBankDet:y.j,saveBankDetails:y.y})(w)},272:function(t,e,n){"use strict";var r=n(270),a=n.n(r),o=n(268),i=n.n(o),c=n(2),l=n.n(c),u=n(349),s=n(613),f=n(611),h=n(269);function p(t){var e=t.children,n=t.className,r=t.clearing,o=t.content,c=t.fitted,d=t.hidden,v=t.horizontal,m=t.inverted,y=t.section,b=t.vertical,g=i()("ui",Object(u.a)(r,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(v,"horizontal"),Object(u.a)(m,"inverted"),Object(u.a)(y,"section"),Object(u.a)(b,"vertical"),"divider",n),w=Object(s.a)(p,t),E=Object(f.a)(p,t);return l.a.createElement(E,a()({},w,{className:g}),h.a.isNil(e)?o:e)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},e.a=p}}]);
//# sourceMappingURL=276.aad003ee.chunk.js.map