"use strict";(self.webpackChunkimonitornextgen=self.webpackChunkimonitornextgen||[]).push([[9121],{39121:(e,l,a)=>{a.r(l),a.d(l,{default:()=>m});var s=a(65043),n=a(97508),i=a(74725),r=a(18207),o=a(79607),c=a(82113),d=a(354),t=a(70579);const m=(0,n.Ng)((e=>{let{communityData:l}=e;return{UUID:l.communityId?l.communityId:null}}),null)((e=>{let{UUID:l,goToNext:a,nextTab:n}=e;const[m,p]=(0,s.useState)(!0),[x,u]=(0,s.useState)(null),[h]=(0,i.B)();(0,s.useEffect)((()=>{let e={communityid:l};c.A.post(o.getDashboardConfigurationByCommunityId,e).then((e=>{let{data:l}=e;console.log(l),u(l.data),p(!1)})).catch((e=>{p(!1)}))}),[l]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{isLoading:m}),(0,t.jsx)("div",{className:"card",children:(0,t.jsxs)("form",{onSubmit:()=>{a(n)},children:[(0,t.jsxs)("div",{className:"card-body",children:[(0,t.jsx)("h4",{className:"title",children:"Cloudinary Setting"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"Cloudinary Cloud Name"}),(0,t.jsx)(d.A,{type:"text",name:"cloudinaryCloudName",placeholder:h("Enter Cloudinary Cloud Name"),className:"form-control",id:"cloudinaryCloudName",disabled:!0,value:x?x.cloudinaryCloudName:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"Cloudinary Preset"}),(0,t.jsx)(d.A,{type:"text",name:"cloudinaryPreset",placeholder:h("Enter Cloudinary Preset"),className:"form-control",id:"cloudinaryPreset",disabled:!0,value:x?x.cloudinaryPreset:""})]})})]}),(0,t.jsx)("h4",{className:"title",children:"Mixpanel Setting"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"Mixpanel Api Key"}),(0,t.jsx)(d.A,{type:"text",name:"mixpanelApiKey",placeholder:h("Enter Mixpanel Api Key"),className:"form-control",id:"mixpanelApiKey",disabled:!0,value:x?x.mixpanelApiKey:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"Mixpanel Api Secret"}),(0,t.jsx)(d.A,{type:"text",name:"mixpanelApiSecret",placeholder:h("Enter Mixpanel Api Secret"),className:"form-control",id:"mixpanelApiSecret",disabled:!0,value:x?x.mixpanelApiSecret:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"Mixpanel Token"}),(0,t.jsx)(d.A,{type:"text",name:"mixpanelToken",placeholder:h("Enter Mixpanel Token"),className:"form-control",id:"mixpanelToken",disabled:!0,value:x?x.mixpanelToken:""})]})})]}),(0,t.jsx)("h4",{className:"title",children:"Onesignal Setting"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"onesignal appId"}),(0,t.jsx)(d.A,{type:"text",name:"onesignal_appId",placeholder:h("Enter onesignal appId"),className:"form-control",id:"onesignal_appId",disabled:!0,value:x?x.onesignalAppid:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"onesignal explorer appId"}),(0,t.jsx)(d.A,{type:"text",name:"onesignal_explorer_appId",placeholder:h("Enter onesignal explorer appId"),className:"form-control",id:"onesignal_explorer_appId",disabled:!0,value:x?x.onesignalExplorerAppid:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"onesignal explorer restApi"}),(0,t.jsx)(d.A,{type:"text",name:"onesignal_explorer_restApi",placeholder:h("Enter onesignal explorer restApi"),className:"form-control",id:"onesignal_explorer_restApi",disabled:!0,value:x?x.onesignalExplorerRestapi:""})]})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{className:"control-label",children:"onesignal restApi"}),(0,t.jsx)(d.A,{type:"text",name:"onesignal_restApi",placeholder:h("Enter onesignal restApi"),className:"form-control",id:"onesignal_restApi",disabled:!0,value:x?x.onesignalRestapi:""})]})})]})]}),(0,t.jsx)("div",{className:"text-center card-footer",children:(0,t.jsxs)("button",{type:"submit",className:"mr-3 btn btn-primary btn-sm",children:[(0,t.jsx)("i",{className:"fa fa-dot-circle-o"})," ",h("Continue")," "]})})]})})]})}))}}]);
//# sourceMappingURL=9121.7c08f851.chunk.js.map