1"use strict";(self.webpackChunkreactjs=self.webpackChunkreactjs||[]).push([[920],{12476:function(e,t,i){var a=i(34103),s=i(83433),n=i(74151),l=i(47203),r=i(98670),o=i(85965),d=i(79408),c=i(74165),m=i(15861),h=i(15671),f=i(43144),p=i(60136),g=i(54062),x=i(77106),u=i(92702),y=i(38737),j=i(96106),S=i(72791),v=i(31902),C=i(80184),b=function(e){(0,p.Z)(i,e);var t=(0,g.Z)(i);function i(){var e;(0,h.Z)(this,i);for(var a=arguments.length,s=new Array(a),n=0;n<a;n++)s[n]=arguments[n];return(e=t.call.apply(t,[this].concat(s))).state={visible:!1,selectedStage:1,changeByButtons:!1},e.handleStageChange=function(t,i){-1===t?(e.setState({selectedStage:i}),e.props.stepMove(i)):0===t?(e.setState({selectedStage:e.props.currentState-1}),e.props.stepMove(e.props.currentState-1)):(e.setState({selectedStage:e.props.currentState+1}),e.props.stepMove(e.props.currentState+1))},e.handleSliderChange=function(t,i,a){var s=e.props.currentState;if(0!==t){var n=Math.round(parseInt(t));s=i-(Math.round(100/n)-1),e.setState({selectedStage:s}),e.props.stepMove(s)}else e.setState({selectedStage:s}),e.props.stepMove(s);a===s-1?e.setState({changeByButtons:!1}):e.setState({changeByButtons:!0})},e}return(0,f.Z)(i,[{key:"componentDidMount",value:function(){var e=(0,m.Z)((0,c.Z)().mark((function e(){return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState({selectedStage:2});case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t=d.Z.Panel,i=void 0===this.props.entityStates?[]:this.props.entityStates.items,c={},m=[],h=[],f=100/(i.length-1),p=0,g=0,S=this.props.currentState*f;return i.map((function(e){h.push(e.name),g===i.length?m.push(100):0===g?m.push(0):m.push(p),1===(g+=1)?p=f:p+=f})),h.forEach((function(e,t){return c[m[t]]=e})),(0,C.jsxs)("div",{children:[(0,C.jsxs)(n.Z,{children:[(0,C.jsx)("div",{style:{width:"50%"},children:(0,C.jsx)(r.Z,{className:"font-face-gm",type:"horizontal",orientation:"left",style:{fontSize:"3em",marginBottom:"5px"},children:!0===this.props.loading?(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{style:{margin:"auto",width:"100%",textAlign:"center"},children:(0,C.jsx)(o.default,{indicator:(0,C.jsx)(x.Z,{style:{fontSize:24,color:this.props.primaryColor},spin:!0})})})," ",(0,C.jsx)("div",{className:"font-face-gm",style:{fontSize:"0.5em",opacity:"0.75",margin:"auto",width:"100%",textAlign:"center"}})," "]}):(0,C.jsxs)("div",{style:{marginTop:"-15px",marginLeft:"-20px"},children:[(0,C.jsx)("div",{className:"font-face-gm",style:{fontSize:"0.4em",opacity:"1",margin:"auto",width:"100%",textAlign:"left"},children:this.props.titleText}),(0,C.jsx)(r.Z,{style:{marginTop:"0px",marginBottom:"12px"}}),(0,C.jsx)("div",{className:"font-face-gm",style:{fontSize:this.props.subtitleText.length>6?"0.65em":"0.9em",opacity:"1",margin:"auto",width:"100%",textAlign:"left",marginTop:"-18px"},children:this.props.subtitleText})]})})}),!0===this.props.isMobile||!1!==this.props.disableActionEdit?null:(0,C.jsxs)("div",{style:{width:"50%",float:"right",textAlign:"right"},children:[(0,C.jsx)(n.Z,{style:{marginBottom:"5px"},children:(0,C.jsx)(l.default,{strokeColor:{from:this.props.primaryColor,to:this.props.secondaryColor},showInfo:!1,percent:100,status:"normal",size:"small"})}),(0,C.jsx)(s.Z,{disabled:this.state.changeByButtons,defaultValue:-1,onChange:function(t){return e.handleStageChange(t,e.props.currentState)},options:!0===this.props.loading?[]:!1===i[this.props.currentState].noActions?0===this.props.currentState||!0===i[this.props.currentState].nextActionOnly?[{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1},{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(y.Z,{style:{fontSize:20}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].forwardText})]}),disabled:!1,value:1}]:this.props.currentState===i.length-1||!0===i[this.props.currentState].lastActionOnly?[{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(j.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].revertText})]}),disabled:!1,value:0},{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:20}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1}]:[{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(j.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].revertText})]}),disabled:!1,value:0},{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1},{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(y.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].forwardText})]}),disabled:!1,value:1}]:[],size:"small",onResize:void 0,onResizeCapture:void 0})]})]}),!1===this.props.isMobile||!1!==this.props.disableActionEdit?null:(0,C.jsx)(n.Z,{style:{width:"100%",marginBottom:"25px"},children:(0,C.jsxs)("div",{style:{margin:"auto"},children:[(0,C.jsx)(n.Z,{style:{marginBottom:"5px"},children:(0,C.jsx)(l.default,{strokeColor:{from:this.props.primaryColor,to:this.props.secondaryColor},showInfo:!1,percent:100,status:"normal",size:"small"})}),(0,C.jsx)(s.Z,{disabled:this.state.changeByButtons,defaultValue:-1,onChange:function(t){return e.handleStageChange(t,e.props.currentState)},options:!0===this.props.loading?[]:!1===i[this.props.currentState].noActions?0===this.props.currentState||!0===i[this.props.currentState].nextActionOnly?[{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1},{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(y.Z,{style:{fontSize:20}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].forwardText})]}),disabled:!1,value:1}]:this.props.currentState===i.length-1||!0===i[this.props.currentState].lastActionOnly?[{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(j.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].revertText})]}),disabled:!1,value:0},{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:20}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1}]:[{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(j.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].revertText})]}),disabled:!1,value:0},{label:(0,C.jsxs)("div",{style:{padding:4,marginLeft:8,marginRight:8},children:[(0,C.jsx)(u.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].name})]}),disabled:!1,value:-1},{label:(0,C.jsxs)("div",{style:{padding:4},children:[(0,C.jsx)(y.Z,{style:{fontSize:15}}),(0,C.jsx)("div",{className:"font-face-gm",children:i[this.props.currentState].forwardText})]}),disabled:!1,value:1}]:[],size:"small",onResize:void 0,onResizeCapture:void 0})]})}),(0,C.jsx)("div",{style:{margin:"auto",marginTop:"-15px",marginBottom:"-15px"},children:(0,C.jsx)(d.Z,{accordion:!0,bordered:!0,defaultActiveKey:(this.props.isMobile,""),style:{paddingTop:"0px",paddingBottom:"0px",backgroundColor:"transparent",marginTop:"0px",border:"none",boxShadow:"none"},children:(0,C.jsx)(t,{className:"font-face-gm",style:{paddingTop:"0px",paddingBottom:"0px",fontSize:"10",border:"none"},header:(0,C.jsx)("div",{style:{marginLeft:"20px"},children:(0,v.L)("Lifecycle")}),children:(0,C.jsx)(a.Z,{className:"font-face-gm",style:{width:"90%",marginLeft:"5%"},onChange:function(t){return e.handleSliderChange(t,e.props.entityStates.totalCount,e.props.currentState)},step:null,tooltipVisible:!1,marks:c,defaultValue:S,disabled:this.props.disableSliderEdit})},"processOverview")},"Name")}),(0,C.jsx)("div",{style:{margin:"auto",width:"100%"},children:(0,C.jsx)(n.Z,{style:{marginBottom:"5px"},children:(0,C.jsx)(l.default,{strokeColor:{from:this.props.secondaryColor,to:this.props.primaryColor},showInfo:!1,percent:100,status:"normal",size:"small"})})})]})}}]),i}(S.Component);t.Z=b},80920:function(e,t,i){i.r(t),i.d(t,{default:function(){return de}});var a,s=i(87073),n=i(74165),l=i(15861),r=i(15671),o=i(43144),d=i(60136),c=i(54062),m=i(72791),h=i(8907),f=i(36358),p=i(47203),g=i(98670),x=i(60110),u=i(71581),y=i(59235),j=i(94233),S=i(74151),v=i(57159),C=i(73757),b=i(45005),z=i(38712),T=i(26469),w=i(79408),L=i(1413),N=i(51414),Z=i(6314),I=i(77106),A=i(31902),k={organization:-2,demo:-1,businessBasic:0,businessStandard:1,enterpriseAdvanced:2,enterpriseUnlimited:3,organization_Text:(0,A.L)("Organization"),demo_Text:(0,A.L)("Demo"),businessBasic_Text:(0,A.L)("Business Basic"),businessStandard_Text:(0,A.L)("Business Standard"),enterpriseAdvanced_Text:(0,A.L)("Enterprise Advanced"),enterpriseUnlimited_Text:(0,A.L)("Enterprise Unlimited")},P=i(12476),B=i(80184),D=function(e){(0,d.Z)(i,e);var t=(0,c.Z)(i);function i(){var e;(0,r.Z)(this,i);for(var a=arguments.length,s=new Array(a),n=0;n<a;n++)s[n]=arguments[n];return(e=t.call.apply(t,[this].concat(s))).state={isDemoAccount:!1,sameAsTenantCompanyInfo:!1,sameAsTenantPrimaryContact:!1,sameAsTenantCommunicationInfo:!1,sameAsTenantPaymentInfo:!1,customTheme:!1,fieldNameSize:"0.6em",isCloudDatabase:!0,isCloudFTP:!0,storedPaymentInfo:!0,imgLoading:!1,imageUrl:"",adminSameAsContact:!0,selectedStage:1,swilabImage:"https://swilab.com/images/icon.png"},e.handleChange=function(t){"uploading"!==t.file.status?void 0!==t.file.originFileObj&&e.getBase64(t.file.originFileObj,(function(t){return e.setState({imageUrl:t,imgLoading:!1})}
1)):e.setState({imgLoading:!0})},e.handleFinish=function(t){var i,a,s,n=null===(i=e.props.formRef.current)||void 0===i?void 0:i.getFieldValue("name").replace(/ /g,"_"),l=(0,L.Z)((0,L.Z)({isActive:!0},t),{},{tenancyName:n,adminEmailAddress:null===(a=e.props.formRef.current)||void 0===a?void 0:a.getFieldValue("subscriberEmail"),profileImageID:e.props.profileImageID,currentState:e.state.selectedStage,id:e.props.entityID});null===(s=e.props.formRef.current)||void 0===s||s.resetFields(),e.setState({imageUrl:""}),e.props.onCreate(l)},e.handleCancel=function(){var t;null===(t=e.props.formRef.current)||void 0===t||t.resetFields(),e.setState({imageUrl:""}),e.props.onCancel()},e}return(0,o.Z)(i,[{key:"uploadImage",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t){var i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({imgLoading:!0}),e.next=3,this.props.uploadProfileImage(t);case 3:return i=e.sent,e.abrupt("return",i.url);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getBase64",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t,i){var a;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(a=new FileReader).addEventListener("load",(function(){return i(a.result)})),a.readAsDataURL(t);case 3:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}()},{key:"beforeUpload",value:function(e,t){var i="image/jpeg"===e.type||"image/png"===e.type;i||s.ZP.open({message:(0,A.L)("Uh Oh!"),description:(0,A.L)("Only JPG and PNG Images Allowed")});var a=e.size/1024/1024<2;return a||s.ZP.open({message:(0,A.L)("Uh Oh!"),description:(0,A.L)("Image must be smaller than 2MB")}),i&&a}},{key:"render",value:function(){var e=this,t=this.props,i=t.visible,a=t.isMobile,s=w.Z.Panel,n=(0,B.jsxs)("div",{children:[" ",""===this.props.defaultImage?(0,B.jsxs)("div",{children:[(0,B.jsx)(Z.Z,{}),(0,B.jsx)("br",{}),(0,A.L)("Upload"),(0,B.jsx)("br",{}),(0,A.L)("Photo")]}):(0,B.jsx)("img",{src:this.props.defaultImage,alt:"avatar",style:{width:"100%"}})," "]}),l=(0,B.jsxs)("div",{children:[" ",this.state.imgLoading?(0,B.jsx)(I.Z,{style:{fontSize:24,color:this.props.primaryColor},spin:!0}):n," "]}),r=(0,B.jsxs)("div",{children:[" ",this.props.loading?(0,B.jsx)(I.Z,{style:{fontSize:24,color:this.props.primaryColor},spin:!0}):l," "]}),o=T.default.Option,d=this.props.currentState;return(0,B.jsxs)("div",{className:"font-face-gm",children:[(0,B.jsx)("div",{children:(0,B.jsx)(x.Z,{className:"font-face-gm",open:!1===a&&!0===i,cancelText:(0,A.L)("Cancel"),footer:null,onCancel:this.handleCancel,title:null,closable:!0===this.props.isMobile,children:(0,B.jsxs)(z.Z,{ref:this.props.formRef,style:{marginTop:"0px",marginBottom:"0px"},name:"createTenantForm",onFinish:function(t){return e.handleFinish(t)},children:[(0,B.jsx)(P.Z,{currentState:d,titleText:(0,A.L)("Create New"),subtitleText:(0,A.L)("Account"),primaryColor:this.props.primaryColor,secondaryColor:this.props.secondaryColor,entityStates:{totalCount:4,items:[{id:1,name:"inactive",title:"Inactive",profileImageID:0,displayType:0,forwardText:"Submit for Approval",revertText:"",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!0,lastActionOnly:!1,noActions:!1},{id:2,name:"approval",title:"Approval",profileImageID:0,displayType:0,forwardText:"Approve",revertText:"Deny",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!1,lastActionOnly:!1,noActions:!1},{id:3,name:"onboarding",title:"Onboarding",profileImageID:0,displayType:0,forwardText:"Complete",revertText:"",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!0,lastActionOnly:!1,noActions:!1},{id:4,name:"active",title:"Active",profileImageID:0,displayType:0,forwardText:"Suspend",revertText:"Suspend",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!1,lastActionOnly:!0,noActions:!1}]},stepMove:function(t){return e.setState({selectedStage:t})},disableSliderEdit:!1,disableActionEdit:!1,isMobile:!1,loading:!1}),(0,B.jsxs)(u.Z,{bordered:!1,style:{padding:"0px",marginTop:"0px",marginBottom:"-10px"},children:[(0,B.jsxs)(S.Z,{children:[(0,B.jsx)(b.Z,{span:5,offset:0,children:(0,B.jsx)("div",{children:(0,B.jsx)(z.Z.Item,{name:"profileImageURL",children:(0,B.jsx)(N.Z,{action:function(t){return e.uploadImage(t)},listType:"picture-card",showUploadList:!1,beforeUpload:this.beforeUpload,className:"avatar-uploader",onChange:this.handleChange,multiple:!1,children:1===this.props.profileImageID?(0,B.jsx)("img",{src:this.state.swilabImage,alt:"avatar",style:{width:"100%"}}):""!==this.state.imageUrl?(0,B.jsx)("img",{src:this.state.imageUrl,alt:"avatar",style:{width:"100%"}}):r},"profileImageURL")})})}),(0,B.jsxs)(b.Z,{span:17,offset:2,children:[(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"25%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{float:"left",width:"71%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"name",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!0})},"name")})]}),(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"25%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{float:"left",width:"71%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"title",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"title")})]})]})]}),(0,B.jsxs)(w.Z,{accordion:!0,bordered:!0,defaultActiveKey:"sunscriptionInfo",style:{fontSize:"0.8em",backgroundColor:"transparent",marginBottom:"0px",marginTop:"0px",border:"none",boxShadow:"none"},children:[(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Subscription Type")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isDemoAccount:t})},size:"default",checked:this.state.isDemoAccount,checkedChildren:(0,A.L)("Demo Account"),unCheckedChildren:(0,A.L)("Demo Account")},"isDemoAccount"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Plan")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{initialValue:k.businessBasic,style:{margin:"0"},name:"type",rules:[],children:(0,B.jsxs)(T.default,{size:"large",style:{width:"100%"},defaultValue:k.businessBasic,disabled:this.state.isDemoAccount,children:[(0,B.jsx)(o,{value:k.businessBasic,children:k.businessBasic_Text}),(0,B.jsx)(o,{value:k.businessStandard,children:k.businessStandard_Text}),(0,B.jsx)(o,{value:k.enterpriseAdvanced,children:k.enterpriseAdvanced_Text}),(0,B.jsx)(o,{value:k.enterpriseUnlimited,children:k.enterpriseUnlimited_Text})]},"subscriptionType")},"type")})]})},"sunscriptionInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Company Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCompanyInfo:t})},size:"default",checked:this.state.sameAsTenantCompanyInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCompanyInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"name",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"name")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressOne",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressOne")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressTwo",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressTwo")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("City")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"city",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"city")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("State")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"state",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"state")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Zip")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"zip",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"zip")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Country")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"country",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"country")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"phone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"phone")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Tax ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"taxID",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"taxID")})]})]},"companyInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Primary Contact")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPrimaryContact:t})},size:"default",checked:this.state.sameAsTenantPrimaryContact,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPrimaryContact"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberFirstName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberPhone")})]})]},"subscriberContact"),(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Payment Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPaymentInfo:t})},size:"default",checked:this.state.sameAsTenantPaymentInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPaymentInfo"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("PayPal ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"payPalID",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPaymentInfo})},"payPalID")})]})},"paymentsInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Email Connection")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCommunicationInfo:t})},size:"default",checked:this.state.sameAsTenantCommunicationInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCommunicationInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmail",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Pseudonym")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmailPseudonym",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmailPseudonym")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Password")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationPassword")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Server")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServer",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServer")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Port")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServerPort",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServerPort")})]})]},"communicationInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Theme")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({customTheme:t})},size:"default",checked:this.state.customTheme,checkedChildren:(0,A.L)("Custom Theme"),unCheckedChildren:(0,A.L)("Custom Theme")},"customTheme"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"title",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"title")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"primaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"primaryColor")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"secondaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"secondaryColor")})]})]},"themeInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em",float:"left"},children:(0,A.L)("Default Administrator")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({adminSameAsContact:t})},size:"default",checked:this.state.adminSameAsContact,checkedChildren:(0,A.L)("Same As Contact"),unCheckedChildren:(0,A.L)("Same As Contact")},"sameAsSubscriber"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"sadminPhone")})]})]},"adminInfo"),(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Database")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudDatabase:t})},size:"default",checked:this.state.isCloudDatabase,checkedChildren:(0,A.L)("Cloud Database"),unCheckedChildren:(0,A.L)("Cloud Database")},"isCloudDatabase"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("MSSQL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"connectionString",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("Connection String..."),size:"large",disabled:this.state.isCloudDatabase})},"connectionString")})]})},"dbInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("FTP Server")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudFTP:t})},size:"default",checked:this.state.isCloudFTP,checkedChildren:(0,A.L)("Cloud File Storage"),unCheckedChildren:(0,A.L)("Cloud File Storage")},"isCloudFTP"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP URL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpurl",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpurl")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP User")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpUser",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpUser")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP Pass")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",type:"password",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpPassword")})]})]},"ftpInfo")]},"Name"),(0,B.jsxs)("div",{style:{width:"100%",float:"right",padding:"0",marginTop:"35px",marginBottom:"-5px"},children:[(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right"},children:(0,B.jsx)(y.default,{style:{background:this.props.secondaryColor,borderColor:"white"},loading:this.props.loading,size:"large",type:"primary",shape:"round",htmlType:"submit",className:"font-face-gm",children:(0,A.L)("Submit")})}),(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right",marginRight:"10px"},children:(0,B.jsx)(y.default,{loading:this.props.loading,size:"large",type:"default",shape:"round",onClick:this.handleCancel,className:"font-face-gm",children:(0,A.L)("Cancel")})})]})]})]})})}),(0,B.jsx)("div",{children:(0,B.jsxs)(f.Z,{onClose:this.handleCancel,closeIcon:!1,open:!0===a&&!0===i,width:!0===a?.9*window.innerWidth:420,children:[(0,B.jsx)(g.Z,{className:"font-face-gm",type:"horizontal",style:{fontSize:"2.3em",marginBottom:"0px"},children:(0,A.L)("Create Account")}
1),(0,B.jsx)(S.Z,{style:{marginBottom:"0px"},children:(0,B.jsx)(p.default,{strokeColor:{from:this.props.secondaryColor,to:this.props.primaryColor},showInfo:!1,percent:100,status:"normal",size:"small"})}),(0,B.jsxs)(z.Z,{ref:this.props.formRef,style:{marginTop:"0px",marginBottom:"100px"},name:"createTenantForm",onFinish:function(t){return e.handleFinish(t)},children:[(0,B.jsx)(g.Z,{className:"font-face-gm",orientation:"left",style:{marginTop:"10px",fontSize:"1.1em"},children:(0,A.L)("Profile Image")}),(0,B.jsx)(S.Z,{style:{textAlign:"center",margin:"auto",marginTop:"20px"},children:(0,B.jsx)("div",{style:{margin:"auto"},children:(0,B.jsx)(z.Z.Item,{name:"profileImageURL",children:(0,B.jsx)(N.Z,{action:function(t){return e.uploadImage(t)},listType:"picture-card",showUploadList:!1,beforeUpload:this.beforeUpload,className:"avatar-uploader",onChange:this.handleChange,multiple:!1,children:""!==this.state.imageUrl?(0,B.jsx)("img",{src:this.state.imageUrl,alt:"avatar",style:{width:"100%"}}):r},"profileImageURL")},"profileImageURL")})}),(0,B.jsx)(u.Z,{bordered:!1,style:{padding:"0px",marginTop:"0px",marginBottom:"-25px"},children:(0,B.jsxs)(S.Z,{children:[(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"30%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")})}),(0,B.jsx)("div",{style:{float:"left",width:"65%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"name",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"name")})]}),(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"30%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{float:"left",width:"65%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"title",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"title")})]})]})}),(0,B.jsxs)(w.Z,{accordion:!0,bordered:!0,defaultActiveKey:"companyInfo",style:{fontSize:"0.8em",backgroundColor:"transparent",marginBottom:"0px",marginTop:"0px",border:"none",boxShadow:"none"},children:[(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Subscription Type")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isDemoAccount:t})},size:"default",checked:this.state.isDemoAccount,checkedChildren:(0,A.L)("Demo Account"),unCheckedChildren:(0,A.L)("Demo Account")},"isDemoAccount"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Plan")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{initialValue:k.businessBasic,style:{margin:"0"},name:"type",rules:[],children:(0,B.jsxs)(T.default,{size:"large",style:{width:"100%"},defaultValue:k.businessBasic,disabled:this.state.isDemoAccount,children:[(0,B.jsx)(o,{value:k.businessBasic,children:k.businessBasic_Text}),(0,B.jsx)(o,{value:k.businessStandard,children:k.businessStandard_Text}),(0,B.jsx)(o,{value:k.enterpriseAdvanced,children:k.enterpriseAdvanced_Text}),(0,B.jsx)(o,{value:k.enterpriseUnlimited,children:k.enterpriseUnlimited_Text})]},"subscriptionType")},"type")})]})},"sunscriptionInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Company Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCompanyInfo:t})},size:"default",checked:this.state.sameAsTenantCompanyInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCompanyInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"name",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"name")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressOne",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressOne")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressTwo",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressTwo")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("City")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"city",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"city")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("State")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"state",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"state")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Zip")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"zip",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"zip")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Country")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"country",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"country")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"phone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"phone")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Tax ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"taxID",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"taxID")})]})]},"companyInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Primary Contact")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPrimaryContact:t})},size:"default",checked:this.state.sameAsTenantPrimaryContact,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPrimaryContact"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberFirstName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberPhone")})]})]},"subscriberContact"),(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Payment Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPaymentInfo:t})},size:"default",checked:this.state.sameAsTenantPaymentInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPaymentInfo"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("PayPal ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"payPalID",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPaymentInfo})},"payPalID")})]})},"paymentsInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Email Connection")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCommunicationInfo:t})},size:"default",checked:this.state.sameAsTenantCommunicationInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCommunicationInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmail",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Pseudonym")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmailPseudonym",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmailPseudonym")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Password")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationPassword")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Server")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServer",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServer")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Port")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServerPort",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServerPort")})]})]},"communicationInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Theme")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({customTheme:t})},size:"default",checked:this.state.customTheme,checkedChildren:(0,A.L)("Custom Theme"),unCheckedChildren:(0,A.L)("Custom Theme")},"customTheme"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"title",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"title")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"primaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"primaryColor")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"secondaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"secondaryColor")})]})]},"themeInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em",float:"left"},children:(0,A.L)("Default Administrator")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({adminSameAsContact:t})},size:"default",checked:this.state.adminSameAsContact,checkedChildren:(0,A.L)("Same As Contact"),unCheckedChildren:(0,A.L)("Same As Contact")},"sameAsSubscriber"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"sadminPhone")})]})]},"adminInfo"),(0,B.jsx)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Database")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudDatabase:t})},size:"default",checked:this.state.isCloudDatabase,checkedChildren:(0,A.L)("Cloud Database"),unCheckedChildren:(0,A.L)("Cloud Database")},"isCloudDatabase"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("MSSQL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"connectionString",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("Connection String..."),size:"large",disabled:this.state.isCloudDatabase})},"connectionString")})]})},"dbInfo"),(0,B.jsxs)(s,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("FTP Server")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudFTP:t})},size:"default",checked:this.state.isCloudFTP,checkedChildren:(0,A.L)("Cloud File Storage"),unCheckedChildren:(0,A.L)("Cloud File Storage")},"isCloudFTP"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP URL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpurl",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpurl")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP User")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpUser",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpUser")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP Pass")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",type:"password",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpPassword")})]})]},"ftpInfo")]},"Name"),(0,B.jsxs)("div",{style:{width:"100%",float:"right",padding:"0",marginTop:"30px"},children:[(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right"},children:(0,B.jsx)(y.default,{style:{background:this.props.secondaryColor,borderColor:"white"},loading:this.props.loading,size:"large",type:"primary",shape:"round",htmlType:"submit",className:"font-face-gm",children:(0,A.L)("Submit")})}),(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right",marginRight:"10px"},children:(0,B.jsx)(y.default,{loading:this.props.loading,size:"large",type:"default",shape:"round",onClick:this.handleCancel,className:"font-face-gm",children:(0,A.L)("Cancel")})})]})]})]})})]})}}]),i}
1(m.Component),U=D,E=i(70896),F=i(85965),R=i(51299),O=function(e){(0,d.Z)(i,e);var t=(0,c.Z)(i);function i(){var e;(0,r.Z)(this,i);for(var a=arguments.length,s=new Array(a),n=0;n<a;n++)s[n]=arguments[n];return(e=t.call.apply(t,[this].concat(s))).formRef=m.createRef(),e.state={isDemoAccount:!1,sameAsTenantCompanyInfo:!1,sameAsTenantPrimaryContact:!1,sameAsTenantCommunicationInfo:!1,sameAsTenantPaymentInfo:!1,customTheme:!1,fieldNameSize:"0.6em",isCloudDatabase:!0,isCloudFTP:!0,storedPaymentInfo:!0,imgLoading:!1,imageUrl:"",adminSameAsContact:!0,selectedStage:1},e.handleChange=function(t){"uploading"!==t.file.status?void 0!==t.file.originFileObj&&e.getBase64(t.file.originFileObj,(function(t){return e.setState({imageUrl:t,imgLoading:!1})})):e.setState({imgLoading:!0})},e.handleFinish=function(t){var i,a,s,n=null===(i=e.formRef.current)||void 0===i?void 0:i.getFieldValue("name").replace(/ /g,"_"),l=(0,L.Z)((0,L.Z)({isActive:!0},t),{},{tenancyName:n,adminEmailAddress:null===(a=e.formRef.current)||void 0===a?void 0:a.getFieldValue("subscriberEmail"),profileImageID:e.props.profileImageID,currentState:e.state.selectedStage});null===(s=e.formRef.current)||void 0===s||s.resetFields(),e.setState({imageUrl:""}),e.props.onCreate(l)},e.handleCancel=function(){var t;null===(t=e.formRef.current)||void 0===t||t.resetFields(),e.setState({imageUrl:""}),e.props.onCancel()},e}return(0,o.Z)(i,[{key:"uploadImage",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t){var i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({imgLoading:!0}),e.next=3,this.props.uploadProfileImage(t);case 3:return i=e.sent,e.abrupt("return",i.url);case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getBase64",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t,i){var a;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(a=new FileReader).addEventListener("load",(function(){return i(a.result)})),a.readAsDataURL(t);case 3:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}()},{key:"beforeUpload",value:function(e,t){var i="image/jpeg"===e.type||"image/png"===e.type;i||s.ZP.open({message:(0,A.L)("Uh Oh!"),description:(0,A.L)("Only JPG and PNG Images Allowed")});var a=e.size/1024/1024<2;return a||s.ZP.open({message:(0,A.L)("Uh Oh!"),description:(0,A.L)("Image must be smaller than 2MB")}),i&&a}},{key:"render",value:function(){var e=this,t=this.props,i=t.visible,a=t.isMobile,n=w.Z.Panel,l=(0,B.jsxs)("div",{children:[" ",""===this.props.defaultImage?(0,B.jsxs)("div",{children:[(0,B.jsx)(Z.Z,{}),(0,B.jsx)("br",{}),(0,A.L)("Upload"),(0,B.jsx)("br",{}),(0,A.L)("Photo")]}):(0,B.jsx)("img",{src:this.props.defaultImage,alt:"avatar",style:{width:"100%"}})," "]}),r=(0,B.jsxs)("div",{children:[" ",this.state.imgLoading?(0,B.jsx)(F.default,{indicator:(0,B.jsx)(I.Z,{style:{fontSize:24,color:this.props.primaryColor},spin:!0})}):l," "]}),o=(0,B.jsxs)("div",{children:[" ",this.props.loading?(0,B.jsx)(F.default,{indicator:(0,B.jsx)(I.Z,{style:{fontSize:24,color:this.props.primaryColor},spin:!0})}):r," "]}),d=T.default.Option;return(0,B.jsxs)("div",{className:"font-face-gm",children:[(0,B.jsx)("div",{children:(0,B.jsx)(x.Z,{className:"font-face-gm",open:!1===a&&!0===i,cancelText:(0,A.L)("Cancel"),footer:null,width:610,onCancel:this.handleCancel,title:null,closable:!0===this.props.isMobile,children:!1===this.props.loading?(0,B.jsxs)(z.Z,{ref:this.formRef,style:{marginTop:"0px",marginBottom:"0px"},name:"createTenantForm",onFinish:function(t){return e.handleFinish(t)},children:[(0,B.jsx)(P.Z,{currentState:0,titleText:(0,A.L)("Create New"),subtitleText:(0,A.L)("Account"),primaryColor:this.props.primaryColor,secondaryColor:this.props.secondaryColor,entityStates:{totalCount:4,items:[{id:1,name:"inactive",title:"Inactive",profileImageID:0,displayType:0,forwardText:"Submit for Approval",revertText:"",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!0,lastActionOnly:!1,noActions:!1},{id:2,name:"approval",title:"Approval",profileImageID:0,displayType:0,forwardText:"Approve",revertText:"Deny",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!1,lastActionOnly:!1,noActions:!1},{id:3,name:"onboarding",title:"Onboarding",profileImageID:0,displayType:0,forwardText:"Complete",revertText:"",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!0,lastActionOnly:!1,noActions:!1},{id:4,name:"active",title:"Active",profileImageID:0,displayType:0,forwardText:"Suspend",revertText:"",restricted:!1,allowSkipTo:!0,allowRevert:!0,nextActionOnly:!0,lastActionOnly:!1,noActions:!1}]},stepMove:function(t){return e.setState({selectedStage:t})},disableSliderEdit:!1,disableActionEdit:!1,isMobile:!1,loading:!1}),(0,B.jsxs)(u.Z,{bordered:!1,style:{padding:"0px",marginTop:"0px",marginBottom:"-10px"},children:[(0,B.jsxs)(S.Z,{children:[(0,B.jsx)(b.Z,{span:5,offset:0,children:(0,B.jsx)("div",{children:(0,B.jsx)(z.Z.Item,{name:"profileImageURL",children:(0,B.jsx)(N.Z,{action:function(t){return e.uploadImage(t)},listType:"picture-card",showUploadList:!1,beforeUpload:this.beforeUpload,className:"avatar-uploader",onChange:this.handleChange,multiple:!1,children:""!==this.state.imageUrl?(0,B.jsx)("img",{src:this.state.imageUrl,alt:"avatar",style:{width:"100%"}}):o},"profileImageURL")})})}),(0,B.jsxs)(b.Z,{span:17,offset:2,children:[(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"25%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{float:"left",width:"71%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"name",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"name")})]}),(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"25%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{float:"left",width:"71%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"title",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"title")})]})]})]}),(0,B.jsxs)(w.Z,{accordion:!0,bordered:!0,defaultActiveKey:"sunscriptionInfo",style:{fontSize:"0.8em",backgroundColor:"transparent",marginBottom:"0px",marginTop:"0px",border:"none",boxShadow:"none"},children:[(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Subscription")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isDemoAccount:t})},size:"default",checked:this.state.isDemoAccount,checkedChildren:(0,A.L)("Demo Account"),unCheckedChildren:(0,A.L)("Demo Account")},"isDemoAccount"),children:[(0,B.jsxs)("div",{style:{marginBottom:"40px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Plan")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{initialValue:k.businessBasic,style:{margin:"0"},name:"type",rules:[],children:(0,B.jsxs)(T.default,{size:"large",style:{width:"100%"},defaultValue:k.businessBasic,disabled:this.state.isDemoAccount,children:[(0,B.jsx)(d,{value:k.businessBasic,children:k.businessBasic_Text}),(0,B.jsx)(d,{value:k.businessStandard,children:k.businessStandard_Text}),(0,B.jsx)(d,{value:k.enterpriseAdvanced,children:k.enterpriseAdvanced_Text}),(0,B.jsx)(d,{value:k.enterpriseUnlimited,children:k.enterpriseUnlimited_Text}),(0,B.jsx)(d,{value:k.organization,children:k.organization_Text})]},"subscriptionType")},"type")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("div",{style:{marginBottom:"0px"},children:(0,B.jsx)(R.Vv,{options:{"client-id":"test",currency:"USD"},children:(0,B.jsx)(R.ch,{style:{layout:"vertical",color:"blue"},createOrder:function(e,t){return t.order.create({purchase_units:[{description:"Swilab Demo Purchase",items:[{name:"Demo Purchase",quantity:"1",unit_amount:{currency_code:"USD",value:"2000.00"},tax:{currency_code:"USD",value:"0.00"},description:"Total",sku:"SWI"}],amount:{value:"2000.00",breakdown:{item_total:{currency_code:"USD",value:"2000.00"},shipping:{currency_code:"USD",value:"0.00"},handling:{currency_code:"USD",value:"0.00"},tax_total:{currency_code:"USD",value:"0.00"},insurance:{currency_code:"USD",value:"0.00"},shipping_discount:{currency_code:"USD",value:"0.00"},discount:{currency_code:"USD",value:"0.00"}}}}]})},onError:function(e){return console.log(e),s.ZP.open({message:"Oh No!",description:"Error"})},onCancel:function(){return s.ZP.open({message:"Payment Cancelled",description:"Your order has been Cancelled."})}})})})]},"sunscriptionInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Company Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCompanyInfo:t})},size:"default",checked:this.state.sameAsTenantCompanyInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCompanyInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"name",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"name")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressOne",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressOne")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressTwo",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressTwo")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("City")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"city",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"city")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("State")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"state",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"state")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Zip")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"zip",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"zip")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Country")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"country",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"country")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"phone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"phone")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Tax ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"taxID",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"taxID")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})]},"companyInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Primary Contact")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPrimaryContact:t})},size:"default",checked:this.state.sameAsTenantPrimaryContact,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPrimaryContact"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberFirstName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberPhone")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})]},"subscriberContact"),(0,B.jsx)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Payment Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPaymentInfo:t})},size:"default",checked:this.state.sameAsTenantPaymentInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPaymentInfo"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("PayPal ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"payPalID",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPaymentInfo})},"payPalID")})]})},"paymentsInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Email Connection")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCommunicationInfo:t})},size:"default",checked:this.state.sameAsTenantCommunicationInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCommunicationInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmail",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Pseudonym")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmailPseudonym",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmailPseudonym")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Password")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationPassword")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Server")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServer",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServer")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Port")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServerPort",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServerPort")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})]},"communicationInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Theme")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({customTheme:t})},size:"default",checked:this.state.customTheme,checkedChildren:(0,A.L)("Custom Theme"),unCheckedChildren:(0,A.L)("Custom Theme")},"customTheme"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"title",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"title")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"primaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"primaryColor")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"secondaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"secondaryColor")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})," ",(0,B.jsx)("br",{})]},"themeInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em",float:"left"},children:(0,A.L)("Default Administrator")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({adminSameAsContact:t})},size:"default",checked:this.state.adminSameAsContact,checkedChildren:(0,A.L)("Same As Contact"),unCheckedChildren:(0,A.L)("Same As Contact")},"sameAsSubscriber"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"sadminPhone")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})]},"adminInfo"),(0,B.jsx)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Database")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudDatabase:t})},size:"default",checked:this.state.isCloudDatabase,checkedChildren:(0,A.L)("Cloud Database"),unCheckedChildren:(0,A.L)("Cloud Database")},"isCloudDatabase"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("MSSQL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"connectionString",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("Connection String..."),size:"large",disabled:this.state.isCloudDatabase})},"connectionString")})]})},"dbInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("FTP Server")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudFTP:t})},size:"default",checked:this.state.isCloudFTP,checkedChildren:(0,A.L)("Cloud File Storage"),unCheckedChildren:(0,A.L)("Cloud File Storage")},"isCloudFTP"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP URL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpurl",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpurl")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP User")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpUser",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpUser")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP Pass")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",type:"password",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpPassword")})]}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{}),(0,B.jsx)("br",{})]},"ftpInfo")]},"Name"),(0,B.jsxs)("div",{style:{width:"100%",float:"right",padding:"0",marginTop:"35px",marginBottom:"-5px"},children:[(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right"},children:(0,B.jsx)(y.default,{style:{background:this.props.secondaryColor,borderColor:"white"},loading:this.props.loading,size:"large",type:"primary",shape:"round",htmlType:"submit",className:"font-face-gm",children:(0,A.L)("Submit")})}),(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right",marginRight:"10px"},children:(0,B.jsx)(y.default,{loading:this.props.loading,size:"large",type:"default",shape:"round",onClick:this.handleCancel,className:"font-face-gm",children:(0,A.L)("Cancel")})})]})]})]}):(0,B.jsx)("div",{style:{height:"150px",margin:"auto",marginTop:"40px",width:"95%",textAlign:"center"},children:(0,B.jsx)(E.default,{active:!0})})})}),(0,B.jsx)("div",{children:(0,B.jsxs)(f.Z,{onClose:this.handleCancel,closeIcon:!1,open:!0===a&&!0===i,width:!0===a?.9*window.innerWidth:420,children:[(0,B.jsx)(g.Z,{className:"font-face-gm",type:"horizontal",style:{fontSize:"2.3em",marginBottom:"0px"},children:(0,A.L)("Create Account")}
1),(0,B.jsx)(S.Z,{style:{marginBottom:"0px"},children:(0,B.jsx)(p.default,{strokeColor:{from:this.props.secondaryColor,to:this.props.primaryColor},showInfo:!1,percent:100,status:"normal",size:"small"})}),(0,B.jsxs)(z.Z,{ref:this.formRef,style:{marginTop:"0px",marginBottom:"100px"},name:"createTenantForm",onFinish:function(t){return e.handleFinish(t)},children:[(0,B.jsx)(g.Z,{className:"font-face-gm",orientation:"left",style:{marginTop:"10px",fontSize:"1.1em"},children:(0,A.L)("Profile Image")}),(0,B.jsx)(S.Z,{style:{textAlign:"center",margin:"auto",marginTop:"20px"},children:(0,B.jsx)("div",{style:{margin:"auto"},children:(0,B.jsx)(z.Z.Item,{name:"profileImageURL",children:(0,B.jsx)(N.Z,{action:function(t){return e.uploadImage(t)},listType:"picture-card",showUploadList:!1,beforeUpload:this.beforeUpload,className:"avatar-uploader",onChange:this.handleChange,multiple:!1,children:""!==this.state.imageUrl?(0,B.jsx)("img",{src:this.state.imageUrl,alt:"avatar",style:{width:"100%"}}):o},"profileImageURL")},"profileImageURL")})}),(0,B.jsx)(u.Z,{bordered:!1,style:{padding:"0px",marginTop:"0px",marginBottom:"-25px"},children:(0,B.jsxs)(S.Z,{children:[(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"30%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")})}),(0,B.jsx)("div",{style:{float:"left",width:"65%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"name",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"name")})]}),(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"left",width:"30%",marginRight:"12px"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:"1.2em",textAlign:"center",width:"100%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{float:"left",width:"65%"},children:(0,B.jsx)(z.Z.Item,{className:"font-face-gm",name:"title",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.props.loading})},"title")})]})]})}),(0,B.jsxs)(w.Z,{accordion:!0,bordered:!0,defaultActiveKey:"companyInfo",style:{fontSize:"0.8em",backgroundColor:"transparent",marginBottom:"0px",marginTop:"0px",border:"none",boxShadow:"none"},children:[(0,B.jsx)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Subscription Type")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isDemoAccount:t})},size:"default",checked:this.state.isDemoAccount,checkedChildren:(0,A.L)("Demo Account"),unCheckedChildren:(0,A.L)("Demo Account")},"isDemoAccount"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Plan")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{initialValue:k.businessBasic,style:{margin:"0"},name:"type",rules:[],children:(0,B.jsxs)(T.default,{size:"large",style:{width:"100%"},defaultValue:k.businessBasic,disabled:this.state.isDemoAccount,children:[(0,B.jsx)(d,{value:k.businessBasic,children:k.businessBasic_Text}),(0,B.jsx)(d,{value:k.businessStandard,children:k.businessStandard_Text}),(0,B.jsx)(d,{value:k.enterpriseAdvanced,children:k.enterpriseAdvanced_Text}),(0,B.jsx)(d,{value:k.enterpriseUnlimited,children:k.enterpriseUnlimited_Text}),(0,B.jsx)(d,{value:k.organization,children:k.organization_Text})]},"subscriptionType")},"type")})]})},"sunscriptionInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Company Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCompanyInfo:t})},size:"default",checked:this.state.sameAsTenantCompanyInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCompanyInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"name",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"name")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressOne",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressOne")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Address #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"addressTwo",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"addressTwo")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("City")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"city",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"city")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("State")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"state",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"state")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Zip")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"zip",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"zip")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Country")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"country",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"country")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"phone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"phone")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Tax ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"taxID",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCompanyInfo})},"taxID")})]})]},"companyInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Primary Contact")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPrimaryContact:t})},size:"default",checked:this.state.sameAsTenantPrimaryContact,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPrimaryContact"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberFirstName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"subscriberPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPrimaryContact})},"subscriberPhone")})]})]},"subscriberContact"),(0,B.jsx)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Payment Info")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantPaymentInfo:t})},size:"default",checked:this.state.sameAsTenantPaymentInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantPaymentInfo"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("PayPal ID")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"payPalID",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantPaymentInfo})},"payPalID")})]})},"paymentsInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Email Connection")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({sameAsTenantCommunicationInfo:t})},size:"default",checked:this.state.sameAsTenantCommunicationInfo,checkedChildren:(0,A.L)("Same as Tenant"),unCheckedChildren:(0,A.L)("Same as Tenant")},"sameAsTenantCommunicationInfo"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmail",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Pseudonym")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationEmailPseudonym",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationEmailPseudonym")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Password")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationPassword")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Server")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServer",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServer")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Port")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"notificationServerPort",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.sameAsTenantCommunicationInfo})},"notificationServerPort")})]})]},"communicationInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Theme")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({customTheme:t})},size:"default",checked:this.state.customTheme,checkedChildren:(0,A.L)("Custom Theme"),unCheckedChildren:(0,A.L)("Custom Theme")},"customTheme"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"title",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"title")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #1")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"primaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"primaryColor")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Color #2")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"secondaryColor",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:!this.state.customTheme})},"secondaryColor")})]})]},"themeInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em",float:"left"},children:(0,A.L)("Default Administrator")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({adminSameAsContact:t})},size:"default",checked:this.state.adminSameAsContact,checkedChildren:(0,A.L)("Same As Contact"),unCheckedChildren:(0,A.L)("Same As Contact")},"sameAsSubscriber"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Title")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminTitle",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminTitle")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Name")}
1)}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminFirstName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Surname")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminLastName",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminLastName")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Email")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminEmail",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"adminEmail")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("Phone")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"adminPhone",rules:[],children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.adminSameAsContact})},"sadminPhone")})]})]},"adminInfo"),(0,B.jsx)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("Database")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudDatabase:t})},size:"default",checked:this.state.isCloudDatabase,checkedChildren:(0,A.L)("Cloud Database"),unCheckedChildren:(0,A.L)("Cloud Database")},"isCloudDatabase"),children:(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("MSSQL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"connectionString",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("Connection String..."),size:"large",disabled:this.state.isCloudDatabase})},"connectionString")})]})},"dbInfo"),(0,B.jsxs)(n,{className:"font-face-gm",style:{fontSize:"1.8em"},header:(0,B.jsx)("div",{style:{marginLeft:"25px",fontSize:"0.8em"},children:(0,A.L)("FTP Server")}),extra:(0,B.jsx)(j.Z,{style:{float:"right"},onClick:function(t){return e.setState({isCloudFTP:t})},size:"default",checked:this.state.isCloudFTP,checkedChildren:(0,A.L)("Cloud File Storage"),unCheckedChildren:(0,A.L)("Cloud File Storage")},"isCloudFTP"),children:[(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP URL")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpurl",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpurl")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP User")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpUser",children:(0,B.jsx)(v.default,{className:"font-face-gm",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpUser")})]}),(0,B.jsxs)("div",{style:{marginBottom:"60px"},children:[(0,B.jsx)("div",{style:{width:"25%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(C.Z,{className:"font-face-gm",style:{float:"left",paddingTop:"10px",fontSize:this.state.fieldNameSize,textAlign:"center",width:"90%",height:"40px",resize:"block"},color:this.props.primaryColor,children:(0,A.L)("FTP Pass")})}),(0,B.jsx)("div",{style:{width:"75%",float:"left",padding:"0",margin:"0"},children:(0,B.jsx)(z.Z.Item,{name:"ftpPassword",children:(0,B.jsx)(v.default,{className:"font-face-gm",type:"password",placeholder:(0,A.L)("..."),size:"large",disabled:this.state.isCloudFTP})},"ftpPassword")})]})]},"ftpInfo")]},"Name"),(0,B.jsxs)("div",{style:{width:"100%",float:"right",padding:"0",marginTop:"30px"},children:[(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right"},children:(0,B.jsx)(y.default,{style:{background:this.props.secondaryColor,borderColor:"white"},loading:this.props.loading,size:"large",type:"primary",shape:"round",htmlType:"submit",className:"font-face-gm",children:(0,A.L)("Submit")})}),(0,B.jsx)(z.Z.Item,{style:{margin:"0",float:"right",marginRight:"10px"},children:(0,B.jsx)(y.default,{loading:this.props.loading,size:"large",type:"default",shape:"round",onClick:this.handleCancel,className:"font-face-gm",children:(0,A.L)("Cancel")})})]})]})]})})]})}}]),i}(m.Component),_=O,M=i(129),V=i(22980),W=i(69669),G=i(99062),J=i(34103),H=i(83433),K=i(19713),Q=i(82650),q=i(38737),Y=i(35614),X=function(e){(0,d.Z)(i,e);var t=(0,c.Z)(i);function i(){var e;(0,r.Z)(this,i);for(var a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];return(e=t.call.apply(t,[this].concat(s))).state={cellSize:0,cellProgress:1,optionsExpanded:!1,isMobile:!1,actionHeight:"50px",currentProfileImage:""},e.handleResize=function(){window.innerWidth>=680?e.setState({isMobile:!1}):e.setState({isMobile:!0})},e.handleClickOutside=(0,l.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.setState({optionsExpanded:!1}),e.handleResize();case 2:case"end":return t.stop()}}),t)}))),e.handleOptionExpand=(0,l.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.state.isMobile,e.setState({optionsExpanded:!0});case 1:case"end":return t.stop()}}),t)}))),e}
1return(0,o.Z)(i,[{key:"componentDidMount",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return window.innerWidth>=680?this.setState({isMobile:!1}):this.setState({isMobile:!0}),e.next=3,this.props.getProfileImage();case 3:t=e.sent,this.setState({currentProfileImage:t}),window.addEventListener("resize",this.handleResize);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this,t={percent:this.state.cellProgress,color:[this.props.secondaryColor,this.props.primaryColor]},i=(0,B.jsx)(I.Z,{style:{fontSize:20,color:this.props.primaryColor},spin:!0}),a=""===this.state.currentProfileImage||"_"===this.state.currentProfileImage?"_"!==this.state.currentProfileImage?(0,B.jsx)(F.default,{indicator:i,children:this.props.defaultIcon}):this.props.defaultIcon:(0,B.jsx)("img",{style:{width:"60px",height:"60px"},src:this.state.currentProfileImage}),s=void 0===this.props.entityStates?[]:this.props.entityStates.items,n={},l=[],r=[],o=100/(s.length-1),d=0,c=0,m=this.props.currentState*o;return s.map((function(e){r.push(e.name),c===s.length?l.push(100):0===c?l.push(0):l.push(d),1===(c+=1)?d=o:d+=o})),r.forEach((function(e,t){return n[l[t]]=e})),(0,B.jsx)("div",{children:!0===this.state.isMobile?(0,B.jsx)("div",{children:(0,B.jsx)(u.Z,{className:"font-face-gm",bodyStyle:{marginBottom:"-15px"},bordered:!0,hoverable:!0,style:{borderColor:"#e9eaec",borderWidth:"2px"},actions:[(0,B.jsxs)("div",{style:{margin:"0",float:"none",width:"80%",marginLeft:"10%",marginBottom:"-5px"},children:[this.props.subscriptionType===k.organization?k.organization_Text:null,this.props.subscriptionType===k.demo?k.demo_Text:null,this.props.subscriptionType===k.businessBasic?k.businessBasic_Text:null,this.props.subscriptionType===k.businessStandard?k.businessStandard_Text:null,this.props.subscriptionType===k.enterpriseAdvanced?k.enterpriseAdvanced_Text:null,this.props.subscriptionType===k.enterpriseUnlimited?k.enterpriseUnlimited_Text:null,(0,B.jsx)("div",{style:{fontSize:"0.8em",marginTop:"8px"},children:(0,A.L)("Subscription Type")})]})],children:(0,B.jsxs)("div",{children:[(0,B.jsx)(Y.default,{className:"font-face-gm",title:(0,B.jsx)("div",{style:{fontSize:"1.3em",height:"30px",marginBottom:"-5px"},children:this.props.title.length>12?this.props.title.substr(0,12)+"...":this.props.title}),avatar:a,description:this.props.subTitle.length>15?this.props.subTitle.substr(0,15)+"...":this.props.subTitle}),(0,B.jsx)("div",{children:!1===this.state.optionsExpanded?(0,B.jsx)("div",{children:(0,B.jsx)("div",{children:(0,B.jsx)("div",{style:{float:"right",paddingTop:"10px"},children:(0,B.jsx)(y.default,{className:"font-face-gm",onClick:this.handleOptionExpand,style:{minWidth:"75px",borderColor:this.props.primaryColor,color:this.props.primaryColor},type:"default",children:(0,A.L)("Options")})})})}):(0,B.jsx)("div",{children:(0,B.jsxs)("div",{style:{float:"right",paddingTop:"10px"},children:[(0,B.jsx)(y.default,{className:"font-face-gm",onClick:function(){return e.props.cardDelete({id:e.props.id})},style:{marginRight:"10px",minWidth:"50px",color:this.props.secondaryColor,borderColor:this.props.secondaryColor},type:"dashed",children:(0,A.L)("Delete")}),(0,B.jsx)(y.default,{className:"font-face-gm",onClick:function(){return e.props.cardEdit({id:e.props.id})},style:{minWidth:"50px",marginRight:"10px",backgroundColor:this.props.secondaryColor,borderColor:"white"},type:"primary",children:(0,A.L)("Update")}),(0,B.jsx)(y.default,{className:"font-face-gm",onClick:this.handleClickOutside,style:{borderColor:this.props.secondaryColor},type:"default",children:(0,B.jsx)(q.Z,{})})]})})})]})})}):(0,B.jsx)("div",{children:(0,B.jsx)(u.Z,{className:"font-face-gm",bodyStyle:{marginBottom:"-15px"},bordered:!0,hoverable:!0,style:{borderColor:"#e9eaec",borderWidth:"2px"},actions:[(0,B.jsxs)("div",{style:{margin:"0",float:"none",width:"80%",marginLeft:"10%",marginBottom:"-5px"},children:[0===this.props.currentStage?(0,B.jsx)(K.default,{className:"font-face-gm",message:(0,A.L)("Inactive"),type:"info",style:{opacity:"0.8"}}):null,1===this.props.currentStage?(0,B.jsx)(K.default,{className:"font-face-gm",message:(0,A.L)("Awaiting Approval"),type:"warning",style:{opacity:"0.8"}}):null,2===this.props.currentStage?(0,B.jsx)(K.default,{className:"font-face-gm",message:(0,A.L)("Onboarding"),type:"info",style:{opacity:"0.8"}}):null,3===this.props.currentStage?(0,B.jsx)(K.default,{className:"font-face-gm",message:(0,A.L)("Active"),type:"success",style:{opacity:"0.8"}}):null,(0,B.jsx)("div",{style:{fontSize:"0.8em",marginTop:"8px"},children:(0,A.L)("Account Status")})]}),(0,B.jsxs)("div",{style:{margin:"0",float:"none",marginTop:"2px"},children:[(0,B.jsxs)("div",{style:{fontSize:"1.6em"},children:[this.props.subscriptionType===k.organization?k.organization_Text:null,this.props.subscriptionType===k.demo?k.demo_Text:null,this.props.subscriptionType===k.businessBasic?k.businessBasic_Text:null,this.props.subscriptionType===k.businessStandard?k.businessStandard_Text:null,this.props.subscriptionType===k.enterpriseAdvanced?k.enterpriseAdvanced_Text:null,this.props.subscriptionType===k.enterpriseUnlimited?k.enterpriseUnlimited_Text:null]}),(0,B.jsx)("div",{style:{fontSize:"0.8em",marginTop:"11px"},children:(0,A.L)("Subscription Type")})]}),(0,B.jsxs)("div",{style:{margin:"0",float:"none",marginBottom:"-5px"},children:[(0,B.jsx)(H.Z,{className:"font-face-gm",defaultValue:"Activity",options:["Activity"],style:{marginTop:"6px"},onResize:void 0,onResizeCapture:void 0}),(0,B.jsx)("div",{style:{fontSize:"0.8em",marginTop:"10px"},children:(0,A.L)("Quick Actions")})]})],cover:(0,B.jsx)("div",{style:{height:"35px",overflow:"hidden",opacity:"1",marginBottom:"-35px"},children:(0,B.jsx)(Q.Z,(0,L.Z)({height:25,autoFit:!0,style:{marginTop:"-12px",width:"96%"}},t))}),children:(0,B.jsxs)("div",{style:{height:"60px"},children:[(0,B.jsx)("div",{children:!1===this.state.optionsExpanded?(0,B.jsxs)("div",{children:[(0,B.jsx)("div",{style:{float:"right"},children:(0,B.jsx)(y.default,{className:"font-face-gm",onClick:this.handleOptionExpand,style:{minWidth:"75px",borderColor:this.props.primaryColor,color:this.props.primaryColor},type:"default",children:(0,A.L)("Options")})}),(0,B.jsxs)("div",{style:{width:"40%",float:"right",marginRight:"12%"},children:[(0,B.jsx)("div",{style:{fontSize:"0.8em"},children:(0,A.L)("Lifecycle Stage")}),(0,B.jsx)(J.Z,{className:"font-face-gm",disabled:!0,tooltipVisible:!1,step:null,marks:n,defaultValue:m})]})]}):(0,B.jsx)("div",{children:(0,B.jsxs)("div",{style:{float:"right"},children:[(0,B.jsx)(y.default,{className:"font-face-gm",onClick:function(){return e.props.cardDelete({id:e.props.id})},style:{marginRight:"10px",minWidth:"50px",color:this.props.secondaryColor,borderColor:this.props.secondaryColor},type:"dashed",children:(0,A.L)("Delete")}),(0,B.jsx)(y.default,{className:"font-face-gm",onClick:function(){return e.props.cardEdit({id:e.props.id})},style:{minWidth:"50px",marginRight:"10px",backgroundColor:this.props.secondaryColor,borderColor:"white"},type:"primary",children:(0,A.L)("Update")}),(0,B.jsx)(y.default,{className:"font-face-gm",onClick:this.handleClickOutside,style:{borderColor:this.props.secondaryColor},type:"default",children:(0,B.jsx)(q.Z,{})})]})})}),(0,B.jsx)(Y.default,{className:"font-face-gm",title:(0,B.jsx)("div",{style:{fontSize:"1.3em",paddingBottom:"0px",marginBottom:"0px"},children:this.props.title.length>18?this.props.title.substr(0,18)+"...":this.props.title}),avatar:a,description:(0,B.jsx)("div",{style:{paddingTop:"0px",marginTop:"-15px"},children:this.props.subTitle.length>18?this.props.subTitle.substr(0,18)+"...":this.props.subTitle})})]})})})})}}]),i}(m.Component),$=X,ee=i(7259),te=i(81787),ie=i(57230),ae=i(86029),se=i(45972),ne=i(39142),le=i(12223),re=i(43307),oe=(0,h.f3)(W.Z.TenantStore,W.Z.SessionStore)(a=(0,h.Pi)(a=function(e){(0,d.Z)(i,e);var t=(0,c.Z)(i);function i(){var e;(0,r.Z)(this,i);for(var a=arguments.length,o=new Array(a),d=0;d<a;d++)o[d]=arguments[d];return(e=t.call.apply(t,[this].concat(o))).tenantEdit_FormRef=m.createRef(),e.state={createOwn:!1,createOthers:!1,editOwn:!1,editOthers:!1,deleteOwn:!1,deleteOthers:!1,allowConfiguration:!1,reportDataConfig:[],currentState:1,currentStates:[],collapseTitle:!1,deleteDrawerVisible:!1,
1createModalVisible:!1,editModalVisible:!1,isMobile:!1,cardHeight:"",defaultProfileImage:"",maxResultCount:50,skipCount:0,tenantId:0,filter:"",loading:!0,dataTableText:(0,A.L)("Fetching Companies..."),formSize:"",cardSize:"",searchSize:"",tableSize:"",currentTab:"swilab",roles:[],currentUserID:0,currentLoginName:"",currentLoginLastName:"",profileImageID:0,profileImageURL:"",currentUsername:"",currentEmailAddres:"",currentTenantName:"",primaryTenantColor:"#dadada",secondaryTenantColor:"#dadada",tenantImageID:0,tenantImageURL:"https://swilab.com/images/devLogo.png",tenantTitle:"",tenantSubscriptionStart:"",tenantSubscriptionEnd:"",tenantSubscriptionActive:!1,titleStringLength:20,subtitleStringLength:20},e.updateRuleConfig=function(){var t=(0,l.Z)((0,n.Z)().mark((function t(i){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.setState({loading:!0}),e.setState({reportDataConfig:i}),e.setState({loading:!1});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e.handleResize=function(){window.innerWidth<=1e3?window.innerWidth<=800?window.innerWidth<=740?e.setState({titleStringLength:20,subtitleStringLength:23}):e.setState({titleStringLength:12,subtitleStringLength:15}):e.setState({titleStringLength:16,subtitleStringLength:20}):e.setState({titleStringLength:20,subtitleStringLength:23}),e.setState({formSize:window.innerWidth.toString()+"px",tableSize:(.95*window.innerWidth).toString()+"px"}),window.innerWidth>=550?e.setState({cardHeight:"60px",isMobile:!1}):e.setState({cardHeight:"100px",isMobile:!0}),window.innerWidth>=750?e.setState({collapseTitle:!1}):e.setState({collapseTitle:!0})},e.handleTableChange=function(t){e.setState({skipCount:(t.current-1)*e.state.maxResultCount},(0,l.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getAll();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))))},e.EditModal=function(){e.setState({editModalVisible:!e.state.editModalVisible})},e.CreateModal=function(){e.setState({createModalVisible:!e.state.createModalVisible})},e.handleCreate=function(t){var i=t;i.userID=0,e.props.tenantStore.create(i),s.ZP.open({message:(0,A.L)("Confirmation"),description:(0,A.L)("Company Successfully Created")}),e.setState({tenantId:0,createModalVisible:!1,editModalVisible:!1,defaultProfileImage:""}),e.getAll()},e.handleUpdate=function(t){e.props.tenantStore.update(t),s.ZP.open({message:(0,A.L)("Confirmation"),description:(0,A.L)("Company Successfully Updated")}),e.setState({tenantId:0,createModalVisible:!1,editModalVisible:!1,defaultProfileImage:""}),e.getAll()},e.uploadImage=function(){var t=(0,l.Z)((0,n.Z)().mark((function t(i){var a;return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.tenantStore.uploadProfileImage(i);case 2:return a=t.sent,t.abrupt("return",a.url);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e.handleSearch=function(t){e.setState({filter:t},(0,l.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getAll();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))))},e.handleCancel=function(){e.setState({editModalVisible:!1,createModalVisible:!1,defaultProfileImage:"",tenantId:0}),e.props.tenantStore.resetAssetCache()},e.getProfileImage=function(){var t=(0,l.Z)((0,n.Z)().mark((function t(i){var a;return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.tenantStore.getProfileImage(i);case 2:return a=t.sent,t.abrupt("return",a);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e}return(0,o.Z)(i,[{key:"getLoginInfo",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==this.state.currentUserID){e.next=6;break}return this.setState({loading:!0}),e.next=4,this.props.sessionStore.getCurrentLoginInformations();case 4:t=this.props.sessionStore.currentLogin,this.setState({currentLoginName:t.user.name,currentLoginLastName:t.user.surname,profileImageID:t.user.profileImageID,profileImageURL:t.user.profileImageURL,currentUsername:t.user.userName,currentEmailAddres:t.user.emailAddress,currentTenantName:t.tenant.tenancyName,primaryTenantColor:t.tenant.primaryColor,secondaryTenantColor:t.tenant.secondaryColor,tenantImageID:t.tenant.profileImageID,tenantTitle:t.tenant.title,tenantSubscriptionActive:t.tenant.subscriptionActive,roles:t.roles,currentUserID:t.user.userID});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentDidMount",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,ne.Wg1)("en_US"),(0,ne.KdS)(),window.innerWidth<=1e3?window.innerWidth<=800?window.innerWidth<=740?this.setState({titleStringLength:20,subtitleStringLength:23}):this.setState({titleStringLength:12,subtitleStringLength:15}):this.setState({titleStringLength:16,subtitleStringLength:20}):this.setState({titleStringLength:20,subtitleStringLength:23}),!0===this.isGranted(re.J.Tenants)&&(!0===this.isGranted(re.J.Tenants_Own)&&(!0===this.isGranted(re.J.Tenants_CreateOwn)&&this.setState({createOwn:!0}),!0===this.isGranted(re.J.Tenants_EditOwn)&&this.setState({editOwn:!0}
1),!0===this.isGranted(re.J.Tenants_DeleteOwn)&&this.setState({deleteOwn:!0})),!0===this.isGranted(re.J.Tenants_Others)&&(!0===this.isGranted(re.J.Tenants_CreateOthers)&&this.setState({createOthers:!0}),!0===this.isGranted(re.J.Tenants_EditOthers)&&this.setState({editOthers:!0}),!0===this.isGranted(re.J.Tenants_DeleteOthers)&&this.setState({deleteOthers:!0}))),this.setState({formSize:window.innerWidth.toString()+"px",tableSize:(.95*window.innerWidth).toString()+"px"}),window.innerWidth>=550?this.setState({cardHeight:"60px",isMobile:!1}):this.setState({cardHeight:"100px",isMobile:!0}),window.innerWidth>=750?this.setState({collapseTitle:!1}):this.setState({collapseTitle:!0}),e.next=9,this.getLoginInfo();case 9:return e.next=11,this.props.tenantStore.resetAssetCache();case 11:return window.addEventListener("resize",this.handleResize),e.next=14,this.getAll();case 14:this.setState({loading:!1});case 15:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"handleTabChange",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState({currentTab:t});case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getAll",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.tenantStore.getAll({maxResultCount:this.state.maxResultCount,skipCount:this.state.skipCount,keyword:this.state.filter});case 2:this.setState({reportDataConfig:[]}),this.setState({reportDataConfig:this.props.tenantStore.dataExportTable});case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"createOrUpdateModalOpen",value:function(e){0===e.id?(this.props.tenantStore.createTenant(),this.setState({tenantId:e.id}),this.CreateModal()):s.ZP.open({message:(0,A.L)("Error"),description:(0,A.L)("Unable to create existing Tenant")})}},{key:"editTenant",value:function(){var e=(0,l.Z)((0,n.Z)().mark((function e(t){var i,a;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0===t.id){e.next=19;break}return this.setState({defaultProfileImage:""}),this.props.tenantStore.createTenant(),this.setState({tenantId:t.id}),this.EditModal(),this.setState({loading:!0}),e.next=8,this.props.tenantStore.get(t);case 8:if(this.props.tenantStore.profileID=this.props.tenantStore.editTenant.profileImageID,this.setState({currentState:this.props.tenantStore.editTenant.currentState,currentStates:this.props.tenantStore.tenantStates}),null===(i=this.tenantEdit_FormRef.current)||void 0===i||i.setFieldsValue(this.props.tenantStore.editTenant),this.setState({loading:!1}),0===this.props.tenantStore.profileID){e.next=17;break}return e.next=15,this.props.tenantStore.getProfileImage(this.props.tenantStore.profileID);case 15:a=e.sent,this.setState({defaultProfileImage:a});case 17:e.next=20;break;case 19:s.ZP.open({message:(0,A.L)("Error"),description:(0,A.L)("Unable to edit new Tenant")});case 20:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onDeleteOk",value:function(e){this.props.tenantStore.delete({id:e}),this.setState({deleteDrawerVisible:!1}),s.ZP.open({message:(0,A.L)("Confirmation"),description:(0,A.L)("Tenant Successfully Deleted")})}},{key:"delete",value:function(e){this.setState({tenantId:e.id}),this.setState({deleteDrawerVisible:!0})}},{key:"render",value:function(){var e=this,t=[{title:(0,A.L)("Tenant"),dataIndex:"tenant",key:"tenant",style:{backgroundColor:"black"},render:function(t,i){return{props:{style:{background:"#f5f5f5",paddingTop:"10px",paddingBottom:"10px"}},children:(0,B.jsx)("div",{children:0===e.props.tenantStore.tenants.totalCount?(0,B.jsx)($,{entityStates:e.props.tenantStore.tenantStates,currentState:void 0===i.currentStage?0:i.curentState,currentStage:i.currentState,stages:e.props.tenantStore.tenantStates,subscriptionType:i.subscriptionType,defaultIcon:(0,B.jsx)(ie.Z,{twoToneColor:e.state.secondaryTenantColor,style:{fontSize:45,padding:"5px"}}),getProfileImage:function(){return e.getProfileImage(i.profileImageID)},formSize:e.state.formSize,id:i.id,primaryColor:e.state.primaryTenantColor,secondaryColor:e.state.secondaryTenantColor,title:i.name.length>
1e.state.titleStringLength?i.name.substr(0,e.state.titleStringLength)+"...":i.name,subTitle:i.title.length>e.state.subtitleStringLength?i.title.substr(0,e.state.subtitleStringLength)+"...":i.title,cardDelete:function(){return e.delete({id:i.id})},cardView:function(){return e.editTenant({id:i.id})},cardEdit:function(){return e.editTenant({id:i.id})}}):(0,B.jsx)($,{entityStates:e.props.tenantStore.tenantStates,currentState:void 0===i.currentStage?0:i,currentStage:i.currentState,stages:e.props.tenantStore.tenantStates,subscriptionType:i.subscriptionType,defaultIcon:(0,B.jsx)(ie.Z,{twoToneColor:e.state.secondaryTenantColor,style:{fontSize:45,padding:"5px"}}),getProfileImage:function(){return e.getProfileImage(i.profileImageID)},formSize:e.state.formSize,id:i.id,primaryColor:e.state.primaryTenantColor,secondaryColor:e.state.secondaryTenantColor,title:i.name.length>e.state.titleStringLength?i.name.substr(0,e.state.titleStringLength)+"...":i.name,subTitle:i.title.length>e.state.subtitleStringLength?i.title.substr(0,e.state.subtitleStringLength)+"...":i.title,cardDelete:function(){return e.delete({id:i.id})},cardView:function(){return e.editTenant({id:i.id})},cardEdit:function(){return e.editTenant({id:i.id})}})})}}}];return(0,B.jsxs)("div",{style:{marginTop:"25px",textAlign:"center"},children:[(0,B.jsxs)("div",{children:[(0,B.jsx)(te.Z,{title:(0,A.L)("Tenants"),isMobile:this.state.collapseTitle,primaryColor:this.state.primaryTenantColor,secondaryColor:this.state.secondaryTenantColor}),(0,B.jsx)(M.V,{allowCreate:this.state.createOthers,dataSourceAnalytic:this.props.tenantStore.dataExportTable_Analytic,updateRuleConfig:function(t){return e.updateRuleConfig(t)},permissionsName:"Tenants",search_Status:[],moduleType:le.c.Tenants,dataSource:this.props.tenantStore.dataExportTable,dataSummary:this.props.tenantStore.tenants,summaryViewType:se.y.list,setSummaryViewType:function(e){return""},search_Hashtags:this.props.tenantStore.search_Hashtags,search_Mentions:this.props.tenantStore.search_Mentions,moduleName:(0,A.L)("Tenants"),headerLoading:(void 0!==this.props.tenantStore.tenants||
1!0!==this.state.loading)&&this.state.loading,showHeader:!1,primaryColor:this.state.primaryTenantColor,secondaryColor:this.state.secondaryTenantColor,entityType:G.Q.Entity,dataTableImage:(0,B.jsx)(ae.Z,{style:{fontSize:"4em"},twoToneColor:[this.state.primaryTenantColor,"#f1f2f5"]}),dataTableText:this.state.dataTableText,columns:t,handleSearch:function(t){return e.props.tenantStore.getAll({keyword:t,maxResultCount:50,skipCount:0})},createOrUpdateModalOpen:function(t){return e.createOrUpdateModalOpen(t)},showHelp:function(){return""}})]}),(0,B.jsx)(U,{currentState:this.state.currentState,tenantStates:this.state.currentStates,entityID:this.state.tenantId,profileImageID:this.props.tenantStore.profileID,formRef:this.tenantEdit_FormRef,isMobile:this.state.isMobile,visible:this.state.editModalVisible,loading:this.state.loading,primaryColor:this.state.primaryTenantColor,secondaryColor:this.state.secondaryTenantColor,defaultImage:this.state.defaultProfileImage,onCreate:this.handleUpdate,onCancel:this.handleCancel,uploadProfileImage:this.uploadImage}),(0,B.jsx)(_,{tenantStates:this.props.tenantStore.tenantStates,profileImageID:this.props.tenantStore.profileID,isMobile:this.state.isMobile,visible:this.state.createModalVisible,loading:this.state.loading,primaryColor:this.state.primaryTenantColor,secondaryColor:this.state.secondaryTenantColor,defaultImage:"",onCreate:this.handleCreate,onCancel:this.handleCancel,uploadProfileImage:this.uploadImage}),(0,B.jsx)(ee.Z,{isMobile:this.state.isMobile,primaryColor:this.state.primaryTenantColor,secondaryColor:this.state.secondaryTenantColor,visible:this.state.deleteDrawerVisible,text:(0,A.L)("Delete Tenant?"),idReference:this.state.tenantId,includeConfirm:!0,onCancel:function(){return e.setState({deleteDrawerVisible:!1})},onConfirm:function(){return e.onDeleteOk(e.state.tenantId)}})]})}}]),i}(V.Z))||a)||a,de=oe}}]); 2//# sourceMappingURL=920.680f5b28.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.