(this.webpackJsonpimonitornextgen=this.webpackJsonpimonitornextgen||[]).push([[152],{1984:function(e,a,l){"use strict";l.r(a);var t=l(0),n=l.n(t),r=l(28),c=l(178),o=l(195),m=l(45),s=l(188),i=l(220);a.default=Object(r.b)(e=>{let{communityData:a}=e;return{UUID:a.communityId?a.communityId:null}},null)(e=>{let{UUID:a,goToNext:l,nextTab:r}=e;const[d,p]=Object(t.useState)(!0),[E,u]=Object(t.useState)(null),[N]=Object(c.a)();Object(t.useEffect)(()=>{let e={communityid:a};s.a.post(m.getDashboardConfigurationByCommunityId,e).then(e=>{let{data:a}=e;console.log(a),u(a.data),p(!1)}).catch(e=>{p(!1)})},[a]);return n.a.createElement(n.a.Fragment,null,n.a.createElement(o.default,{isLoading:d}),n.a.createElement("div",{className:"card"},n.a.createElement("form",{onSubmit:()=>{l(r)}},n.a.createElement("div",{className:"card-body"},n.a.createElement("h4",{className:"title"},"Cloudinary Setting"),n.a.createElement("div",{className:"row"},n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"Cloudinary Cloud Name"),n.a.createElement(i.a,{type:"text",name:"cloudinaryCloudName",placeholder:N("Enter Cloudinary Cloud Name"),className:"form-control",id:"cloudinaryCloudName",disabled:!0,value:E?E.cloudinaryCloudName:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"Cloudinary Preset"),n.a.createElement(i.a,{type:"text",name:"cloudinaryPreset",placeholder:N("Enter Cloudinary Preset"),className:"form-control",id:"cloudinaryPreset",disabled:!0,value:E?E.cloudinaryPreset:""})))),n.a.createElement("h4",{className:"title"},"Mixpanel Setting"),n.a.createElement("div",{className:"row"},n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"Mixpanel Api Key"),n.a.createElement(i.a,{type:"text",name:"mixpanelApiKey",placeholder:N("Enter Mixpanel Api Key"),className:"form-control",id:"mixpanelApiKey",disabled:!0,value:E?E.mixpanelApiKey:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"Mixpanel Api Secret"),n.a.createElement(i.a,{type:"text",name:"mixpanelApiSecret",placeholder:N("Enter Mixpanel Api Secret"),className:"form-control",id:"mixpanelApiSecret",disabled:!0,value:E?E.mixpanelApiSecret:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"Mixpanel Token"),n.a.createElement(i.a,{type:"text",name:"mixpanelToken",placeholder:N("Enter Mixpanel Token"),className:"form-control",id:"mixpanelToken",disabled:!0,value:E?E.mixpanelToken:""})))),n.a.createElement("h4",{className:"title"},"Onesignal Setting"),n.a.createElement("div",{className:"row"},n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"onesignal appId"),n.a.createElement(i.a,{type:"text",name:"onesignal_appId",placeholder:N("Enter onesignal appId"),className:"form-control",id:"onesignal_appId",disabled:!0,value:E?E.onesignalAppid:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"onesignal explorer appId"),n.a.createElement(i.a,{type:"text",name:"onesignal_explorer_appId",placeholder:N("Enter onesignal explorer appId"),className:"form-control",id:"onesignal_explorer_appId",disabled:!0,value:E?E.onesignalExplorerAppid:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"onesignal explorer restApi"),n.a.createElement(i.a,{type:"text",name:"onesignal_explorer_restApi",placeholder:N("Enter onesignal explorer restApi"),className:"form-control",id:"onesignal_explorer_restApi",disabled:!0,value:E?E.onesignalExplorerRestapi:""}))),n.a.createElement("div",{className:"col-lg-6"},n.a.createElement("div",{className:"form-group"},n.a.createElement("label",{className:"control-label"},"onesignal restApi"),n.a.createElement(i.a,{type:"text",name:"onesignal_restApi",placeholder:N("Enter onesignal restApi"),className:"form-control",id:"onesignal_restApi",disabled:!0,value:E?E.onesignalRestapi:""}))))),n.a.createElement("div",{className:"text-center card-footer"},n.a.createElement("button",{type:"submit",className:"mr-3 btn btn-primary btn-sm"},n.a.createElement("i",{className:"fa fa-dot-circle-o"})," ",N("Continue")," ")))))})}}]);
//# sourceMappingURL=152.539ebd88.chunk.js.map