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
Apache
: 172.26.7.228 | : 18.117.104.132
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
tdvsapp /
static /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
0.0eb6c13f.chunk.js
27.08
KB
-rw-rw-r--
0.0eb6c13f.chunk.js.map
113.84
KB
-rw-rw-r--
0.2a8c8e14.chunk.js
27.08
KB
-rw-rw-r--
0.2a8c8e14.chunk.js.map
113.84
KB
-rw-rw-r--
1.02e3e9fa.chunk.js
36.12
KB
-rw-rw-r--
1.02e3e9fa.chunk.js.map
183.91
KB
-rw-rw-r--
1.5b25a566.chunk.js
36.12
KB
-rw-rw-r--
1.5b25a566.chunk.js.map
183.91
KB
-rw-rw-r--
10.4070e960.chunk.js
28.68
KB
-rw-rw-r--
10.4070e960.chunk.js.map
79.85
KB
-rw-rw-r--
10.a1b514df.chunk.js
36.42
KB
-rw-rw-r--
10.a1b514df.chunk.js.map
92.81
KB
-rw-rw-r--
10.a31b7e5b.chunk.js
36.5
KB
-rw-rw-r--
10.a31b7e5b.chunk.js.map
92.86
KB
-rw-rw-r--
11.1d23ce16.chunk.js
3.11
KB
-rw-rw-r--
11.1d23ce16.chunk.js.map
11.24
KB
-rw-rw-r--
11.acaee0aa.chunk.js
3.1
KB
-rw-rw-r--
11.acaee0aa.chunk.js.map
11.25
KB
-rw-rw-r--
12.4bd43931.chunk.js
10.07
KB
-rw-rw-r--
12.4bd43931.chunk.js.map
45.98
KB
-rw-rw-r--
12.d34d8c55.chunk.js
10.07
KB
-rw-rw-r--
12.d34d8c55.chunk.js.map
45.97
KB
-rw-rw-r--
13.0b93b679.chunk.js
11.87
KB
-rw-rw-r--
13.0b93b679.chunk.js.map
26.08
KB
-rw-rw-r--
13.89e27764.chunk.js
11.86
KB
-rw-rw-r--
13.89e27764.chunk.js.map
26.08
KB
-rw-rw-r--
13.d3959f8e.chunk.js
11.78
KB
-rw-rw-r--
13.d3959f8e.chunk.js.map
26.03
KB
-rw-rw-r--
14.2fd531d9.chunk.js
14.6
KB
-rw-rw-r--
14.2fd531d9.chunk.js.map
35.21
KB
-rw-rw-r--
14.cd7f09b1.chunk.js
14.6
KB
-rw-rw-r--
14.cd7f09b1.chunk.js.map
35.21
KB
-rw-rw-r--
15.12754be9.chunk.js
7.77
KB
-rw-rw-r--
15.12754be9.chunk.js.map
12.92
KB
-rw-rw-r--
15.cff866e5.chunk.js
7.77
KB
-rw-rw-r--
15.cff866e5.chunk.js.map
12.92
KB
-rw-rw-r--
16.23f7a7f1.chunk.js
532.16
KB
-rw-rw-r--
16.23f7a7f1.chunk.js.map
1.62
MB
-rw-rw-r--
16.45419109.chunk.js
532.24
KB
-rw-rw-r--
16.45419109.chunk.js.map
1.62
MB
-rw-rw-r--
16.7fd30f9c.chunk.js
532.23
KB
-rw-rw-r--
16.7fd30f9c.chunk.js.map
1.62
MB
-rw-rw-r--
17.554f74a4.chunk.js
24.25
KB
-rw-rw-r--
17.554f74a4.chunk.js.map
64.23
KB
-rw-rw-r--
17.ac4f351d.chunk.js
24.16
KB
-rw-rw-r--
17.ac4f351d.chunk.js.map
64.18
KB
-rw-rw-r--
17.bfc51017.chunk.js
24.23
KB
-rw-rw-r--
17.bfc51017.chunk.js.map
64.23
KB
-rw-rw-r--
18.053252a6.chunk.js
35.46
KB
-rw-rw-r--
18.053252a6.chunk.js.map
89.92
KB
-rw-rw-r--
18.41dde321.chunk.js
35.14
KB
-rw-rw-r--
18.41dde321.chunk.js.map
88.56
KB
-rw-rw-r--
18.45d4730b.chunk.js
35.43
KB
-rw-rw-r--
18.45d4730b.chunk.js.map
89.93
KB
-rw-rw-r--
18.53fd3589.chunk.js
35.42
KB
-rw-rw-r--
18.53fd3589.chunk.js.map
89.98
KB
-rw-rw-r--
18.75ffdae6.chunk.js
35.46
KB
-rw-rw-r--
18.75ffdae6.chunk.js.map
89.93
KB
-rw-rw-r--
18.a10b5b5c.chunk.js
35.43
KB
-rw-rw-r--
18.a10b5b5c.chunk.js.map
89.86
KB
-rw-rw-r--
18.a34a958b.chunk.js
35.49
KB
-rw-rw-r--
18.a34a958b.chunk.js.map
90.01
KB
-rw-rw-r--
18.a8287c74.chunk.js
35.15
KB
-rw-rw-r--
18.a8287c74.chunk.js.map
88.56
KB
-rw-rw-r--
19.75de75df.chunk.js
493.6
KB
-rw-rw-r--
19.75de75df.chunk.js.map
2.24
MB
-rw-rw-r--
19.7977b260.chunk.js
493.63
KB
-rw-rw-r--
19.7977b260.chunk.js.map
2.24
MB
-rw-rw-r--
2.03a0ba5f.chunk.js
29.97
KB
-rw-rw-r--
2.03a0ba5f.chunk.js.map
134.19
KB
-rw-rw-r--
2.e6d9f977.chunk.js
29.97
KB
-rw-rw-r--
2.e6d9f977.chunk.js.map
134.19
KB
-rw-rw-r--
20.58d47a8a.chunk.js
8.88
KB
-rw-rw-r--
20.58d47a8a.chunk.js.map
48.64
KB
-rw-rw-r--
20.675e319b.chunk.js
8.88
KB
-rw-rw-r--
20.675e319b.chunk.js.map
48.64
KB
-rw-rw-r--
21.20cd6cbb.chunk.js
54.23
KB
-rw-rw-r--
21.20cd6cbb.chunk.js.map
168.02
KB
-rw-rw-r--
21.4c5bdbd1.chunk.js
54.23
KB
-rw-rw-r--
21.4c5bdbd1.chunk.js.map
168.02
KB
-rw-rw-r--
3.0f9e9fe4.chunk.js
10.63
KB
-rw-rw-r--
3.0f9e9fe4.chunk.js.map
57.4
KB
-rw-rw-r--
3.58c3c7ed.chunk.js
10.63
KB
-rw-rw-r--
3.58c3c7ed.chunk.js.map
57.36
KB
-rw-rw-r--
5.057af134.chunk.js
145.02
KB
-rw-rw-r--
5.057af134.chunk.js.map
346.55
KB
-rw-rw-r--
5.be8b653d.chunk.js
145.01
KB
-rw-rw-r--
5.be8b653d.chunk.js.map
346.66
KB
-rw-rw-r--
5.cceb84cc.chunk.js
145.01
KB
-rw-rw-r--
5.cceb84cc.chunk.js.map
346.55
KB
-rw-rw-r--
5.ef201a5d.chunk.js
145.01
KB
-rw-rw-r--
5.ef201a5d.chunk.js.map
346.67
KB
-rw-rw-r--
6.2c17c533.chunk.js
52.42
KB
-rw-rw-r--
6.2c17c533.chunk.js.map
91.31
KB
-rw-rw-r--
6.add7fe41.chunk.js
52.32
KB
-rw-rw-r--
6.add7fe41.chunk.js.map
91.55
KB
-rw-rw-r--
6.d4267600.chunk.js
52.42
KB
-rw-rw-r--
6.d4267600.chunk.js.map
91.35
KB
-rw-rw-r--
7.1712ad5d.chunk.js
48.94
KB
-rw-rw-r--
7.1712ad5d.chunk.js.map
78.27
KB
-rw-rw-r--
7.24fda52a.chunk.js
48.93
KB
-rw-rw-r--
7.24fda52a.chunk.js.map
78.27
KB
-rw-rw-r--
7.993420a0.chunk.js
48.86
KB
-rw-rw-r--
7.993420a0.chunk.js.map
78.22
KB
-rw-rw-r--
8.04cfe69e.chunk.js
1.95
MB
-rw-rw-r--
8.04cfe69e.chunk.js.map
6.28
MB
-rw-rw-r--
8.9b4d1011.chunk.js
1.95
MB
-rw-rw-r--
8.9b4d1011.chunk.js.map
6.28
MB
-rw-rw-r--
8.fae877be.chunk.js
1.92
MB
-rw-rw-r--
8.fae877be.chunk.js.map
6.23
MB
-rw-rw-r--
9.c7f08bdd.chunk.js
27.45
KB
-rw-rw-r--
9.c7f08bdd.chunk.js.map
54.52
KB
-rw-rw-r--
9.dc48fc0d.chunk.js
27.37
KB
-rw-rw-r--
9.dc48fc0d.chunk.js.map
54.47
KB
-rw-rw-r--
9.f678ad45.chunk.js
27.44
KB
-rw-rw-r--
9.f678ad45.chunk.js.map
54.52
KB
-rw-rw-r--
main.38565251.chunk.js
8.08
KB
-rw-rw-r--
main.38565251.chunk.js.map
24.24
KB
-rw-rw-r--
main.b013322d.chunk.js
8.07
KB
-rw-rw-r--
main.b013322d.chunk.js.map
24.24
KB
-rw-rw-r--
runtime~main.025f1491.js
3.53
KB
-rw-rw-r--
runtime~main.025f1491.js.map
16.05
KB
-rw-rw-r--
runtime~main.196f2ffb.js
3.53
KB
-rw-rw-r--
runtime~main.196f2ffb.js.map
16.05
KB
-rw-rw-r--
runtime~main.2af8b252.js
3.53
KB
-rw-rw-r--
runtime~main.2af8b252.js.map
16.05
KB
-rw-rw-r--
runtime~main.436a0018.js
3.53
KB
-rw-rw-r--
runtime~main.436a0018.js.map
16.05
KB
-rw-rw-r--
runtime~main.5f277618.js
3.53
KB
-rw-rw-r--
runtime~main.5f277618.js.map
16.05
KB
-rw-rw-r--
runtime~main.8f412e19.js
3.53
KB
-rw-rw-r--
runtime~main.8f412e19.js.map
16.05
KB
-rw-rw-r--
runtime~main.ae7c93ed.js
3.53
KB
-rw-rw-r--
runtime~main.ae7c93ed.js.map
16.05
KB
-rw-rw-r--
runtime~main.bccf2c7c.js
3.53
KB
-rw-rw-r--
runtime~main.bccf2c7c.js.map
16.05
KB
-rw-rw-r--
runtime~main.e034a8a2.js
3.53
KB
-rw-rw-r--
runtime~main.e034a8a2.js.map
16.05
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 18.a34a958b.chunk.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{1171:function(e,t,a){"use strict";var n=a(1151),r=a(1152),o=a.n(r),c=a(53);function l(){l=function(){return e};var e={},t=Object.prototype,a=t.hasOwnProperty,n=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(_){s=function(e,t,a){return e[t]=a}}function u(e,t,a,r){var o=t&&t.prototype instanceof d?t:d,c=Object.create(o.prototype),l=new S(r||[]);return n(c,"_invoke",{value:k(e,a,l)}),c}function f(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(_){return{type:"throw",arg:_}}}e.wrap=u;var m={};function d(){}function p(){}function h(){}var v={};s(v,o,function(){return this});var g=Object.getPrototypeOf,y=g&&g(g(C([])));y&&y!==t&&a.call(y,o)&&(v=y);var E=h.prototype=d.prototype=Object.create(v);function b(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var r;n(this,"_invoke",{value:function(n,o){function c(){return new t(function(r,c){!function n(r,o,c,l){var i=f(e[r],e,o);if("throw"!==i.type){var s=i.arg,u=s.value;return u&&"object"==typeof u&&a.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,c,l)},function(e){n("throw",e,c,l)}):t.resolve(u).then(function(e){s.value=e,c(s)},function(e){return n("throw",e,c,l)})}l(i.arg)}(n,o,r,c)})}return r=r?r.then(c,c):c()}})}function k(e,t,a){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return N()}for(a.method=r,a.arg=o;;){var c=a.delegate;if(c){var l=x(c,a);if(l){if(l===m)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===n)throw n="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n="executing";var i=f(e,t,a);if("normal"===i.type){if(n=a.done?"completed":"suspendedYield",i.arg===m)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(n="completed",a.method="throw",a.arg=i.arg)}}}function x(e,t){var a=t.method,n=e.iterator[a];if(void 0===n)return t.delegate=null,"throw"===a&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==a&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,m;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:N}}function N(){return{value:void 0,done:!0}}return p.prototype=h,n(E,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,i,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,c,function(){return this}),e.AsyncIterator=w,e.async=function(t,a,n,r,o){void 0===o&&(o=Promise);var c=new w(u(t,a,n,r),o);return e.isGeneratorFunction(a)?c:c.next().then(function(e){return e.done?e.value:c.next()})},b(E),s(E,i,"Generator"),s(E,o,function(){return this}),s(E,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(a,n){return c.type="throw",c.arg=e,t.next=a,n&&(t.method="next",t.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),i=a.call(o,"finallyLoc");if(l&&i){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!i)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},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 a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),j(a),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;j(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:C(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=void 0),m}},e}var i=a(1206).a.load();Object(n.a)(l().mark(function e(){var t,a;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i;case 2:return t=e.sent,e.next=5,t.get();case 5:a=e.sent,a.visitorId;case 7:case"end":return e.stop()}},e)}))();var s=o.a.create({baseURL:c.a,headers:{"X-Auth-Origin":"TDVS"}});s.defaults.params={},s.interceptors.request.use(function(e){var t=sessionStorage.getItem("token"),a=sessionStorage.getItem("univcode");return a&&(e.params.univcode=a),t&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)}),t.a=s},1516:function(e,t,a){},1550:function(e,t,a){"use strict";a.r(t),a.d(t,"default",function(){return C});var n=a(1156),r=a(1151),o=a(50),c=a(1),l=a.n(c),i=a(53),s=a(84),u=a(1152),f=a.n(u),m=a(54),d=a(163),p=(a(1171),a(1516),a(1552)),h=a(1559),v=a(524),g=a(1553),y=a(1523),E=a(1538),b=a(533),w=a(1182),k=a(1525),x=a(1286),O=a(1539),j=a(1540);function S(){S=function(){return e};var e={},t=Object.prototype,a=t.hasOwnProperty,n=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function i(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(_){i=function(e,t,a){return e[t]=a}}function s(e,t,a,r){var o=t&&t.prototype instanceof m?t:m,c=Object.create(o.prototype),l=new j(r||[]);return n(c,"_invoke",{value:w(e,a,l)}),c}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(_){return{type:"throw",arg:_}}}e.wrap=s;var f={};function m(){}function d(){}function p(){}var h={};i(h,o,function(){return this});var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&a.call(g,o)&&(h=g);var y=p.prototype=m.prototype=Object.create(h);function E(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function b(e,t){var r;n(this,"_invoke",{value:function(n,o){function c(){return new t(function(r,c){!function n(r,o,c,l){var i=u(e[r],e,o);if("throw"!==i.type){var s=i.arg,f=s.value;return f&&"object"==typeof f&&a.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,c,l)},function(e){n("throw",e,c,l)}):t.resolve(f).then(function(e){s.value=e,c(s)},function(e){return n("throw",e,c,l)})}l(i.arg)}(n,o,r,c)})}return r=r?r.then(c,c):c()}})}function w(e,t,a){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return N()}for(a.method=r,a.arg=o;;){var c=a.delegate;if(c){var l=k(c,a);if(l){if(l===f)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===n)throw n="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n="executing";var i=u(e,t,a);if("normal"===i.type){if(n=a.done?"completed":"suspendedYield",i.arg===f)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(n="completed",a.method="throw",a.arg=i.arg)}}}function k(e,t){var a=t.method,n=e.iterator[a];if(void 0===n)return t.delegate=null,"throw"===a&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==a&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+a+"' method")),f;var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:N}}function N(){return{value:void 0,done:!0}}return d.prototype=p,n(y,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:d,configurable:!0}),d.displayName=i(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,i(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},E(b.prototype),i(b.prototype,c,function(){return this}),e.AsyncIterator=b,e.async=function(t,a,n,r,o){void 0===o&&(o=Promise);var c=new b(s(t,a,n,r),o);return e.isGeneratorFunction(a)?c:c.next().then(function(e){return e.done?e.value:c.next()})},E(y),i(y,l,"Generator"),i(y,o,function(){return this}),i(y,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(a,n){return c.type="throw",c.arg=e,t.next=a,n&&(t.method="next",t.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),i=a.call(o,"finallyLoc");if(l&&i){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!i)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(c)},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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),O(a),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;O(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:C(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=void 0),f}},e}function C(e){var t=e.match.params,a=t.qpcode,u=t.regcode,C=t.valno,N=sessionStorage.getItem("fteachcode"),_=Object(c.useContext)(d.a).univcode,L=Object(c.useContext)(d.a),A=(L.teachcode,L.err_msg),q=L.load,P=Object(o.a)(q,2),M=(P[0],P[1]),I=Object(o.a)(A,2),F=(I[0],I[1]),G=Object(m.useHistory)(),R=Object(c.useRef)([]),T=Object(c.useState)([]),B=Object(o.a)(T,2),H=B[0],z=B[1],Q=Object(c.useState)(""),X=Object(o.a)(Q,2),V=X[0],D=X[1],Y=Object(c.useState)(""),U=Object(o.a)(Y,2),W=U[0],J=U[1],$=Object(c.useState)([]),K=Object(o.a)($,2),Z=K[0],ee=K[1],te=Object(c.useState)([]),ae=Object(o.a)(te,2),ne=(ae[0],ae[1]),re=Object(c.useState)([]),oe=Object(o.a)(re,2),ce=oe[0],le=oe[1],ie=Object(c.useState)(0),se=Object(o.a)(ie,2),ue=se[0],fe=se[1],me=Object(c.useState)(!1),de=Object(o.a)(me,2),pe=de[0],he=de[1],ve=Object(c.useState)(!1),ge=Object(o.a)(ve,2),ye=ge[0],Ee=ge[1],be=Object(c.useState)(!1),we=Object(o.a)(be,2),ke=we[0],xe=we[1],Oe=Object(c.useState)("Script Re-scan request"),je=Object(o.a)(Oe,2),Se=je[0],Ce=je[1],Ne=Object(c.useState)(""),_e=Object(o.a)(Ne,2),Le=_e[0],Ae=_e[1],qe=Object(c.useState)(""),Pe=Object(o.a)(qe,2),Me=Pe[0],Ie=Pe[1],Fe=Object(c.useState)([]),Ge=Object(o.a)(Fe,2),Re=Ge[0],Te=Ge[1],Be=Object(c.useState)([]),He=Object(o.a)(Be,2),ze=He[0],Qe=He[1],Xe=Object(c.useState)([]),Ve=Object(o.a)(Xe,2),De=Ve[0],Ye=Ve[1],Ue=Object(c.useState)(!1),We=Object(o.a)(Ue,2),Je=We[0],$e=We[1],Ke=Object(c.useState)(!1),Ze=Object(o.a)(Ke,2),et=Ze[0],tt=Ze[1],at=Object(c.useState)(""),nt=Object(o.a)(at,2),rt=nt[0],ot=nt[1],ct=Object(c.useState)({}),lt=Object(o.a)(ct,2),it=lt[0],st=lt[1],ut=Object(c.useState)(!1),ft=Object(o.a)(ut,2),mt=ft[0],dt=ft[1],pt=Object(c.useState)(!1),ht=Object(o.a)(pt,2),vt=ht[0],gt=ht[1],yt=Object(c.useState)(null),Et=Object(o.a)(yt,2),bt=Et[0],wt=Et[1],kt=Object(c.useState)(null),xt=Object(o.a)(kt,2),Ot=xt[0],jt=xt[1];Object(c.useEffect)(function(){console.log(sessionStorage.getItem("isViewQn")),null==sessionStorage.getItem("isViewQn")?gt(!0):"true"==sessionStorage.getItem("isViewQn")?gt(!0):"false"==sessionStorage.getItem("isViewQn")&>(!1),St(),Ct()},[]);var St=function(){var e=Object(r.a)(S().mark(function e(){var t;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,s.a.get("/app.php?a=getevalimage&univcode="+_+"&fteachcode=".concat(N,"&qpcode=").concat(a,"®code=").concat(u,"&valno=").concat(C));case 3:if(t=e.sent,M(!1),0!==t.data.error_code){e.next=11;break}z(t.data.data.filenames),D(t.data.data.ffilepath),J(t.data.data.qpschmepath),e.next=14;break;case 11:return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:t.data.data.msg}}),G.push("/dashboard"),e.abrupt("return");case 14:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Ct=function(){var e=Object(r.a)(S().mark(function e(){var t,n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,s.a.get("/app.php?a=getevalpartsstate&univcode="+_+"&fteachcode=".concat(N,"&qpcode=").concat(a,"®code=").concat(u,"&valno=").concat(C));case 3:t=e.sent,M(!1),console.log(t),0===t.data.error_code?(ee(t.data.data.parts),ne(t.data.data.path),t.data.data.path.length>0&&ot(t.data.data.path[0].fomrmarks),le(t.data.data.question),Z.map(function(e,a){t.data.data.question.map(function(t,a){t.fpartcode===e.fpartcode&&"T"!=t.fsubqn&&R.current[a].focus()})}),n=0,t.data.data.question.map(function(e,t){var a="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"NA"==e.fmarks||"N"==e.fmarks||"A"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;n+=parseFloat(a)}),fe(n)):(F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:t.data.data.msg}}),M(!1));case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Nt=function(){var e=Object(r.a)(S().mark(function e(t,a){var r,o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(r=/^[0-9Nn.]*$/).test(t.target.value),r.test(t.target.value)&&(o=Object(n.a)(ce),""==t.target.value?o[a].fmarks=-1:o[a].fmarks=t.target.value.toUpperCase(),le(Object(n.a)(o))),console.log(ce),c=0,ce.map(function(e,t){var a="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"NA"==e.fmarks||"N"==e.fmarks||"A"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;c+=parseFloat(a)}),fe(c);case 7:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}(),_t=function(){var e=Object(r.a)(S().mark(function e(t,a,r){var o,c;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(n.a)(ce),console.log(),!(parseFloat(t.fmarks)>parseFloat(t.fmaxmarks))){e.next=7;break}return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:"Entered marks is greater than max marks"}}),o[a].fmarks=-1,le(Object(n.a)(o)),e.abrupt("return");case 7:c=0,ce.map(function(e,t){var a="-1"==e.fmarks||""==e.fmarks||"T"==e.fsubqn||"N"==e.fmarks||"-2"==e.fmarks?0:e.fmarks;c+=parseFloat(a)}),fe(c);case 10:case"end":return e.stop()}},e)}));return function(t,a,n){return e.apply(this,arguments)}}(),Lt=function(){var e=Object(r.a)(S().mark(function e(t){var n;return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(ce,t),n=[],"save"!=t){e.next=9;break}return e.next=5,ce.map(function(e){"-1"==e.fmarks&&"T"!==e.fsubqn&&n.push(e)});case 5:if(console.log(n),!(n.length>0)){e.next=9;break}return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:"Please enter marks for all the questions"}}),e.abrupt("return");case 9:return M(!0),e.next=12,f.a.post(i.b+"a=saveEvaluationMarks&univcode=".concat(sessionStorage.getItem("univcode"),"&fteachcode=").concat(N,"&qpcode=").concat(a,"&dummyno=").concat(u,"&valno=").concat(C),ce).then(function(e){return console.log(e),0!==e.data.error_code?(F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1)):"save"!=t?(F({type:"OPEN_MSG_BOX",payload:{header:"Success",message:e.data.data.msg}}),void M(!1)):(M(!1),void At())}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while saving marks "}}),M(!1)});case 12:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),At=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.get(i.b+"a=getEvalMarksStatus&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+a+"&dummyno="+u+"&valno="+C).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1);Te(e.data.data.sdata),Qe(e.data.data.pdata),Ye(e.data.data.sum),tt(!0)}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while getting marks data "}}),M(!1)});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),qt=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.post(i.b+"a=finalEvalMarks&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+a+"&dummyno="+u+"&valno="+C+"&fteachcode="+N+"&remarks="+Me).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:e.data.data.msg}}),void M(!1);G.push("/dashboard")}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while saving marks data "}}),M(!1)});case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Pt=Re[0],Mt=De,It=function(){var e=Object(r.a)(S().mark(function e(){return S().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return M(!0),e.next=3,f.a.post(i.b+"a=saveEvalReject&univcode="+sessionStorage.getItem("univcode")+"&rejReason="+Se+"&rejComment="+Le+"&qpcode="+a+"&dummyno="+u+"&valno="+C).then(function(e){if(console.log(e),0!==e.data.error_code)return F({type:"OPEN_MSG_BOX",payload:{header:"Message",message:e.data.data.msg}}),void M(!1);M(!1),G.push("/dashboard")}).catch(function(e){F({type:"OPEN_MSG_BOX",payload:{header:"Error",message:"Error while rejecting scripts"}}),M(!1)});case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(c.useEffect)(function(){null!==bt&&R.current[bt]&&R.current[bt].focus()},[bt]);var Ft=function(e,t){R.current[t]=e};function Gt(e){var t=e.open,a=e.msg,n=e.header,r=e.onCancel,o=e.confirmButton,c=e.onConfirm;return l.a.createElement(p.a,{size:"mini",open:t},l.a.createElement(p.a.Header,null,n),l.a.createElement(p.a.Content,null,l.a.createElement("p",null,a)),l.a.createElement(p.a.Actions,null,l.a.createElement(h.a,{positive:!0,size:"tiny",style:{background:"red"},onClick:r},"Cancel"),l.a.createElement(h.a,{positive:!0,size:"tiny",onClick:c},o)))}return l.a.createElement("div",null,l.a.createElement("div",{className:"grid-container",id:"condiv"},l.a.createElement("div",{className:"item1"},l.a.createElement(Gt,{open:pe,msg:"Are you sure you want save as draft ?",header:"Confirm",onCancel:function(){return he(!1)},confirmButton:"OK",onConfirm:function(){Lt(),he(!1)}}),l.a.createElement(p.a,{open:ye,size:"small"},l.a.createElement(p.a.Header,null,"Answer Script Rejection",l.a.createElement(h.a,{onClick:function(){return Ee(!1)},secondary:!0,floated:"right"},l.a.createElement(v.a,{name:"close"}),"Close")),l.a.createElement(p.a.Content,{scrolling:!0},l.a.createElement(p.a.Description,null,l.a.createElement(g.a,null,l.a.createElement(y.a,{negative:!0},l.a.createElement(y.a.Header,null,l.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Script Re-scan request",checked:"Script Re-scan request"==Se,label:"Script Re-scan request",onChange:function(e,t){return Ce(t.value)}})),l.a.createElement("p",{style:{textIndent:"3ch"}},"I am unable to mark candidate's answer scripts because of poor scannig quality")),l.a.createElement(y.a,{negative:!0},l.a.createElement(y.a.Header,null,l.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Malpractice Concern",checked:"Malpractice Concern"==Se,label:"Malpractice Concern",onChange:function(e,t){return Ce(t.value)}})),l.a.createElement("p",{style:{textIndent:"3ch"}},"I suspected malpractice in connection to this answer script. I want this to be reviewed")),l.a.createElement(y.a,{negative:!0},l.a.createElement(y.a.Header,null,l.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Wrong QP Pattern",label:"Wrong QP Pattern",checked:"Wrong QP Pattern"==Se,onChange:function(e,t){return Ce(t.value)}})),l.a.createElement("p",{style:{textIndent:"3ch"}},"Displayed marks pattern does not match with the question paper.")),l.a.createElement(y.a,{negative:!0},l.a.createElement(y.a.Header,null,l.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Answer Script Mismatch with QP",label:"Answer Script Mismatch with QP",checked:"Answer Script Mismatch with QP"==Se,onChange:function(e,t){return Ce(t.value)}})),l.a.createElement("p",{style:{textIndent:"3ch"}},"Displayed answer script does not match the subject.")),l.a.createElement(y.a,{negative:!0},l.a.createElement(y.a.Header,null,l.a.createElement(E.a,{fitted:!0,name:"rejectAb",value:"Student Identity revealed",label:"Student Identity revealed",checked:"Student Identity revealed"==Se,onChange:function(e,t){return Ce(t.value)}})),l.a.createElement("p",{style:{textIndent:"3ch"}},"Student Identity is revealed.")),l.a.createElement(g.a.TextArea,{label:"Comment",placeholder:"Comment...",value:Le,onChange:function(e,t){return Ae(t.value)}})))),l.a.createElement(p.a.Actions,{style:{textAlign:"center"}},l.a.createElement(h.a,{onClick:function(){return It()},primary:!0},"Submit"))),l.a.createElement(p.a,{open:ke,size:"mini"},l.a.createElement(p.a.Header,null,"Confirm"),l.a.createElement(p.a.Content,null,l.a.createElement(p.a.Description,null,l.a.createElement("p",null,"Are you sure you want to exit evalution ?"))),l.a.createElement(p.a.Actions,null,l.a.createElement(h.a,{size:"tiny",onClick:function(){return xe(!1)},negative:!0},"NO"),l.a.createElement(h.a,{content:"Yes",icon:"checkmark",size:"tiny",onClick:function(){return G.push("/dashboard")},positive:!0}))),l.a.createElement(p.a,{open:mt,size:"small"},l.a.createElement(p.a.Header,null,it.fqnno,l.a.createElement(h.a,{onClick:function(){dt(!1),wt(Ot),console.log(R)},secondary:!0,floated:"right"},l.a.createElement(v.a,{name:"close"}),"Close")),l.a.createElement(p.a.Content,null,l.a.createElement("h4",null,it.fquestion))),l.a.createElement("div",null,"T"==W.fonlineqp&&void 0!=it.fqnno&&vt&&l.a.createElement("div",{style:{height:"80px",position:"sticky",top:0,overflowY:"auto",background:"#fff",borderBottom:"3px solid #008dda"}},l.a.createElement("p",{style:{textAlign:"initial",marginLeft:"20px",color:"#000",fontSize:"16px",justifyContent:"justify",cursor:"pointer"},onClick:function(){return dt(!0)}},it.fqnno," ",l.a.createElement("span",null," ",it.fquestion))),H.length>0?H.map(function(e,t){return l.a.createElement("div",{style:{marginTop:"T"==W.fonlineqp&&mt?"30px":0},id:t},l.a.createElement("img",{onClick:function(){return console.log(t)},key:t,src:"https://answer-booklets.s3.ap-south-1.amazonaws.com/eval-img/"+V+e,className:"ansbook",alt:"image not found"}))}):l.a.createElement("p",null,"Answer Booklet Not Found"))),l.a.createElement("div",{className:"item3"},H.length>0?H.map(function(e,t){return l.a.createElement("div",null,l.a.createElement("img",{onClick:function(){return e=t,console.log("A"),void document.getElementById(e).scrollIntoView();var e},key:t,style:{width:"95%",padding:"2px",border:"1px solid"},src:"https://answer-booklets.s3.ap-south-1.amazonaws.com/eval-img/"+V+e,className:"ansbook",alt:"image not found"}))}):l.a.createElement("p",null,"Answer Booklet Not Found")),l.a.createElement("div",{className:"item2"},l.a.createElement("div",{className:"navbar"},l.a.createElement("div",{className:"menu-items"},l.a.createElement("a",{onClick:function(){"T"==W.fonlineqp?window.open("https://universitysolutions.in/univadmin/app.php?a=getOmrQpReport&univcode="+sessionStorage.getItem("univcode")+"&qpcode="+a+"&year="+W.fyear+"&mode="+W.fexamtype+"&teachcode="+N+"&noqp="+W.fset+"&type="+W.ftype):window.open("https://answer-booklets.s3.ap-south-1.amazonaws.com/".concat(W.fqppath))}},"QP"),l.a.createElement("a",{href:"https://answer-booklets.s3.ap-south-1.amazonaws.com/".concat(W.fschempath),target:"_blank"},"Scheme"),l.a.createElement("a",{onClick:function(){return Lt("save")}},"Save"),l.a.createElement("a",{onClick:function(){return he(!0)}},"Draft"),l.a.createElement("a",{onClick:function(){return Ee(!0)}},"Reject"),l.a.createElement("a",{onClick:function(){return xe(!0)}},"Exit"))),l.a.createElement("div",{className:"align-val"},l.a.createElement("div",{className:"val-det"},l.a.createElement("div",null,"T"==W.fonlineqp&&l.a.createElement(b.a,null,vt?l.a.createElement(v.a,{name:"eye",style:{cursor:"pointer"},color:"green",onClick:function(){sessionStorage.setItem("isViewQn",!1),gt(!1)}}):l.a.createElement(v.a,{name:"eye slash out",style:{cursor:"pointer"},color:"red",onClick:function(){sessionStorage.setItem("isViewQn",!0),gt(!0)}})),l.a.createElement("label",null,l.a.createElement("b",null,"Reg. Code.: ")),l.a.createElement("span",null,l.a.createElement("b",null,u))),l.a.createElement("div",null,l.a.createElement("label",null,l.a.createElement("b",null,"Val. No.: ")),l.a.createElement("span",null,l.a.createElement("b",null,C))))),l.a.createElement("div",{className:"marks-table"},l.a.createElement("table",null,l.a.createElement("thead",{className:"thead"},l.a.createElement("tr",null,l.a.createElement("td",{colSpan:4,style:{background:"#fff",color:"#000",textAlign:"initial"}},l.a.createElement("p",null," ",l.a.createElement("b",{style:{color:"#f00",textDecoration:"underline"}},"Note:"," "),l.a.createElement("span",{style:{fontSize:"12px"}},"If the student has not answered any question, kindly put 'N' instead of marks.")))),l.a.createElement("tr",null,l.a.createElement("th",{colSpan:""!=rt?3:4},"Secured Marks: ",ue),""!==rt&&l.a.createElement("th",null,"OMR Marks: ",rt))),Z.map(function(e,t){return l.a.createElement("tbody",{key:e.fpartcode},l.a.createElement("tr",null,l.a.createElement("th",{colSpan:4},e.fpartdesc)),l.a.createElement("tr",{style:{background:"#008dda",color:"#fff"}},l.a.createElement("th",{width:"15%"},"Qn."),l.a.createElement("th",{width:"20%"},"Max."),l.a.createElement("th",{width:"20%"},"Sec."),l.a.createElement("th",{width:"45%"},"Remarks")),ce.map(function(t,a){if(t.fpartcode===e.fpartcode&&"T"!=t.fsubqn){var r="-2"==t.fmarks||"N"==t.fmarks?"#f00":"#000";return l.a.createElement("tr",{key:t.fqnno},l.a.createElement("td",{style:{color:r}},l.a.createElement("p",{className:"input",style:{cursor:"pointer"}},t.fqnno)),l.a.createElement("td",null,l.a.createElement("input",{type:"text",className:"input",style:{color:r},value:t.fmaxmarks,disabled:!0})),l.a.createElement("td",null,l.a.createElement("input",{ref:function(e){return Ft(e,a)},type:"text",className:"input",onFocus:function(){st(t),jt(a)},maxLength:1==t.fmaxmarks.toString().length?3:4,style:{color:r},value:"-1"==t.fmarks||"-1.0"==t.fmarks?"":"-2"==t.fmarks||"-2.0"==t.fmarks?"N":t.fmarks,onChange:function(e){return Nt(e,a)},onBlur:function(e){_t(t,a,e)}})),l.a.createElement("td",null,l.a.createElement("input",{type:"text",className:"input",style:{color:r},value:t.fremarks,onChange:function(e){return function(e,t){if(/^[a-zA-Z0-9., ]*$/.test(e.target.value)){var a=Object(n.a)(ce);a[t].fremarks=e.target.value,le(Object(n.a)(a))}}(e,a)}})))}}))}))))),l.a.createElement(p.a,{open:et,size:"small"},l.a.createElement(w.a,{style:{padding:"1em"}},l.a.createElement(k.a,{fluid:!0,style:{padding:"1em"}},l.a.createElement(k.a.Content,{textAlign:"center"},l.a.createElement(k.a.Header,null,"Final Submission")),Re.length>0?l.a.createElement(x.a,{basic:!0,style:{width:"40vw",margin:"10px auto"}},l.a.createElement(x.a.Body,null,Mt.length>0?l.a.createElement(x.a.Row,null,l.a.createElement(x.a.Cell,null,"Evaluator Code"),l.a.createElement(x.a.Cell,null,Mt[0].fteachcode),l.a.createElement(x.a.Cell,null,"Evaluator Name"),l.a.createElement(x.a.Cell,null,Mt[0].fteachname)):null,l.a.createElement(x.a.Row,null,l.a.createElement(x.a.Cell,null,"QP Code"),l.a.createElement(x.a.Cell,null,Pt.fqpcode),l.a.createElement(x.a.Cell,null,"Subject Name"),l.a.createElement(x.a.Cell,null,Pt.fsubname)),l.a.createElement(x.a.Row,null,l.a.createElement(x.a.Cell,null,"Reg. Code"),l.a.createElement(x.a.Cell,null,Pt.fregcode),l.a.createElement(x.a.Cell,null,"Max. Marks"),l.a.createElement(x.a.Cell,null,Pt.ftempmax)))):null,Re.length>0?l.a.createElement("div",null,l.a.createElement(x.a,{compact:!0,celled:!0,structured:!0,style:{width:"40vw",margin:"10px auto"}},l.a.createElement(x.a.Header,null,l.a.createElement(x.a.Row,null,l.a.createElement(x.a.HeaderCell,{textAlign:"center",rowSpan:"2"},"Qn. No."),l.a.createElement(x.a.HeaderCell,{textAlign:"center",colSpan:"3"},"Marks")),l.a.createElement(x.a.Row,null,l.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Awarded by Evaluator"),l.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Allocated by System"),l.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Max. Marks"))),ze.map(function(e){return l.a.createElement(x.a.Body,{key:e.fpartcode},l.a.createElement(x.a.Row,{positive:!0,key:e.fpartcode},l.a.createElement(x.a.Cell,{colSpan:"4",textAlign:"center"},e.fpartdesc," (Answer ",e.fmandqn," / ",e.fmaxqn," ","questions)")),Re.map(function(t){if(e.fpartcode==t.fpartcode&&"T"!=t.fsubqn)return l.a.createElement(x.a.Row,{key:t.fqncode},l.a.createElement(x.a.Cell,{textAlign:"center"},t.fqnno),l.a.createElement(x.a.Cell,{textAlign:"center"},-2==parseFloat(t.fmarks11)?"NA":parseFloat(t.fmarks11)),l.a.createElement(x.a.Cell,{textAlign:"center"},-2==parseFloat(t.fmarks12)?"NA":""==t.fmarks12?"":parseFloat(t.fmarks12)),l.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(t.fmaxmarks)))}),l.a.createElement(x.a.Row,{warning:!0,key:e.fpartcode+1},l.a.createElement(x.a.Cell,{textAlign:"center"},"Part Total"),l.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmarks11)),l.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmarks12)),l.a.createElement(x.a.Cell,{textAlign:"center"},parseFloat(e.fmaxmarks))))}),De.length>0?l.a.createElement(x.a.Footer,null,l.a.createElement(x.a.Row,null,l.a.createElement(x.a.HeaderCell,{textAlign:"center"},"Final Marks"),l.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Mt[0].ftotmarks)),l.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Mt[0].fsysmarks)),l.a.createElement(x.a.HeaderCell,{textAlign:"center"},parseFloat(Pt.ftempmax)))):null)):null,l.a.createElement("center",null,De.length?l.a.createElement("div",null,l.a.createElement(O.a,{label:"I acknowledge that above Allocted marks are found correct and any further modification is not allowed.",onChange:function(e,t){$e(t.checked)}}),l.a.createElement("br",null),l.a.createElement("br",null),l.a.createElement(j.a,{placeholder:"Remarks (optional)",style:{width:"95%",border:"1px solid #999",borderRadius:"4px"},rows:4,value:Me,onChange:function(e,t){return Ie(t.value)}}),l.a.createElement("br",null),l.a.createElement("br",null),l.a.createElement(h.a,{size:"tiny",icon:"arrow alternate circle left outline",color:"red",onClick:function(){return tt(!1)},style:{marginRight:"1em"},content:"Cancel"}),l.a.createElement(h.a,{primary:!0,size:"tiny",icon:"save outline",onClick:qt,disabled:!Je,content:"Final Submit"}),l.a.createElement("br",null)):null)))))}},53:function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"c",function(){return r}),a.d(t,"b",function(){return o});var n="https://app.universitysolutions.in",r=window.location.protocol+"//universitysolutions.in/univadmin/app.php?a=",o="https://universitysolutions.in/univadmin/app.php?"},84:function(e,t,a){"use strict";var n=a(1152),r=a.n(n),o=window.location.protocol+"//universitysolutions.in/tdvs-php",c=r.a.create({baseURL:o,headers:{"X-Auth-Origin":"TDVS"}});c.interceptors.request.use(function(e){var t;return(t=sessionStorage.getItem("token"))&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)});t.a=c}}]); //# sourceMappingURL=18.a34a958b.chunk.js.map
Close