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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/302.d459810e.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[302],{709:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(100),o=r(101),i=r(103),l=r(102),c=r(104),p=r(2),u=r.n(p),s=r(105),d=r(298),f=r(267);function h(){h=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",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),l=new j(n||[]);return a(i,"_invoke",{value:F(e,r,l)}),i}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",y="executing",m="completed",v={};function g(){}function b(){}function x(){}var E={};p(E,i,function(){return this});var w=Object.getPrototypeOf,O=w&&w(w(P([])));O&&O!==r&&n.call(O,i)&&(E=O);var L=x.prototype=g.prototype=Object.create(E);function k(e){["next","throw","return"].forEach(function(t){p(e,t,function(e){return this._invoke(t,e)})})}function D(e,t){function r(a,o,i,l){var c=s(e[a],e,o);if("throw"!==c.type){var p=c.arg,u=p.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(u).then(function(e){p.value=e,i(p)},function(e){return r("throw",e,i,l)})}l(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 F(t,r,n){var a=d;return function(o,i){if(a===y)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var c=S(l,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var p=s(t,r,n);if("normal"===p.type){if(a=n.done?m:f,p.arg===v)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(a=m,n.method="throw",n.arg=p.arg)}}}function S(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,S(t,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,t.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[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(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 b.prototype=x,a(L,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:b,configurable:!0}),b.displayName=p(x,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,p(e,c,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},k(D.prototype),p(D.prototype,l,function(){return this}),t.AsyncIterator=D,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new D(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},k(L),p(L,c,"Generator"),p(L,i,function(){return this}),p(L,"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=P,j.prototype={constructor:j,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(A),!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 l.type="throw",l.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],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),p=n.call(i,"finallyLoc");if(c&&p){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(!p)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,v):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),v},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),A(r),v}},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;A(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var y=function(e){function t(){var e,r;Object(a.a)(this,t);for(var o=arguments.length,c=new Array(o),p=0;p<o;p++)c[p]=arguments[p];return(r=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={data:r.props.data,fset:r.props.setno,fqpcodeno:r.props.section},r.uploadQPMODFIle=function(){var e=Object(n.a)(h().mark(function e(t,n,a,o,i,l,c){var p;return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((p=new FormData).append("univcode",r.props.univcode),p.append("qpmodfile",t.target.files[0]),p.append("qpcode",n),p.append("set",a),p.append("fqpcodeno",i),p.append("teachcode",o),p.append("fyear",l),p.append("fexamtype",c),!window.confirm("Do You Want to Upload")){e.next=14;break}return e.next=12,r.props.uploadQPMODFIle(p);case 12:e.next=15;break;case 14:alert("You Pressed Cancelled");case 15:case"end":return e.stop()}},e)}));return function(t,r,n,a,o,i,l){return e.apply(this,arguments)}}(),r.uploadAnsMODFIle=function(){var e=Object(n.a)(h().mark(function e(t,n,a,o,i,l,c){var p;return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((p=new FormData).append("univcode",r.props.univcode),p.append("ansmodfile",t.target.files[0]),p.append("qpcode",n),p.append("set",a),p.append("fqpcodeno",i),p.append("teachcode",o),p.append("fyear",l),p.append("fexamtype",c),!window.confirm("Do You Want to Upload")){e.next=14;break}return e.next=12,r.props.uploadAnsMODFIle(p);case 12:e.next=15;break;case 14:alert("You Pressed Cancelled");case 15:case"end":return e.stop()}},e)}));return function(t,r,n,a,o,i,l){return e.apply(this,arguments)}}(),r.uploadMODFormFIle=function(){var e=Object(n.a)(h().mark(function e(t,n,a,o,i,l,c){var p;return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((p=new FormData).append("univcode",r.props.univcode),p.append("modfile",t.target.files[0]),p.append("qpcode",n),p.append("set",a),p.append("fqpcodeno",i),p.append("teachcode",o),p.append("fyear",l),p.append("fexamtype",c),!window.confirm("Do You Want to Upload")){e.next=14;break}return e.next=12,r.props.uploadMODFormFIle(p);case 12:e.next=15;break;case 14:alert("You Pressed Cancelled");case 15:case"end":return e.stop()}},e)}));return function(t,r,n,a,o,i,l){return e.apply(this,arguments)}}(),r}return Object(c.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this;return u.a.createElement("div",null,u.a.createElement("table",{style:{width:"100%",border:"1px Solid"}},u.a.createElement("thead",{style:{background:"tan",height:"40px",textAlign:"center"}},u.a.createElement("tr",null,u.a.createElement("th",{style:{border:"1px Solid"}},"Sl. No."),u.a.createElement("th",{style:{border:"1px Solid"}},"QP Code "),u.a.createElement("th",{style:{border:"1px Solid"}},"Course Name"),u.a.createElement("th",{style:{border:"1px Solid"}},"Syllabus"))),u.a.createElement("tbody",null,u.a.createElement("tr",{style:{height:"30px"}},u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center"}},this.props.setno),u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center"}},this.props.qpcode),u.a.createElement("td",{style:{border:"1px Solid",paddingLeft:"10px"}},this.props.subname),u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center"}},u.a.createElement("a",{href:this.props.url,target:"_blank",rel:"noopener noreferrer"},"View"))))),u.a.createElement("div",{style:{paddingTop:"20px"}},u.a.createElement("table",{style:{width:"100%",border:"1px Solid"}},u.a.createElement("thead",{style:{background:"tan",height:"40px",textAlign:"center"}},u.a.createElement("tr",null,u.a.createElement("th",{style:{border:"1px Solid"}},"Sl No. "),u.a.createElement("th",{style:{border:"1px Solid"}},"QP FILE"),u.a.createElement("th",{style:{border:"1px Solid"}},"ANS KEY FILE"),u.a.createElement("th",{style:{border:"1px Solid"}},"QPMOD FORM"))),u.a.createElement("tbody",null,this.state.data.map(function(t,r){var n="https://moderator-upd.s3.ap-south-1.amazonaws.com/",a="https://universitysolutions.in/univadmin/"+t.fqpfilepath,o="https://universitysolutions.in/univadmin/"+t.fanskeypath;return u.a.createElement("tr",{style:{height:"30px"},key:r},u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center"}},u.a.createElement("b",null,e.props.setno)),u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center",padding:"10px"}},u.a.createElement("b",null,u.a.createElement("a",{target:"_blank",href:a},"DOWNLOAD QP FILE")),u.a.createElement("br",null),u.a.createElement("br",null),u.a.createElement("input",{type:"file",onChange:function(r){return e.uploadQPMODFIle(r,e.props.qpcode,t.fset,t.fteachcode,t.fqpcodeno,t.fyear,t.fexamtype)}}),""!==t.fmodqpupd&&u.a.createElement("a",{href:n+t.fmodqpupd,target:"_blank",rel:"noopener noreferrer"},"View")),u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center",padding:"10px"}},u.a.createElement("b",null,u.a.createElement("a",{target:"_blank",href:o},"DOWNLOAD ANS KEY")),u.a.createElement("br",null),u.a.createElement("br",null),u.a.createElement("input",{type:"file",onChange:function(r){return e.uploadAnsMODFIle(r,e.props.qpcode,t.fset,t.fteachcode,t.fqpcodeno,t.fyear,t.fexamtype)}}),""!==t.fmodanskey&&u.a.createElement("a",{href:n+t.fmodanskey,target:"_blank",rel:"noopener noreferrer"},"View")),u.a.createElement("td",{style:{border:"1px Solid",textAlign:"center"}},u.a.createElement("b",null,u.a.createElement("a",{target:"_blank",href:"https://universitysolutions.in/univadmin/QP_Details/051/Q.P.moderation_format_14.03.2023.docx"},"DOWNLOAD MODERATOR FORM")),u.a.createElement("br",null),u.a.createElement("br",null),u.a.createElement("input",{type:"file",onChange:function(r){return e.uploadMODFormFIle(r,e.props.qpcode,t.fset,t.fteachcode,t.fqpcodeno,t.fyear,t.fexamtype)}}),""!==t.fmodform&&u.a.createElement("a",{href:n+t.fmodform,target:"_blank",rel:"noopener noreferrer"},"View")))})))))}}]),t}(p.Component);t.default=Object(s.b)(function(e){return{modUpdData:e.getModUpdData}},{showError:f.A,uploadQPMODFIle:d.x,uploadAnsMODFIle:d.v,uploadMODFormFIle:d.w,getModUpdData:d.f})(y)}}]);
//# sourceMappingURL=302.d459810e.chunk.js.map