{"version":3,"sources":["assets/jss/material-kit-react.js","assets/jss/material-kit-react/components/buttonStyle.js","components/CustomButtons/Button.js","assets/jss/material-kit-react/components/customDropdownStyle.js","components/CustomDropdown/CustomDropdown.js","assets/jss/material-kit-react/components/customInputStyle.js","components/CustomInput/CustomInput.js","assets/jss/material-kit-react/components/headerStyle.js","components/Header/Header.js","assets/jss/material-kit-react/components/footerStyle.js","components/Footer/Footer.js","components/Grid/GridContainer.js","components/Grid/GridItem.js","assets/jss/material-kit-react/components/parallaxStyle.js","components/Parallax/Parallax.js","Utils/auth.js","Utils/executeAPIRequest.js","assets/jss/material-kit-react/views/components.js","views/Components/MedicalAidList.js","views/Components/BankDetailsList.js","views/Components/RelationshipList.js","assets/img/banner.png","Utils/passportChecker.js","assets/img/Doctor.png","views/Components/Components.js","index.js","assets/img/time.png"],"names":["container","paddingRight","paddingLeft","marginRight","marginLeft","width","maxWidth","defaultFont","fontFamily","fontWeight","lineHeight","primaryColor","secondaryColor","secondaryGreyColor","warningColor","dangerColor","successColor","infoColor","roseColor","grayColor","primaryBoxShadow","boxShadow","infoBoxShadow","successBoxShadow","warningBoxShadow","dangerBoxShadow","roseBoxShadow","buttonStyle","color","background","margin","paddingTop","borderTop","height","textDecoration","marginTop","button","minHeight","minWidth","backgroundColor","border","borderRadius","position","padding","fontSize","textTransform","letterSpacing","willChange","transition","textAlign","whiteSpace","verticalAlign","touchAction","cursor","display","top","transform","left","fullWidth","primary","secondary","secondarygrey","info","success","warning","danger","rose","white","twitter","facebook","google","github","simple","transparent","disabled","opacity","pointerEvents","lg","sm","round","block","link","justIcon","makeComponentStyles","makeStyles","RegularButton","React","forwardRef","props","ref","children","size","className","rest","classes","btnClasses","classNames","Button","customDropdownStyle","theme","popperClose","dropdown","zIndex","listStyle","backgroundClip","menuList","popperResponsive","breakpoints","down","float","dropdownItem","clear","blackHover","primaryHover","infoHover","successHover","warningHover","dangerHover","roseHover","dropdownItemRTL","dropdownDividerItem","overflow","buttonIcon","caret","borderRight","borderLeft","caretActive","caretRTL","dropdownHeader","noLiPadding","useStyles","styles","CustomDropdown","useState","anchorEl","setAnchorEl","handleClose","param","onClick","handleCloseAway","event","contains","target","buttonText","dropdownList","buttonProps","dropup","hoverColor","rtlActive","caretClasses","Boolean","icon","Icon","style","borderBottom","currentTarget","undefined","Popper","open","disablePortal","placement","Grow","in","id","transformOrigin","Paper","ClickAwayListener","onClickAway","MenuList","role","MenuItem","map","prop","key","divider","Divider","defaultProps","customInputStyle","borderColor","underline","borderWidth","underlineError","underlineSuccess","whiteUnderline","labelRoot","labelRootError","labelRootSuccess","formControl","input","whiteInput","CustomInput","formControlClasses","formControlProps","labelText","labelProps","inputProps","error","inputRootCustomClasses","labelClasses","underlineClasses","inputClasses","FormControl","InputLabel","htmlFor","Input","root","headerStyle","appBar","marginBottom","alignItems","flexFlow","justifyContent","absolute","fixed","flex","flexWrap","title","appResponsive","dark","drawerPaper","bottom","transitionProperty","transitionDuration","transitionTimingFunction","right","visibility","overflowY","footerStyle","footer","a","footerWhiteFont","list","inlineBlock","Footer","whiteFont","footerClasses","grid","GridContainer","Grid","flexBasis","GridItem","item","parallaxStyle","parallax","maxHeight","backgroundPosition","backgroundSize","filter","content","small","BASE_URL","window","location","hostname","_auth","ClientOAuth2","clientId","clientSecret","accessTokenUri","authorizationGrants","scope","Auth","instance","this","tokenExpiredEvent","document","createEvent","initEvent","username","password","owner","getToken","grant","login","expired","refresh","accessToken","handleResponse","response","status","contentType","headers","get","includes","text","then","textRes","JSON","parse","bodyText","errorString","statusText","Error","options","uri","Accept","_options","cache","Headers","body","stringify","hasParams","Object","keys","qs","length","request","Request","querystring","fetch","componentsStyle","brand","subtitle","main","mainRaised","infoBubble","headerPrimary","headerSecondary","textCenter","fontClass","dropdownWidth","inputDropdown","medicalAidList","value","bankDetailList","relationshipList","isValidPassport","number","test","getCodes","hist","createBrowserHistory","ReactDOM","render","history","path","component","currentDate","Date","getZipInfo","intermediaryInitialsChange","setIntermediaryInitialChange","intermediarySurnameChange","setIntermediarySurnameChange","brokerCodeChange","setBrokerCodeChange","coverOption","setCoverOption","nameChange","setNameChange","medicalNumberChange","setMedicalNumberChange","dependantMedicalNumberChange","setDependantMedicalNumberChange","surnameChange","setSurnameChange","idChange","setIDChange","idTypeChange","setIDType","dateOfBirth","setDateOfBirth","setTitle","email","setEmailChange","telNumber","setTellChange","checkedAlternativeAddress","setCheckedAlternativeAddress","postalAddrA","setPosAddr1Change","postalAddrB","setPosAddr2Change","postalSuburb","setPosSuburbChange","postalCity","setPosCityChange","addrA","setAddr1Change","addrB","setAddr2Change","suburb","setSuburbChange","city","setCityChange","zipCode","setZipChange","postalzipCode","setPostalZipChange","suburbList","setSuburbList","principalMedAid","setPrincipalMedAidChange","principalDueDate","setPrincipalDueDate","principalHasGap","setPrincipalHasGapCoverChange","principalGapProvider","setPrincipalGapProvider","principalGapCoverStart","setPrincipalGapCoverStart","principalGapCoverEnd","setPrincipleGapCoverEnd","medicalDisclosure","setMedicalDisclosure","dependantMedicalAdmissionDate","setDependantMedicalAdmissionDate","dependantMedicalAdmissionDetail","setDependantMedicalAdmissionDetail","principleAdmissionDetail","setPrincipleAdmissionDetail","principleAdmissionDate","setPrincipleAdmissionDate","discloseMedicalAdmission","setdiscloseMedicalAdmission","discloseDependantMedicalAdmission","setDiscloseDepandantMedicalAdmission","lastHospitalAdmission","setlastHospitalAdmission","principalHospAdmissionDetail","setPrincipalHospAdmissionDetail","dependantHospAdmissionDetail","setDependantHospAdmissionDetail","principalHospAdmissionDate","setPrincipalHospAdmissionDate","pregnancyDisclosure","setPregnancyDisclosure","dependantmedicalDisclosure","setDependantmedicalDisclosure","chronicDisclosure","setchronicDisclosure","principalChronicDetail","setPrincipalChronicDetail","principalCoverStartDate","setPrincipalCoverStartDate","checkedDisclaimerA","setCheckedDisclaimerA","checkedDisclaimerB","setCheckedDisclaimerB","checkedWhatsappUpdates","setCheckedWhatsappUpdates","checkedIntermediary","setCheckedIntermediary","bankName","setBankName","branchCode","setBranchCode","accountNumber","setAccountNumber","accountHolderName","setAccountHolderName","accountType","setAccountType","collectionDate","setCollectionDate","formSubmit","setFormSubmit","loading","setLoading","loadingCode","setLoadingCode","onSearch","setOnSearch","acceptPremium","setPremiumAccept","acceptBankDetails","setAcceptBankDetails","policyCreating","setPolicyCreating","premium","setPremium","dependantlastHospitalAdmission","setDependantLastHospitalAdmission","dependantChronicDisclosure","setDependantChronicDisclosure","dependantName","setDependantName","dependantPregnancyDisclosure","setDependantPregnancyDisclosure","dependantSurname","setDependantSurname","dependantID","setDependantID","dependantIDType","setDependantIDType","dependantDOB","setDependantDOB","dependantRelationshipToPrinciple","setdependantRelationshipToPrinciple","dependantChronicDetail","setDependantChronicDetail","dependantHasSameMedAid","setdependantHasSameMedAidChange","dependantHospAdmissionDate","setDependantHospAdmissionDate","dependantDueDate","setDependantDueDate","dependantMedAidIndex","setdependantMedAidIndex","principalMedAidIndex","setPrincipalMedAidIndex","dependantMedAid","setdependantMedAidChange","dependantHasGapCover","setdependantHasGapCoverChange","dependantGapProvider","setdependantGapProvider","dependantGapCoverStart","setdependantGapCoverStart","dependantGapCoverEnd","setdependantGapCoverEnd","nominatedBenSubmitted","setNominatedBenSubmitted","dependantCoverStartDate","setdependantCoverStartDateChange","dependantInfo","setdependantInfo","setCurrentdependant","benName","setbenName","benSurname","setBenSurname","benID","setBenID","setBenIDType","benEmail","setBenEmail","benTelNumber","setBenTelNumber","benRelationshipToPrinciple","setBenRelationshipToPrinciple","setOpen","onOpenModal","defaultList","setDefaultList","handleRemoveItem","e","name","getAttribute","i","console","log","dependantList","splice","array","monthsToShow","CustomDateInput","years","start","end","ans","push","range","getFullYear","months","getMonthsAvailable","d","tmpDate","setMonth","getMonth","toLocaleString","month","submitdependantInfo","parseInt","substr","dependant","newdependantInfo","alert","dob","getDob","dt","yr","toString","yrNext","startCoverDate","addDays","data","toLowerCase","dependantJson","forEach","dep","getDobDep","method","cmd","coverStartDate","executeAPIRequest","result","totalPremium","date","days","setDate","getDate","idNumber","Year","substring","Month","Day","validateFormData","getRate","backToNomBen","generateSuburbList","suburbArray","SUBURB","TOWN","CODE","optionsB","responseB","setactualCoverStartDate","prinGender","genFromId","type1","startDate","endDate","slice","risksJson","principalData","pricipalJson","depDob","type2","depGender","depRel","depJson","json","Number","customerData","getPostData","options1","cbTempalteId","cbSessionId","message","sessionId","response1","replace","customerURL","admitted_to_hosp","medication1","date_diagnosed1","dependant1","expecting_hosp_admission","medication2","date_diagnosed2","dependant2","pregnant_check","date_diagnosed3","dependant3","taking_chronic_medication","medication4","dependant4","ben_1_full_name","ben_1_id","ben_1_gender","ben_1_dob","ben_1_rta","ben_2_full_name","ben_2_id","ben_2_gender","ben_2_dob","ben_2_rta","ben_3_full_name","ben_3_id","ben_3_gender","ben_3_dob","ben_3_rta","ben_4_full_name","ben_4_id","ben_4_gender","ben_4_dob","ben_4_rta","submitBankingDetails","submitFormData","showLoader","type","timeout","ShowPremium","xs","md","justify","FormControlLabel","control","Switch","checked","onChange","switchBase","switchChecked","thumb","switchIcon","track","switchBar","label","ShowMedicalAdmissionDetails","rows","onInput","handleMedicalAdmissionDetails","dateFormat","selected","peekNextMonth","showMonthDropdown","showYearDropdown","dropdownMode","customInput","ShowDetailsOfTreatment","handleDetailsOfTreatment","ShowChronicDetails","handleChronicDetail","ShowPrincIsPregnant","menuItem","navLink","ShowPostalAddress","placeholder","defaultValue","onFocus","onSelect","res","split","handlePostalSuburbChange","AdditionalDetailsPrincipal","AdditionalDetailsDependant","DependantMedicalAidInfo","ShowPassportDetails","onBlur","setIDChangeFunc","showPrincipleDOBPicker","ShowBanner","intermediary","flexDirection","backgroundRepeat","src","doctor","renderCustomHeader","changeYear","changeMonth","decreaseMonth","increaseMonth","prevMonthButtonDisabled","nextMonthButtonDisabled","option","indexOf","ShowDependantMedicalAdmissionDetails","handleDependentMedicalAdmission","ShowDependantDetailsOfTreatment","handleDependentHospitalAdmission","ShowDependantChronicDetails","handleDependentChronicDetail","banner","handleSuburbChange","paddingBottom","onClose","center","submitBenInfo","getElementById"],"mappings":"8ZAiCMA,EAAS,2BAPQ,CACrBC,aAAc,OACdC,YAAa,OACbC,YAAa,OACbC,WAAY,OACZC,MAAO,SAEM,IAEb,4BAA6B,CAC3BC,SAAU,SAEZ,4BAA6B,CAC3BA,SAAU,SAEZ,4BAA6B,CAC3BA,SAAU,SAEZ,6BAA8B,CAC5BA,SAAU,YAoBRC,EAAc,CAClBC,WAAY,6CACZC,WAAY,MACZC,WAAY,SAIRC,EAAe,UACfC,EAAiB,UACjBC,EAAqB,UACrBC,EAAe,UACfC,EAAc,UACdC,EAAe,UACfC,EAAY,UACZC,EAAY,UACZC,EAAY,UAEZC,EAAmB,CACvBC,UACE,0HAEEC,EAAgB,CACpBD,UACE,wHAEEE,EAAmB,CACvBF,UACE,wHAEEG,EAAmB,CACvBH,UACE,wHAEEI,EAAkB,CACtBJ,UACE,wHAEEK,EAAgB,CACpBL,UACE,+EC+OWM,GD5OQ,aACrBC,MAAO,OACPC,WAAY,4CACTL,GAEkB,aACrBI,MAAO,OACPC,WAAY,4CACTN,GAGoB,aACvBK,MAAO,OACPC,WAAY,4CACTN,GAEwB,aAC3BK,MAAO,OACPC,WAAY,4CACTN,GAEiB,aACpBK,MAAO,OACPC,WAAY,4CACTJ,GAEe,aAClBG,MAAO,OACPC,WAAY,4CACTP,GAEkB,aACrBM,MAAO,OACPC,WAAY,4CACTT,GAEe,aAClBQ,MAAO,OACPC,WAAY,4CACTH,GAEY,aACfI,OAAQ,cACRC,WAAY,OACZC,UAAW,oBACXC,OAAQ,QACL1B,GA0BU,2BARD,CACZqB,MAAO,UACPE,OAAQ,qBACRI,eAAgB,OAChBzB,WAAY,MACZD,WAAW,4CAGE,IAEb2B,UAAW,YC3KO,CAClBC,OAAQ,CACNC,UAAW,OACXC,SAAU,OACVC,gBAAiBpB,EACjBS,MAAO,UACPP,UACE,wHACFmB,OAAQ,OACRC,aAAc,MACdC,SAAU,WACVC,QAAS,YACTb,OAAQ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,GAAIqlB,GAAI,GAAI1gB,MAAO,CAAExG,UAAW,UAAtD,UACI,cAAC,EAAD,CAAQrB,MAAM,gBAAgB8G,QAAS,SAAA8Y,GAAC,OAAI+D,MAAgB9b,MAAO,CAAEuD,aAAc,QAAnF,kBACA,cAAC,EAAD,CAAQpL,MAAM,YAAY8G,QAAS,SAAA8Y,GAAC,OAAIoI,MAAwBngB,MAAO,CAAEuD,aAAc,QAAvF,gCASZ,uBA5fJmQ,GACQ,8BACJ,cAACnO,GAAD,CAAUkb,GAAI,GAAIplB,GAAI,GAAIqlB,GAAI,GAAI1gB,MAAO,CAAEpJ,MAAO,OAAQD,WAAY,OAAQD,YAAa,QAA3F,SACI,qBAAKsJ,MAAO,CAAErJ,WAAY,OAA1B,SACI,cAAC,KAAD,CACI2pB,KAAK,OACLnoB,MAAM,UACNK,OAAQ,IACR5B,MAAO,IACP2pB,QAAS,YAMlB/M,KAAsBE,GACrB,6BADL,UAg6DH,cAAC1O,GAAD,cCxzHVgC,SAASoe,eAAe,W","file":"static/js/main.7161128b.chunk.js","sourcesContent":["/*!\r\n\r\n =========================================================\r\n * Material Kit React - v1.8.0 based on Material Kit - v2.0.2\r\n =========================================================\r\n\r\n * Product Page: https://www.creative-tim.com/product/material-kit-react\r\n * Copyright 2019 Creative Tim (https://www.creative-tim.com)\r\n * Licensed under MIT (https://github.com/creativetimofficial/material-kit-react/blob/master/LICENSE.md)\r\n\r\n =========================================================\r\n\r\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\n */\r\n\r\n// ##############################\r\n// // // Variables - Styles that are used on more than one component\r\n// #############################\r\n\r\nconst drawerWidth = 260;\r\n\r\nconst transition = {\r\n transition: \"all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)\"\r\n};\r\n\r\nconst conatinerFluid = {\r\n paddingRight: \"15px\",\r\n paddingLeft: \"15px\",\r\n marginRight: \"auto\",\r\n marginLeft: \"auto\",\r\n width: \"100%\"\r\n};\r\nconst container = {\r\n ...conatinerFluid,\r\n \"@media (min-width: 576px)\": {\r\n maxWidth: \"600px\"\r\n },\r\n \"@media (min-width: 768px)\": {\r\n maxWidth: \"720px\"\r\n },\r\n \"@media (min-width: 992px)\": {\r\n maxWidth: \"960px\"\r\n },\r\n \"@media (min-width: 1200px)\": {\r\n maxWidth: \"1140px\"\r\n }\r\n};\r\n\r\nconst boxShadow = {\r\n boxShadow:\r\n \"0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)\"\r\n};\r\n\r\nconst card = {\r\n display: \"inline-block\",\r\n position: \"relative\",\r\n width: \"100%\",\r\n margin: \"25px 0\",\r\n boxShadow: \"0 1px 4px 0 rgba(0, 0, 0, 0.14)\",\r\n borderRadius: \"3px\",\r\n color: \"rgba(0, 0, 0, 0.87)\",\r\n background: \"#fff\"\r\n};\r\n\r\nconst defaultFont = {\r\n fontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n fontWeight: \"300\",\r\n lineHeight: \"1.5em\",\r\n\r\n};\r\n\r\nconst primaryColor = \"#0d82d1\";\r\nconst secondaryColor = \"#fdb812\";\r\nconst secondaryGreyColor = \"#292828\";\r\nconst warningColor = \"#ff9800\";\r\nconst dangerColor = \"#f44336\";\r\nconst successColor = \"#4caf50\";\r\nconst infoColor = \"#00acc1\";\r\nconst roseColor = \"#00acc1\";\r\nconst grayColor = \"#999999\";\r\n\r\nconst primaryBoxShadow = {\r\n boxShadow:\r\n \"0 12px 20px -10px rgba(156, 39, 176, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 161, 230, 0.44)\"\r\n};\r\nconst infoBoxShadow = {\r\n boxShadow:\r\n \"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)\"\r\n};\r\nconst successBoxShadow = {\r\n boxShadow:\r\n \"0 12px 20px -10px rgba(76, 175, 80, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(76, 175, 80, 0.2)\"\r\n};\r\nconst warningBoxShadow = {\r\n boxShadow:\r\n \"0 12px 20px -10px rgba(255, 152, 0, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(255, 152, 0, 0.2)\"\r\n};\r\nconst dangerBoxShadow = {\r\n boxShadow:\r\n \"0 12px 20px -10px rgba(244, 67, 54, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(244, 67, 54, 0.2)\"\r\n};\r\nconst roseBoxShadow = {\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.2)\"\r\n};\r\n\r\nconst warningCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #ffa726, #fb8c00)\",\r\n ...warningBoxShadow\r\n};\r\nconst successCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #66bb6a, #43a047)\",\r\n ...successBoxShadow\r\n};\r\n\r\nconst secondaryCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #66bb6a, #43a047)\",\r\n ...successBoxShadow\r\n};\r\nconst secondaryGreyCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #66bb6a, #43a047)\",\r\n ...successBoxShadow\r\n};\r\nconst dangerCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #ef5350, #e53935)\",\r\n ...dangerBoxShadow\r\n};\r\nconst infoCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #26c6da, #00acc1)\",\r\n ...infoBoxShadow\r\n};\r\nconst primaryCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #ab47bc, #8e24aa)\",\r\n ...primaryBoxShadow\r\n};\r\nconst roseCardHeader = {\r\n color: \"#fff\",\r\n background: \"linear-gradient(60deg, #ec407a, #d81b60)\",\r\n ...roseBoxShadow\r\n};\r\nconst cardActions = {\r\n margin: \"0 20px 10px\",\r\n paddingTop: \"10px\",\r\n borderTop: \"1px solid #eeeeee\",\r\n height: \"auto\",\r\n ...defaultFont\r\n};\r\n\r\nconst cardHeader = {\r\n margin: \"-30px 15px 0\",\r\n borderRadius: \"3px\",\r\n padding: \"15px\"\r\n};\r\n\r\nconst defaultBoxShadow = {\r\n border: \"0\",\r\n borderRadius: \"3px\",\r\n boxShadow:\r\n \"0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)\",\r\n padding: \"10px 0\",\r\n transition: \"all 150ms ease 0s\"\r\n};\r\n\r\nconst title = {\r\n color: \"#3C4858\",\r\n margin: \"1.75rem 0 0.875rem\",\r\n textDecoration: \"none\",\r\n fontWeight: \"700\",\r\n fontFamily: `\"Roboto Slab\", \"Times New Roman\", serif`\r\n};\r\n\r\nconst cardTitle = {\r\n ...title,\r\n marginTop: \".625rem\"\r\n};\r\n\r\nconst cardLink = {\r\n \"& + $cardLink\": {\r\n marginLeft: \"1.25rem\"\r\n }\r\n};\r\n\r\nconst cardSubtitle = {\r\n marginBottom: \"0\",\r\n marginTop: \"-.375rem\"\r\n};\r\n\r\nexport {\r\n //variables\r\n drawerWidth,\r\n transition,\r\n container,\r\n conatinerFluid,\r\n boxShadow,\r\n card,\r\n defaultFont,\r\n primaryColor,\r\n secondaryColor,\r\n secondaryGreyColor,\r\n warningColor,\r\n dangerColor,\r\n successColor,\r\n infoColor,\r\n roseColor,\r\n grayColor,\r\n primaryBoxShadow,\r\n infoBoxShadow,\r\n successBoxShadow,\r\n warningBoxShadow,\r\n dangerBoxShadow,\r\n roseBoxShadow,\r\n warningCardHeader,\r\n successCardHeader,\r\n dangerCardHeader,\r\n secondaryCardHeader,\r\n secondaryGreyCardHeader,\r\n infoCardHeader,\r\n primaryCardHeader,\r\n roseCardHeader,\r\n cardActions,\r\n cardHeader,\r\n defaultBoxShadow,\r\n title,\r\n cardTitle,\r\n cardLink,\r\n cardSubtitle\r\n};\r\n","import {\r\n grayColor,\r\n roseColor,\r\n primaryColor,\r\n infoColor,\r\n successColor,\r\n warningColor,\r\n dangerColor, secondaryColor, secondaryGreyColor\r\n} from \"assets/jss/material-kit-react.js\";\r\n\r\nconst buttonStyle = {\r\n button: {\r\n minHeight: \"auto\",\r\n minWidth: \"auto\",\r\n backgroundColor: grayColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(153, 153, 153, 0.14), 0 3px 1px -2px rgba(153, 153, 153, 0.2), 0 1px 5px 0 rgba(153, 153, 153, 0.12)\",\r\n border: \"none\",\r\n borderRadius: \"3px\",\r\n position: \"relative\",\r\n padding: \"12px 30px\",\r\n margin: \".3125rem 1px\",\r\n fontSize: \"12px\",\r\n fontWeight: \"400\",\r\n textTransform: \"unset\",\r\n letterSpacing: \"0\",\r\n willChange: \"box-shadow, transform\",\r\n transition:\r\n \"box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)\",\r\n lineHeight: \"1.42857143\",\r\n textAlign: \"center\",\r\n whiteSpace: \"nowrap\",\r\n verticalAlign: \"middle\",\r\n touchAction: \"manipulation\",\r\n cursor: \"pointer\",\r\n \"&:hover,&:focus\": {\r\n color: \"#FFFFFF\",\r\n backgroundColor: grayColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(153, 153, 153, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(153, 153, 153, 0.2)\"\r\n },\r\n \"& .fab,& .fas,& .far,& .fal,& .material-icons\": {\r\n position: \"relative\",\r\n display: \"inline-block\",\r\n top: \"0\",\r\n fontSize: \"1.1rem\",\r\n marginRight: \"4px\",\r\n verticalAlign: \"middle\"\r\n },\r\n \"& svg\": {\r\n position: \"relative\",\r\n display: \"inline-block\",\r\n top: \"0\",\r\n width: \"18px\",\r\n height: \"18px\",\r\n marginRight: \"4px\",\r\n verticalAlign: \"middle\"\r\n },\r\n \"&$justIcon\": {\r\n \"& .fab,& .fas,& .far,& .fal,& .material-icons\": {\r\n marginRight: \"0px\",\r\n position: \"absolute\",\r\n width: \"100%\",\r\n transform: \"none\",\r\n left: \"0px\",\r\n top: \"0px\",\r\n height: \"100%\",\r\n lineHeight: \"41px\",\r\n fontSize: \"20px\"\r\n }\r\n }\r\n },\r\n fullWidth: {\r\n width: \"100%\"\r\n },\r\n primary: {\r\n backgroundColor: primaryColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(156, 39, 176, 0.14), 0 3px 1px -2px rgba(156, 39, 176, 0.2), 0 1px 5px 0 rgba(156, 39, 176, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: primaryColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(156, 39, 176, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(156, 39, 176, 0.2)\"\r\n }\r\n },\r\n secondary: {\r\n backgroundColor: secondaryColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(253, 184, 18, 0.15), 0 4px 23px 0px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(253, 184, 18,0.15)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: secondaryColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(253, 184, 18, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(253, 184, 18,0.25)\"\r\n }\r\n },\r\n secondarygrey: {\r\n backgroundColor: secondaryGreyColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(41, 40, 40, 0.15), 0 4px 23px 0px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(41, 40, 40,0.15)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: secondaryGreyColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(41, 40, 40, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(41, 40, 40,0.25)\"\r\n }\r\n },\r\n info: {\r\n backgroundColor: infoColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(0, 188, 212, 0.14), 0 3px 1px -2px rgba(0, 188, 212, 0.2), 0 1px 5px 0 rgba(0, 188, 212, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: infoColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(0, 188, 212, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 188, 212, 0.2)\"\r\n }\r\n },\r\n success: {\r\n backgroundColor: successColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: successColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(76, 175, 80, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(76, 175, 80, 0.2)\"\r\n }\r\n },\r\n warning: {\r\n backgroundColor: warningColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(255, 152, 0, 0.14), 0 3px 1px -2px rgba(255, 152, 0, 0.2), 0 1px 5px 0 rgba(255, 152, 0, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: warningColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(255, 152, 0, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(255, 152, 0, 0.2)\"\r\n }\r\n },\r\n danger: {\r\n backgroundColor: dangerColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(244, 67, 54, 0.14), 0 3px 1px -2px rgba(244, 67, 54, 0.2), 0 1px 5px 0 rgba(244, 67, 54, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: dangerColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(244, 67, 54, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(244, 67, 54, 0.2)\"\r\n }\r\n },\r\n rose: {\r\n backgroundColor: roseColor,\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(233, 30, 99, 0.14), 0 3px 1px -2px rgba(233, 30, 99, 0.2), 0 1px 5px 0 rgba(233, 30, 99, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: roseColor,\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(233, 30, 99, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(233, 30, 99, 0.2)\"\r\n }\r\n },\r\n white: {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n backgroundColor: \"#FFFFFF\",\r\n color: grayColor\r\n }\r\n },\r\n twitter: {\r\n backgroundColor: \"#55acee\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(85, 172, 238, 0.14), 0 3px 1px -2px rgba(85, 172, 238, 0.2), 0 1px 5px 0 rgba(85, 172, 238, 0.12)\",\r\n \"&:hover,&:focus,&:visited\": {\r\n backgroundColor: \"#55acee\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(85, 172, 238, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(85, 172, 238, 0.2)\"\r\n }\r\n },\r\n facebook: {\r\n backgroundColor: \"#3b5998\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(59, 89, 152, 0.14), 0 3px 1px -2px rgba(59, 89, 152, 0.2), 0 1px 5px 0 rgba(59, 89, 152, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: \"#3b5998\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(59, 89, 152, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(59, 89, 152, 0.2)\"\r\n }\r\n },\r\n google: {\r\n backgroundColor: \"#dd4b39\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(221, 75, 57, 0.14), 0 3px 1px -2px rgba(221, 75, 57, 0.2), 0 1px 5px 0 rgba(221, 75, 57, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: \"#dd4b39\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(221, 75, 57, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(221, 75, 57, 0.2)\"\r\n }\r\n },\r\n github: {\r\n backgroundColor: \"#333333\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 2px 2px 0 rgba(51, 51, 51, 0.14), 0 3px 1px -2px rgba(51, 51, 51, 0.2), 0 1px 5px 0 rgba(51, 51, 51, 0.12)\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: \"#333333\",\r\n color: \"#fff\",\r\n boxShadow:\r\n \"0 14px 26px -12px rgba(51, 51, 51, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(51, 51, 51, 0.2)\"\r\n }\r\n },\r\n simple: {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"#FFFFFF\",\r\n background: \"transparent\",\r\n boxShadow: \"none\"\r\n },\r\n \"&$primary\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: primaryColor\r\n }\r\n },\r\n \"&$info\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: infoColor\r\n }\r\n },\r\n \"&$success\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: successColor\r\n }\r\n },\r\n \"&$warning\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: warningColor\r\n }\r\n },\r\n \"&$rose\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: roseColor\r\n }\r\n },\r\n \"&$danger\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: dangerColor\r\n }\r\n },\r\n \"&$twitter\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"#55acee\"\r\n }\r\n },\r\n \"&$facebook\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"#3b5998\"\r\n }\r\n },\r\n \"&$google\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"#dd4b39\"\r\n }\r\n },\r\n \"&$github\": {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"#333333\"\r\n }\r\n }\r\n },\r\n transparent: {\r\n \"&,&:focus,&:hover,&:visited\": {\r\n color: \"inherit\",\r\n background: \"transparent\",\r\n boxShadow: \"none\"\r\n }\r\n },\r\n disabled: {\r\n opacity: \"0.65\",\r\n pointerEvents: \"none\"\r\n },\r\n lg: {\r\n padding: \"1.125rem 2.25rem\",\r\n fontSize: \"0.875rem\",\r\n lineHeight: \"1.333333\",\r\n borderRadius: \"0.2rem\"\r\n },\r\n sm: {\r\n padding: \"0.40625rem 1.25rem\",\r\n fontSize: \"0.6875rem\",\r\n lineHeight: \"1.5\",\r\n borderRadius: \"0.2rem\"\r\n },\r\n round: {\r\n borderRadius: \"30px\"\r\n },\r\n block: {\r\n width: \"100% !important\"\r\n },\r\n link: {\r\n \"&,&:hover,&:focus\": {\r\n backgroundColor: \"transparent\",\r\n color: \"#999999\",\r\n boxShadow: \"none\"\r\n }\r\n },\r\n justIcon: {\r\n paddingLeft: \"12px\",\r\n paddingRight: \"12px\",\r\n fontSize: \"20px\",\r\n height: \"41px\",\r\n minWidth: \"41px\",\r\n width: \"41px\",\r\n \"& .fab,& .fas,& .far,& .fal,& svg,& .material-icons\": {\r\n marginRight: \"0px\"\r\n },\r\n \"&$lg\": {\r\n height: \"57px\",\r\n minWidth: \"57px\",\r\n width: \"57px\",\r\n lineHeight: \"56px\",\r\n \"& .fab,& .fas,& .far,& .fal,& .material-icons\": {\r\n fontSize: \"32px\",\r\n lineHeight: \"56px\"\r\n },\r\n \"& svg\": {\r\n width: \"32px\",\r\n height: \"32px\"\r\n }\r\n },\r\n \"&$sm\": {\r\n height: \"30px\",\r\n minWidth: \"30px\",\r\n width: \"30px\",\r\n \"& .fab,& .fas,& .far,& .fal,& .material-icons\": {\r\n fontSize: \"17px\",\r\n lineHeight: \"29px\"\r\n },\r\n \"& svg\": {\r\n width: \"17px\",\r\n height: \"17px\"\r\n }\r\n }\r\n }\r\n};\r\n\r\nexport default buttonStyle;\r\n","import React from \"react\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n\r\n// @material-ui/core components\r\nimport makeStyles from \"@material-ui/core/styles/makeStyles\";\r\nimport Button from \"@material-ui/core/Button\";\r\n\r\n// core components\r\n\r\nimport buttonStyle from \"assets/jss/material-kit-react/components/buttonStyle.js\";\r\n\r\nconst makeComponentStyles = makeStyles(() => ({\r\n ...buttonStyle\r\n}));\r\n\r\nconst RegularButton = React.forwardRef((props, ref) => {\r\n const {\r\n color,\r\n round,\r\n children,\r\n fullWidth,\r\n disabled,\r\n simple,\r\n size,\r\n block,\r\n link,\r\n justIcon,\r\n className,\r\n ...rest\r\n } = props;\r\n\r\n const classes = makeComponentStyles();\r\n\r\n const btnClasses = classNames({\r\n [classes.button]: true,\r\n [classes[size]]: size,\r\n [classes[color]]: color,\r\n [classes.round]: round,\r\n [classes.fullWidth]: fullWidth,\r\n [classes.disabled]: disabled,\r\n [classes.simple]: simple,\r\n [classes.block]: block,\r\n [classes.link]: link,\r\n [classes.justIcon]: justIcon,\r\n [className]: className\r\n });\r\n return (\r\n \r\n );\r\n});\r\n\r\nRegularButton.propTypes = {\r\n color: PropTypes.oneOf([\r\n \"primary\",\r\n \"info\",\r\n \"success\",\r\n \"warning\",\r\n \"danger\",\r\n \"rose\",\r\n \"white\",\r\n \"facebook\",\r\n \"twitter\",\r\n \"google\",\r\n \"github\",\r\n \"transparent\"\r\n ]),\r\n size: PropTypes.oneOf([\"sm\", \"lg\"]),\r\n simple: PropTypes.bool,\r\n round: PropTypes.bool,\r\n fullWidth: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n block: PropTypes.bool,\r\n link: PropTypes.bool,\r\n justIcon: PropTypes.bool,\r\n children: PropTypes.node,\r\n className: PropTypes.string\r\n};\r\n\r\nexport default RegularButton;\r\n","import {\r\n defaultFont,\r\n primaryColor,\r\n primaryBoxShadow,\r\n infoColor,\r\n infoBoxShadow,\r\n successColor,\r\n successBoxShadow,\r\n warningColor,\r\n warningBoxShadow,\r\n dangerColor,\r\n dangerBoxShadow,\r\n roseColor,\r\n roseBoxShadow\r\n} from \"assets/jss/material-kit-react.js\";\r\n\r\nconst customDropdownStyle = theme => ({\r\n popperClose: {\r\n pointerEvents: \"none\"\r\n },\r\n dropdown: {\r\n borderRadius: \"3px\",\r\n border: \"0\",\r\n boxShadow: \"0 2px 5px 0 rgba(0, 0, 0, 0.26)\",\r\n top: \"100%\",\r\n zIndex: \"1000\",\r\n minWidth: \"160px\",\r\n padding: \"5px 0\",\r\n margin: \"2px 0 0\",\r\n fontSize: \"14px\",\r\n textAlign: \"left\",\r\n listStyle: \"none\",\r\n backgroundColor: \"#fff\",\r\n backgroundClip: \"padding-box\"\r\n },\r\n menuList: {\r\n padding: \"0\"\r\n },\r\n popperResponsive: {\r\n zIndex: \"1200\",\r\n [theme.breakpoints.down(\"sm\")]: {\r\n zIndex: \"1640\",\r\n position: \"static\",\r\n float: \"none\",\r\n width: \"auto\",\r\n marginTop: \"0\",\r\n backgroundColor: \"transparent\",\r\n border: \"0\",\r\n boxShadow: \"none\",\r\n color: \"black\"\r\n }\r\n },\r\n dropdownItem: {\r\n ...defaultFont,\r\n fontSize: \"13px\",\r\n padding: \"10px 20px\",\r\n margin: \"0 5px\",\r\n borderRadius: \"2px\",\r\n position: \"relative\",\r\n transition: \"all 150ms linear\",\r\n display: \"block\",\r\n clear: \"both\",\r\n fontWeight: \"400\",\r\n height: \"fit-content\",\r\n color: \"#333\",\r\n whiteSpace: \"nowrap\",\r\n minHeight: \"unset\"\r\n },\r\n blackHover: {\r\n \"&:hover\": {\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)\",\r\n backgroundColor: \"#212121\",\r\n color: \"#fff\"\r\n }\r\n },\r\n primaryHover: {\r\n \"&:hover\": {\r\n backgroundColor: primaryColor,\r\n color: \"#FFFFFF\",\r\n ...primaryBoxShadow\r\n }\r\n },\r\n infoHover: {\r\n \"&:hover\": {\r\n backgroundColor: infoColor,\r\n color: \"#FFFFFF\",\r\n ...infoBoxShadow\r\n }\r\n },\r\n successHover: {\r\n \"&:hover\": {\r\n backgroundColor: successColor,\r\n color: \"#FFFFFF\",\r\n ...successBoxShadow\r\n }\r\n },\r\n warningHover: {\r\n \"&:hover\": {\r\n backgroundColor: warningColor,\r\n color: \"#FFFFFF\",\r\n ...warningBoxShadow\r\n }\r\n },\r\n dangerHover: {\r\n \"&:hover\": {\r\n backgroundColor: dangerColor,\r\n color: \"#FFFFFF\",\r\n ...dangerBoxShadow\r\n }\r\n },\r\n roseHover: {\r\n \"&:hover\": {\r\n backgroundColor: roseColor,\r\n color: \"#FFFFFF\",\r\n ...roseBoxShadow\r\n }\r\n },\r\n dropdownItemRTL: {\r\n textAlign: \"right\"\r\n },\r\n dropdownDividerItem: {\r\n margin: \"5px 0\",\r\n backgroundColor: \"rgba(0, 0, 0, 0.12)\",\r\n height: \"1px\",\r\n overflow: \"hidden\"\r\n },\r\n buttonIcon: {\r\n width: \"20px\",\r\n height: \"20px\"\r\n },\r\n caret: {\r\n transition: \"all 150ms ease-in\",\r\n display: \"inline-block\",\r\n width: \"0\",\r\n height: \"0\",\r\n marginLeft: \"4px\",\r\n verticalAlign: \"middle\",\r\n borderTop: \"4px solid\",\r\n borderRight: \"4px solid transparent\",\r\n borderLeft: \"4px solid transparent\"\r\n },\r\n caretActive: {\r\n transform: \"rotate(180deg)\"\r\n },\r\n caretRTL: {\r\n marginRight: \"4px\"\r\n },\r\n dropdownHeader: {\r\n display: \"block\",\r\n padding: \"0.1875rem 1.25rem\",\r\n fontSize: \"0.75rem\",\r\n lineHeight: \"1.428571\",\r\n color: \"#777\",\r\n whiteSpace: \"nowrap\",\r\n fontWeight: \"inherit\",\r\n marginTop: \"10px\",\r\n minHeight: \"unset\",\r\n \"&:hover,&:focus\": {\r\n backgroundColor: \"transparent\",\r\n cursor: \"auto\"\r\n }\r\n },\r\n noLiPadding: {\r\n padding: \"0\"\r\n }\r\n});\r\n\r\nexport default customDropdownStyle;\r\n","import React from \"react\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport MenuList from \"@material-ui/core/MenuList\";\r\nimport ClickAwayListener from \"@material-ui/core/ClickAwayListener\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport Grow from \"@material-ui/core/Grow\";\r\nimport Divider from \"@material-ui/core/Divider\";\r\nimport Icon from \"@material-ui/core/Icon\";\r\nimport Popper from \"@material-ui/core/Popper\";\r\n\r\n// core components\r\nimport Button from \"components/CustomButtons/Button.js\";\r\n\r\nimport styles from \"assets/jss/material-kit-react/components/customDropdownStyle.js\";\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function CustomDropdown(props) {\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const handleClick = event => {\r\n if (anchorEl && anchorEl.contains(event.target)) {\r\n setAnchorEl(null);\r\n } else {\r\n setAnchorEl(event.currentTarget);\r\n }\r\n };\r\n const handleClose = param => {\r\n setAnchorEl(null);\r\n if (props && props.onClick) {\r\n props.onClick(param);\r\n }\r\n };\r\n const handleCloseAway = event => {\r\n if (anchorEl.contains(event.target)) {\r\n return;\r\n }\r\n setAnchorEl(null);\r\n };\r\n const classes = useStyles();\r\n const {\r\n buttonText,\r\n buttonIcon,\r\n dropdownList,\r\n buttonProps,\r\n dropup,\r\n dropdownHeader,\r\n caret,\r\n hoverColor,\r\n left,\r\n rtlActive,\r\n noLiPadding\r\n } = props;\r\n const caretClasses = classNames({\r\n [classes.caret]: true,\r\n [classes.caretActive]: Boolean(anchorEl),\r\n [classes.caretRTL]: rtlActive\r\n });\r\n const dropdownItem = classNames({\r\n [classes.dropdownItem]: true,\r\n [classes[hoverColor + \"Hover\"]]: true,\r\n [classes.noLiPadding]: noLiPadding,\r\n [classes.dropdownItemRTL]: rtlActive\r\n });\r\n let icon = null;\r\n switch (typeof buttonIcon) {\r\n case \"object\":\r\n icon = ;\r\n break;\r\n case \"string\":\r\n icon = {props.buttonIcon};\r\n break;\r\n default:\r\n icon = null;\r\n break;\r\n }\r\n return (\r\n
\r\n
\r\n \r\n {icon}\r\n {buttonText !== undefined ? buttonText : null}\r\n {caret ? : null}\r\n \r\n
\r\n \r\n {() => (\r\n \r\n \r\n \r\n \r\n {dropdownHeader !== undefined ? (\r\n handleClose(dropdownHeader)}\r\n className={classes.dropdownHeader}\r\n >\r\n {dropdownHeader}\r\n \r\n ) : null}\r\n {dropdownList.map((prop, key) => {\r\n if (prop.divider) {\r\n return (\r\n handleClose(\"divider\")}\r\n className={classes.dropdownDividerItem}\r\n />\r\n );\r\n }\r\n return (\r\n handleClose(prop)}\r\n className={dropdownItem}\r\n >\r\n {prop}\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
\r\n );\r\n}\r\n\r\nCustomDropdown.defaultProps = {\r\n caret: true,\r\n hoverColor: \"primary\"\r\n};\r\n\r\nCustomDropdown.propTypes = {\r\n hoverColor: PropTypes.oneOf([\r\n \"black\",\r\n \"primary\",\r\n \"info\",\r\n \"success\",\r\n \"warning\",\r\n \"danger\",\r\n \"rose\"\r\n ]),\r\n buttonText: PropTypes.node,\r\n buttonIcon: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),\r\n dropdownList: PropTypes.array,\r\n buttonProps: PropTypes.object,\r\n dropup: PropTypes.bool,\r\n dropdownHeader: PropTypes.node,\r\n rtlActive: PropTypes.bool,\r\n caret: PropTypes.bool,\r\n left: PropTypes.bool,\r\n noLiPadding: PropTypes.bool,\r\n // function that retuns the selected item\r\n onClick: PropTypes.func\r\n};\r\n","import {\r\n primaryColor,\r\n dangerColor,\r\n successColor,\r\n defaultFont\r\n} from \"assets/jss/material-kit-react.js\";\r\n\r\nconst customInputStyle = {\r\n disabled: {\r\n \"&:before\": {\r\n borderColor: \"transparent !important\"\r\n }\r\n },\r\n underline: {\r\n \"&:hover:not($disabled):before,&:before\": {\r\n borderColor: \"#D2D2D2 !important\",\r\n borderWidth: \"1px !important\"\r\n },\r\n \"&:after\": {\r\n borderColor: primaryColor\r\n }\r\n },\r\n underlineError: {\r\n \"&:after\": {\r\n borderColor: dangerColor\r\n }\r\n },\r\n underlineSuccess: {\r\n \"&:after\": {\r\n borderColor: successColor\r\n }\r\n },\r\n whiteUnderline: {\r\n \"&:hover:not($disabled):before,&:before\": {\r\n borderColor: \"#FFFFFF\"\r\n },\r\n \"&:after\": {\r\n borderColor: \"#FFFFFF\"\r\n }\r\n },\r\n labelRoot: {\r\n ...defaultFont,\r\n color: \"#AAAAAA !important\",\r\n fontWeight: \"400\",\r\n fontSize: \"14px\",\r\n lineHeight: \"1.42857\",\r\n top: \"10px\",\r\n letterSpacing: \"unset\",\r\n \"& + $underline\": {\r\n marginTop: \"0px\"\r\n }\r\n },\r\n labelRootError: {\r\n color: dangerColor + \" !important\"\r\n },\r\n labelRootSuccess: {\r\n color: successColor + \" !important\"\r\n },\r\n formControl: {\r\n margin: \"0 0 17px 0\",\r\n paddingTop: \"27px\",\r\n position: \"relative\",\r\n \"& svg,& .fab,& .far,& .fal,& .fas,& .material-icons\": {\r\n color: \"#495057\"\r\n }\r\n },\r\n input: {\r\n color: \"#495057\",\r\n height: \"unset\",\r\n \"&,&::placeholder\": {\r\n fontSize: \"14px\",\r\n fontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n fontWeight: \"400\",\r\n lineHeight: \"1.42857\",\r\n opacity: \"1\"\r\n },\r\n \"&::placeholder\": {\r\n color: \"#AAAAAA\"\r\n }\r\n },\r\n whiteInput: {\r\n \"&,&::placeholder\": {\r\n color: \"#FFFFFF\",\r\n opacity: \"1\"\r\n }\r\n }\r\n};\r\n\r\nexport default customInputStyle;\r\n","import React from \"react\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport FormControl from \"@material-ui/core/FormControl\";\r\nimport InputLabel from \"@material-ui/core/InputLabel\";\r\nimport Input from \"@material-ui/core/Input\";\r\n\r\nimport styles from \"assets/jss/material-kit-react/components/customInputStyle.js\";\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function CustomInput(props) {\r\n const classes = useStyles();\r\n const {\r\n formControlProps,\r\n labelText,\r\n id,\r\n labelProps,\r\n inputProps,\r\n error,\r\n white,\r\n inputRootCustomClasses,\r\n success\r\n } = props;\r\n\r\n const labelClasses = classNames({\r\n [\" \" + classes.labelRootError]: error,\r\n [\" \" + classes.labelRootSuccess]: success && !error\r\n });\r\n const underlineClasses = classNames({\r\n [classes.underlineError]: error,\r\n [classes.underlineSuccess]: success && !error,\r\n [classes.underline]: true,\r\n [classes.whiteUnderline]: white\r\n });\r\n const marginTop = classNames({\r\n [inputRootCustomClasses]: inputRootCustomClasses !== undefined\r\n });\r\n const inputClasses = classNames({\r\n [classes.input]: true,\r\n [classes.whiteInput]: white\r\n });\r\n var formControlClasses;\r\n if (formControlProps !== undefined) {\r\n formControlClasses = classNames(\r\n formControlProps.className,\r\n classes.formControl\r\n );\r\n } else {\r\n formControlClasses = classes.formControl;\r\n }\r\n return (\r\n \r\n {labelText !== undefined ? (\r\n \r\n {labelText}\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n}\r\n\r\nCustomInput.propTypes = {\r\n labelText: PropTypes.node,\r\n labelProps: PropTypes.object,\r\n id: PropTypes.string,\r\n inputProps: PropTypes.object,\r\n formControlProps: PropTypes.object,\r\n inputRootCustomClasses: PropTypes.string,\r\n error: PropTypes.bool,\r\n success: PropTypes.bool,\r\n white: PropTypes.bool\r\n};\r\n","import {\r\n container,\r\n defaultFont,\r\n primaryColor,\r\n infoColor,\r\n successColor,\r\n warningColor,\r\n dangerColor,\r\n roseColor,\r\n transition,\r\n boxShadow,\r\n drawerWidth\r\n} from \"assets/jss/material-kit-react.js\";\r\n\r\nconst headerStyle = {\r\n appBar: {\r\n display: \"flex\",\r\n border: \"0\",\r\n borderRadius: \"3px\",\r\n padding: \"0.625rem 0\",\r\n marginBottom: \"20px\",\r\n color: \"#555\",\r\n width: \"100%\",\r\n backgroundColor: \"#fff\",\r\n boxShadow:\r\n \"0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)\",\r\n transition: \"all 150ms ease 0s\",\r\n alignItems: \"center\",\r\n flexFlow: \"row nowrap\",\r\n justifyContent: \"flex-start\",\r\n position: \"relative\",\r\n zIndex: \"unset\"\r\n },\r\n absolute: {\r\n position: \"absolute\",\r\n zIndex: \"1100\"\r\n },\r\n fixed: {\r\n position: \"fixed\",\r\n zIndex: \"1100\"\r\n },\r\n container: {\r\n ...container,\r\n minHeight: \"50px\",\r\n flex: \"1\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n display: \"flex\",\r\n flexWrap: \"nowrap\"\r\n },\r\n flex: {\r\n flex: 1\r\n },\r\n title: {\r\n ...defaultFont,\r\n lineHeight: \"30px\",\r\n fontSize: \"18px\",\r\n borderRadius: \"3px\",\r\n textTransform: \"none\",\r\n color: \"inherit\",\r\n padding: \"8px 16px\",\r\n letterSpacing: \"unset\",\r\n \"&:hover,&:focus\": {\r\n color: \"inherit\",\r\n background: \"transparent\"\r\n }\r\n },\r\n appResponsive: {\r\n margin: \"20px 10px\"\r\n },\r\n primary: {\r\n backgroundColor: primaryColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(156, 39, 176, 0.46)\"\r\n },\r\n info: {\r\n backgroundColor: infoColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(0, 188, 212, 0.46)\"\r\n },\r\n success: {\r\n backgroundColor: successColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(76, 175, 80, 0.46)\"\r\n },\r\n warning: {\r\n backgroundColor: warningColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(255, 152, 0, 0.46)\"\r\n },\r\n danger: {\r\n backgroundColor: dangerColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(244, 67, 54, 0.46)\"\r\n },\r\n rose: {\r\n backgroundColor: roseColor,\r\n color: \"#FFFFFF\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(233, 30, 99, 0.46)\"\r\n },\r\n transparent: {\r\n backgroundColor: \"transparent !important\",\r\n boxShadow: \"none\",\r\n paddingTop: \"25px\",\r\n color: \"#FFFFFF\"\r\n },\r\n dark: {\r\n color: \"#FFFFFF\",\r\n backgroundColor: \"#212121 !important\",\r\n boxShadow:\r\n \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)\"\r\n },\r\n white: {\r\n border: \"0\",\r\n padding: \"0.625rem 0\",\r\n marginBottom: \"20px\",\r\n color: \"#555\",\r\n backgroundColor: \"#fff !important\",\r\n boxShadow:\r\n \"0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)\"\r\n },\r\n drawerPaper: {\r\n border: \"none\",\r\n bottom: \"0\",\r\n transitionProperty: \"top, bottom, width\",\r\n transitionDuration: \".2s, .2s, .35s\",\r\n transitionTimingFunction: \"linear, linear, ease\",\r\n width: drawerWidth,\r\n ...boxShadow,\r\n position: \"fixed\",\r\n display: \"block\",\r\n top: \"0\",\r\n height: \"100vh\",\r\n right: \"0\",\r\n left: \"auto\",\r\n visibility: \"visible\",\r\n overflowY: \"visible\",\r\n borderTop: \"none\",\r\n textAlign: \"left\",\r\n paddingRight: \"0px\",\r\n paddingLeft: \"0\",\r\n ...transition\r\n }\r\n};\r\n\r\nexport default headerStyle;\r\n","import React from \"react\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Toolbar from \"@material-ui/core/Toolbar\";\r\nimport IconButton from \"@material-ui/core/IconButton\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Hidden from \"@material-ui/core/Hidden\";\r\nimport Drawer from \"@material-ui/core/Drawer\";\r\n// @material-ui/icons\r\nimport Menu from \"@material-ui/icons/Menu\";\r\n// core components\r\nimport styles from \"assets/jss/material-kit-react/components/headerStyle.js\";\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function Header(props) {\r\n const classes = useStyles();\r\n const [mobileOpen, setMobileOpen] = React.useState(false);\r\n React.useEffect(() => {\r\n if (props.changeColorOnScroll) {\r\n window.addEventListener(\"scroll\", headerColorChange);\r\n }\r\n return function cleanup() {\r\n if (props.changeColorOnScroll) {\r\n window.removeEventListener(\"scroll\", headerColorChange);\r\n }\r\n };\r\n });\r\n const handleDrawerToggle = () => {\r\n setMobileOpen(!mobileOpen);\r\n };\r\n const headerColorChange = () => {\r\n const { color, changeColorOnScroll } = props;\r\n const windowsScrollTop = window.pageYOffset;\r\n if (windowsScrollTop > changeColorOnScroll.height) {\r\n document.body\r\n .getElementsByTagName(\"header\")[0]\r\n .classList.remove(classes[color]);\r\n document.body\r\n .getElementsByTagName(\"header\")[0]\r\n .classList.add(classes[changeColorOnScroll.color]);\r\n } else {\r\n document.body\r\n .getElementsByTagName(\"header\")[0]\r\n .classList.add(classes[color]);\r\n document.body\r\n .getElementsByTagName(\"header\")[0]\r\n .classList.remove(classes[changeColorOnScroll.color]);\r\n }\r\n };\r\n const { color, rightLinks, leftLinks, brand, fixed, absolute } = props;\r\n const appBarClasses = classNames({\r\n [classes.appBar]: true,\r\n [classes[color]]: color,\r\n [classes.absolute]: absolute,\r\n [classes.fixed]: fixed\r\n });\r\n const brandComponent = ;\r\n return (\r\n \r\n \r\n {leftLinks !== undefined ? brandComponent : null}\r\n
\r\n {leftLinks !== undefined ? (\r\n \r\n {leftLinks}\r\n \r\n ) : (\r\n brandComponent\r\n )}\r\n
\r\n \r\n {rightLinks}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {leftLinks}\r\n {rightLinks}\r\n
\r\n \r\n
\r\n \r\n );\r\n}\r\n\r\nHeader.defaultProp = {\r\n color: \"white\"\r\n};\r\n\r\nHeader.propTypes = {\r\n color: PropTypes.oneOf([\r\n \"primary\",\r\n \"info\",\r\n \"success\",\r\n \"warning\",\r\n \"danger\",\r\n \"transparent\",\r\n \"white\",\r\n \"rose\",\r\n \"dark\"\r\n ]),\r\n rightLinks: PropTypes.node,\r\n leftLinks: PropTypes.node,\r\n brand: PropTypes.string,\r\n fixed: PropTypes.bool,\r\n absolute: PropTypes.bool,\r\n // this will cause the sidebar to change the color from\r\n // props.color (see above) to changeColorOnScroll.color\r\n // when the window.pageYOffset is heigher or equal to\r\n // changeColorOnScroll.height and then when it is smaller than\r\n // changeColorOnScroll.height change it back to\r\n // props.color (see above)\r\n changeColorOnScroll: PropTypes.shape({\r\n height: PropTypes.number.isRequired,\r\n color: PropTypes.oneOf([\r\n \"primary\",\r\n \"info\",\r\n \"success\",\r\n \"warning\",\r\n \"danger\",\r\n \"transparent\",\r\n \"white\",\r\n \"rose\",\r\n \"dark\"\r\n ]).isRequired\r\n })\r\n};\r\n","import { container, primaryColor } from \"assets/jss/material-kit-react.js\";\r\n\r\nconst footerStyle = {\r\n block: {\r\n color: \"inherit\",\r\n padding: \"0.9375rem\",\r\n fontWeight: \"500\",\r\n fontSize: \"12px\",\r\n textTransform: \"unset\",\r\n borderRadius: \"3px\",\r\n textDecoration: \"none\",\r\n position: \"relative\",\r\n display: \"block\"\r\n },\r\n left: {\r\n float: \"left!important\",\r\n display: \"block\"\r\n },\r\n right: {\r\n padding: \"15px 0\",\r\n margin: \"0\",\r\n float: \"right!important\"\r\n },\r\n footer: {\r\n padding: \"0.9375rem 0\",\r\n textAlign: \"center\",\r\n display: \"flex\",\r\n zIndex: \"2\",\r\n position: \"relative\"\r\n },\r\n a: {\r\n color: primaryColor,\r\n textDecoration: \"none\",\r\n backgroundColor: \"transparent\"\r\n },\r\n footerWhiteFont: {\r\n \"&,&:hover,&:focus\": {\r\n color: \"#FFFFFF\"\r\n }\r\n },\r\n container,\r\n list: {\r\n marginBottom: \"0\",\r\n padding: \"0\",\r\n marginTop: \"0\"\r\n },\r\n inlineBlock: {\r\n display: \"inline-block\",\r\n padding: \"0px\",\r\n width: \"auto\"\r\n },\r\n icon: {\r\n width: \"18px\",\r\n height: \"18px\",\r\n position: \"relative\",\r\n top: \"3px\"\r\n }\r\n};\r\nexport default footerStyle;\r\n","/*eslint-disable*/\r\nimport React from \"react\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n// material-ui core components\r\nimport { List, ListItem } from \"@material-ui/core\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\n\r\n// @material-ui/icons\r\nimport Favorite from \"@material-ui/icons/Favorite\";\r\n\r\nimport styles from \"assets/jss/material-kit-react/components/footerStyle.js\";\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function Footer(props) {\r\n const classes = useStyles();\r\n const { whiteFont } = props;\r\n const footerClasses = classNames({\r\n [classes.footer]: true,\r\n [classes.footerWhiteFont]: whiteFont\r\n });\r\n const aClasses = classNames({\r\n [classes.a]: true,\r\n [classes.footerWhiteFont]: whiteFont\r\n });\r\n return (\r\n
\r\n
\r\n {/*
\r\n \r\n \r\n \r\n Creative Tim\r\n \r\n \r\n \r\n \r\n About us\r\n \r\n \r\n \r\n \r\n Blog\r\n \r\n \r\n \r\n \r\n Licenses\r\n \r\n \r\n \r\n
\r\n
\r\n © {1900 + new Date().getYear()} , made with{\" \"}\r\n by{\" \"}\r\n \r\n Creative Tim\r\n {\" \"}\r\n for a better web.\r\n
*/}\r\n
\r\n
\r\n );\r\n}\r\n\r\nFooter.propTypes = {\r\n whiteFont: PropTypes.bool\r\n};\r\n","import React from \"react\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\n\r\nconst styles = {\r\n grid: {\r\n marginRight: \"-15px\",\r\n marginLeft: \"-15px\",\r\n width: \"auto\"\r\n }\r\n};\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function GridContainer(props) {\r\n const classes = useStyles();\r\n const { children, className, ...rest } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nGridContainer.defaultProps = {\r\n className: \"\"\r\n};\r\n\r\nGridContainer.propTypes = {\r\n children: PropTypes.node,\r\n className: PropTypes.string\r\n};\r\n","import React from \"react\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\n\r\nconst styles = {\r\n grid: {\r\n position: \"relative\",\r\n width: \"100%\",\r\n minHeight: \"1px\",\r\n paddingRight: \"15px\",\r\n paddingLeft: \"15px\",\r\n flexBasis: \"auto\"\r\n }\r\n};\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function GridItem(props) {\r\n const classes = useStyles();\r\n const { children, className, ...rest } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nGridItem.defaultProps = {\r\n className: \"\"\r\n};\r\n\r\nGridItem.propTypes = {\r\n children: PropTypes.node,\r\n className: PropTypes.string\r\n};\r\n","const parallaxStyle = {\r\n parallax: {\r\n height: \"30vh\",\r\n maxHeight: \"1000px\",\r\n overflow: \"hidden\",\r\n position: \"relative\",\r\n backgroundPosition: \"center center\",\r\n backgroundSize: \"cover\",\r\n margin: \"0\",\r\n padding: \"0\",\r\n border: \"0\",\r\n display: \"flex\",\r\n alignItems: \"center\"\r\n },\r\n filter: {\r\n \"&:before\": {\r\n background: \"rgba(0, 0, 0, 0.5)\"\r\n },\r\n \"&:after,&:before\": {\r\n position: \"absolute\",\r\n zIndex: \"1\",\r\n width: \"100%\",\r\n height: \"100%\",\r\n display: \"block\",\r\n left: \"0\",\r\n top: \"0\",\r\n content: \"''\"\r\n }\r\n },\r\n small: {\r\n height: \"380px\"\r\n }\r\n};\r\n\r\nexport default parallaxStyle;\r\n","import React from \"react\";\r\n// nodejs library that concatenates classes\r\nimport classNames from \"classnames\";\r\n// nodejs library to set properties for components\r\nimport PropTypes from \"prop-types\";\r\n// @material-ui/core components\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\n\r\n// core components\r\nimport styles from \"assets/jss/material-kit-react/components/parallaxStyle.js\";\r\n\r\nconst useStyles = makeStyles(styles);\r\n\r\nexport default function Parallax(props) {\r\n let windowScrollTop;\r\n if (window.innerWidth >= 768) {\r\n windowScrollTop = window.pageYOffset / 3;\r\n } else {\r\n windowScrollTop = 0;\r\n }\r\n const [transform, setTransform] = React.useState(\r\n \"translate3d(0,\" + windowScrollTop + \"px,0)\"\r\n );\r\n React.useEffect(() => {\r\n if (window.innerWidth >= 768) {\r\n window.addEventListener(\"scroll\", resetTransform);\r\n }\r\n return function cleanup() {\r\n if (window.innerWidth >= 768) {\r\n window.removeEventListener(\"scroll\", resetTransform);\r\n }\r\n };\r\n });\r\n const resetTransform = () => {\r\n var windowScrollTop = window.pageYOffset / 3;\r\n setTransform(\"translate3d(0,\" + windowScrollTop + \"px,0)\");\r\n };\r\n const { filter, className, children, style, image, small } = props;\r\n const classes = useStyles();\r\n const parallaxClasses = classNames({\r\n [classes.parallax]: true,\r\n [classes.filter]: filter,\r\n [classes.small]: small,\r\n [className]: className !== undefined\r\n });\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nParallax.propTypes = {\r\n className: PropTypes.string,\r\n filter: PropTypes.bool,\r\n children: PropTypes.node,\r\n style: PropTypes.string,\r\n image: PropTypes.string,\r\n small: PropTypes.bool\r\n};\r\n","import ClientOAuth2 from 'client-oauth2';\r\n\r\n\r\nlet BASE_URL\r\nif (window.location.hostname === \"localhost\" || window.location.hostname === \"127.0.0.1\" || window.location.hostname === \"\") {\r\n\tBASE_URL = \"https://thoviblm4z.apimanagement.eu2.hana.ondemand.com:443/v1/OAuthService\";\r\n} else {\r\n\tBASE_URL = \"/SECURE_API_GAPX\";\r\n}\r\n\r\nconst _auth = new ClientOAuth2({\r\n\tclientId: \"ElZvY8G5g6f6DWFbWSI6MKVSt24CXuH8\",//\"dAalUUaPcpqT5gAUGfO3UyENSy5RG7TI\",\r\n\tclientSecret: \"3WWir4F3e6ZGoDEP\",//\"4GGNBif4wxw29X7L\",\r\n\taccessTokenUri: `${BASE_URL}/token`,\r\n\tauthorizationGrants: ['password'],\r\n\tscope: 'user'\r\n});\r\n\r\nclass Auth {\r\n\tconstructor() {\r\n\t\tif (!Auth.instance) {\r\n\t\t\tAuth.instance = this;\r\n\t\t}\r\n\r\n\t\tthis.tokenExpiredEvent = document.createEvent(\"Event\");\r\n\t\tthis.tokenExpiredEvent.initEvent(\"tokenExpired\", true, true);\r\n\r\n\t\treturn Auth.instance;\r\n\t}\r\n\r\n\tasync login(username = \"public\", password = \"******\") {\r\n\t\tthis.grant = await _auth.owner.getToken(username, password);\r\n\t}\r\n\r\n\tasync getAccessToken() {\r\n\t\tif(!this.grant) await this.login();\r\n\t\tif (this.grant.expired()) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.grant = await this.grant.refresh({ accessTokenUri: `${BASE_URL}/refresh_token` });\r\n\t\t\t} catch(ex) {\r\n\t\t\t\tthis.grant = undefined;\r\n\t\t\t\tawait this.login();\r\n\t\t\t\t// window.dispatchEvent(this.tokenExpiredEvent);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn this.grant.accessToken;\r\n\t}\r\n}\r\n\r\nexport default new Auth();","import querystring from \"querystring\";\r\n// import detectIE from \"./detectIE\";\r\nimport auth from \"../Utils/auth\";\r\nimport config from \"../Utils/config\";\r\n// import user from \"./user\";\r\n\r\nlet BASE_URL = \"\";\r\n// BASE_URL = 'https://genricapiuat.azure-api.net/gapwisetest/qrater.xsjs'\r\nBASE_URL = \"https://genric-prod-api.azure-api.net/gapwise/api\";\r\nconst handleResponse = response => {\r\n if (response.status >= 200 && response.status < 300) {\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.includes(\"application/json\")) {\r\n return response.text().then(textRes => {\r\n if (!textRes) return;\r\n return JSON.parse(textRes);\r\n });\r\n }\r\n return response.text();\r\n }\r\n\r\n return response.text().then(bodyText => {\r\n let errorString = response.statusText;\r\n if (bodyText && bodyText !== response.statusText)\r\n errorString += ` - ${bodyText}`;\r\n\r\n const error = new Error(errorString);\r\n error.status = response.statusText;\r\n error.response = response;\r\n throw error;\r\n });\r\n};\r\n\r\nexport default async (options, uri = BASE_URL) => {\r\n // if (isIE === undefined) isIE = detectIE();\r\n\r\n const headers = {\r\n \"Content-Type\": \"application/json\",\r\n Accept: \"application/json\"\r\n };\r\n\r\n const _options = {\r\n ...options,\r\n cache: \"no-store\",\r\n headers: new Headers(\r\n options.headers\r\n ? {\r\n ...headers,\r\n ...options.headers\r\n }\r\n : headers\r\n ),\r\n body: options.body ? JSON.stringify(options.body) : undefined\r\n };\r\n // if (isIE) options.qs[\"cachebuster\"] = new Date().getTime(); // Add Cachebuster\r\n\r\n const hasParams = Object.keys(options.qs).length > 0;\r\n const request = new Request(\r\n `${uri}${hasParams ? `?${querystring.stringify(options.qs)}` : \"\"}`,\r\n _options\r\n );\r\n return handleResponse(await fetch(request));\r\n};\r\n","import { container } from \"assets/jss/material-kit-react.js\";\r\n\r\nconst componentsStyle = {\r\n container,\r\n brand: {\r\n color: \"#FFFFFF\",\r\n textAlign: \"left\"\r\n },\r\n title: {\r\n fontSize: \"4.2rem\",\r\n fontWeight: \"600\",\r\n display: \"inline-block\",\r\n position: \"relative\"\r\n },\r\n subtitle: {\r\n fontSize: \"1.313rem\",\r\n maxWidth: \"500px\",\r\n margin: \"10px 0 0\"\r\n },\r\n main: {\r\n background: \"#FFFFFF\",\r\n position: \"relative\",\r\n zIndex: \"3\"\r\n },\r\n mainRaised: {\r\n margin: \"-60px 30px 0px\",\r\n borderRadius: \"6px\",\r\n boxShadow:\r\n \"0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)\"\r\n },\r\n infoBubble: {\r\n boxShadow: \"0px 1px 57px 17px rgba(189,189,189,0.51)\",\r\n borderRadius: \"25px\",\r\n paddingLeft: \"2em\",\r\n color: \"white\",\r\n margin: \"20px 0\",\r\n padding: '20px',\r\n width: '100%',\r\n maxWidth: \"500px\"\r\n\r\n },\r\n headerPrimary: {\r\n fontSize: \"24px\",\r\n fontFamily: \"Arial Rounded MT Bold, Helvetica Rounded, Arial\",\r\n color: '#0282d1'\r\n },\r\n headerSecondary: {\r\n fontSize: \"24px\",\r\n fontFamily: \"Arial Rounded MT Bold, Helvetica Rounded, Arial\",\r\n color: '#fdb812'\r\n\r\n },\r\n body: {\r\n fontSize: \"20\",\r\n fontFamily: \"Arial Rounded MT Bold, Helvetica Rounded, Arial\",\r\n color: '#000'\r\n\r\n },\r\n link: {\r\n textDecoration: \"none\"\r\n },\r\n textCenter: {\r\n textAlign: \"center\"\r\n },\r\n\r\n fontClass: {\r\n fontSize: \"14px\",\r\n fontFamily: \"Arial Rounded MT Bold, Helvetica Rounded, Arial\"\r\n },\r\n dropdownWidth: {\r\n width: \"-moz-available\"\r\n },\r\n inputDropdown: {\r\n border: \"unset !important\",\r\n paddingLeft: \"unset\",\r\n opacity: 0.7,\r\n borderBottom: \"0.1px solid rgba(0,0,0,0.3)\",\r\n }\r\n};\r\n\r\n/*h1 { font-family: \"Arial Rounded MT Bold\", \"Helvetica Rounded\", Arial, sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 26.4px; } h3 { font-family: \"Arial Rounded MT Bold\", \"Helvetica Rounded\", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 15.4px; } p { font-family: \"Arial Rounded MT Bold\", \"Helvetica Rounded\", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 20px; } blockquote { font-family: \"Arial Rounded MT Bold\", \"Helvetica Rounded\", Arial, sans-serif; font-size: 21px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 30px; } pre { font-family: \"Arial Rounded MT Bold\", \"Helvetica Rounded\", Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18.5714px; }*/\r\n\r\nexport default componentsStyle;\r\n","const medicalAidList = [\r\n {\r\n value: \"AECI MEDICAL AID SOCIETY\",\r\n key: \"MedScheme1\",\r\n }, {\r\n value: \"ALLIANCE-MIDMED MEDICAL SCHEME\",\r\n key: \"MedScheme2\",\r\n }, {\r\n value: \"ANGLO MEDICAL SCHEME\",\r\n key: \"MedScheme3\",\r\n }, {\r\n value: \"ANGLOVAAL GROUP MEDICAL SCHEME\",\r\n key: \"MedScheme4\",\r\n }, {\r\n value: \"BANKMED\",\r\n key: \"MedScheme5\",\r\n }, {\r\n value: \"BARLOWORLD MEDICAL SCHEME\",\r\n key: \"MedScheme6\",\r\n }, {\r\n value: \"BESTMED MEDICAL SCHEME\",\r\n key: \"MedScheme7\",\r\n }, {\r\n value: \"BMW EMPLOYEES MEDICAL AID SOCIETY\",\r\n key: \"MedScheme8\",\r\n }, {\r\n value: \"BONITAS MEDICAL FUND\",\r\n key: \"MedScheme9\",\r\n }, {\r\n value: \"BP MEDICAL AID SOCIETY\",\r\n key: \"MedScheme10\",\r\n },{\r\n value: \"BUILDING & CONSTRUCTION INDUSTRY MEDICAL AID FUND\",\r\n key: \"MedScheme11\",\r\n },{\r\n value: \"CAPE MEDICAL PLAN\",\r\n key: \"MedScheme12\",\r\n },{\r\n value: \"CHARTERED ACCOUNTANTS (SA) MEDICAL AID FUND (CAMAF)\",\r\n key: \"MedScheme13\",\r\n },{\r\n value: \"COMPCARE WELLNESS MEDICAL SCHEME\",\r\n key: \"MedScheme14\",\r\n },{\r\n value: \"DE BEERS BENEFIT SOCIETY\",\r\n key: \"MedScheme15\",\r\n },{\r\n value: \"DISCOVERY HEALTH MEDICAL SCHEME\",\r\n key: \"MedScheme16\",\r\n },{\r\n value: \"ENGEN MEDICAL BENEFIT FUND\",\r\n key: \"MedScheme17\",\r\n },{\r\n value: \"FEDHEALTH MEDICAL SCHEME\",\r\n key: \"MedScheme18\",\r\n },{\r\n value: \"FISHING INDUSTRY MEDICAL SCHEME (FISH-MED)\",\r\n key: \"MedScheme19\",\r\n },{\r\n value: \"FOOD WORKERS MEDICAL BENEFIT FUND\",\r\n key: \"MedScheme20\",\r\n },{\r\n value: \"GENESIS MEDICAL SCHEME\",\r\n key: \"MedScheme21\",\r\n },{\r\n value: \"GLENCORE MEDICAL SCHEME\",\r\n key: \"MedScheme22\",\r\n },{\r\n value: \"GOLDEN ARROWS EMPLOYEES' MEDICAL BENEFIT FUND\",\r\n key: \"MedScheme23\",\r\n },{\r\n value: \"GOVERNMENT EMPLOYEES MEDICAL SCHEME (GEMS)\",\r\n key: \"MedScheme24\",\r\n },{\r\n value: \"GRINTEK ELECTRONICS MEDICAL AID SCHEME\",\r\n key: \"MedScheme25\",\r\n },{\r\n value: \"HEALTH SQUARED MEDICAL SCHEME\",\r\n key: \"MedScheme26\",\r\n },{\r\n value: \"HORIZON MEDICAL SCHEME\",\r\n key: \"MedScheme27\",\r\n },{\r\n value: \"HOSMED MEDICAL AID SCHEME\",\r\n key: \"MedScheme28\",\r\n },{\r\n value: \"IMPALA MEDICAL PLAN\",\r\n key: \"MedScheme29\",\r\n },{\r\n value: \"IMPERIAL GROUP MEDICAL SCHEME\",\r\n key: \"MedScheme30\",\r\n },{\r\n value: \"KEYHEALTH\",\r\n key: \"MedScheme31\",\r\n },{\r\n value: \"LA-HEALTH MEDICAL SCHEME\",\r\n key: \"MedScheme32\",\r\n },{\r\n value: \"LIBCARE MEDICAL SCHEME\",\r\n key: \"MedScheme33\",\r\n },{\r\n value: \"LONMIN MEDICAL SCHEME\",\r\n key: \"MedScheme34\",\r\n },{\r\n value: \"MAKOTI MEDICAL SCHEME\",\r\n key: \"MedScheme35\",\r\n },{\r\n value: \"MALCOR MEDICAL SCHEME\",\r\n key: \"MedScheme36\",\r\n },{\r\n value: \"MASSMART HEALTH PLAN\",\r\n key: \"MedScheme37\",\r\n },{\r\n value: \"MBMED MEDICAL AID FUND\",\r\n key: \"MedScheme38\",\r\n },{\r\n value: \"MEDIHELP\",\r\n key: \"MedScheme39\",\r\n },{\r\n value: \"MEDIMED MEDICAL SCHEME\",\r\n key: \"MedScheme40\",\r\n },{\r\n value: \"MEDIPOS MEDICAL SCHEME\",\r\n key: \"MedScheme41\",\r\n },{\r\n value: \"MEDSHIELD MEDICAL SCHEME\",\r\n key: \"MedScheme42\",\r\n },{\r\n value: \"MOMENTUM HEALTH\",\r\n key: \"MedScheme43\",\r\n },{\r\n value: \"MOTOHEALTH CARE\",\r\n key: \"MedScheme44\",\r\n },{\r\n value: \"NASPERS MEDICAL FUND\",\r\n key: \"MedScheme45\",\r\n },{\r\n value: \"NEDGROUP MEDICAL AID SCHEME\",\r\n key: \"MedScheme46\",\r\n },{\r\n value: \"NETCARE MEDICAL\",\r\n key: \"MedScheme47\",\r\n },{\r\n value: \"OLD MUTUAL STAFF MEDICAL AID FUND\",\r\n key: \"MedScheme48\",\r\n },{\r\n value: \"PARMED MEDICAL AID SCHEME\",\r\n key: \"MedScheme49\",\r\n },{\r\n value: \"PG GROUP MEDICAL SCHEME\",\r\n key: \"MedScheme50\",\r\n },{\r\n value: \"PICK N PAY MEDICAL SCHEME\",\r\n key: \"MedScheme51\",\r\n },{\r\n value: \"PLATINUM HEALTH\",\r\n key: \"MedScheme52\",\r\n },{\r\n value: \"PROFMED\",\r\n key: \"MedScheme53\",\r\n },{\r\n value: \"QUANTUM MEDICAL AID SOCIETY\",\r\n key: \"MedScheme54\",\r\n },{\r\n value: \"RAND WATER MEDICAL SCHEME\",\r\n key: \"MedScheme55\",\r\n },{\r\n value: \"REMEDI MEDICAL AID SCHEME\",\r\n key: \"MedScheme56\",\r\n },{\r\n value: \"RETAIL MEDICAL SCHEME\",\r\n key: \"MedScheme57\",\r\n },{\r\n value: \"RHODES UNIVERSITY MEDICAL SCHEME\",\r\n key: \"MedScheme58\",\r\n },{\r\n value: \"SABC MEDICAL AID SCHEME\",\r\n key: \"MedScheme59\",\r\n },{\r\n value: \"SAMWUMED\",\r\n key: \"MedScheme60\",\r\n },{\r\n value: \"SASOLMED\",\r\n key: \"MedScheme61\",\r\n },{\r\n value: \"SEDMED\",\r\n key: \"MedScheme62\",\r\n },{\r\n value: \"SELFMED MEDICAL SCHEME\",\r\n key: \"MedScheme63\",\r\n },{\r\n value: \"SISONKE HEALTH MEDICAL SCHEME\",\r\n key: \"MedScheme64\",\r\n },{\r\n value: \"SIZWE MEDICAL FUND\",\r\n key: \"MedScheme65\",\r\n },{\r\n value: \"SOUTH AFRICAN BREWERIES MEDICAL SCHEME\",\r\n key: \"MedScheme66\",\r\n },{\r\n value: \"SOUTH AFRICAN POLICE SERVICE MEDICAL SCHEME (POLMED)\",\r\n key: \"MedScheme67\",\r\n },{\r\n value: \"SUREMED HEALTH\",\r\n key: \"MedScheme68\",\r\n },{\r\n value: \"TFG MEDICAL AID SCHEME\",\r\n key: \"MedScheme69\",\r\n },{\r\n value: \"THEBEMED\",\r\n key: \"MedScheme70\",\r\n },{\r\n value: \"TIGER BRANDS MEDICAL SCHEME\",\r\n key: \"MedScheme71\",\r\n },{\r\n value: \"TOPMED MEDICAL SCHEME\",\r\n key: \"MedScheme72\",\r\n },{\r\n value: \"TRANSMED MEDICAL FUND\",\r\n key: \"MedScheme73\",\r\n },{\r\n value: \"TSOGO SUN GROUP MEDICAL SCHEME\",\r\n key: \"MedScheme74\",\r\n },{\r\n value: \"UMVUZO HEALTH MEDICAL SCHEME\",\r\n key: \"MedScheme75\",\r\n },{\r\n value: \"UNIVERSITY OF KWA-ZULU NATAL MEDICAL SCHEME\",\r\n key: \"MedScheme76\",\r\n },{\r\n value: \"WITBANK COALFIELDS MEDICAL AID SCHEME\",\r\n key: \"MedScheme77\",\r\n },{\r\n value: \"WOOLTRU HEALTHCARE FUND\",\r\n key: \"MedScheme78\",\r\n },{\r\n value: \"OTHER\",\r\n key: \"MedScheme00\",\r\n }\r\n];\r\n\r\n\r\n\r\nexport default medicalAidList","import medicalAidList from \"./MedicalAidList\";\r\n\r\nconst bankDetailList = [\r\n {\r\n value: \"Absa\",\r\n key: \"632005\",\r\n },\r\n {\r\n value: \"Bank of Athens\",\r\n key: \"410506\",\r\n },\r\n {\r\n value: \"Bidvest Bank\",\r\n key: \"462005\",\r\n },\r\n {\r\n value: \"Capitec\",\r\n key: \"470010\",\r\n },\r\n {\r\n value: \"Discovery\",\r\n key: \"679000\",\r\n },\r\n {\r\n value: \"FNB\",\r\n key: \"250655\",\r\n },\r\n {\r\n value: \"Grobank\",\r\n key: \"410506\",\r\n },\r\n {\r\n value: \"Investec\",\r\n key: \"580105\",\r\n },\r\n {\r\n value: \"Nedbank\",\r\n key: \"198765\",\r\n },\r\n {\r\n value: \"SA Post Bank (Post Office)\",\r\n key: \"460005\",\r\n },\r\n {\r\n value: \"Standard Bank\",\r\n key: \"051001\",\r\n },\r\n {\r\n value: \"Tyme Bank\",\r\n key: \"678910\",\r\n }\r\n];\r\n\r\nexport default bankDetailList;\r\n","const relationshipList = [\"Spouse\"\r\n ,\"Child\"\r\n ,\"Parent\"\r\n ,\"Sibling\"\r\n ,\"Life Partner\"\r\n ,\"Other\"];\r\n\r\nexport default relationshipList;","export default __webpack_public_path__ + \"static/media/banner.debebc97.png\";","export function isValidPassport(number) {\r\n if (/[A-Za-z][A-Za-z0-9]{9}D[^A-Za-z0-9]\\d[A-Za-z0-9]{9}D[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z]\\d{7}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z]{2}\\d{6,7}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z]{2}\\d{7}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][0-9]{7}[A-Za-z][^A-Za-z]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][0-9]{7}[A-Za-z][^A-Za-z]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{7}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{6}[^A-Za-z0-9]\\d[A-Za-z0-9]{6}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{7}[^A-Za-z0-9]\\d[A-Za-z0-9]{7}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{7}[^A-Za-z0-9]\\d[A-Za-z0-9]{7}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{7}[^A-Za-z0-9]\\d[A-Za-z0-9]{7}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{6}[^A-Za-z0-9]\\d[A-Za-z0-9]{6}[^A-Za-z0-9][A-Za-z][A-Za-z0-9]{8}[^A-Za-z0-9]\\d[A-Za-z0-9]{8}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{7,8}[^A-Za-z0-9]\\d[A-Za-z0-9]{7,8}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{8}[^A-Za-z0-9]\\d[A-Za-z0-9]{8}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{8,9}[^A-Za-z0-9]\\d[A-Za-z0-9]{8,9}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z][A-Za-z0-9]{8,10}[^A-Za-z0-9]\\d[A-Za-z0-9]{8,10}[^A-Za-z0-9]/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Z]{2}[0-9]{7}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Z]{2}[0-9]{6}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Z]{2}[0-9]{6}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[A-Za-z]{2}[0-9]{7}\\D\\d[A-Za-z]\\d{7}\\D[A-Za-z]\\d{8}\\D\\d{9}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/I[A-Za-z0-9]{5}\\d\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/[AHKE]\\d{8}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\d{2}[A-Za-z0-9]{2}\\d{5}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\d{8}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\d{10}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\d{10,11}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\d{9}\\D/.test(number)) {\r\n return true;\r\n }\r\n if (/\\b\\d{9}\\b|\\b3\\d{8}\\b/.test(number)) {\r\n return true;\r\n }\r\n if (/^[A-Za-z]{2}[0-9]{4}$/.test(number)) {\r\n return true;\r\n }\r\n if (/^[A-Za-z]{2}[0-9]{6}$/.test(number)) {\r\n return true;\r\n }\r\n if (/^[A-Za-z][0-9]{8}$/.test(number)) {\r\n return true;\r\n }\r\n\r\n\r\n return false;\r\n}\r\n","export default __webpack_public_path__ + \"static/media/Doctor.0cc0468a.png\";","/*eslint-disable*/\r\nimport React from \"react\";\r\nimport classNames from \"classnames\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport CustomDropdown from \"../../components/CustomDropdown/CustomDropdown.js\";\r\nimport CustomInput from \"../../components/CustomInput/CustomInput.js\";\r\nimport FormControlLabel from \"@material-ui/core/FormControlLabel\";\r\nimport Switch from \"@material-ui/core/Switch\";\r\nimport Header from \"../../components/Header/Header.js\";\r\nimport Footer from \"../../components/Footer/Footer.js\";\r\nimport GridContainer from \"../../components/Grid/GridContainer.js\";\r\nimport GridItem from \"../../components/Grid/GridItem.js\";\r\nimport Button from \"../../components/CustomButtons/Button.js\";\r\nimport Parallax from \"../../components/Parallax/Parallax.js\";\r\nimport executeAPIRequest from \"../../Utils/executeAPIRequest\";\r\nimport Loader from 'react-loader-spinner'\r\nimport \"react-loader-spinner/dist/loader/css/react-spinner-loader.css\"\r\nimport styles from \"assets/jss/material-kit-react/views/components.js\";\r\nimport { MDBInput } from 'mdbreact';\r\nimport \"bootstrap-css-only/css/bootstrap.min.css\";\r\nimport \"mdbreact/dist/css/mdb.css\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport ReactSearchBox from 'react-search-box';\r\nimport bankDetailList from \"./BankDetailsList\";\r\nimport medicalAidList from \"./MedicalAidList\";\r\nimport monthList from \"./MonthList\";\r\nimport relationshipList from \"./RelationshipList\";\r\nimport banner from '../../assets/img/banner.png';\r\nimport BankDetailsList from \"./BankDetailsList\";\r\nimport { isValidPassport } from \"../../Utils/passportChecker\";\r\n\r\nimport doctor from '../../assets/img/Doctor.png'\r\nimport time from '../../assets/img/time.png';\r\nimport ReactDOM from 'react-dom';\r\nimport 'react-responsive-modal/styles.css';\r\nimport { Modal } from 'react-responsive-modal';\r\n\r\nconst useStyles = makeStyles(styles);\r\nlet getCodes = false;\r\n\r\nexport default function Components(props) {\r\n const currentDate = new Date();\r\n const classes = useStyles();\r\n let dataList = getZipInfo();\r\n let townList = {};\r\n\r\n //Intermediary details\r\n const [intermediaryInitialsChange, setIntermediaryInitialChange] = React.useState(\"\");\r\n const [intermediarySurnameChange, setIntermediarySurnameChange] = React.useState(\"\");\r\n const [brokerCodeChange, setBrokerCodeChange] = React.useState(\"\");\r\n\r\n //Choose cover type\r\n const [coverOption, setCoverOption] = React.useState(\" - Select - \");\r\n //Principle details\r\n const [nameChange, setNameChange] = React.useState(\"\");\r\n const [medicalNumberChange, setMedicalNumberChange] = React.useState(\"\");\r\n const [dependantMedicalNumberChange, setDependantMedicalNumberChange] = React.useState(\"\");\r\n const [surnameChange, setSurnameChange] = React.useState(\"\");\r\n const [idChange, setIDChange] = React.useState(\"\");\r\n const [idTypeChange, setIDType] = React.useState(\"\");\r\n const [dateOfBirth, setDateOfBirth] = React.useState(currentDate);\r\n const [title, setTitle] = React.useState(\" - Select - \");\r\n const [email, setEmailChange] = React.useState(\"\");\r\n const [telNumber, setTellChange] = React.useState(\"\");\r\n\r\n //Address details\r\n const [checkedAlternativeAddress, setCheckedAlternativeAddress] = React.useState(false);\r\n const [postalAddrA, setPosAddr1Change] = React.useState(\"\");\r\n const [postalAddrB, setPosAddr2Change] = React.useState(\"\");\r\n const [postalSuburb, setPosSuburbChange] = React.useState(\"\");\r\n const [postalCity, setPosCityChange] = React.useState(\"\");\r\n\r\n const [addrA, setAddr1Change] = React.useState(\"\");\r\n const [addrB, setAddr2Change] = React.useState(\"\");\r\n const [suburb, setSuburbChange] = React.useState(\"\");\r\n const [city, setCityChange] = React.useState(\"\");\r\n const [zipCode, setZipChange] = React.useState(\"\");\r\n const [postalzipCode, setPostalZipChange] = React.useState(\"\");\r\n const [suburbList, setSuburbList] = React.useState([]);\r\n\r\n //Principle medical aid info\r\n const [principalMedAid, setPrincipalMedAidChange] = React.useState(\"\");\r\n const [principalDueDate, setPrincipalDueDate] = React.useState(currentDate);\r\n const [principalHasGap, setPrincipalHasGapCoverChange] = React.useState(\" - Select - \");\r\n const [principalGapProvider, setPrincipalGapProvider] = React.useState(\" - Select - \");\r\n const [principalGapCoverStart, setPrincipalGapCoverStart] = React.useState(currentDate);\r\n const [principalGapCoverEnd, setPrincipleGapCoverEnd] = React.useState(currentDate);\r\n const [medicalDisclosure, setMedicalDisclosure] = React.useState(\" - Select - \");\r\n const [dependantMedicalAdmissionDate, setDependantMedicalAdmissionDate] = React.useState(currentDate);\r\n const [dependantMedicalAdmissionDetail, setDependantMedicalAdmissionDetail] = React.useState(\"\");\r\n const [principleAdmissionDetail, setPrincipleAdmissionDetail] = React.useState(\"\");\r\n const [principleAdmissionDate, setPrincipleAdmissionDate] = React.useState(currentDate);\r\n const [discloseMedicalAdmission, setdiscloseMedicalAdmission] = React.useState(\" - Select - \");\r\n const [discloseDependantMedicalAdmission, setDiscloseDepandantMedicalAdmission] = React.useState(\" - Select - \");\r\n const [lastHospitalAdmission, setlastHospitalAdmission] = React.useState(\" - Select - \");\r\n const [principalHospAdmissionDetail, setPrincipalHospAdmissionDetail] = React.useState(\"\");\r\n const [dependantHospAdmissionDetail, setDependantHospAdmissionDetail] = React.useState(\"\");\r\n const [principalHospAdmissionDate, setPrincipalHospAdmissionDate] = React.useState(currentDate);\r\n const [pregnancyDisclosure, setPregnancyDisclosure] = React.useState(\" - Select - \");\r\n const [dependantmedicalDisclosure, setDependantmedicalDisclosure] = React.useState(\" - Select - \");\r\n const [chronicDisclosure, setchronicDisclosure] = React.useState(\" - Select - \");\r\n const [principalChronicDetail, setPrincipalChronicDetail] = React.useState(\"\");\r\n const [principalCoverStartDate, setPrincipalCoverStartDate] = React.useState(\" - Select - \");\r\n\r\n //Form submit Disclaimer\r\n const [checkedDisclaimerA, setCheckedDisclaimerA] = React.useState(false);\r\n const [checkedDisclaimerB, setCheckedDisclaimerB] = React.useState(false);\r\n const [checkedWhatsappUpdates, setCheckedWhatsappUpdates] = React.useState(false);\r\n const [checkedIntermediary, setCheckedIntermediary] = React.useState(false);\r\n\r\n //Debit order details\r\n const [bankName, setBankName] = React.useState(\"\");\r\n const [branchCode, setBranchCode] = React.useState(\"\");\r\n const [accountNumber, setAccountNumber] = React.useState(\"\");\r\n const [accountHolderName, setAccountHolderName] = React.useState(\"\");\r\n const [accountType, setAccountType] = React.useState(\" - Select - \");\r\n const [collectionDate, setCollectionDate] = React.useState(\" - Select - \");\r\n\r\n //form submits\r\n const [formSubmit, setFormSubmit] = React.useState(false);\r\n const [loading, setLoading] = React.useState(false);\r\n const [loadingCode, setLoadingCode] = React.useState(true);\r\n const [onSearch, setOnSearch] = React.useState(false);\r\n const [acceptPremium, setPremiumAccept] = React.useState(false);\r\n const [acceptBankDetails, setAcceptBankDetails] = React.useState(false);\r\n const [policyCreating, setPolicyCreating] = React.useState(false);\r\n const [premium, setPremium] = React.useState(\"\");\r\n //Dependant info\r\n const [dependantlastHospitalAdmission, setDependantLastHospitalAdmission] = React.useState(\" - Select - \");\r\n const [dependantChronicDisclosure, setDependantChronicDisclosure] = React.useState(\" - Select - \");\r\n\r\n const [dependantName, setDependantName] = React.useState(\"\");\r\n const [dependantPregnancyDisclosure, setDependantPregnancyDisclosure] = React.useState(\" - Select - \");\r\n\r\n const [dependantSurname, setDependantSurname] = React.useState(\"\");\r\n const [dependantID, setDependantID] = React.useState(\"\");\r\n const [dependantIDType, setDependantIDType] = React.useState(\"ID\");\r\n const [dependantDOB, setDependantDOB] = React.useState(currentDate);\r\n const [dependantRelationshipToPrinciple, setdependantRelationshipToPrinciple] = React.useState(\" - Select - \");\r\n\r\n //dependant medical info\r\n const [dependantChronicDetail, setDependantChronicDetail] = React.useState(\"\");\r\n\r\n const [dependantHasSameMedAid, setdependantHasSameMedAidChange] = React.useState(\" - Select - \");\r\n const [dependantHospAdmissionDate, setDependantHospAdmissionDate] = React.useState(new Date());\r\n const [dependantDueDate, setDependantDueDate] = React.useState(new Date());\r\n const [dependantMedAidIndex, setdependantMedAidIndex] = React.useState(\"\");\r\n const [principalMedAidIndex, setPrincipalMedAidIndex] = React.useState(\"\");\r\n const [dependantMedAid, setdependantMedAidChange] = React.useState(\"\");\r\n\r\n //dependant Gap cover info\r\n const [dependantHasGapCover, setdependantHasGapCoverChange] = React.useState(\" - Select - \");\r\n const [dependantGapProvider, setdependantGapProvider] = React.useState(\" - Select - \");\r\n const [dependantGapCoverStart, setdependantGapCoverStart] = React.useState(new Date());\r\n const [dependantGapCoverEnd, setdependantGapCoverEnd] = React.useState(new Date());\r\n const [zipInfo, setZipInfo] = React.useState(false);\r\n const [nominatedBenSubmitted, setNominatedBenSubmitted] = React.useState(false);\r\n\r\n //dependant cover start date\r\n const [dependantCoverStartDate, setdependantCoverStartDateChange] = React.useState(\" - Select - \");\r\n\r\n const [dependantInfo, setdependantInfo] = React.useState([]);\r\n const [currentdependant, setCurrentdependant] = React.useState(0);\r\n const [dependants, setNoOfdependants] = React.useState(\" - No of dependants - \");\r\n\r\n //nominated beneficiary details\r\n\r\n const [benName, setbenName] = React.useState(\"\");\r\n const [benSurname, setBenSurname] = React.useState(\"\");\r\n const [benID, setBenID] = React.useState(\"\");\r\n const [benIDType, setBenIDType] = React.useState(\"ID\");\r\n const [benEmail, setBenEmail] = React.useState(\"\");\r\n const [benTelNumber, setBenTelNumber] = React.useState(\"\");\r\n const [benRelationshipToPrinciple, setBenRelationshipToPrinciple] = React.useState(\" - Select - \");\r\n const [open, setOpen] = React.useState(false);\r\n\r\n const onOpenModal = () => setOpen(true);\r\n const onCloseModal = () => setOpen(false);\r\n\r\n\r\n const [defaultList, setDefaultList] = React.useState([]);\r\n\r\n const handleRemoveItem = (e) => {\r\n const name = e.target.getAttribute(\"name\")\r\n\r\n for (let i = 0; i < dependantInfo.length; i++){\r\n console.log(dependantInfo[i].dependantName + \" \" + dependantInfo[i].dependantSurname);\r\n console.log(name);\r\n if (dependantInfo[i].dependantName + \" \" + dependantInfo[i].dependantSurname == name){\r\n console.log(\"this is removed\");\r\n console.log(i + \" index\");\r\n\r\n var dependantList = [...defaultList];\r\n if (i !== -1) {\r\n dependantList.splice(i, 1);\r\n setDefaultList(dependantList)\r\n\r\n }\r\n\r\n var array = [...dependantInfo]; // make a separate copy of the array\r\n if (i !== -1) {\r\n array.splice(i, 1);\r\n setdependantInfo(array);\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n };\r\n\r\n const monthsToShow = [];\r\n const CustomDateInput = ({ value, onClick }) => (\r\n \r\n );\r\n\r\n const years = range(1910, new Date().getFullYear());\r\n const months = [\r\n \"January\",\r\n \"February\",\r\n \"March\",\r\n \"April\",\r\n \"May\",\r\n \"June\",\r\n \"July\",\r\n \"August\",\r\n \"September\",\r\n \"October\",\r\n \"November\",\r\n \"December\",\r\n ];\r\n\r\n function range(start, end) {\r\n var ans = [];\r\n for (let i = start; i <= end; i++) {\r\n ans.push(i);\r\n }\r\n return ans;\r\n }\r\n\r\n function getMonthsAvailable() {\r\n for (let i = 0; i < 3; i++) {\r\n let d = new Date();\r\n let tmpDate = new Date(d.setMonth(d.getMonth() + i));\r\n monthsToShow.push(tmpDate.toLocaleString('default', { month: 'long' }));\r\n }\r\n return monthsToShow;\r\n }\r\n\r\n function submitdependantInfo() {\r\n let error = \"\";\r\n if (dependantName === \"\") {\r\n error = \"Please enter dependant's name\";\r\n }\r\n if (dependantSurname === \"\") {\r\n error = \"Please enter dependant's surname\";\r\n }\r\n\r\n if (dependantID === \"\" || !(/^[0-9\\b]+$/.test(dependantID)) || dependantID.length !== 13) {\r\n //console.log(isValidPassport(idChange))\r\n if (isValidPassport(dependantID)) {\r\n error = \"\";\r\n setDependantIDType('Passport')\r\n\r\n } else {\r\n error = \"Please enter a valid Id number or Passport number\";\r\n }\r\n\r\n }\r\n\r\n if (dependantRelationshipToPrinciple === \"\") {\r\n error = \"Please specify your relationship with the dependant\";\r\n }\r\n if (dependantHasSameMedAid === \" - Select - \") {\r\n error = \"Please specify whether you are on the same medical aid\";\r\n }\r\n if (dependantmedicalDisclosure === \" - Select - \") {\r\n error = \"Please confirm if you have you been diagnosed, received medical advice, care or treatment for any condition in the past 12 months\";\r\n }\r\n if (dependantmedicalDisclosure === \"Yes\") {\r\n\r\n if (discloseDependantMedicalAdmission === \" - Select - \") {\r\n error = \"Please confirm if you are expecting any hospital admission or aware of any conditions or Illness that would require treatment in the next 12 months\";\r\n }\r\n if (discloseDependantMedicalAdmission === \"Yes\") {\r\n if (dependantMedicalAdmissionDetail === \"\") {\r\n error = \"Please provide more detail about any possible hospital admission, conditions or Illness that would require treatment in the next 12 months\";\r\n }\r\n }\r\n if (dependantlastHospitalAdmission === \" - Select - \") {\r\n error = \"Please confirm if you have been diagnosed, received medical advice, care or treatment in the last 4 months\";\r\n }\r\n if (dependantlastHospitalAdmission === \"Yes\") {\r\n if (dependantHospAdmissionDetail === \"\") {\r\n error = \"Please provide more detail about any hospital admissions in the last 4 months\";\r\n }\r\n }\r\n if (parseInt(dependantID.substr(6, 4)) <= 4999) {\r\n if (dependantPregnancyDisclosure === \" - Select - \") {\r\n error = \"Please specify if the dependant is pregnant\";\r\n }\r\n }\r\n\r\n if (dependantHasSameMedAid === \"No\") {\r\n if (dependantMedAidIndex === \"\") {\r\n error = \"Please specify you current medical aid provider\";\r\n }\r\n if (dependantMedicalNumberChange == \"\") {\r\n error = \"Please provide your medical aid number\";\r\n }\r\n }\r\n if (dependantChronicDisclosure === \" - Select - \") {\r\n error = \"Please confirm if you are currently taking or have taken chronic medication in the past 24 months?\";\r\n }\r\n if (dependantChronicDisclosure === \"Yes\") {\r\n if (dependantChronicDetail === \"\") {\r\n error = \"Please provide more detail regarding your chronic condition\";\r\n }\r\n }\r\n }\r\n\r\n if (dependantHasSameMedAid === \"No\") {\r\n if (dependantMedAid === \" - Select - \") {\r\n error = \"Please specify the dependant's medical aid provider\";\r\n }\r\n if (dependantHasGapCover === \" - Select - \") {\r\n error = \"Please specify whether the dependant has GAP cover\";\r\n }\r\n if (dependantHasGapCover === \"Yes\") {\r\n if (dependantGapProvider === \" - Select - \") {\r\n error = \"Please specify the GAP cover provider\";\r\n }\r\n }\r\n\r\n }\r\n if (error !== \"\") {\r\n alert(error);\r\n return;\r\n }\r\n\r\n setOpen(false);\r\n\r\n let dependant = {\r\n dependantName,\r\n dependantSurname,\r\n dependantDOB,\r\n dependantRelationshipToPrinciple,\r\n dependantHasSameMedAid,\r\n dependantMedicalNumberChange,\r\n dependantMedAidIndex,\r\n dependantHasGapCover,\r\n dependantGapProvider,\r\n dependantGapCoverStart,\r\n dependantGapCoverEnd,\r\n dependantMedicalAdmissionDate,\r\n dependantMedicalAdmissionDetail,\r\n discloseDependantMedicalAdmission,\r\n dependantHospAdmissionDetail,\r\n dependantmedicalDisclosure,\r\n dependantChronicDisclosure,\r\n dependantlastHospitalAdmission,\r\n dependantPregnancyDisclosure,\r\n dependantHospAdmissionDate,\r\n dependantChronicDetail,\r\n dependantID,\r\n dependantCoverStartDate,\r\n dependantDueDate\r\n };\r\n\r\n\r\n\r\n //setCurrentdependant(currentdependant + 1);\r\n let newdependantInfo = dependantInfo;\r\n newdependantInfo.push(dependant);\r\n let dependantList = defaultList;\r\n dependantList.push({name: dependantName + \" \" + dependantSurname});\r\n\r\n setDefaultList(dependantList);\r\n setdependantInfo(newdependantInfo);\r\n\r\n clearDependantInfo();\r\n\r\n\r\n }\r\n\r\n function submitBenInfo() {\r\n let error = \"\";\r\n if (benName === \"\") {\r\n error = \"Please enter nominated beneficiary's name\";\r\n }\r\n if (benSurname === \"\") {\r\n error = \"Please enter nominated beneficiary's surname\";\r\n }\r\n\r\n if (benID === \"\" || !(/^[0-9\\b]+$/.test(benID)) || benID.length !== 13) {\r\n //console.log(isValidPassport(idChange))\r\n if (isValidPassport(benID)) {\r\n error = \"\";\r\n setBenIDType('Passport')\r\n\r\n } else {\r\n error = \"Please enter a valid Id number or Passport number\";\r\n }\r\n\r\n }\r\n\r\n if (benRelationshipToPrinciple === \" - Select - \") {\r\n error = \"Please specify your relationship with the beneficiary\";\r\n }\r\n\r\n if (benEmail === \"\" || !(/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(benEmail))) {\r\n error = \"Please enter a valid email\";\r\n }\r\n\r\n if (benTelNumber === \"\" || !(/^[0-9\\b]+$/.test(benTelNumber))) {\r\n error = \"Please enter a valid contact number\";\r\n }\r\n\r\n if (error !== \"\") {\r\n alert(error);\r\n return;\r\n }\r\n\r\n setNominatedBenSubmitted(true);\r\n\r\n }\r\n\r\n function clearDependantInfo() {\r\n setDependantName(\"\");\r\n setDependantSurname(\"\");\r\n // console.log(dependantInfo);\r\n setDependantMedicalAdmissionDate(new Date());\r\n setDependantMedicalAdmissionDetail(\"\");\r\n setDependantHospAdmissionDetail(\"\");\r\n setDependantChronicDetail(\"\");\r\n setDependantID(\"\");\r\n setDiscloseDepandantMedicalAdmission(\" - Select - \");\r\n setDependantHospAdmissionDetail(\"\");\r\n setDependantmedicalDisclosure(\" - Select - \");\r\n setDependantChronicDisclosure(\" - Select - \");\r\n setDependantLastHospitalAdmission(\" - Select - \");\r\n setDependantPregnancyDisclosure(\" - Select - \");\r\n setDependantHospAdmissionDate(new Date());\r\n setDependantDOB(new Date());\r\n setdependantRelationshipToPrinciple(\" - Select - \");\r\n setdependantHasSameMedAidChange(\" - Select - \");\r\n setDependantMedicalNumberChange(\"\");\r\n setdependantMedAidChange(\"\");\r\n setdependantHasGapCoverChange(\" - Select - \");\r\n setdependantGapProvider(\" - Select - \");\r\n setdependantGapCoverStart(new Date());\r\n setdependantGapCoverEnd(new Date());\r\n setdependantCoverStartDateChange(\" - Select - \");\r\n // console.log(\"DEPENDANT CLEAR\");\r\n\r\n }\r\n\r\n async function getRate(e) {\r\n setLoading(true);\r\n // console.log('here1',idChange)\r\n var dob = '';\r\n if (isValidPassport(idChange)) {\r\n // console.log('isValidPassport')\r\n dob = dateOfBirth\r\n } else {\r\n dob = getDob(idChange)\r\n }\r\n\r\n let startCoverDate;\r\n var dt = new Date();\r\n var yr = dt.getFullYear().toString()\r\n var yrNext = dt.getFullYear()+1\r\n yrNext = yrNext.toString()\r\n\r\n switch (principalCoverStartDate) {\r\n case \"January\":\r\n startCoverDate = yr + \"-01-01\"\r\n let nd = new Date(startCoverDate)\r\n nd = addDays(nd,30)\r\n if(nd < dt){\r\n startCoverDate = yrNext + \"-01-01\"\r\n }\r\n break;\r\n case \"February\":\r\n startCoverDate = yr + \"-02-01\"\r\n nd = new Date(startCoverDate)\r\n nd = addDays(nd,30)\r\n if(nd < dt){\r\n startCoverDate = yrNext + \"-02-01\"\r\n }\r\n break;\r\n case \"March\":\r\n startCoverDate = yr + \"-03-01\"\r\n break;\r\n case \"April\":\r\n startCoverDate = yr + \"-04-01\"\r\n break;\r\n case \"May\":\r\n startCoverDate = yr + \"-05-01\"\r\n break;\r\n case \"June\":\r\n startCoverDate = yr + \"-06-01\"\r\n break;\r\n case \"July\":\r\n startCoverDate = yr + \"-07-01\"\r\n break;\r\n case \"August\":\r\n startCoverDate = yr + \"-08-01\"\r\n break;\r\n case \"September\":\r\n startCoverDate = yr + \"-09-01\"\r\n break;\r\n case \"October\":\r\n startCoverDate = yr + \"-10-01\"\r\n break;\r\n case \"November\":\r\n startCoverDate = yr + \"-11-01\"\r\n break;\r\n case \"December\":\r\n startCoverDate = yr + \"-12-01\"\r\n break;\r\n }\r\n\r\n\r\n var data = [];\r\n // data.push({\"coverStartDate\": startCoverDate});\r\n data.push({\r\n \"accountType\": \"principal\",\r\n \"id\": dob,//idChange,\r\n \"policyType\": coverOption.toLowerCase(),\r\n });\r\n var dependantJson = [];\r\n\r\n\r\n dependantInfo.forEach(dep => {\r\n let dob;\r\n if (isValidPassport(dep.dependantID)) {\r\n dob = dep.dependantDOB\r\n } else {\r\n dob = getDobDep(dep.dependantID)\r\n }\r\n\r\n console.log('dob', dob)\r\n dependantJson = {\r\n \"accountType\": \"dependant\",\r\n \"id\": dob,\r\n \"policyType\": coverOption.toLowerCase(),\r\n \"depType\": dep.dependantRelationshipToPrinciple\r\n }\r\n data.push(dependantJson);\r\n });\r\n console.log(data)\r\n const options = {\r\n method: \"POST\",\r\n qs: {\r\n cmd: \"getRate\",\r\n coverStartDate:startCoverDate\r\n },\r\n body: data\r\n };\r\n\r\n const response = await executeAPIRequest(options);\r\n try {\r\n if (response.result) {\r\n // this.setState({premium: response.totalPremium})\r\n setPremium(response.totalPremium)\r\n // alert(response.totalPremium)\r\n } else {\r\n setPremium('error')\r\n // alert(response.description)\r\n }\r\n } catch (error) {\r\n alert(error);\r\n return;\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n if (discloseMedicalAdmission === \" - Select - \") {\r\n setdiscloseMedicalAdmission(\"\")\r\n }\r\n if (lastHospitalAdmission === \" - Select - \") {\r\n setlastHospitalAdmission(\"\")\r\n }\r\n if (pregnancyDisclosure === \" - Select - \") {\r\n setPregnancyDisclosure(\"\")\r\n }\r\n if (chronicDisclosure === \" - Select - \") {\r\n setchronicDisclosure(\"\")\r\n }\r\n }\r\n\r\n function addDays(date, days) {\r\n var result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n return result;\r\n }\r\n\r\n function getDob(idNumber) {\r\n if (idTypeChange == 'SAID' || idTypeChange == \"\" || idTypeChange == undefined) {\r\n var Year = idNumber.substring(0, 2);\r\n var Month = idNumber.substring(2, 4);\r\n var Day = idNumber.substring(4, 6);\r\n\r\n var cutoff = (new Date()).getFullYear() - 2000;\r\n\r\n var dob = (Year > cutoff ? '19' : '20') + Year + '-' + Month + '-' + Day;\r\n\r\n } else {\r\n var dob = dateOfBirth\r\n }\r\n\r\n return dob;\r\n }\r\n\r\n function getDobDep(idNumber) {\r\n\r\n var Year = idNumber.substring(0, 2);\r\n var Month = idNumber.substring(2, 4);\r\n var Day = idNumber.substring(4, 6);\r\n\r\n var cutoff = (new Date()).getFullYear() - 2000;\r\n\r\n var dob = (Year > cutoff ? '19' : '20') + Year + '-' + Month + '-' + Day;\r\n\r\n return dob;\r\n }\r\n\r\n function validateFormData() {\r\n\r\n let error = \"\";\r\n if (coverOption === \" - Select - \") {\r\n error = \"Please choose a cover option\";\r\n }\r\n\r\n if (principalCoverStartDate === \" - Select - \") {\r\n error = \"Please choose the month you would like to start your cover\";\r\n }\r\n\r\n if (title === \" - Select - \") {\r\n error = \"Please enter your title\";\r\n }\r\n if (nameChange === \"\" || !(/^[a-z ,.'-]+$/i.test(nameChange))) {\r\n error = \"Please enter your name\";\r\n\r\n }\r\n if (surnameChange === \"\" || !(/^[a-z ,.'-]+$/i.test(surnameChange))) {\r\n error = \"Please enter your surname\";\r\n }\r\n\r\n if (idChange === \"\" || !(/^[0-9\\b]+$/.test(idChange)) || idChange.length !== 13) {\r\n if (isValidPassport(idChange)) {\r\n error = \"\";\r\n console.log(\"set to passport\")\r\n setIDType(\"PASSPORT\");\r\n\r\n } else {\r\n error = \"Please enter a valid ID number or Passport number\";\r\n }\r\n\r\n } else {\r\n console.log(\"set to SAID\")\r\n setIDType(\"SAID\");\r\n }\r\n\r\n if (email === \"\" || !(/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(email))) {\r\n error = \"Please enter a valid email\";\r\n }\r\n\r\n if (principalMedAid === \" - Select - \") {\r\n error = \"Please choose your medical aid provider\";\r\n }\r\n if (medicalNumberChange == \"\") {\r\n error = \"Please provide your medical aid number\";\r\n }\r\n\r\n if (principalHasGap === \" - Select - \") {\r\n error = \"Please specify whether you have GAP cover\";\r\n }\r\n if (suburb === \"\"){\r\n error = \"Please enter your address info\";\r\n }\r\n if (addrA === \"\"){\r\n error = \"Please enter your address info\";\r\n }\r\n // if (addrB === \"\"){\r\n // error = \"Please enter your address info\";\r\n // }\r\n if (principalHasGap === \"Yes\") {\r\n if (principalGapProvider === \" - Select - \") {\r\n error = \"Please choose a GAP cover provider\";\r\n }\r\n\r\n }\r\n if (telNumber === \"\" || !(/^[0-9\\b]+$/.test(telNumber))) {\r\n error = \"Please enter a valid contact number\";\r\n }\r\n\r\n if (medicalDisclosure === \"Yes\") {\r\n var genFromId = idChange.substr(6, 4);\r\n // if (!parseInt(genFromId) <= 4999) {\r\n // if (pregnancyDisclosure === \" - Select - \") {\r\n // error = \"Please specify if you are pregnant\";\r\n // }\r\n // }\r\n\r\n if (discloseMedicalAdmission === \" - Select - \") {\r\n error = \"Please confirm if you are expecting any hospital admission or aware of any conditions or Illness that would require treatment in the next 12 months\";\r\n }\r\n if (discloseMedicalAdmission === \"Yes\") {\r\n if (principleAdmissionDetail === \"\") {\r\n error = \"Please provide more detail about any possible hospital admission, conditions or Illness that would require treatment in the next 12 months\";\r\n }\r\n }\r\n if (lastHospitalAdmission === \" - Select - \") {\r\n error = \"Please confirm if you have been diagnosed, received medical advice, care or treatment in the last 4 months\";\r\n }\r\n if (lastHospitalAdmission === \"Yes\") {\r\n if (principalHospAdmissionDetail === \"\") {\r\n error = \"Please provide more detail about any hospital admissions in the last 4 months\";\r\n }\r\n }\r\n if (chronicDisclosure === \" - Select - \") {\r\n error = \"Please confirm if you taken or actively taking chronic medication\";\r\n }\r\n if (chronicDisclosure === \"Yes\") {\r\n if (principalChronicDetail === \"\") {\r\n error = \"Please provide more detail regarding your chronic condition\";\r\n }\r\n }\r\n }\r\n\r\n if(checkedIntermediary){\r\n if (intermediaryInitialsChange == \"\") {\r\n error = \"Please provide Intermediary initials\";\r\n }if (intermediarySurnameChange == \"\") {\r\n error = \"Please provide Intermediary surname\";\r\n }\r\n // if (brokerCodeChange == \"\") {\r\n // error = \"Please provide Intermediary broker code\";\r\n // }\r\n }\r\n if (error !== \"\") {\r\n alert(error);\r\n return;\r\n }\r\n getRate();\r\n\r\n setFormSubmit(true);\r\n }\r\n function backToMainForm() {\r\n setFormSubmit(false);\r\n setPremiumAccept(false);\r\n setCurrentdependant(0);\r\n }\r\n function backToNomBen() {\r\n setNominatedBenSubmitted(false);\r\n }\r\n async function getZipInfo() {\r\n let suburbList = {};\r\n const options = {\r\n method: \"get\",\r\n qs: {\r\n cmd: \"getPostalCodes\"\r\n },\r\n\r\n };\r\n if (loadingCode !== false && getCodes === false) {\r\n const response = await executeAPIRequest(options);\r\n setSuburbList(generateSuburbList(response));\r\n setLoadingCode(false);\r\n getCodes = true;\r\n }\r\n\r\n\r\n }\r\n\r\n function generateSuburbList(response) {\r\n townList = response;\r\n if (response == undefined) {\r\n return;\r\n }\r\n\r\n let suburbArray = [];\r\n for (let i in response.data) {\r\n let item = {\r\n value: response.data[i].SUBURB + ', ' + response.data[i].TOWN + ', ' + response.data[i].CODE,\r\n key: response.data[i].SUBURB + ', ' + response.data[i].TOWN + ', ' + response.data[i].CODE\r\n };\r\n suburbArray.push(item);\r\n }\r\n return suburbArray;\r\n }\r\n\r\n async function submitFormData(e) {\r\n setPolicyCreating(true);\r\n\r\n // banking details validation\r\n const optionsB = {\r\n method: \"POST\",\r\n qs: {\r\n cmd: \"validateBankDetails\"\r\n },\r\n body: {\r\n \"countryAlpha2Code\": \"ZA\",\r\n \"value\": {\r\n \"accountHolder\": accountHolderName,\r\n \"accountNumber\": accountNumber,\r\n \"bank\": bankName,\r\n \"branchCode\": branchCode,\r\n \"accountType\": (accountType == \"Cheque\") ? \"Current\" : accountType\r\n }\r\n }\r\n };\r\n\r\n const responseB = await executeAPIRequest(optionsB);\r\n try {\r\n if (responseB.result) {\r\n // if (true) {\r\n setAcceptBankDetails(true);\r\n let startCoverDate;\r\n var dt = new Date();\r\n var yr = dt.getFullYear().toString()\r\n\r\n switch (principalCoverStartDate) {\r\n case \"January\":\r\n startCoverDate = yr + \"/01/01\"\r\n break;\r\n case \"February\":\r\n startCoverDate = yr + \"/02/01\"\r\n break;\r\n case \"March\":\r\n startCoverDate = yr + \"/03/01\"\r\n break;\r\n case \"April\":\r\n startCoverDate = yr + \"/04/01\"\r\n break;\r\n case \"May\":\r\n startCoverDate = yr + \"/05/01\"\r\n break;\r\n case \"June\":\r\n startCoverDate = yr + \"/06/01\"\r\n break;\r\n case \"July\":\r\n startCoverDate = yr + \"/07/01\"\r\n break;\r\n case \"August\":\r\n startCoverDate = yr + \"/08/01\"\r\n break;\r\n case \"September\":\r\n startCoverDate = yr + \"/09/01\"\r\n break;\r\n case \"October\":\r\n startCoverDate = yr + \"/10/01\"\r\n break;\r\n case \"November\":\r\n startCoverDate = yr + \"/11/01\"\r\n break;\r\n case \"December\":\r\n startCoverDate = yr + \"/12/01\"\r\n break;\r\n }\r\n\r\n setactualCoverStartDate(startCoverDate)\r\n\r\n var prinGender = \"Male\";\r\n\r\n var genFromId = idChange.substr(6, 4);\r\n if (parseInt(genFromId) <= 4999) {\r\n prinGender = \"Female\"\r\n }\r\n\r\n\r\n let type1;\r\n if (isValidPassport(idChange)) {\r\n type1 = \"PASSPORT\"\r\n } else {\r\n type1 = \"SAID\"\r\n }\r\n\r\n\r\n\r\n\r\n var startDate = new Date(startCoverDate);\r\n var endDate = new Date(startCoverDate);\r\n var endDate = new Date(endDate.setMonth(startDate.getMonth() + 10));\r\n var d = new Date();\r\n var currentDate = d.getFullYear() + '-' +\r\n ('0' + (d.getMonth() + 1)).slice(-2) + '-' +\r\n ('0' + d.getDate()).slice(-2);\r\n\r\n var risksJson = [];\r\n var detailFields = [];\r\n var principalData = [\r\n {\r\n \"code\": \"R_3MONGENWAI\",\r\n \"value\": \"NO\"\r\n },\r\n {\r\n \"code\": \"R_LASTNAME\",\r\n \"value\": surnameChange\r\n },\r\n {\r\n \"code\": \"R_ADDCONFNOTE\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_MEDANDPRE\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_MEDSCHDET01\",\r\n \"value\": medicalNumberChange\r\n },\r\n {\r\n \"code\": \"R_MEDSCH\",\r\n \"value\": principalMedAidIndex\r\n },\r\n {\r\n \"code\": \"R_ADDUND\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_NATION\",\r\n \"value\": \"001\"\r\n },\r\n {\r\n \"code\": \"R_COMMVAR\",\r\n \"value\": \"0\"\r\n },\r\n {\r\n \"code\": \"R_OPTION\",\r\n \"value\": (coverOption == 'Ultra') ? 'Option2' : 'Option1'\r\n },\r\n {\r\n \"code\": \"R_CONAPP\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_OVEPRE\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_CONSPEWAI\",\r\n \"value\": \"NO\"\r\n },\r\n {\r\n \"code\": \"R_PRECOVEND\",\r\n \"value\": principalGapCoverEnd\r\n },\r\n {\r\n \"code\": \"R_PRECOVSTA\",\r\n \"value\": principalGapCoverStart\r\n },\r\n {\r\n \"code\": \"R_CTDEFAULT\",\r\n \"value\": \"Default Cover Applicable up to an indemnity of 0.00\"\r\n },\r\n {\r\n \"code\": \"R_RATINGDATE\",\r\n \"value\": startCoverDate\r\n },\r\n {\r\n \"code\": \"R_DOB\",\r\n \"value\": dateOfBirth\r\n },\r\n {\r\n \"code\": \"R_RISKCPC\",\r\n \"value\": \"0.00 @ 0.0000000000 @ 100.00000 [1728.00]\"\r\n },\r\n {\r\n \"code\": \"R_RISKMEMRANDA\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_FIRSTNAME\",\r\n \"value\": nameChange\r\n },\r\n {\r\n \"code\": \"R_HAVYOUBEE\",\r\n \"value\": principalHasGap\r\n },\r\n {\r\n \"code\": \"R_HAVYOUBEE01\",\r\n \"value\": medicalDisclosure\r\n },\r\n {\r\n \"code\": \"R_CONSPEWAI01\",\r\n \"value\": \"Treatment of pre-existing and related conditions\"\r\n },\r\n {\r\n \"code\": \"R_PREPRO\",\r\n \"value\": (principalGapProvider === \" - Select - \") ? \"\" : principalGapProvider\r\n },\r\n {\r\n \"code\": \"R_PREPRODET\",\r\n \"value\": \"Other\"\r\n }\r\n ,\r\n {\r\n \"code\": \"R_STADATOF\",\r\n \"value\": startDate\r\n }\r\n ,\r\n {\r\n \"code\": \"R_ENDDATOF\",\r\n \"value\": endDate\r\n },\r\n {\r\n \"code\": \"R_TITLE\",\r\n \"value\": title\r\n },\r\n {\r\n \"code\": \"R_IDNO\",\r\n \"value\": idChange\r\n },\r\n {\r\n \"code\": \"R_TYPOFINS\",\r\n \"value\": \"XGPDEP1\"\r\n },\r\n {\r\n \"code\": \"R_IDTYPE\",\r\n \"value\": type1\r\n },\r\n {\r\n \"code\": \"R_INCSASRIA\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_ISTHEAPP\",\r\n \"value\": discloseMedicalAdmission\r\n },\r\n {\r\n \"code\": \"R_EXPDATOF\",\r\n \"value\": principleAdmissionDate\r\n },\r\n {\r\n \"code\": \"R_DETAILS\",\r\n \"value\": principleAdmissionDetail\r\n },\r\n {\r\n \"code\": \"R_2HASTHEAPP\",\r\n \"value\": lastHospitalAdmission\r\n },\r\n {\r\n \"code\": \"R_DATOFADM\",\r\n \"value\": principalHospAdmissionDate\r\n },\r\n {\r\n \"code\": \"R_DETAILS01\",\r\n \"value\": principalHospAdmissionDetail\r\n },\r\n {\r\n \"code\": \"R_3ISTHEAPP\",\r\n \"value\": (pregnancyDisclosure === \" - Select - \") ? \"No\" : pregnancyDisclosure \r\n },\r\n {\r\n \"code\": \"R_PLADELDAT\",\r\n \"value\": principalDueDate\r\n },\r\n {\r\n \"code\": \"R_ISTHEAPP01\",\r\n \"value\": chronicDisclosure\r\n },\r\n {\r\n \"code\": \"R_DETAILS02\",\r\n \"value\": principalChronicDetail\r\n },\r\n {\r\n \"code\": \"R_GENDER\",\r\n \"value\": prinGender\r\n }\r\n\r\n\r\n ];\r\n detailFields.push(principalData)\r\n\r\n console.log(JSON.stringify(principalData));\r\n var pricipalJson = {\r\n \"address\": null,\r\n \"header\": {\r\n \"sasriaCategory\": \"\",\r\n \"commissionRebate\": 0,\r\n \"matching\": \"string\",\r\n \"riskTypeId\": 16753,\r\n \"addressId\": -1,\r\n \"coInsurers\": [\r\n {\r\n \"code\": \"GICL\",\r\n \"percentage\": 100,\r\n \"principle\": true\r\n }\r\n ]\r\n },\r\n \"description\": nameChange + \" \" + surnameChange + \"(\" + getDob(idChange) + \")\",\r\n \"sumInsured\": 0,\r\n \"detailFields\": principalData\r\n }\r\n risksJson.push(pricipalJson)\r\n console.log(JSON.stringify(risksJson));\r\n\r\n var dependantJson = [];\r\n dependantInfo.forEach(dep => {\r\n\r\n var depGender = \"Male\";\r\n var genFromId = dep.dependantID.substr(6, 4);\r\n if (parseInt(genFromId) <= 4999) {\r\n depGender = \"Female\"\r\n }\r\n var depDob;\r\n depDob = getDobDep(dep.dependantID)\r\n\r\n let type2;\r\n if (isValidPassport(dep.dependantID)) {\r\n type2 = \"PASSPORT\"\r\n } else {\r\n type2 = \"SAID\"\r\n }\r\n\r\n\r\n var depRel = \"\";\r\n switch (dep.dependantRelationshipToPrinciple) {\r\n case \"Spouse\":\r\n depRel = \"XGPRTP1\";\r\n break;\r\n case \"Child\":\r\n depRel = \"XGPRTP2\";\r\n break;\r\n case \"Parent\":\r\n depRel = \"XGPRTP3\";\r\n break;\r\n case \"Sibling\":\r\n depRel = \"XGPRTP4\";\r\n break;\r\n case \"Life Partner\":\r\n depRel = \"XGPRTP5\";\r\n break;\r\n case \"Other\":\r\n depRel = \"XGPRTP6\";\r\n break;\r\n default:\r\n depRel = \"XGPRTP1\";\r\n break;\r\n\r\n }\r\n dependantJson = [{\r\n \"code\": \"R_3MONGENWAI\",\r\n \"value\": \"NO\"\r\n },\r\n {\r\n \"code\": \"R_LASTNAME\",\r\n \"value\": dep.dependantSurname\r\n },\r\n {\r\n \"code\": \"R_ADDCONFNOTE\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_MEDANDPRE\",\r\n \"value\": (dep.dependantHasSameMedAid === \"Yes\") ? true : false\r\n },\r\n {\r\n \"code\": \"R_MEDSCH\",\r\n \"value\": (dep.dependantMedAidIndex === \"\") ? principalMedAidIndex : dep.dependantMedAidIndex\r\n },\r\n {\r\n \"code\": \"R_ADDUND\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_NATION\",\r\n \"value\": \"001\"\r\n },\r\n {\r\n \"code\": \"R_IDNO\",\r\n \"value\": dep.dependantID\r\n },\r\n {\r\n \"code\": \"R_COMMVAR\",\r\n \"value\": \"0\"\r\n },\r\n {\r\n \"code\": \"R_OPTION\",\r\n \"value\": (coverOption == 'Ultra') ? 'Option2' : 'Option1'\r\n },\r\n {\r\n \"code\": \"R_CONAPP\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_OVEPRE\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_CONSPEWAI\",\r\n \"value\": \"NO\"\r\n },\r\n {\r\n \"code\": \"R_PRECOVEND\",\r\n \"value\": dep.dependantGapCoverEnd\r\n },\r\n {\r\n \"code\": \"R_PRECOVSTA\",\r\n \"value\": dep.dependantGapCoverStart\r\n },\r\n {\r\n \"code\": \"R_CTDEFAULT\",\r\n \"value\": \"Default Cover Applicable up to an indemnity of 0.00\"\r\n },\r\n {\r\n \"code\": \"R_PREPRO\",\r\n \"value\": (dep.dependantGapProvider === \" - Select - \") ? \"\" : dep.dependantGapProvider\r\n },\r\n {\r\n \"code\": \"R_PREPRODET\",\r\n \"value\": \"Other\"\r\n },\r\n {\r\n \"code\": \"R_RATINGDATE\",\r\n \"value\": startCoverDate\r\n },\r\n {\r\n \"code\": \"R_DOB\",\r\n \"value\": dep.dependantDOB\r\n },\r\n {\r\n \"code\": \"R_RISKCPC\",\r\n \"value\": \"0.00 @ 0.0000000000 @ 100.00000 [1728.00]\"\r\n },\r\n {\r\n \"code\": \"R_RISKMEMRANDA\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_FIRSTNAME\",\r\n \"value\": dep.dependantName\r\n },\r\n {\r\n \"code\": \"R_HAVYOUBEE\",\r\n \"value\": (dep.dependantHasGapCover === \" - Select - \") ? \"No\" : dep.dependantHasGapCover\r\n },\r\n {\r\n \"code\": \"R_TITLE\",\r\n \"value\": \"Mr\"\r\n },\r\n {\r\n \"code\": \"R_TYPOFINS\",\r\n \"value\": \"XGPDEP2\"\r\n },\r\n {\r\n \"code\": \"R_IDTYPE\",\r\n \"value\": type2\r\n },\r\n {\r\n \"code\": \"R_GENDER\",\r\n \"value\": depGender\r\n },\r\n {\r\n \"code\": \"R_INCSASRIA\",\r\n \"value\": \"False\"\r\n },\r\n {\r\n \"code\": \"R_RELTOPRI\",\r\n \"value\": depRel\r\n },\r\n\r\n {\r\n \"code\": \"R_RELDET\",\r\n \"value\": depRel\r\n },\r\n {\r\n \"code\": \"R_HAVYOUBEE01\",\r\n \"value\": dep.dependantmedicalDisclosure\r\n },\r\n {\r\n \"code\": \"R_CONSPEWAI01\",\r\n \"value\": \"Treatment of pre-existing and related conditions\"\r\n }\r\n ,\r\n {\r\n \"code\": \"R_STADATOF\",\r\n \"value\": startDate\r\n }\r\n ,\r\n {\r\n \"code\": \"R_ENDDATOF\",\r\n \"value\": endDate\r\n },\r\n\r\n {\r\n \"code\": \"R_ISTHEAPP\",\r\n \"value\": (dep.discloseDependantMedicalAdmission === \" - Select - \") ? \"No\" : dep.discloseDependantMedicalAdmission\r\n },\r\n {\r\n \"code\": \"R_EXPDATOF\",\r\n \"value\": dep.dependantMedicalAdmissionDate\r\n },\r\n {\r\n \"code\": \"R_DETAILS\",\r\n \"value\": dep.dependantMedicalAdmissionDetail\r\n },\r\n {\r\n \"code\": \"R_2HASTHEAPP\",\r\n \"value\": (dep.dependantlastHospitalAdmission === \" - Select - \") ? \"No\" : dep.dependantlastHospitalAdmission\r\n },\r\n {\r\n \"code\": \"R_DATOFADM\",\r\n \"value\": dep.dependantHospAdmissionDate\r\n },\r\n {\r\n \"code\": \"R_DETAILS01\",\r\n \"value\": dep.dependantHospAdmissionDetail\r\n },\r\n {\r\n \"code\": \"R_3ISTHEAPP\",\r\n \"value\": (dep.dependantPregnancyDisclosure === \" - Select - \") ? \"No\" : dep.dependantPregnancyDisclosure\r\n },\r\n {\r\n \"code\": \"R_PLADELDAT\",\r\n \"value\": dep.dependantDueDate\r\n },\r\n {\r\n \"code\": \"R_ISTHEAPP01\",\r\n \"value\": (dep.dependantChronicDisclosure === \" - Select - \") ? \"No\" : dep.dependantChronicDisclosure\r\n },\r\n {\r\n \"code\": \"R_DETAILS02\",\r\n \"value\": dep.dependantChronicDetail\r\n }]\r\n console.log(dependantJson);\r\n // detailFields.push(dependantJson);\r\n\r\n var depJson = {\r\n \"address\": null,\r\n \"header\": {\r\n \"sasriaCategory\": \"\",\r\n \"commissionRebate\": 0,\r\n \"matching\": \"string\",\r\n \"riskTypeId\": 16753,\r\n \"addressId\": -1,\r\n \"coInsurers\": [\r\n {\r\n \"code\": \"GICL\",\r\n \"percentage\": 100,\r\n \"principle\": false\r\n }\r\n ]\r\n },\r\n \"description\": dep.dependantName + \" \" + dep.dependantSurname + \"(\" + depDob + \")\",\r\n \"sumInsured\": 0,\r\n \"detailFields\": dependantJson\r\n }\r\n risksJson.push(depJson)\r\n });\r\n console.log(JSON.stringify(dependantInfo));\r\n\r\n const json = {\r\n \"policies\": [\r\n {\r\n \"header\": {\r\n \"productId\": 16657,\r\n \"subCampaignId\": -1,\r\n \"commissionVersion\": -1,\r\n \"oldPolicyNumber\": \"\",\r\n \"actualPolicyNumber\": \"\",\r\n \"comment\": \"New Policy\",\r\n \"countryAlpha2Code\": \"ZA\",\r\n \"coverStartDate\": startCoverDate\r\n },\r\n \"finance\": {\r\n \"bankDetails\": {\r\n \"accountHolder\": accountHolderName,\r\n \"accountNumber\": accountNumber,\r\n \"bank\": bankName,\r\n \"branchCode\": branchCode,\r\n \"sortCode\": null,\r\n \"accountType\": (accountType == \"Cheque\") ? \"Current\" : accountType\r\n },\r\n \"defaultCoInsurers\": null,\r\n \"paymentMethod\": 0,\r\n \"collectionDay\": collectionDate,\r\n \"taxPercentage\": 1.15,\r\n \"coverTerm\": 0,\r\n \"paymentTerm\": 3,\r\n \"currencyType\": 0,\r\n \"financeEnabled\": true,\r\n \"paymentStatus\": \"unCollected\",\r\n \"fees\": {\r\n \"adminFee\": {\r\n \"min\": 0,\r\n \"max\": 0,\r\n \"value\": 0,\r\n \"calculationMethod\": \"none\",\r\n \"coverPeriod\": \"none\"\r\n },\r\n \"brokerFee\": {\r\n \"min\": 0.0,\r\n \"max\": 0.0,\r\n \"value\": (Number((coverOption.toLowerCase() == \"ultra\") ? 20 : 13)),\r\n \"calculationMethod\": \"flat\",\r\n \"coverPeriod\": \"none\"\r\n },\r\n \"policyFee\": {\r\n \"min\": 0,\r\n \"max\": 0,\r\n \"value\": 0,\r\n \"calculationMethod\": \"none\",\r\n \"coverPeriod\": \"none\"\r\n }\r\n },\r\n \"commissionCalcMethod\": \"drip\"\r\n },\r\n \"sections\": [\r\n {\r\n \"riskTypeId\": 16753,\r\n \"detailFields\": [\r\n ]\r\n }\r\n ],\r\n \"risks\": risksJson,\r\n \"detailFields\": [\r\n {\r\n \"code\": \"P_SOURCE\",\r\n \"value\": \"NEW\"\r\n },\r\n {\r\n \"code\": \"P_EMAIL\",\r\n \"value\": email\r\n },\r\n {\r\n \"code\": \"P_CONNUM\",\r\n \"value\": telNumber\r\n },\r\n {\r\n \"code\": \"P_INITIALS\",\r\n \"value\": nameChange.substring(0, 1) + surnameChange.substring(0, 1)\r\n },\r\n {\r\n \"code\": \"P_OVERRIDEBRK1\",\r\n \"value\": true\r\n },\r\n {\r\n \"code\": \"P_BRKFLAT1\",\r\n \"value\": (Number((coverOption.toLowerCase() == \"ultra\") ? 20 : 13))\r\n }\r\n ]\r\n }\r\n ],\r\n \"header\": {\r\n \"firstName\": nameChange,\r\n \"lastName\": surnameChange,\r\n \"initials\": nameChange.substring(0, 1) + surnameChange.substring(0, 1),\r\n \"customerType\": \"individual\",\r\n \"companyName\": \"\",\r\n \"contactName\": \"\",\r\n \"customerId\": -1,\r\n \"commissionRelId\": 656,\r\n \"language\": \"Eng\",\r\n \"postalAddressId\": -1,\r\n \"physicalAddressId\": -1,\r\n \"workAddressId\": -1,\r\n \"itcCheckAuthorised\": false,\r\n \"countryAlpha2Code\": \"ZA\",\r\n \"vatRegistered\": false,\r\n \"vatRegNo\": \"\"\r\n },\r\n \"addresses\": [\r\n {\r\n \"id\": -1,\r\n \"addressGroup\": \"Client\",\r\n \"addressType\": \"physical\",\r\n \"addressLine1\": addrA,\r\n \"addressLine2\": addrB,\r\n \"addressLine3\": \"\",\r\n \"suburb\": (suburb == \"\") ? city : suburb,\r\n \"town\": city,\r\n \"postalCode\": zipCode,\r\n \"phoneNumber\": \"\",\r\n \"faxNumber\": \"\",\r\n \"cellNumber\": \"\",\r\n \"emailAddress\": \"\",\r\n \"longitude\": 0,\r\n \"latitude\": 0\r\n },\r\n {\r\n \"id\": -2,\r\n \"addressGroup\": \"Client\",\r\n \"addressType\": \"postal\",\r\n \"addressLine1\": (!checkedAlternativeAddress) ? addrA : postalAddrA,\r\n \"addressLine2\": (!checkedAlternativeAddress) ? addrB : postalAddrB,\r\n \"addressLine3\": \"\",\r\n \"suburb\": (suburb == \"\") ? city : suburb,\r\n \"town\": (!checkedAlternativeAddress) ? city : postalCity,\r\n \"postalCode\": (!checkedAlternativeAddress) ? zipCode : postalzipCode,\r\n \"phoneNumber\": \"\",\r\n \"faxNumber\": \"\",\r\n \"cellNumber\": \"\",\r\n \"emailAddress\": \"\",\r\n \"longitude\": 0,\r\n \"latitude\": 0\r\n }\r\n ],\r\n \"detailFields\": [\r\n {\r\n \"code\": \"C_CELLNO\",\r\n \"value\": telNumber\r\n },\r\n {\r\n \"code\": \"C_DOB\",\r\n \"value\": getDob(idChange)\r\n },\r\n {\r\n \"code\": \"C_PRECOMMET\",\r\n \"value\": \"1\"\r\n },\r\n {\r\n \"code\": \"C_EMAIL\",\r\n \"value\": email\r\n },\r\n {\r\n \"code\": \"C_PROFESSION\",\r\n \"value\": \"ADMIN\"\r\n },\r\n {\r\n \"code\": \"C_IDNO\",\r\n \"value\": idChange\r\n },\r\n {\r\n \"code\": \"C_IDTYPE\",\r\n \"value\": type1\r\n },\r\n {\r\n \"code\": \"C_TITLE\",\r\n \"value\": title\r\n },\r\n {\r\n \"code\": \"C_MARSTA\",\r\n \"value\": \"\"\r\n },\r\n {\r\n \"code\": \"C_TYPOFCLI\",\r\n \"value\": \"INDIVIDUAL\"\r\n },\r\n {\r\n \"code\": \"C_NATION\",\r\n \"value\": \"001\"\r\n },\r\n {\r\n \"code\": \"C_GENDER\",\r\n \"value\": prinGender\r\n },\r\n\r\n\r\n\r\n ]\r\n };\r\n\r\n console.log(JSON.stringify(json))\r\n\r\n\r\n var customerData = getPostData();\r\n\r\n const options = {\r\n method: \"POST\",\r\n qs: {\r\n cmd: \"getLighticoSession\",\r\n },\r\n body: customerData\r\n\r\n };\r\n const response = await executeAPIRequest(options);\r\n console.log(response)\r\n\r\n ///////////////////////\r\n const options1 = {\r\n method: \"POST\",\r\n qs: {\r\n cmd: \"savePolicy\",\r\n cbTempalteId: \"1dd5ef8e-778d-4306-b9bf-c0062bf361dd\",// response.message.templateFileId,//\"07cf51ef-5053-426d-819c-43ffd9daa4c2\",\r\n cbSessionId: response.message.sessionId\r\n },\r\n body: {\r\n json\r\n }\r\n };\r\n\r\n const response1 = await executeAPIRequest(options1);\r\n console.log('response1', response1)\r\n try {\r\n if (response1.result) {\r\n window.location.replace(response.customerURL);\r\n } else {\r\n alert(\"Oops, we're having trouble creating your policy. Don't worry, we have your details to proceed with your policy. \")\r\n setPolicyCreating(false);\r\n }\r\n console.log(JSON.stringify(response))\r\n } catch (error) {\r\n console.log(JSON.stringify(response))\r\n alert(error)\r\n setPolicyCreating(false);\r\n }\r\n\r\n } else {\r\n alert('Your banking details are not valid.')\r\n }\r\n } catch (error) {\r\n alert(error)\r\n }\r\n\r\n };\r\n const [actualCoverStartDate, setactualCoverStartDate] = React.useState('');\r\n\r\n function getPostData() {\r\n\r\n let startCoverDate;\r\n var dt = new Date();\r\n var yr = dt.getFullYear().toString()\r\n switch (principalCoverStartDate) {\r\n case \"January\":\r\n startCoverDate = yr + \"/01/01\"\r\n break;\r\n case \"February\":\r\n startCoverDate = yr + \"/02/01\"\r\n break;\r\n case \"March\":\r\n startCoverDate = yr + \"/03/01\"\r\n break;\r\n case \"April\":\r\n startCoverDate = yr + \"/04/01\"\r\n break;\r\n case \"May\":\r\n startCoverDate = yr + \"/05/01\"\r\n break;\r\n case \"June\":\r\n startCoverDate = yr + \"/06/01\"\r\n break;\r\n case \"July\":\r\n startCoverDate = yr + \"/07/01\"\r\n break;\r\n case \"August\":\r\n startCoverDate = yr + \"/08/01\"\r\n break;\r\n case \"September\":\r\n startCoverDate = yr + \"/09/01\"\r\n break;\r\n case \"October\":\r\n startCoverDate = yr + \"/10/01\"\r\n break;\r\n case \"November\":\r\n startCoverDate = yr + \"/11/01\"\r\n break;\r\n case \"December\":\r\n startCoverDate = yr + \"/12/01\"\r\n break;\r\n }\r\n\r\n var customerData = {\r\n \"medical_number\": medicalNumberChange,\r\n \"medical_scheme\": principalMedAidIndex,\r\n \"medical_aid_option\": coverOption,\r\n \"prev_gap_cover\": (principalGapProvider === ' - Select - ') ? \"No\" : principalGapProvider,\r\n \"date_terminated\": (principalGapProvider === ' - Select - ') ? \"\" : principalGapCoverEnd,\r\n \"joined_date\": (principalGapProvider === ' - Select - ') ? \"\" : principalGapCoverStart,\r\n \"full_name\": nameChange + ' ' + surnameChange,\r\n \"customerd\": idChange,\r\n \"ben_title_radiobutton\": title,\r\n \"date_of_birth\": getDob(idChange),\r\n \"email_i\": email,\r\n \"home_contact\": telNumber,\r\n \"work_number\": telNumber,\r\n \"cell_i\": telNumber,\r\n \"postal_address\": (!checkedAlternativeAddress) ? addrA : postalAddrA,\r\n \"postal_town\": (!checkedAlternativeAddress) ? addrB + ((addrB !== '') ? ', ' : '') + suburb + ', ' + city : postalAddrB + ((postalAddrB !== '') ? ', ' : '') + postalSuburb + ', ' + postalCity,\r\n \"postal_postal_code\": (!checkedAlternativeAddress) ? zipCode : postalzipCode,\r\n \"physical_address_one\": addrA,\r\n \"physical_address_two\": addrB + ((addrB !== '') ? ', ' : '') + suburb + ', ' + city,\r\n \"physical_postal_code\": zipCode,\r\n\r\n \"admitted_to_hosp\": (lastHospitalAdmission !== \"Yes\") ? \"no\" : \"yes\",\r\n \"expecting_hosp_admission\": (discloseMedicalAdmission !== \"Yes\") ? \"no\" : \"yes\",\r\n \"pregnant_check\": (pregnancyDisclosure !== \"Yes\") ? \"no\" : \"yes\",\r\n \"taking_chronic_medication\": (chronicDisclosure !== \"Yes\") ? \"no\" : \"yes\",\r\n \"gap_cover_question\": (principalGapProvider === ' - Select - ') ? \"No\" : \"Yes\",\r\n\r\n \"question1\": 1,\r\n \"question2\": 2,\r\n \"question3\": 3,\r\n \"question4\": 4,\r\n \"question5\": 5,\r\n // \"dependant1\":,\r\n // \"dependant2\":,\r\n // \"dependant3\":,\r\n // \"dependant4\":,\r\n // \"dependant5\":,\r\n // \"condition1\":,\r\n // \"condition2\":,\r\n // \"condition3\":\"\",\r\n // \"condition4\":,\r\n // \"condition5\":\"\",\r\n \"medication1\": principalHospAdmissionDetail,\r\n \"medication2\": principleAdmissionDetail,\r\n \"medication3\": \"\",\r\n \"medication4\": principalChronicDetail,\r\n \"medication5\": (principalGapProvider === ' - Select - ') ? \"\" : principalGapProvider,\r\n \"date_diagnosed1\": (lastHospitalAdmission !== \"Yes\") ? \"\" : principalHospAdmissionDate,\r\n \"date_diagnosed2\": (discloseMedicalAdmission !== \"Yes\") ? \"\" : principleAdmissionDate,\r\n \"date_diagnosed3\": (pregnancyDisclosure !== \"Yes\") ? \"\" : principalDueDate,\r\n \"date_diagnosed4\": \"\",\r\n \"date_diagnosed5\": \"\",\r\n\r\n \"nominated_ben\": benName + \" \" + benSurname,\r\n \"nominated_ben_id\": benID,\r\n \"intermediary_email\": benEmail,\r\n // \"ben_title_radiobutton\":,\r\n // \"selected_ben_dob\":,\r\n \"nom_ben_home_contact\": benTelNumber,\r\n // \"nom_ben_cell_contact\":,\r\n \"relationship_insured\": benRelationshipToPrinciple,\r\n\r\n \"account_holder\": accountHolderName,\r\n \"account_number\": accountNumber,\r\n \"banks_radiobutton\": bankName,\r\n \"account_type_radiobutton\": accountType,\r\n \"debit_order_day_radiobutton\": collectionDate,\r\n \"policy_commence\": startCoverDate,\r\n \"broker_fee\": \"R\" + (Number((coverOption.toLowerCase() == \"ultra\") ? 20 : 13)),\r\n \"list_of_services\": \"Access to personal assistance with emergencies relating to health events during after normal working hours. \" +\r\n \"Facilitating of non-insurance value added services including medical scheme liaison and operational processes in this regard. \" +\r\n \"Short-term Ombud escalation and technical support as may be applicable. \" +\r\n \"Arrange and assist with external relevant professionals as may be applicable. \" +\r\n \"Assist in obtaining quotes for claim processing. \" +\r\n \"Monthly newsletters containing health topics, educational articles, tips, testimonials and industry information. \" +\r\n \"Product comparison services\",\r\n \"total_premium\": premium,\r\n \"company_name\": \"Myfin 1237 Financial Services (Pty) Ltd\",\r\n \"fsp\": \"44462\",\r\n \"intermediary_code\":brokerCodeChange,\r\n \"Initials\":intermediaryInitialsChange,\r\n \"intermediary\":intermediarySurnameChange\r\n\r\n }\r\n console.log(customerData)\r\n\r\n let i = 1;\r\n dependantInfo.forEach(dep => {\r\n\r\n\r\n if (dep.dependantlastHospitalAdmission === \"Yes\") {\r\n customerData.admitted_to_hosp = \"yes\"\r\n customerData.medication1 = dep.dependantHospAdmissionDetail\r\n customerData.date_diagnosed1 = dep.dependantHospAdmissionDate\r\n customerData.dependant1 = dep.dependantName + ' ' + dep.dependantSurname\r\n }\r\n if (dep.discloseDependantMedicalAdmission === \"Yes\") {\r\n customerData.expecting_hosp_admission = \"yes\"\r\n customerData.medication2 = dep.dependantMedicalAdmissionDetail\r\n customerData.date_diagnosed2 = dep.dependantMedicalAdmissionDate\r\n customerData.dependant2 = dep.dependantName + ' ' + dep.dependantSurname\r\n }\r\n if (dep.dependantPregnancyDisclosure === \"Yes\") {\r\n customerData.pregnant_check = \"yes\"\r\n customerData.date_diagnosed3 = dep.dependantDueDate\r\n customerData.dependant3 = dep.dependantName + ' ' + dep.dependantSurname\r\n }\r\n if (dep.dependantChronicDisclosure === \"Yes\") {\r\n customerData.taking_chronic_medication = \"yes\"\r\n customerData.medication4 = dep.dependantChronicDetail\r\n customerData.dependant4 = dep.dependantName + ' ' + dep.dependantSurname\r\n }\r\n\r\n var depGender = \"\";\r\n if (isValidPassport(dep.dependantID)) {\r\n\r\n } else {\r\n var genFromId = dep.dependantID.substr(6, 4);\r\n console.log('genFromId',genFromId)\r\n if (parseInt(genFromId) <= 4999) {\r\n depGender = \"female\"\r\n } else {\r\n depGender = \"male\"\r\n }\r\n\r\n }\r\n\r\n let dob;\r\n if (isValidPassport(dep.dependantID)) {\r\n dob = dep.dependantDOB\r\n } else {\r\n dob = getDobDep(dep.dependantID)\r\n }\r\n\r\n switch (i) {\r\n case 1:\r\n customerData.ben_1_full_name = dep.dependantName + ' ' + dep.dependantSurname;\r\n customerData.ben_1_id = dep.dependantID;\r\n customerData.ben_1_gender = depGender;\r\n customerData.ben_1_dob = dob;\r\n customerData.ben_1_rta = dep.dependantRelationshipToPrinciple;\r\n break;\r\n case 2:\r\n customerData.ben_2_full_name = dep.dependantName + ' ' + dep.dependantSurname;\r\n customerData.ben_2_id = dep.dependantID;\r\n customerData.ben_2_gender = depGender;\r\n customerData.ben_2_dob = dob;\r\n customerData.ben_2_rta = dep.dependantRelationshipToPrinciple;\r\n break;\r\n case 3:\r\n customerData.ben_3_full_name = dep.dependantName + ' ' + dep.dependantSurname;\r\n customerData.ben_3_id = dep.dependantID;\r\n customerData.ben_3_gender = depGender;\r\n customerData.ben_3_dob = dob;\r\n customerData.ben_3_rta = dep.dependantRelationshipToPrinciple;\r\n break;\r\n case 4:\r\n customerData.ben_4_full_name = dep.dependantName + ' ' + dep.dependantSurname;\r\n customerData.ben_4_id = dep.dependantID;\r\n customerData.ben_4_gender = depGender;\r\n customerData.ben_4_dob = dob;\r\n customerData.ben_4_rta = dep.dependantRelationshipToPrinciple;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n console.log(i, customerData)\r\n i++;\r\n })\r\n return customerData;\r\n }\r\n\r\n function handleDependantsChange(e) {\r\n setNoOfdependants(e);\r\n };\r\n\r\n function handleTitleChange(e) {\r\n setTitle(e);\r\n };\r\n\r\n function handleGapCoverChange(e) {\r\n setPrincipalHasGapCoverChange(e);\r\n }\r\n function handleGapCoverChangedependants(e) {\r\n setdependantHasGapCoverChange(e);\r\n }\r\n\r\n function handlePrincipalCoverStartDate(e) {\r\n setPrincipalCoverStartDate(e);\r\n }\r\n function handledependantMedicalAid(e) {\r\n setdependantMedAidIndex(e.key);\r\n setdependantMedAidChange(e.value);\r\n }\r\n function handleBankDetails(e) {\r\n setBankName(e.value);\r\n setBranchCode(e.key);\r\n\r\n }\r\n\r\n function handleMedicalAdmissionDetails(e) {\r\n setPrincipleAdmissionDetail(e.target.value);\r\n\r\n }\r\n function handleClickDisclaimerA(e) {\r\n setCheckedDisclaimerA(!checkedDisclaimerA);\r\n }\r\n function handleClickAlternativeAddress(e) {\r\n setCheckedAlternativeAddress(!checkedAlternativeAddress);\r\n }\r\n function handleClickDisclaimerB(e) {\r\n setCheckedDisclaimerB(!checkedDisclaimerB);\r\n }\r\n function handleClickWhatsappUpdates(e) {\r\n setCheckedWhatsappUpdates(!checkedWhatsappUpdates);\r\n }\r\n function handleCheckedIntermediary(e) {\r\n setCheckedIntermediary(!checkedIntermediary);\r\n }\r\n function handleDetailsOfTreatment(e) {\r\n setPrincipalHospAdmissionDetail(e.target.value);\r\n // console.log(e.target.value);\r\n }\r\n function handleChronicDetail(e) {\r\n setPrincipalChronicDetail(e.target.value);\r\n // console.log(e.target.value);\r\n }\r\n function handleDependentMedicalAdmission(e) {\r\n setDependantMedicalAdmissionDetail(e.target.value);\r\n // console.log(e.target.value);\r\n }\r\n function handleDependentHospitalAdmission(e) {\r\n setDependantHospAdmissionDetail(e.target.value);\r\n // console.log(e.target.value);\r\n } function handleDependentChronicDetail(e) {\r\n setDependantChronicDetail(e.target.value);\r\n // console.log(e.target.value);\r\n }\r\n\r\n function handlePrincipalMedicalAid(e) {\r\n setPrincipalMedAidIndex(e.key);\r\n setPrincipalMedAidChange(e.value);\r\n }\r\n\r\n function handleSuburbChange(e) {\r\n console.log('call force update');\r\n var res = e.value.split(', ');\r\n setSuburbChange(res[0]);\r\n setCityChange(res[1]);\r\n setZipChange(res[2]);\r\n\r\n\r\n }\r\n\r\n function handlePostalSuburbChange(e) {\r\n console.log('call force update');\r\n var res = e.value.split(', ');\r\n setPosSuburbChange(res[0]);\r\n setPosCityChange(res[1]);\r\n setPostalZipChange(res[2]);\r\n }\r\n\r\n function handlePrincipalGapCover(e) {\r\n setPrincipalGapProvider(e);\r\n }\r\n function handledependantGapCover(e) {\r\n setdependantGapProvider(e);\r\n }\r\n\r\n function acceptMonthlyPremium() {\r\n if (checkedDisclaimerB === false) {\r\n alert(\"Please accept the medical disclaimer\");\r\n return;\r\n }\r\n if (checkedDisclaimerA === false) {\r\n alert(\"Please accept the medical scheme disclaimer\");\r\n return;\r\n }\r\n setPremiumAccept(true);\r\n }\r\n\r\n function ShowSuccessScreen() {\r\n if (policyCreating) {\r\n return (
\r\n \r\n
\r\n \r\n
\r\n
\r\n
);\r\n } else if (acceptBankDetails && !policyCreating) {\r\n return (
\r\n );\r\n }\r\n }\r\n\r\n function submitBankingDetails() {\r\n let error = \"\";\r\n if (bankName === \" - Bank Name - \") {\r\n error = \"Please select your bank\";\r\n }\r\n\r\n if (accountNumber === \"\" || !(/^[0-9\\b]+$/.test(accountNumber))) {\r\n error = \"Please enter a valid account number\";\r\n }\r\n\r\n if (accountHolderName === \"\") {\r\n error = \"Please enter the account holder name\";\r\n }\r\n if (collectionDate === \" - Select - \") {\r\n error = \"Please enter the account holder name\";\r\n }\r\n if (error !== \"\") {\r\n alert(error);\r\n return;\r\n }\r\n\r\n submitFormData();\r\n }\r\n\r\n const { ...rest } = props;\r\n\r\n function showLoader() {\r\n if (loadingCode && onSearch) {\r\n return (
\r\n\r\n \r\n
)\r\n }\r\n }\r\n\r\n function ShowPremium() {\r\n if (loading) {\r\n return (
\r\n \r\n
\r\n \r\n
\r\n
\r\n
);\r\n } else if (formSubmit && !acceptPremium && nominatedBenSubmitted == true) {\r\n return (
\r\n \r\n

We calculated based on the information provided that your monthly premium will be:

\r\n
\r\n \r\n

R{premium}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
*I accept that this application is subject to underwriting and that the policy will only incepted once a policy schedule reflecting premiums and underwriting has been sent. I accept that I will have 31 days to cancel this policy should I not wish to continue with cover
\r\n
\r\n handleClickDisclaimerA(event)}\r\n value=\"checkedA\"\r\n classes={{\r\n switchBase: classes.switchBase,\r\n checked: classes.switchChecked,\r\n thumb: classes.switchIcon,\r\n track: classes.switchBar\r\n }}\r\n />\r\n }\r\n classes={{\r\n label: classes.label\r\n }}\r\n label=\"Accept\"\r\n />\r\n
\r\n
\r\n\r\n
*This is not a Medical Scheme and the cover is not the same as that of a Medical Scheme. This policy is not a substitute for Medical Scheme membership.; Membership of a valid Medical Scheme registered in terms of the Medical Schemes act 131 of 1998 is required to qualify for cover under this policy
\r\n
\r\n handleClickDisclaimerB(event)}\r\n value=\"checkedB\"\r\n classes={{\r\n switchBase: classes.switchBase,\r\n checked: classes.switchChecked,\r\n thumb: classes.switchIcon,\r\n track: classes.switchBar\r\n }}\r\n />\r\n }\r\n classes={{\r\n label: classes.label\r\n }}\r\n label=\"Accept\"\r\n />\r\n
\r\n\r\n
\r\n
\r\n handleClickWhatsappUpdates(event)}\r\n value=\"checkedA\"\r\n classes={{\r\n switchBase: classes.switchBase,\r\n checked: classes.switchChecked,\r\n thumb: classes.switchIcon,\r\n track: classes.switchBar\r\n }}\r\n />\r\n }\r\n classes={{\r\n label: classes.label\r\n }}\r\n label=\"Receive policy updates via WhatsApp?\"\r\n />\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n
);\r\n }\r\n return (
);\r\n }\r\n function ShowMedicalAdmissionDetails() {\r\n if (discloseMedicalAdmission === \"Yes\") {\r\n return (
\r\n
\r\n\r\n

*Additional Detail

\r\n handleMedicalAdmissionDetails(e)}\r\n />\r\n\r\n

*Date

\r\n\r\n setPrincipleAdmissionDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowPregnancy() {\r\n if (pregnancyDisclosure === \"Yes\") {\r\n return (
\r\n
\r\n

*Due Date

\r\n\r\n setPrincipalDueDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowDetailsOfTreatment() {\r\n if (lastHospitalAdmission === \"Yes\") {\r\n return (
\r\n
\r\n\r\n

*Additional Detail

\r\n handleDetailsOfTreatment(e)}\r\n />\r\n\r\n

*Date

\r\n\r\n setPrincipalHospAdmissionDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n\r\n\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowChronicDetails() {\r\n if (chronicDisclosure === \"Yes\") {\r\n return (
\r\n
\r\n

*Additional Detail

\r\n \r\n handleChronicDetail(e)}\r\n />\r\n\r\n \r\n\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n\r\n function ShowPrincIsPregnant() {\r\n var genFromId = idChange.substr(6, 4);\r\n if (parseInt(genFromId) <= 4999 || idTypeChange == \"PASSPORT\") {\r\n\r\n return (
\r\n
\r\n \r\n

*Are you currently pregnant?\r\n

\r\n
\r\n\r\n setPregnancyDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n
)\r\n } else return (
)\r\n }\r\n\r\n function ShowMedicalDiagnostics() {\r\n if (medicalDisclosure === \"Yes\") {\r\n return (
\r\n
\r\n \r\n

*Are you expecting a hospital admission or aware of any conditions or Illness that would require treatment in the next 12 months?\r\n

\r\n
\r\n\r\n setdiscloseMedicalAdmission(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n
\r\n {ShowMedicalAdmissionDetails()}\r\n\r\n
\r\n \r\n

*Have you been admitted to hospital in the last 4 months?\r\n

\r\n
\r\n\r\n setlastHospitalAdmission(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n {ShowDetailsOfTreatment()}\r\n {ShowPrincIsPregnant()}\r\n {ShowPregnancy()}\r\n
\r\n \r\n

*Are you currently taking or taken chronic medication in the past 24 months?\r\n

\r\n
\r\n\r\n setchronicDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n {ShowChronicDetails()}\r\n
)\r\n }\r\n return (
);\r\n }\r\n function ShowBankingDetails() {\r\n if (acceptPremium == true && formSubmit && acceptBankDetails == false && nominatedBenSubmitted == true) {\r\n return (
\r\n \r\n \r\n

Banking Details

\r\n handleBankDetails(menuItem)}\r\n />\r\n\r\n
\r\n\r\n setAccountNumber(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n\r\n setAccountHolderName(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

*Account type

\r\n setAccountType(menuItem)}\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Savings\",\r\n \"Transmission\",\r\n \"Cheque\"\r\n\r\n ]}\r\n />\r\n
\r\n

*Collection Date

\r\n setCollectionDate(menuItem)}\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"1\",\r\n \"5\",\r\n \"7\",\r\n \"15\",\r\n \"20\",\r\n \"25\",\r\n \"31\"\r\n\r\n\r\n ]}\r\n />\r\n
\r\n I/We hereby confirm acceptance of the Gapwise policy, and authorise GENRIC Insurance Company Limited, to draw on my/our account at the under mentioned institution in any manner agreed on between GENRIC Insurance Company Limited and such institution, the amount of the premium payable, and request the aforesaid institution to debit my/our account with all debits drawn against it by GENRIC Insurance Company Limited.\r\n
\r\n
\r\n All such withdrawals from my/our bank account by GENRIC Insurance Company Limited shall be treated as though they had been signed by me /us personally.\r\n
\r\n
\r\n I/We understand that the details of each withdrawal will be printed on my bank statement bearing a specific reference number which will reflect GENRIC and your policy number as confirmed in the policy documents.\r\n
\r\n
\r\n This authority may be cancelled by me/us by giving GENRIC Insurance Company limited 31 days’ notice in writing. However, I/we understand that I/we shall not be entitled to any refund of amounts which GENRIC Insurance Company has withdrawn while this authority was in force, if such amounts were legally owing to GENRIC Insurance Company Limited.\r\n
\r\n
\r\n Premiums are payable on a monthly basis by debit order. If two or more debit orders are returned GENRIC Insurance Company Limited will not be held liable should the policy be automatically terminated, or should claims incurred during this period of suspension not be paid.\r\n
\r\n
\r\n I acknowledge that any fees and charges levied by the bank on account of the debit order or any debit order payments which may be rejected for any reason whatsoever will be for my account.\r\n
\r\n
\r\n I/we certify that the above bank details are correct. If these banking details have not been provided accurately, or if the details change at any time in the future and I/we fail to notify such changes or if payments are not made in accordance with the Debit Order Instruction, the responsibility of payment will rest with me/us.\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n
\r\n
);\r\n }\r\n return (
);\r\n\r\n }\r\n function ShowPostalAddress() {\r\n if (checkedAlternativeAddress) {\r\n return (
\r\n

Postal address

\r\n\r\n setPosAddr1Change(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setPosAddr2Change(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setOnSearch(true)}\r\n value={suburb}\r\n data={suburbList}\r\n onSelect={(menuItem) => handlePostalSuburbChange(menuItem)}\r\n className={classes.inputDropdown}\r\n style={{\r\n border: \"none\",\r\n borderBottom: \"1px solid lightgrey\",\r\n borderRadius: \"unset\",\r\n marginLeft: \"0px\",\r\n paddingLeft: \"0px\",\r\n marginBottom: \"1em\",\r\n fontWeight: 100\r\n }}\r\n />\r\n
\r\n {showLoader()}\r\n setPosCityChange(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n
)\r\n } else return (
)\r\n }\r\n function AdditionalDetailsPrincipal() {\r\n let children = [];\r\n if (principalHasGap === \"Yes\") {\r\n children.push(

*Gap Cover Start Date

\r\n setPrincipalGapCoverStart(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
\r\n
\r\n\r\n

*Gap Cover End Date

\r\n\r\n setPrincipleGapCoverEnd(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
\r\n
\r\n\r\n

*Gap Cover Provider\r\n

\r\n
\r\n\r\n { handlePrincipalGapCover(menuItem) }} //TODO: Get value from this place console.log(menuItem)\r\n\r\n dropdownList={[\r\n \"Cura\",\r\n \"Discovery\",\r\n \"Elixi\",\r\n \"iWyze\",\r\n \"KaeloXeulus\",\r\n \"Liberty\",\r\n \"Momentum\",\r\n \"Old Mutual\",\r\n \"Sanlam\",\r\n \"Sirago\",\r\n \"Stratum\",\r\n \"Other\",\r\n\r\n ]}\r\n />\r\n
);\r\n }\r\n return children;\r\n }\r\n function AdditionalDetailsDependant() {\r\n let children = [];\r\n if (dependantHasGapCover === \"Yes\") {\r\n return (

*Gap Cover Start Date

\r\n setdependantGapCoverStart(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
\r\n
\r\n\r\n

*Gap Cover End Date

\r\n setdependantGapCoverEnd(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n\r\n
\r\n
\r\n\r\n

*Gap Cover Provider\r\n

\r\n
\r\n\r\n { handledependantGapCover(menuItem) }} //TODO: Get value from this place console.log(menuItem)\r\n\r\n dropdownList={[\r\n \"Cura\",\r\n \"Discovery\",\r\n \"Elixi\",\r\n \"iWyze\",\r\n \"KaeloXeulus\",\r\n \"Liberty\",\r\n \"Momentum\",\r\n \"Old Mutual\",\r\n \"Sanlam\",\r\n \"Sirago\",\r\n \"Stratum\",\r\n \"Other\",\r\n\r\n ]}\r\n />\r\n
);\r\n }\r\n return children;\r\n }\r\n function DependantMedicalAidInfo() {\r\n let children = [];\r\n if (dependantHasSameMedAid === \"No\") {\r\n return (
\r\n
\r\n

*Medical Aid

\r\n handledependantMedicalAid(menuItem)}\r\n />\r\n
\r\n

*Medical scheme number

\r\n\r\n setDependantMedicalNumberChange(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n\r\n

*Currently Covered On Gap Cover

\r\n
\r\n { handleGapCoverChangedependants(menuItem) }} //TODO: Get value from this place console.log(menuItem)\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n padding: \"10px 10em 10px 10em\"\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n {AdditionalDetailsDependant()}\r\n\r\n
);\r\n }\r\n return children;\r\n }\r\n function DependantDetails() {\r\n // Outer loop to create parent\r\n //Inner loop to create children\r\n //if (currentdependant < dependants && formSubmit) {\r\n\r\n return (
\r\n

Dependant Details

\r\n \r\n \r\n setDependantName(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setDependantSurname(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setDependantIDChangeFunc(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n\r\n
\r\n {ShowDependantDOBPicker()}\r\n
\r\n\r\n
\r\n
\r\n

*Relationship to Principal?

\r\n setdependantRelationshipToPrinciple(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n buttonText={dependantRelationshipToPrinciple}\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n padding: \"10px 10em 10px 10em\",\r\n borderBottom: \"solid 1px lightgray\",\r\n width: \"-webkit-fill-available\"\r\n }}\r\n dropdownList={relationshipList}\r\n\r\n />\r\n\r\n
\r\n
\r\n \r\n

*Medical Aid and Gap Cover same as Principal?

\r\n { setdependantHasSameMedAidChange(menuItem) }} //TODO: Get value from this place console.log(menuItem)\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n padding: \"10px 10em 10px 10em\",\r\n borderBottom: \"solid 1px lightgray\",\r\n width: \"-webkit-fill-available\"\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n\r\n />\r\n
\r\n {DependantMedicalAidInfo()}\r\n\r\n

*Have you been diagnosed, received medical advice, care or treatment for any condition in\r\n the past 12 months?\r\n

\r\n
\r\n\r\n setDependantmedicalDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n {ShowDependantMedicalDiagnostics()}\r\n\r\n\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n\r\n\r\n
)\r\n\r\n\r\n }\r\n\r\n function BeneficiaryDetails() {\r\n // Outer loop to create parent\r\n //Inner loop to create children\r\n if (formSubmit && nominatedBenSubmitted == false) {\r\n\r\n return (
\r\n

Nominated Beneficiary Details

\r\n \r\n \r\n setbenName(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setBenSurname(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setBenID(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n\r\n

*Email

\r\n\r\n setBenEmail(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

*Contact Number

\r\n\r\n setBenTelNumber(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n
\r\n\r\n
\r\n
\r\n

*Relationship to Principal?

\r\n setBenRelationshipToPrinciple(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n buttonText={benRelationshipToPrinciple}\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n padding: \"10px 10em 10px 10em\",\r\n borderBottom: \"solid 1px lightgray\",\r\n width: \"-webkit-fill-available\"\r\n }}\r\n dropdownList={relationshipList}\r\n\r\n />\r\n\r\n
\r\n\r\n\r\n
\r\n\r\n \r\n \r\n {/**/}\r\n \r\n \r\n
\r\n\r\n\r\n
)\r\n\r\n }\r\n return (\r\n )\r\n\r\n //Create the parent and add the children\r\n\r\n }\r\n\r\n function setIDChangeFunc(id) {\r\n setIDChange(id)\r\n if (id.length === 13) {\r\n setIDType(\"SAID\");\r\n let d = new Date(getDob(id))\r\n setDateOfBirth(d)\r\n } else {\r\n if (id !== \"\" || (/^[0-9\\b]+$/.test(id)) || id.length === 13) {\r\n\r\n setIDType(\"PASSPORT\");\r\n }\r\n\r\n\r\n }\r\n console.log(idTypeChange);\r\n }\r\n\r\n function setDependantIDChangeFunc(id) {\r\n setDependantID(id)\r\n if (id.length === 13) {\r\n setDependantIDType(\"SAID\");\r\n } else {\r\n setDependantIDType(\"PASSPORT\");\r\n }\r\n\r\n }\r\n\r\n function ShowPassportDetails() {\r\n return (

\r\n

*ID Number/ Passport

\r\n\r\n setIDChangeFunc(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n {showPrincipleDOBPicker()}\r\n
)\r\n }\r\n\r\n function ShowDependantList() {\r\n return (
\r\n\r\n {defaultList.map(item => {\r\n return (\r\n
\r\n \r\n {item.name}\r\n
\r\n );\r\n })}\r\n\r\n\r\n
);\r\n\r\n\r\n }\r\n\r\n function ShowAddDependant() {\r\n if (dependantInfo.length < 4){\r\n return (
\r\n \r\n
);\r\n }\r\n return (
);\r\n }\r\n\r\n function ShowBanner(intermediary){\r\n if (intermediary) {\r\n return (\r\n
\r\n
\r\n
Friendly
\r\n
Reminder
\r\n
\r\n
\r\n \r\n

You need to be on a medical aid before you can apply for this\r\n cover.

\r\n
\r\n
\r\n
How
\r\n
Long
\r\n
Will it take?
\r\n\r\n
\r\n
\r\n \r\n

Your application will be processed by our underwriters within 24\r\n hours

\r\n
\r\n
\r\n )\r\n }\r\n return (
);\r\n }\r\n\r\n function ShowIntermediary(){\r\n if (checkedIntermediary){\r\n return (
\r\n

Intermediary Details

\r\n \r\n \r\n

Intermediary Initials

\r\n\r\n setIntermediaryInitialChange(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

Intermediary Surname

\r\n setIntermediarySurnameChange(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

Broker code

\r\n setBrokerCodeChange(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n
\r\n \r\n {ShowBanner(checkedIntermediary)}\r\n \r\n
\r\n\r\n
\r\n
)\r\n }\r\n return (
);\r\n }\r\n\r\n function FormDetails() {\r\n if (!formSubmit) {\r\n return (
\r\n
\r\n handleCheckedIntermediary(event)}\r\n value=\"checkedA\"\r\n classes={{\r\n switchBase: classes.switchBase,\r\n checked: classes.switchChecked,\r\n thumb: classes.switchIcon,\r\n track: classes.switchBar\r\n }}\r\n />\r\n }\r\n classes={{\r\n label: classes.label\r\n }}\r\n label=\"This form is completed by an intermediary on behalf of the applicant\"\r\n />\r\n {ShowIntermediary()}\r\n

Cover detail

\r\n \r\n \r\n

Option

\r\n\r\n setCoverOption(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\"\r\n }}\r\n dropdownList={[\r\n \"Comprehensive\",\r\n \"Ultra\"\r\n ]}\r\n />\r\n
\r\n

*Cover Start Date

\r\n {\r\n handlePrincipalCoverStartDate(menuItem)\r\n }} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={getMonthsAvailable()}\r\n />\r\n
\r\n \r\n {ShowBanner(!checkedIntermediary)}\r\n \r\n\r\n
\r\n\r\n
\r\n\r\n

Principal detail

\r\n\r\n \r\n \r\n\r\n
\r\n \r\n
\r\n

*Title

\r\n handleTitleChange(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Mr\",\r\n \"Miss\",\r\n \"Mrs\",\r\n \"Rev\",\r\n \"Adv\",\r\n \"Dr\"\r\n\r\n ]}\r\n />\r\n
\r\n\r\n

*Name

\r\n\r\n setNameChange(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

*Surname

\r\n\r\n setSurnameChange(event.target.value)\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n\r\n

*Medical Aid

\r\n\r\n handlePrincipalMedicalAid(menuItem)}\r\n />\r\n
\r\n

*Medical scheme number

\r\n\r\n setMedicalNumberChange(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

*Currently Covered On Gap Cover

\r\n
\r\n {\r\n handleGapCoverChange(menuItem)\r\n }} //TODO: Get value from this place console.log(menuItem)\r\n\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n padding: \"10px 10em 10px 10em\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n\r\n
\r\n {AdditionalDetailsPrincipal()}\r\n\r\n \r\n

*Have you been diagnosed, received medical advice, care or treatment for any condition in\r\n the past 12 months?\r\n

\r\n
\r\n\r\n setMedicalDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n {ShowMedicalDiagnostics()}\r\n\r\n
\r\n
\r\n \r\n

*Email

\r\n\r\n setEmailChange(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n

*Contact Number

\r\n\r\n setTellChange(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n\r\n\r\n

Principal physical address

\r\n\r\n setAddr1Change(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setAddr2Change(event.target.value)\r\n\r\n }}\r\n formControlProps={{\r\n fullWidth: true\r\n }}\r\n />\r\n
\r\n setOnSearch(true)}\r\n value={suburb}\r\n data={suburbList}\r\n onSelect={(menuItem) => handleSuburbChange(menuItem)}\r\n className={classes.inputDropdown}\r\n style={{\r\n border: \"none\",\r\n borderBottom: \"1px solid lightgrey\",\r\n borderRadius: \"unset\",\r\n marginLeft: \"0px\",\r\n paddingLeft: \"0px\",\r\n marginBottom: \"1em\",\r\n fontWeight: 100\r\n }}\r\n />\r\n\r\n
\r\n handleClickAlternativeAddress(event)}\r\n value=\"checkedA\"\r\n classes={{\r\n switchBase: classes.switchBase,\r\n checked: classes.switchChecked,\r\n thumb: classes.switchIcon,\r\n track: classes.switchBar\r\n }}\r\n />\r\n }\r\n classes={{\r\n label: classes.label\r\n }}\r\n label=\"Postal address is different from physical address\"\r\n />\r\n {ShowPostalAddress()}\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n
\r\n\r\n {/*This is for the medical diagnostics disclaimer*/}\r\n\r\n\r\n
\r\n

Dependant Details

\r\n \r\n\r\n\r\n {/* {\r\n handleDependantsChange(menuItem)\r\n }} //TODO: Get value from this place console.log(menuItem)\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n }}\r\n dropdownList={[\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\",\r\n \"4\"\r\n ]}\r\n\r\n />*/}\r\n {ShowDependantList()}\r\n {ShowAddDependant()}\r\n\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n return (
);\r\n\r\n }\r\n\r\n function ShowDependantDOBPicker() {\r\n if (dependantIDType === \"PASSPORT\") {\r\n return (
\r\n

*Date of birth

\r\n
\r\n (\r\n \r\n \r\n changeYear(value)}\r\n >\r\n {years.map((option) => (\r\n \r\n ))}\r\n \r\n\r\n \r\n changeMonth(months.indexOf(value))\r\n }\r\n >\r\n {months.map((option) => (\r\n \r\n ))}\r\n \r\n\r\n \r\n
\r\n )}\r\n selected={dependantDOB}\r\n onChange={(date) => setDependantDOB(date)}\r\n />\r\n\r\n
\r\n
)\r\n } else { return (
) }\r\n\r\n }\r\n\r\n\r\n function showPrincipleDOBPicker() {\r\n if (idTypeChange === 'PASSPORT') {\r\n\r\n return (
\r\n

*Date of birth

\r\n
\r\n (\r\n \r\n \r\n changeYear(value)}\r\n >\r\n {years.map((option) => (\r\n \r\n ))}\r\n \r\n\r\n \r\n changeMonth(months.indexOf(value))\r\n }\r\n >\r\n {months.map((option) => (\r\n \r\n ))}\r\n \r\n\r\n \r\n
\r\n )}\r\n selected={dateOfBirth}\r\n onChange={(date) => setDateOfBirth(date)}\r\n />\r\n
\r\n
)\r\n }\r\n else { return (
) }\r\n }\r\n\r\n function ShowDependantIsPregnant() {\r\n if (parseInt(dependantID.substr(6, 4)) <= 4999 || dependantIDType == \"PASSPORT\"){\r\n return (
\r\n
\r\n \r\n

*Are you currently pregnant?\r\n

\r\n
\r\n\r\n setDependantPregnancyDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n
\r\n )\r\n } else return (
);\r\n\r\n }\r\n\r\n function ShowDependantMedicalDiagnostics() {\r\n let children = [];\r\n if (dependantmedicalDisclosure === \"Yes\") {\r\n return (
\r\n
\r\n \r\n

*Are you expecting a hospital admission or aware of any conditions or Illness that would require treatment in the next 12 months?\r\n

\r\n
\r\n\r\n setDiscloseDepandantMedicalAdmission(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n
\r\n {ShowDependantMedicalAdmissionDetails()}\r\n\r\n
\r\n \r\n

*Have you been admitted to hospital in the last 4 months?\r\n

\r\n
\r\n\r\n setDependantLastHospitalAdmission(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n {ShowDependantDetailsOfTreatment()}\r\n {ShowDependantIsPregnant()}\r\n {ShowDependantPregnancy()}\r\n
\r\n \r\n

*Are you currently taking or taken chronic medication in the past 24 months?\r\n

\r\n
\r\n\r\n setDependantChronicDisclosure(menuItem)} //TODO: Get value from this place console.log(menuItem)\r\n dropdownHeader=\"Choose Option\"\r\n buttonProps={{\r\n className: classes.navLink,\r\n color: \"transparent\",\r\n\r\n }}\r\n dropdownList={[\r\n \"Yes\",\r\n \"No\",\r\n\r\n ]}\r\n />\r\n
\r\n {ShowDependantChronicDetails()}\r\n
)\r\n }\r\n return children;\r\n\r\n }\r\n function ShowDependantMedicalAdmissionDetails() {\r\n if (discloseDependantMedicalAdmission === \"Yes\") {\r\n return (
\r\n

*Additional Detail

\r\n handleDependentMedicalAdmission(e)}\r\n />\r\n\r\n

*Date

\r\n\r\n setDependantMedicalAdmissionDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowDependantPregnancy() {\r\n if (dependantPregnancyDisclosure === \"Yes\") {\r\n return (
\r\n
\r\n

*Due Date

\r\n\r\n setDependantDueDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowDependantDetailsOfTreatment() {\r\n if (dependantlastHospitalAdmission === \"Yes\") {\r\n return (
\r\n

*Additional Detail

\r\n\r\n handleDependentHospitalAdmission(e)}\r\n />\r\n\r\n\r\n

*Date

\r\n\r\n setDependantHospAdmissionDate(date)}\r\n peekNextMonth\r\n showMonthDropdown\r\n showYearDropdown\r\n dropdownMode=\"select\"\r\n customInput={}\r\n />\r\n\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n function ShowDependantChronicDetails() {\r\n if (dependantChronicDisclosure === \"Yes\") {\r\n return (
\r\n \r\n handleDependentChronicDetail(e)}\r\n />\r\n\r\n \r\n\r\n
);\r\n\r\n }\r\n return (
);\r\n }\r\n\r\n return (\r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n {FormDetails()}\r\n\r\n \r\n {DependantDetails()}\r\n \r\n
\r\n {BeneficiaryDetails()}\r\n {ShowBankingDetails()}\r\n {ShowSuccessScreen()}\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n );\r\n}\r\n","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport { createBrowserHistory } from \"history\";\r\nimport { Router, Route, Switch } from \"react-router-dom\";\r\n\r\nimport \"assets/scss/material-kit-react.scss?v=1.8.0\";\r\n\r\n// pages for this product\r\nimport Components from \"views/Components/Components.js\";\r\n\r\nvar hist = createBrowserHistory();\r\n\r\nReactDOM.render(\r\n \r\n \r\n \r\n \r\n ,\r\n document.getElementById(\"root\")\r\n);\r\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEXRJREFUeNrsnd11G0cSRstavy8y8GQgZMBRBIYj2FEEpiLQKAJIEQwVAegIAEYAKALQEYCP+8bFrAdHEEUS1X8z/XPvOXPotbHkoLur+qvq6u5/CaRIdXwOx+eX47M7Pv+lSQDKYX18Hodnf3xqmgSgDJoz4z9/VoMyAIBMmQ3S//GFp/9v1zQ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