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.227.134.95
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{1109:function(e,t,a){"use strict";a.r(t);var r=a(2),n=a(41),c=a.n(n),o=a(68),s=a(99),l=a(100),i=a(102),p=a(101),d=a(103),u=a(1),m=a.n(u),f=a(858),h=(a(105),a(1139)),g=a(1106),b=a(272),E=a(1098),v=a(999),y=a(309),C=a(104),O=a(314),x=a(298),j=a(1100),w=function(e){function t(){return Object(s.a)(this,t),Object(i.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props.degcoll.map(function(e,t){return{key:t,value:e.fcollcode,text:e.fcollname}});return console.log(this.props.collref),m.a.createElement(E.a.Field,null,m.a.createElement("label",null,"Exam Center"),m.a.createElement(j.a,{ref:this.props.collref,fluid:!0,search:!0,selection:!0,value:this.props.examcntr,onChange:this.props.changeExamCntr,placeholder:"Select Exam Center",disabled:this.props.disbal,selectOnBlur:!1,options:e}))}}]),t}(u.Component),R=Object(C.b)(function(e){return{deggrp:e.deggrp}},{fetchDegColl:O.d})(w),S=a(1096),k=a(271),D=function(e){function t(){var e,a;Object(s.a)(this,t);for(var r=arguments.length,n=new Array(r),c=0;c<r;c++)n[c]=arguments[c];return(a=Object(i.a)(this,(e=Object(p.a)(t)).call.apply(e,[this].concat(n)))).state={rttype:""},a.setReportType=function(e,t){a.setState({rttype:t.value})},a.GenerateReoprt=function(){switch(a.props.screen){case"examcenter":"ECL"===a.state.rttype&&(window.location=k.c+"getCenterList&univcode=041°grp="+a.props.deggrp),"ECT"===a.state.rttype&&(window.location=k.c+"getCntWiseColgList&univcode=041°grp="+a.props.deggrp);break;case"qpindent":"Total Indent"===a.state.rttype&&(window.location=k.c+"getqpIndentReport&univcode=041&dgp="+a.props.deggrp+"&rt="+a.state.rttype+"&rf="+a.props.rftype+"&rd="+!0),"Answer Book Indent"===a.state.rttype&&(window.location=k.c+"getqpIndentReport&univcode=041&dgp="+a.props.deggrp+"&rt="+a.state.rttype+"&rf="+a.props.rftype),"Centrewise Indent"===a.state.rttype&&(window.location=k.c+"getqpIndentReport&univcode=041&dgp="+a.props.deggrp+"&rt="+a.state.rttype+"&rf="+a.props.rftype)}},a}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return m.a.createElement(S.a,{style:{height:"50%",top:"10%",left:"20%",right:"20%"},dimmer:this.props.dimmer,open:this.props.open,onClose:this.props.close},m.a.createElement(S.a.Header,{style:{display:"flex"}},this.props.report," Report",m.a.createElement("div",{className:"ml-auto"},m.a.createElement(g.a.Group,null,m.a.createElement(g.a,{size:"mini",basic:!0,color:"blue",content:"Generate",onClick:this.GenerateReoprt,icon:"file pdf outline"}),m.a.createElement(g.a,{size:"mini",basic:!0,color:"black",icon:"ban",onClick:this.props.close,content:"Cancel"})))),m.a.createElement(S.a.Content,null,m.a.createElement(S.a.Description,null,"Report Type :"," ",m.a.createElement(j.a,{placeholder:"Report",search:!0,selection:!0,options:this.props.report_options,onChange:this.setReportType}))))}}]),t}(u.Component),T=a(3),N=a(0),L=a(1101),_=a(266),G=function(e){function t(){var e,a;Object(s.a)(this,t);for(var r=arguments.length,n=new Array(r),l=0;l<r;l++)n[l]=arguments[l];return(a=Object(i.a)(this,(e=Object(p.a)(t)).call.apply(e,[this].concat(n)))).changeCell=function(){var e=Object(o.a)(c.a.mark(function e(t,r,n){var o;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:o=Object(N.a)({},r,Object(T.a)({},t.name,t.value)),a.props.updateCntr(o,n);case 2:case"end":return e.stop()}},e)}));return function(t,a,r){return e.apply(this,arguments)}}(),a.deleteRow=function(e,t,r){var n=Object(N.a)({},t,Object(T.a)({},e.target.name,e.target.checked));a.props.updateCntr(n,r)},a.addRow=function(e,t){if(9===e.keyCode){if(""===a.props.examcentreList[t].fcollcode)return void a.setState({error:!0,errorMessage:"Enter the vlaues"});a.setState({error:!1,errorMessage:""});a.props.addCntr({fcollcode:"",fdeleted:!1})}},a.addRowTop=function(){var e=a.props.examcentreList.length;if(""!==a.props.examcentreList[e-1].fcollcode){a.props.addCntr({fcollcode:"",fdeleted:!1})}else{a.props.showError({header:"Error",content:"College Cannot be blank"})}},a}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.props.onRef(this)}},{key:"render",value:function(){var e=this,t=this.props,a=t.degcoll,r=t.examcentreList,n=r.length,c=a.map(function(e,t){return{key:t,value:e.fcollcode,text:e.fcollname}});return m.a.createElement(L.a,{celled:!0,style:{fontSize:"1.0em"}},m.a.createElement(L.a.Header,null,m.a.createElement(L.a.Row,null,m.a.createElement(L.a.HeaderCell,{style:{width:"5%"},colSpan:"3",singleLine:!0,textAlign:"left"},"No. of taged colleges : ",n)),m.a.createElement(L.a.Row,null,m.a.createElement(L.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},"Sl. No."),m.a.createElement(L.a.HeaderCell,{style:{width:"60%"},textAlign:"center"},"College Name"),m.a.createElement(L.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},"Del."))),m.a.createElement(L.a.Body,null,r.map(function(t,a){return m.a.createElement(L.a.Row,{key:a},m.a.createElement(L.a.Cell,{textAlign:"center"},a+1),m.a.createElement(L.a.Cell,{textAlign:"center",singleLine:!0},m.a.createElement(j.a,{fluid:!0,search:!0,selection:!0,placeholder:"Select Exam Center",name:"fcollcode",value:t.fcollcode,onChange:function(r,n){return e.changeCell({name:"fcollcode",data:r.target.value},t,a)},options:c})),m.a.createElement(L.a.Cell,{textAlign:"center"},n===a+1?m.a.createElement("div",{className:"ui checkbox"},m.a.createElement("input",{type:"checkbox",onKeyDown:function(t){return e.addRow(t,a)},name:"fdeleted",value:t.fdeleted,onChange:function(r){return e.deleteRow(r,t,a)},checked:"true"==String(t.fdeleted)}),m.a.createElement("label",null," ")):m.a.createElement("div",{className:"ui checkbox"},m.a.createElement("input",{type:"checkbox",name:"fdeleted",value:t.fdeleted,onChange:function(r){return e.deleteRow(r,t,a)},checked:"true"==String(t.fdeleted)}),m.a.createElement("label",null," "))))})))}}]),t}(u.Component),A=Object(C.b)(function(e){return{degcoll:e.degcoll,examcentreList:e.examCntrDet}},{updateCntr:O.f,addCntr:O.a,showError:_.w})(G),M=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,l=new Array(n),d=0;d<n;d++)l[d]=arguments[d];return(a=Object(i.a)(this,(e=Object(p.a)(t)).call.apply(e,[this].concat(l)))).state={examcentreList:[{fcollcode:"",fdeleted:!1}],error:!1,errorMessage:"",del_deggrp:[],degGrp:"",thpr:"",examcntr:"",frmSubmit:!1,open:!1,disbal:"",examCntrDetError:"",msgcolor:"negative",collref:m.a.createRef()},a.show=function(e){return function(){""!==a.state.degGrp?(a.setState({error:!1,errorMessage:""}),a.setState({dimmer:e,open:!0})):a.setState({error:!0,errorMessage:"Enter the Degree Group"})}},a.close=function(){return a.setState({open:!1})},a.setTHPR=function(e,t){a.setState({thpr:t.value})},a.setExamCntr=function(e,t){a.setState({examcntr:t.value})},a.getCollege=function(e,t){a.setState({degGrp:t.value}),a.props.fetchDegColl(t.value)},a.feachcenterdet=Object(o.a)(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==a.state.degGrp){e.next=5;break}return a.setState({error:!0,errorMessage:"Enter the Degree Group"}),e.abrupt("return");case 5:if(""!==a.state.examcntr){e.next=10;break}return a.setState({error:!0,errorMessage:"Enter the Exam Center"}),e.abrupt("return");case 10:if(""!==a.state.thpr){e.next=15;break}return a.setState({error:!0,errorMessage:"Select Theory / Practical"}),e.abrupt("return");case 15:a.setState({error:!1,errorMessage:""});case 16:return e.next=18,a.props.fetchCntrListdet(a.state.examcntr,a.state.degGrp,a.state.thpr);case 18:a.setState({frmSubmit:!0,disbal:"disabled"});case 19:case"end":return e.stop()}},e)})),a.handleCancel=function(){a.setState({examcentreList:[{fcollcode:"",fdeleted:!1}],error:!1,errorMessage:"",del_deggrp:[],thpr:"",examcntr:"",frmSubmit:!1,open:!1,disbal:""})},a.handleSave=Object(o.a)(c.a.mark(function e(){var t,n,o;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(a.props.examCntrDet.length<0)){e.next=6;break}return a.setState({msgcolor:"negative"}),a.setState({error:!0,errorMessage:"Enter the Values"}),e.abrupt("return");case 6:a.setState({error:!1,errorMessage:""});case 7:t=0;case 8:if(!(t<a.props.examCntrDet.length)){e.next=16;break}if(""!==a.props.examCntrDet[t].fcollcode){e.next=13;break}return a.setState({error:!0,errorMessage:"Enter all the Values"}),e.abrupt("return");case 13:t++,e.next=8;break;case 16:return n={fcollcode:a.state.examcntr,fdeleted:!1},o=[n].concat(Object(r.a)(a.props.examCntrDet)),a.setState({error:!1,errorMessage:""}),e.next=21,a.props.saveExamCenter(o,a.state.examcntr,a.state.degGrp,a.state.thpr);case 21:0===a.props.error.error_code&&a.handleCancel();case 22:case"end":return e.stop()}},e)})),a.handleDelete=Object(o.a)(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.props.deleteExamCenter(a.state.examcntr,a.state.degGrp,a.state.thpr);case 2:0===a.props.error.error_code&&a.handleCancel();case 3:case"end":return e.stop()}},e)})),a.addRowTop=function(){a.tagcoll.addRowTop()},a}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this,t=this.state,a=t.error,r=t.errorMessage,n=t.frmSubmit,c=t.open,o=t.disbal,s=t.msgcolor;return m.a.createElement("div",{className:"animated fadeIn"},m.a.createElement(h.a,{fluid:!0},m.a.createElement(h.a.Content,null,m.a.createElement(h.a.Header,{style:{display:"flex"}},m.a.createElement("h4",null,"Exam Center"),m.a.createElement("div",{className:"ml-auto"},m.a.createElement(g.a,{disabled:!this.state.frmSubmit,basic:!0,color:"blue",content:"Add",onClick:this.addRowTop,icon:"plus square"}),m.a.createElement(g.a,{disabled:!this.state.frmSubmit,basic:!0,color:"green",content:"Save",onClick:this.handleSave,icon:"save"}),m.a.createElement(g.a,{disabled:!this.state.frmSubmit,basic:!0,color:"red",content:"Delete",onClick:this.handleDelete,icon:"trash"}),m.a.createElement(g.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),m.a.createElement(g.a,{onClick:this.show("blurring"),basic:!0,color:"blue",content:"Report",icon:"file"}),m.a.createElement(f.a,{to:"/dashboard"},m.a.createElement(g.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),m.a.createElement(b.a,null),m.a.createElement(h.a.Description,{style:{overflowY:"auto",height:"72vh"}},m.a.createElement("div",{className:"col-md-6"},m.a.createElement(E.a,null,m.a.createElement(x.a,{changeDeggrp:this.getCollege,disabled:o,frmDeggrp:this.state.degGrp}),m.a.createElement(R,{collref:this.state.collref,degcoll:this.props.degcoll,examcntr:this.state.examcntr,changeExamCntr:this.setExamCntr,disbal:o}),m.a.createElement(v.a,{label:"Theory",name:"radioGroup",value:"TH",disabled:o,checked:"TH"===this.state.thpr,onChange:this.setTHPR}),m.a.createElement(v.a,{label:"Practical",name:"radioGroup",value:"PR",disabled:o,style:{marginLeft:"2%"},checked:"PR"===this.state.thpr,onChange:this.setTHPR}),m.a.createElement("br",null),m.a.createElement(g.a,{color:"blue",onClick:this.feachcenterdet},"Submit"))),m.a.createElement("br",null)," ",m.a.createElement("br",null),a?m.a.createElement(y.a,{className:s},m.a.createElement(y.a.Header,null," ",r," ")):null,m.a.createElement("div",{className:"ui mini form",style:{fontSize:"1.1536em"}},n?m.a.createElement(A,{onRef:function(t){return e.tagcoll=t}}):null)))),m.a.createElement(D,{dimmer:"blurring",open:c,close:this.close,report:"Center List",report_options:[{key:"ECL",value:"ECL",text:"Exam Center List"},{key:"ECT",value:"ECT",text:"Exam Center List with Taged College"}],deggrp:this.state.degGrp,screen:"examcenter"}))}}]),t}(u.Component);t.default=Object(C.b)(function(e){return{cntrList:e.cntrList,degcoll:e.degcoll,examCntrDet:e.examCntrDet,saveExamCntr:e.saveExamCenter,error:e.error}},{saveExamCenter:O.e,fetchDegColl:O.d,fetchCntrListdet:O.c,deleteExamCenter:O.b})(M)},272:function(e,t,a){"use strict";var r=a(268),n=a.n(r),c=a(265),o=a.n(c),s=a(1),l=a.n(s),i=a(333),p=a(551),d=a(549),u=a(267);function m(e){var t=e.children,a=e.className,r=e.clearing,c=e.content,s=e.fitted,f=e.hidden,h=e.horizontal,g=e.inverted,b=e.section,E=e.vertical,v=o()("ui",Object(i.a)(r,"clearing"),Object(i.a)(s,"fitted"),Object(i.a)(f,"hidden"),Object(i.a)(h,"horizontal"),Object(i.a)(g,"inverted"),Object(i.a)(b,"section"),Object(i.a)(E,"vertical"),"divider",a),y=Object(p.a)(m,e),C=Object(d.a)(m,e);return l.a.createElement(C,n()({},y,{className:v}),u.a.isNil(t)?c:t)}m.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],m.propTypes={},t.a=m},298:function(e,t,a){"use strict";var r=a(99),n=a(100),c=a(102),o=a(101),s=a(103),l=a(1),i=a.n(l),p=a(104),d=a(1098),u=a(1100),m=a(266),f=function(e){function t(){return Object(r.a)(this,t),Object(c.a)(this,Object(o.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchDegGrp()}},{key:"componentDidUpdate",value:function(e){this.props.user!==e.user&&this.props.fetchDegGrp()}},{key:"render",value:function(){var e=this.props.deggrp.map(function(e,t){return{key:t,value:e.fdeggrp,text:"".concat(e.fdeggrp," - ").concat(e.fdescpn)}});return i.a.createElement(d.a.Field,{width:"16"},i.a.createElement("label",null,"Degree Group"),i.a.createElement(u.a,{size:"mini",error:this.props.dgerror,fluid:!0,search:!0,selection:!0,value:this.props.frmDeggrp,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:e,selectOnBlur:!1}))}}]),t}(l.Component);t.a=Object(p.b)(function(e){return{deggrp:e.deggrp,user:e.user}},{fetchDegGrp:m.j})(f)},309:function(e,t,a){"use strict";var r=a(268),n=a.n(r),c=a(277),o=a.n(c),s=a(279),l=a.n(s),i=a(280),p=a.n(i),d=a(278),u=a.n(d),m=a(281),f=a.n(m),h=a(282),g=a.n(h),b=a(276),E=a.n(b),v=a(289),y=a.n(v),C=(a(275),a(265)),O=a.n(C),x=a(1),j=a.n(x),w=a(333),R=a(551),S=a(549),k=a(267),D=a(554),T=a(645);function N(e){var t=e.children,a=e.className,r=e.content,c=O()("content",a),o=Object(R.a)(N,e),s=Object(S.a)(N,e);return j.a.createElement(s,n()({},o,{className:c}),k.a.isNil(t)?r:t)}N.handledProps=["as","children","className","content"],N.propTypes={};var L=N;function _(e){var t=e.children,a=e.className,r=e.content,c=O()("header",a),o=Object(R.a)(_,e),s=Object(S.a)(_,e);return j.a.createElement(s,n()({},o,{className:c}),k.a.isNil(t)?r:t)}_.handledProps=["as","children","className","content"],_.propTypes={},_.create=Object(D.e)(_,function(e){return{content:e}});var G=_,A=a(283),M=a.n(A);function H(e){var t=e.children,a=e.className,r=e.content,c=O()("content",a),o=Object(R.a)(H,e),s=Object(S.a)(H,e);return j.a.createElement(s,n()({},o,{className:c}),k.a.isNil(t)?r:t)}H.handledProps=["as","children","className","content"],H.propTypes={},H.defaultProps={as:"li"},H.create=Object(D.e)(H,function(e){return{content:e}});var P=H;function z(e){var t=e.children,a=e.className,r=e.items,c=O()("list",a),o=Object(R.a)(z,e),s=Object(S.a)(z,e);return j.a.createElement(s,n()({},o,{className:c}),k.a.isNil(t)?M()(r,P.create):t)}z.handledProps=["as","children","className","items"],z.propTypes={},z.defaultProps={as:"ul"},z.create=Object(D.e)(z,function(e){return{items:e}});var I=z;a.d(t,"a",function(){return q});var q=function(e){function t(){var e,a;o()(this,t);for(var r=arguments.length,n=new Array(r),c=0;c<r;c++)n[c]=arguments[c];return a=p()(this,(e=u()(t)).call.apply(e,[this].concat(n))),E()(g()(g()(a)),"handleDismiss",function(e){var t=a.props.onDismiss;t&&t(e,a.props)}),a}return f()(t,e),l()(t,[{key:"render",value:function(){var e=this.props,a=e.attached,r=e.children,c=e.className,o=e.color,s=e.compact,l=e.content,i=e.error,p=e.floating,d=e.header,u=e.hidden,m=e.icon,f=e.info,h=e.list,g=e.negative,b=e.onDismiss,E=e.positive,v=e.size,C=e.success,x=e.visible,N=e.warning,_=O()("ui",o,v,Object(w.a)(s,"compact"),Object(w.a)(i,"error"),Object(w.a)(p,"floating"),Object(w.a)(u,"hidden"),Object(w.a)(m,"icon"),Object(w.a)(f,"info"),Object(w.a)(g,"negative"),Object(w.a)(E,"positive"),Object(w.a)(C,"success"),Object(w.a)(x,"visible"),Object(w.a)(N,"warning"),Object(w.b)(a,"attached"),"message",c),A=b&&j.a.createElement(T.a,{name:"close",onClick:this.handleDismiss}),M=Object(R.a)(t,this.props),H=Object(S.a)(t,this.props);return k.a.isNil(r)?j.a.createElement(H,n()({},M,{className:_}),A,T.a.create(m,{autoGenerateKey:!1}),(!y()(d)||!y()(l)||!y()(h))&&j.a.createElement(L,null,G.create(d,{autoGenerateKey:!1}),I.create(h,{autoGenerateKey:!1}),Object(D.c)(l,{autoGenerateKey:!1}))):j.a.createElement(H,n()({},M,{className:_}),A,r)}}]),t}(x.Component);E()(q,"Content",L),E()(q,"Header",G),E()(q,"List",I),E()(q,"Item",P),E()(q,"handledProps",["as","attached","children","className","color","compact","content","error","floating","header","hidden","icon","info","list","negative","onDismiss","positive","size","success","visible","warning"]),q.propTypes={}},314:function(e,t,a){"use strict";a.d(t,"d",function(){return s}),a.d(t,"f",function(){return l}),a.d(t,"a",function(){return i}),a.d(t,"c",function(){return p}),a.d(t,"e",function(){return d}),a.d(t,"b",function(){return u});var r=a(41),n=a.n(r),c=a(68),o=a(269),s=function(e){return function(){var t=Object(c.a)(n.a.mark(function t(a,r){var c,s;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=r(),t.next=3,o.a.get("/app.php",{params:{a:"fetchDegColl",univcode:c.univ.funivcode,deggrp:e}});case 3:"object"!==typeof(s=t.sent).data?a({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===s.data.error_code?a({type:"FETCH_DEGCOLL",payload:s.data}):a({type:"SET_ERROR",payload:s.data});case 5:case"end":return t.stop()}},t)}));return function(e,a){return t.apply(this,arguments)}}()},l=function(e,t){return{type:"UPD_CNTR_DET",payload:{el:e,i:t}}},i=function(e){return{type:"ADD_CNTR_DET",payload:e}},p=function(e,t,a){return function(){var r=Object(c.a)(n.a.mark(function r(c,s){var l,i;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=s(),c({type:"SET_LOADER"}),r.next=4,o.a.get("/app.php",{params:{a:"fetchCntrListdet",univcode:l.univ.funivcode,deggrp:t,examcntr:e,thpr:a}});case 4:i=r.sent,c({type:"UNSET_LOADER"}),"object"!==typeof i.data?c({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===i.data.error_code?c({type:"FETCH_CNTR_DET",payload:i.data}):c({type:"SET_ERROR",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=function(e,t,a,r){return function(){var s=Object(c.a)(n.a.mark(function c(s,l){var i,p;return n.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i=l(),s({type:"SET_LOADER"}),n.next=4,o.a.post("/app.php?a=saveExamCenter&univcode="+i.univ.funivcode,{data:{deggrp:a,examcntr:t,thpr:r,examcntrlist:e}});case 4:p=n.sent,s({type:"UNSET_LOADER"}),"object"!==typeof p.data?s({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):s({type:"SET_ERROR",payload:p.data});case 7:case"end":return n.stop()}},c)}));return function(e,t){return s.apply(this,arguments)}}()},u=function(e,t,a){return function(){var r=Object(c.a)(n.a.mark(function r(c,s){var l,i;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=s(),c({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=deleteExamCenter&univcode="+l.univ.funivcode,{data:{deggrp:t,examcntr:e,thpr:a}});case 4:i=r.sent,c({type:"UNSET_LOADER"}),"object"!==typeof i.data?c({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):c({type:"SET_ERROR",payload:i.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=39.d9a44075.chunk.js.map
|