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.225.98.39
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 /
qptran /
static /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
0.69926822.chunk.js
39.24
KB
-rw-rw-r--
0.69926822.chunk.js.map
195.71
KB
-rw-rw-r--
0.d0d1de1c.chunk.js
39.26
KB
-rw-rw-r--
0.d0d1de1c.chunk.js.map
195.71
KB
-rw-rw-r--
1.2c4420a7.chunk.js
2.55
KB
-rw-rw-r--
1.2c4420a7.chunk.js.map
9.21
KB
-rw-rw-r--
1.b84def81.chunk.js
2.57
KB
-rw-rw-r--
1.b84def81.chunk.js.map
9.21
KB
-rw-rw-r--
10.2c293975.chunk.js
23.49
KB
-rw-rw-r--
10.2c293975.chunk.js.map
47.57
KB
-rw-rw-r--
10.accea937.chunk.js
23.49
KB
-rw-r--r--
10.accea937.chunk.js.map
47.57
KB
-rw-r--r--
10.d461accd.chunk.js
23.51
KB
-rw-rw-r--
10.d461accd.chunk.js.map
47.57
KB
-rw-rw-r--
10.eba79e80.chunk.js
23.47
KB
-rw-r--r--
10.eba79e80.chunk.js.map
47.53
KB
-rw-r--r--
11.4fde32ed.chunk.js
18.55
KB
-rw-r--r--
11.4fde32ed.chunk.js.map
44.96
KB
-rw-r--r--
11.7e7b88eb.chunk.js
18.56
KB
-rw-rw-r--
11.7e7b88eb.chunk.js.map
45.04
KB
-rw-rw-r--
11.ab0dc695.chunk.js
18.56
KB
-rw-r--r--
11.ab0dc695.chunk.js.map
45.04
KB
-rw-r--r--
11.b9e137ad.chunk.js
18.58
KB
-rw-rw-r--
11.b9e137ad.chunk.js.map
45.04
KB
-rw-rw-r--
12.7e58117e.chunk.js
9.96
KB
-rw-rw-r--
12.7e58117e.chunk.js.map
49.95
KB
-rw-rw-r--
12.e92632f3.chunk.js
9.98
KB
-rw-rw-r--
12.e92632f3.chunk.js.map
49.95
KB
-rw-rw-r--
13.361e1d16.chunk.js
15.81
KB
-rw-rw-r--
13.361e1d16.chunk.js.map
37.87
KB
-rw-rw-r--
13.4aed36b2.chunk.js
15.79
KB
-rw-rw-r--
13.4aed36b2.chunk.js.map
37.87
KB
-rw-rw-r--
13.5a58d2f5.chunk.js
15.79
KB
-rw-r--r--
13.5a58d2f5.chunk.js.map
37.87
KB
-rw-r--r--
13.c8a9399a.chunk.js
15.78
KB
-rw-r--r--
13.c8a9399a.chunk.js.map
37.79
KB
-rw-r--r--
14.1356d0de.chunk.js
18.04
KB
-rw-r--r--
14.1356d0de.chunk.js.map
42.46
KB
-rw-r--r--
14.52c7fe69.chunk.js
18.04
KB
-rw-rw-r--
14.52c7fe69.chunk.js.map
42.46
KB
-rw-rw-r--
14.938a7c7f.chunk.js
18.06
KB
-rw-rw-r--
14.938a7c7f.chunk.js.map
42.46
KB
-rw-rw-r--
14.d97212a3.chunk.js
18.03
KB
-rw-r--r--
14.d97212a3.chunk.js.map
42.39
KB
-rw-r--r--
15.194bd9c2.chunk.js
11.12
KB
-rw-rw-r--
15.194bd9c2.chunk.js.map
13.13
KB
-rw-rw-r--
15.24bd0a62.chunk.js
11.14
KB
-rw-rw-r--
15.24bd0a62.chunk.js.map
13.13
KB
-rw-rw-r--
15.86187e01.chunk.js
11.11
KB
-rw-r--r--
15.86187e01.chunk.js.map
13.09
KB
-rw-r--r--
15.c6130058.chunk.js
11.12
KB
-rw-r--r--
15.c6130058.chunk.js.map
13.13
KB
-rw-r--r--
16.1785fdd6.chunk.js
15.91
KB
-rw-rw-r--
16.1785fdd6.chunk.js.map
38.09
KB
-rw-rw-r--
16.5d1e5299.chunk.js
15.93
KB
-rw-rw-r--
16.5d1e5299.chunk.js.map
38.09
KB
-rw-rw-r--
16.d7faeea6.chunk.js
15.89
KB
-rw-r--r--
16.d7faeea6.chunk.js.map
38.02
KB
-rw-r--r--
16.f9fb1507.chunk.js
15.91
KB
-rw-r--r--
16.f9fb1507.chunk.js.map
38.09
KB
-rw-r--r--
17.5fb5fde5.chunk.js
22.19
KB
-rw-r--r--
17.5fb5fde5.chunk.js.map
25.69
KB
-rw-r--r--
17.7e971def.chunk.js
22.2
KB
-rw-rw-r--
17.7e971def.chunk.js.map
25.75
KB
-rw-rw-r--
17.9246f7f3.chunk.js
22.2
KB
-rw-r--r--
17.9246f7f3.chunk.js.map
25.75
KB
-rw-r--r--
17.b47076a6.chunk.js
22.22
KB
-rw-rw-r--
17.b47076a6.chunk.js.map
25.75
KB
-rw-rw-r--
18.66540caf.chunk.js
14.91
KB
-rw-rw-r--
18.66540caf.chunk.js.map
36.66
KB
-rw-rw-r--
18.bc74fb4f.chunk.js
14.89
KB
-rw-r--r--
18.bc74fb4f.chunk.js.map
36.66
KB
-rw-r--r--
18.db962db2.chunk.js
14.89
KB
-rw-rw-r--
18.db962db2.chunk.js.map
36.66
KB
-rw-rw-r--
19.218cf290.chunk.js
14.54
KB
-rw-rw-r--
19.218cf290.chunk.js.map
35.38
KB
-rw-rw-r--
19.4c1783fb.chunk.js
14.56
KB
-rw-rw-r--
19.4c1783fb.chunk.js.map
35.38
KB
-rw-rw-r--
19.4cf0a8b7.chunk.js
14.54
KB
-rw-r--r--
19.4cf0a8b7.chunk.js.map
35.38
KB
-rw-r--r--
2.da67344f.chunk.js
58.2
KB
-rw-rw-r--
2.da67344f.chunk.js.map
233.42
KB
-rw-rw-r--
2.fd7ab139.chunk.js
58.18
KB
-rw-rw-r--
2.fd7ab139.chunk.js.map
233.42
KB
-rw-rw-r--
20.4b8316df.chunk.js
14.87
KB
-rw-r--r--
20.4b8316df.chunk.js.map
36.64
KB
-rw-r--r--
20.d0962de5.chunk.js
14.89
KB
-rw-rw-r--
20.d0962de5.chunk.js.map
36.64
KB
-rw-rw-r--
20.fe8c99dd.chunk.js
14.87
KB
-rw-rw-r--
20.fe8c99dd.chunk.js.map
36.64
KB
-rw-rw-r--
21.2fe4525d.chunk.js
14.88
KB
-rw-r--r--
21.2fe4525d.chunk.js.map
36.64
KB
-rw-r--r--
21.8f752462.chunk.js
14.9
KB
-rw-rw-r--
21.8f752462.chunk.js.map
36.64
KB
-rw-rw-r--
21.a57e73e8.chunk.js
14.88
KB
-rw-rw-r--
21.a57e73e8.chunk.js.map
36.64
KB
-rw-rw-r--
22.0077b13a.chunk.js
15.2
KB
-rw-rw-r--
22.0077b13a.chunk.js.map
56.78
KB
-rw-rw-r--
22.96f0613d.chunk.js
15.18
KB
-rw-rw-r--
22.96f0613d.chunk.js.map
56.78
KB
-rw-rw-r--
23.5c7a32e9.chunk.js
15.18
KB
-rw-rw-r--
23.5c7a32e9.chunk.js.map
56.78
KB
-rw-rw-r--
23.bc15b2f5.chunk.js
15.2
KB
-rw-rw-r--
23.bc15b2f5.chunk.js.map
56.78
KB
-rw-rw-r--
24.5ffade49.chunk.js
15.18
KB
-rw-rw-r--
24.5ffade49.chunk.js.map
56.78
KB
-rw-rw-r--
24.f185a309.chunk.js
15.2
KB
-rw-rw-r--
24.f185a309.chunk.js.map
56.78
KB
-rw-rw-r--
25.1f81e424.chunk.js
15.18
KB
-rw-rw-r--
25.1f81e424.chunk.js.map
56.78
KB
-rw-rw-r--
25.ba55dd0e.chunk.js
15.2
KB
-rw-rw-r--
25.ba55dd0e.chunk.js.map
56.78
KB
-rw-rw-r--
26.489bda12.chunk.js
1.13
KB
-rw-rw-r--
26.489bda12.chunk.js.map
2.69
KB
-rw-rw-r--
26.4be325fb.chunk.js
1.11
KB
-rw-r--r--
26.4be325fb.chunk.js.map
2.66
KB
-rw-r--r--
26.5283890f.chunk.js
1.15
KB
-rw-rw-r--
26.5283890f.chunk.js.map
2.69
KB
-rw-rw-r--
26.5e323fdd.chunk.js
1.13
KB
-rw-r--r--
26.5e323fdd.chunk.js.map
2.69
KB
-rw-r--r--
27.03344838.chunk.js
11.14
KB
-rw-rw-r--
27.03344838.chunk.js.map
12.41
KB
-rw-rw-r--
27.c96f1958.chunk.js
11.14
KB
-rw-r--r--
27.c96f1958.chunk.js.map
12.41
KB
-rw-r--r--
27.d9d59016.chunk.js
11.16
KB
-rw-rw-r--
27.d9d59016.chunk.js.map
12.41
KB
-rw-rw-r--
27.f7d8aac1.chunk.js
11.13
KB
-rw-r--r--
27.f7d8aac1.chunk.js.map
12.37
KB
-rw-r--r--
28.0ce8dd6f.chunk.js
11.94
KB
-rw-r--r--
28.0ce8dd6f.chunk.js.map
14.16
KB
-rw-r--r--
28.8a7c4a96.chunk.js
11.96
KB
-rw-r--r--
28.8a7c4a96.chunk.js.map
14.2
KB
-rw-r--r--
28.9801c858.chunk.js
11.96
KB
-rw-rw-r--
28.9801c858.chunk.js.map
14.2
KB
-rw-rw-r--
28.b1608e02.chunk.js
11.97
KB
-rw-rw-r--
28.b1608e02.chunk.js.map
14.2
KB
-rw-rw-r--
29.0756b948.chunk.js
11.83
KB
-rw-r--r--
29.0756b948.chunk.js.map
13.8
KB
-rw-r--r--
29.2cb8151c.chunk.js
11.83
KB
-rw-rw-r--
29.2cb8151c.chunk.js.map
13.8
KB
-rw-rw-r--
29.f90bd001.chunk.js
11.85
KB
-rw-rw-r--
29.f90bd001.chunk.js.map
13.8
KB
-rw-rw-r--
29.fa55bb9b.chunk.js
11.81
KB
-rw-r--r--
29.fa55bb9b.chunk.js.map
13.76
KB
-rw-r--r--
3.08025d9e.chunk.js
15.18
KB
-rw-rw-r--
3.08025d9e.chunk.js.map
56.78
KB
-rw-rw-r--
3.a105a9fc.chunk.js
15.2
KB
-rw-rw-r--
3.a105a9fc.chunk.js.map
56.78
KB
-rw-rw-r--
30.4a6d5636.chunk.js
10.57
KB
-rw-r--r--
30.4a6d5636.chunk.js.map
10.14
KB
-rw-r--r--
30.56808ad1.chunk.js
10.59
KB
-rw-rw-r--
30.56808ad1.chunk.js.map
10.14
KB
-rw-rw-r--
30.765fb11b.chunk.js
10.57
KB
-rw-rw-r--
30.765fb11b.chunk.js.map
10.14
KB
-rw-rw-r--
30.9b264ce1.chunk.js
10.56
KB
-rw-r--r--
30.9b264ce1.chunk.js.map
10.1
KB
-rw-r--r--
31.1ebbc726.chunk.js
12.22
KB
-rw-r--r--
31.1ebbc726.chunk.js.map
14.73
KB
-rw-r--r--
31.336d1753.chunk.js
12.2
KB
-rw-r--r--
31.336d1753.chunk.js.map
14.7
KB
-rw-r--r--
31.a7b887a2.chunk.js
12.22
KB
-rw-rw-r--
31.a7b887a2.chunk.js.map
14.73
KB
-rw-rw-r--
31.ff2b6e8b.chunk.js
12.24
KB
-rw-rw-r--
31.ff2b6e8b.chunk.js.map
14.73
KB
-rw-rw-r--
32.87c02a01.chunk.js
12.6
KB
-rw-r--r--
32.87c02a01.chunk.js.map
15.11
KB
-rw-r--r--
32.b3c207c9.chunk.js
12.6
KB
-rw-rw-r--
32.b3c207c9.chunk.js.map
15.11
KB
-rw-rw-r--
32.b58b7c58.chunk.js
12.62
KB
-rw-rw-r--
32.b58b7c58.chunk.js.map
15.11
KB
-rw-rw-r--
32.c498ce39.chunk.js
12.59
KB
-rw-r--r--
32.c498ce39.chunk.js.map
15.08
KB
-rw-r--r--
33.32736bdc.chunk.js
11.41
KB
-rw-rw-r--
33.32736bdc.chunk.js.map
12.95
KB
-rw-rw-r--
33.8e2e0229.chunk.js
11.39
KB
-rw-rw-r--
33.8e2e0229.chunk.js.map
12.95
KB
-rw-rw-r--
33.a5bc85ff.chunk.js
11.39
KB
-rw-r--r--
33.a5bc85ff.chunk.js.map
12.95
KB
-rw-r--r--
33.a94d37fe.chunk.js
11.38
KB
-rw-r--r--
33.a94d37fe.chunk.js.map
12.91
KB
-rw-r--r--
34.3d802237.chunk.js
53.1
KB
-rw-r--r--
34.3d802237.chunk.js.map
214.59
KB
-rw-r--r--
34.ee83110c.chunk.js
53.1
KB
-rw-rw-r--
34.ee83110c.chunk.js.map
214.58
KB
-rw-rw-r--
34.eef1fc62.chunk.js
53.12
KB
-rw-rw-r--
34.eef1fc62.chunk.js.map
214.58
KB
-rw-rw-r--
35.4df074bd.chunk.js
10.2
KB
-rw-r--r--
35.4df074bd.chunk.js.map
8.17
KB
-rw-r--r--
35.767f6660.chunk.js
10.3
KB
-rw-rw-r--
35.767f6660.chunk.js.map
8.49
KB
-rw-rw-r--
35.e1e7b81d.chunk.js
10.32
KB
-rw-rw-r--
35.e1e7b81d.chunk.js.map
8.49
KB
-rw-rw-r--
35.f38a1a73.chunk.js
10.3
KB
-rw-r--r--
35.f38a1a73.chunk.js.map
8.49
KB
-rw-r--r--
6.3877be8c.chunk.js
454.64
KB
-rw-rw-r--
6.3877be8c.chunk.js.map
1.74
MB
-rw-rw-r--
6.92f7417b.chunk.js
454.64
KB
-rw-r--r--
6.92f7417b.chunk.js.map
1.74
MB
-rw-r--r--
6.ee60ca93.chunk.js
454.66
KB
-rw-rw-r--
6.ee60ca93.chunk.js.map
1.74
MB
-rw-rw-r--
7.770ebe73.chunk.js
57.91
KB
-rw-r--r--
7.770ebe73.chunk.js.map
63.41
KB
-rw-r--r--
7.83852126.chunk.js
57.72
KB
-rw-r--r--
7.83852126.chunk.js.map
62.66
KB
-rw-r--r--
7.b67db582.chunk.js
57.91
KB
-rw-rw-r--
7.b67db582.chunk.js.map
63.41
KB
-rw-rw-r--
7.fd82704b.chunk.js
57.92
KB
-rw-rw-r--
7.fd82704b.chunk.js.map
63.41
KB
-rw-rw-r--
8.1d9c2cc7.chunk.js
18.08
KB
-rw-r--r--
8.1d9c2cc7.chunk.js.map
45.77
KB
-rw-r--r--
8.5009d97d.chunk.js
18.08
KB
-rw-rw-r--
8.5009d97d.chunk.js.map
45.77
KB
-rw-rw-r--
8.6a23ed7d.chunk.js
18.1
KB
-rw-rw-r--
8.6a23ed7d.chunk.js.map
45.77
KB
-rw-rw-r--
8.d9837dd3.chunk.js
18.07
KB
-rw-r--r--
8.d9837dd3.chunk.js.map
45.7
KB
-rw-r--r--
9.26a35738.chunk.js
15.91
KB
-rw-rw-r--
9.26a35738.chunk.js.map
38.5
KB
-rw-rw-r--
9.64ce3f4d.chunk.js
15.89
KB
-rw-r--r--
9.64ce3f4d.chunk.js.map
38.5
KB
-rw-r--r--
9.6ce53139.chunk.js
15.88
KB
-rw-r--r--
9.6ce53139.chunk.js.map
38.43
KB
-rw-r--r--
9.82e71713.chunk.js
15.89
KB
-rw-rw-r--
9.82e71713.chunk.js.map
38.5
KB
-rw-rw-r--
main.470a9728.chunk.js
191.32
KB
-rw-rw-r--
main.470a9728.chunk.js.map
215.4
KB
-rw-rw-r--
main.7dbaa353.chunk.js
191.52
KB
-rw-rw-r--
main.7dbaa353.chunk.js.map
215.81
KB
-rw-rw-r--
main.8ce0deb5.chunk.js
191.43
KB
-rw-r--r--
main.8ce0deb5.chunk.js.map
215.64
KB
-rw-r--r--
main.f4296309.chunk.js
191.43
KB
-rw-rw-r--
main.f4296309.chunk.js.map
215.68
KB
-rw-rw-r--
main.fb9fe8de.chunk.js
191.45
KB
-rw-r--r--
main.fb9fe8de.chunk.js.map
215.75
KB
-rw-r--r--
main.fedf15a4.chunk.js
191.5
KB
-rw-rw-r--
main.fedf15a4.chunk.js.map
215.81
KB
-rw-rw-r--
runtime~main.089df643.js
3.99
KB
-rw-rw-r--
runtime~main.089df643.js.map
17.3
KB
-rw-rw-r--
runtime~main.0f6169a9.js
3.99
KB
-rw-r--r--
runtime~main.0f6169a9.js.map
17.3
KB
-rw-r--r--
runtime~main.23bf6665.js
4.05
KB
-rw-rw-r--
runtime~main.23bf6665.js.map
17.37
KB
-rw-rw-r--
runtime~main.7bbd8cb4.js
3.99
KB
-rw-r--r--
runtime~main.7bbd8cb4.js.map
17.3
KB
-rw-r--r--
runtime~main.bd6db2a7.js
3.99
KB
-rw-r--r--
runtime~main.bd6db2a7.js.map
17.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 32.b3c207c9.chunk.js
(window["webpackJsonpQP-Tran"]=window["webpackJsonpQP-Tran"]||[]).push([[32],{372:function(e,t,r){"use strict";var n=r(0),a=r.n(n),o=r(374);r(373);t.a=function(){return a.a.createElement("div",{className:"page"},a.a.createElement("div",{style:{position:"absolute",margin:"auto",top:0,right:0,bottom:0,left:0,width:"200px",height:"200px"}},a.a.createElement(o.a,{height:"80",width:"80",radisu:1,color:"rgb(0 123 255)",ariaLabel:"puff-loading",wrapperStyle:{},wrapperClass:"",visible:!0})))}},414:function(e,t,r){"use strict";r.r(t);var n=r(127),a=r(52),o=r(0),i=r.n(o),c=(r(180),r(380)),u=r(422),l=r(421),s=r(403),f=r(36),p=(r(128),r(114)),h=r(80),d=r.n(h),m=r(377),v=r.n(m),g=r(372),y=r(12);function b(){b=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(S){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof f?t:f,o=Object.create(a.prototype),i=new j(n||[]);return o._invoke=function(e,t,r){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return L()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var c=E(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(e,r,i),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(S){return{type:"throw",arg:S}}}e.wrap=u;var s={};function f(){}function p(){}function h(){}var d={};c(d,a,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(k([])));v&&v!==t&&r.call(v,a)&&(d=v);var g=h.prototype=f.prototype=Object.create(d);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var n;this._invoke=function(a,o){function i(){return new t((function(n,i){!function n(a,o,i,c){var u=l(e[a],e,o);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,c)}))}c(u.arg)}(a,o,n,i)}))}return n=n?n.then(i,i):i()}}function E(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var a=n.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}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 k(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=h,c(g,"constructor",h),c(h,"constructor",p),p.displayName=c(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,c(e,i,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(w.prototype),c(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new w(u(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,a,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=k,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)&&r.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(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)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 a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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,s):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),s},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),O(r),s}},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;O(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},e}t.default=function(){var e=Object(o.useState)(v()().format("25/03/2021")),t=Object(a.a)(e,2),r=t[0],h=t[1],m=Object(o.useState)(""),w=Object(a.a)(m,2),E=w[0],x=w[1],O=Object(o.useState)(""),j=Object(a.a)(O,2),k=j[0],L=j[1],S=Object(o.useState)(""),N=Object(a.a)(S,2),_=N[0],G=N[1],C=Object(o.useState)(""),F=Object(a.a)(C,2),T=F[0],D=F[1],P=Object(o.useState)(""),I=Object(a.a)(P,2),q=I[0],A=I[1],J=Object(o.useState)(""),Q=Object(a.a)(J,2),Y=Q[0],z=Q[1],H=Object(o.useState)(""),U=Object(a.a)(H,2),V=U[0],B=U[1],K=Object(o.useState)(!1),M=Object(a.a)(K,2),R=M[0],W=M[1];Object(y.g)();Object(o.useEffect)((function(){(function(){var e=Object(n.a)(b().mark((function e(){var t,n,a,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.replace("/","*"),n=t.replace("/","*"),B(n),W(!0),e.prev=4,e.next=7,p.a.get("app.php?a=qp_dashboard&univcode=".concat(localStorage.getItem("univcode"))+"&date="+r);case 7:a=e.sent,o=a.data.data.session.map((function(e,t){return{key:t,value:"".concat(e.fsession),text:"".concat(e.fsession," - ").concat(e.fdescpn)}})),i=a.data.data.deggrp.map((function(e,t){return{key:t,value:"".concat(e.fdeggrp),text:"".concat(e.fdeggrp)}})),A(o),z(i),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(4),console.log(e.t0);case 17:W(!1);case 18:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(){return e.apply(this,arguments)}})()()}),[]);var X=function(){var e=Object(n.a)(b().mark((function e(){var t;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(W(!0),e.prev=1,""!=r){e.next=8;break}return d.a.fire("Enter Date"),W(!1),e.abrupt("return");case 8:if(""!=E){e.next=14;break}return d.a.fire("Select Session"),W(!1),e.abrupt("return");case 14:if(""!=k){e.next=20;break}return d.a.fire("Select Degree Group"),W(!1),e.abrupt("return");case 20:if(""!=_){e.next=26;break}return d.a.fire("Enter Title"),W(!1),e.abrupt("return");case 26:if(""!=T){e.next=32;break}return d.a.fire("Enter Description"),W(!1),e.abrupt("return");case 32:return e.next=34,p.a.post("app.php?a=upload_correction_qp&univcode=".concat(localStorage.getItem("univcode"))+"&date="+r+"&session="+E+"°grp="+k+"&title="+_+"&desc="+T);case 34:if(0!=(t=e.sent).data.error_code){e.next=44;break}d.a.fire({icon:"success",title:t.data.data.msg}),h(v()().format("25/03/2021")),x(""),L(""),G(""),D(""),e.next=47;break;case 44:return d.a.fire({icon:"error",title:t.data.data.msg,text:"error"}),W(!1),e.abrupt("return");case 47:e.next=52;break;case 49:e.prev=49,e.t0=e.catch(1),console.log(e.t0);case 52:W(!1);case 53:case"end":return e.stop()}}),e,null,[[1,49]])})));return function(){return e.apply(this,arguments)}}(),Z=function(){var e=Object(n.a)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(W(!0),""!=r){e.next=5;break}return d.a.fire("please enter a date"),W(!1),e.abrupt("return");case 5:if(""!=k){e.next=9;break}return d.a.fire("please select degree group"),W(!1),e.abrupt("return");case 9:if(""!=E){e.next=13;break}return d.a.fire("please select session"),W(!1),e.abrupt("return");case 13:W(!1);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return i.a.createElement("div",null,R?i.a.createElement(g.a,null):i.a.createElement("div",{className:"page",style:{height:"695px"}},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-md-12 grid-margin stretch-card"},i.a.createElement("div",{className:"card"},i.a.createElement("div",{className:"card-body",style:{display:"flex"}},i.a.createElement("h4",null,"Upload Correction"),i.a.createElement("div",{className:"ml-auto"},i.a.createElement(f.b,{to:{pathname:"/viewuploadcorr/".concat(V,"/").concat(k,"/").concat(E),query:{date:V,deggrp:k,session:E}}},i.a.createElement("button",{onClick:function(){return Z()},type:"button",className:"btn btn-info btn-fw"},"View")),i.a.createElement("button",{onClick:function(){return h(v()().format("25/03/2021")),x(""),L(""),G(""),void D("")},type:"button",className:"btn btn-info btn-fw"},"Clear"),i.a.createElement(f.b,{to:"/dashboard"},i.a.createElement("button",{type:"button",className:"btn btn-danger btn-fw"},i.a.createElement("span",{class:"mdi mdi-exit-to-app"}),"Exit")))),i.a.createElement(c.a,null),i.a.createElement("div",{className:"col-md-12"},i.a.createElement(u.a,null,i.a.createElement(u.a.Group,null,i.a.createElement(u.a.Field,{width:4},i.a.createElement("label",null,"Date"),i.a.createElement(u.a.Input,{id:"fid",type:"text",value:r,mask:"ed/nm/zyyy",placeholder:"dd/mm/yyyy",name:"date",onChange:function(e,t){return h(t.value)}})),i.a.createElement(u.a.Field,{width:4},i.a.createElement("label",null,"Session"),i.a.createElement(l.a,{id:"fsession",placeholder:"Session",name:"session",value:E,selection:!0,options:q,search:!0,onChange:function(e,t){x(t.value)}}))),i.a.createElement(u.a.Group,null,i.a.createElement(u.a.Field,{width:4},i.a.createElement("label",null,"Degree Group"),i.a.createElement(l.a,{id:"fdeggrp",placeholder:"Degree Group",name:"Degree_Group",value:k,selection:!0,options:Y,search:!0,onChange:function(e,t){L(t.value)}})),i.a.createElement(u.a.Field,{width:4},i.a.createElement("label",null,"Title"),i.a.createElement(u.a.Input,{placeholder:"title",value:_,onChange:function(e,t){return G(t.value)}}))),i.a.createElement(u.a.Group,null,i.a.createElement(u.a.Field,{width:8},i.a.createElement("label",null,"Description"),i.a.createElement(s.a,{placeholder:"Tell us more",style:{minHeight:100},value:T,onChange:function(e,t){return D(t.value)}}))),i.a.createElement(u.a.Group,null,i.a.createElement(u.a.Field,null,i.a.createElement("button",{className:"btn btn-info btn-fw",onClick:function(){return X()}},"Submit"))))))))))}}}]); //# sourceMappingURL=32.b3c207c9.chunk.js.map
Close