{"version":3,"sources":["assets/images/background-bottom.png","registerServiceWorker.js","models/account/account-info.model.ts","models/schedule/schedule-time.ts","models/schedule/schedule-appointment.ts","models/service/service-user.model.ts","models/common/country.ts","redux/scheduler-slice.ts","redux/alerts-slice.ts","redux/store.ts","theme.ts","constants/masks.ts","constants/regex.ts","constants/url.ts","constants/validation.ts","api/api-client.ts","models/user/user-model.ts","models/service/group-service.model.ts","models/service/service-model.ts","models/appointment/appointment-dto.ts","models/appointment/appointment-detail-dto.model.ts","models/common/mobile-number.ts","models/customer/customer-info.ts","api/appointment-service.ts","redux/hooks.ts","models/customer/customer-valid.model.ts","components/appointment/AppointmentScheduler/css.ts","components/appointment/AppointmentScheduleStepper/css.ts","assets/icons/MuiCheckIcon.tsx","assets/icons/ArrowLineDown.tsx","assets/icons/CrossIcon.tsx","assets/icons/DeleteIcon.tsx","assets/icons/PlusIcon.tsx","assets/icons/InfoCircleIcon.tsx","assets/icons/SearchIcon.tsx","assets/icons/ArrowDownIcon.tsx","assets/icons/ClearBrandIcon.tsx","assets/icons/ExclamationIcon.tsx","assets/icons/ListPlusIcon.tsx","assets/icons/LocationIcon.tsx","assets/icons/CartIcon.tsx","assets/icons/CalendarIcon.tsx","assets/icons/CreditIcon.tsx","assets/icons/CashIcon.tsx","assets/icons/CloseIcon.tsx","assets/icons/ArrowIcon.tsx","assets/icons/BookMarkIcon.tsx","assets/icons/UserIcon.tsx","assets/icons/ClockIcon.tsx","assets/icons/BankIcon.tsx","assets/icons/SortDownIcon.tsx","assets/icons/TrashIcon.tsx","assets/icons/SuccessIcon.tsx","assets/icons/ErrorIcon.tsx","assets/icons/MercadoPagoIcon.tsx","assets/icons/ModalDragIcon.tsx","assets/icons/ModalCloseIcon.tsx","assets/icons/OxxoIcon.tsx","assets/icons/GoBackIcon.tsx","components/common/TimeToEditExpiredMessage/css.ts","components/common/TimeToEditExpiredMessage/time-to-edit-expired-message.tsx","components/appointment/AppointmentScheduleStepper/appointment-schedule-stepper.tsx","components/common/Input/css.ts","components/common/Input/input.tsx","hooks/useDebounce/use-debounce.ts","components/common/SelectSearch/css.ts","components/appointment/SpecialistPhoto/css.ts","components/appointment/SpecialistPhoto/specialist-photo.tsx","components/common/SelectSearch/select-search.tsx","components/common/SelectTime/css.ts","assets/icons/TimeIcon.tsx","assets/icons/NoAvailableTimeIcon.tsx","components/common/SelectTime/select-time.tsx","components/appointment/ScheduleAppointmentServicesStep/css.ts","components/common/ConfirmDeleteModal/css.ts","components/common/ConfirmDeleteModal/confirmdeletemodal.tsx","components/common/DateInput/css.ts","components/common/DateInput/date-input.tsx","components/common/notifications/SnackbarNotification/snackbar-notification-kind.ts","components/common/notifications/SnackbarNotification/css.ts","components/common/notifications/SnackbarNotification/snackbar-notification.tsx","components/appointment/SuggestedServices/css.ts","components/appointment/SuggestedServiceCard/css.ts","components/appointment/SuggestedServiceCard/suggested-service-card.tsx","assets/icons/ArrowNavigationIcon.tsx","components/appointment/SuggestedServices/suggested-services.tsx","components/appointment/ScheduleAppointmentServicesStep/schedule-appointment-services-step.tsx","components/appointment/ScheduleAppointmentCustomerInfoStep/css.ts","assets/flags/CountryAllIcon.tsx","assets/flags/CountryDEUIcon.tsx","assets/flags/CountryAGOIcon.tsx","assets/flags/CountryARGIcon.tsx","assets/flags/CountryBOLIcon.tsx","assets/flags/CountryBRAIcon.tsx","assets/flags/CountryCANIcon.tsx","assets/flags/CountryCHLIcon.tsx","assets/flags/CountryCOLIcon.tsx","assets/flags/CountryCRIIcon.tsx","assets/flags/CountryECUIcon.tsx","assets/flags/CountryESPIcon.tsx","assets/flags/CountryGBRIcon.tsx","assets/flags/CountryUSAIcon.tsx","assets/flags/CountryGTMIcon.tsx","assets/flags/CountryHNDIcon.tsx","assets/flags/CountryMEXIcon.tsx","assets/flags/CountryNICIcon.tsx","assets/flags/CountryPANIcon.tsx","assets/flags/CountryPRYIcon.tsx","assets/flags/CountryPERIcon.tsx","assets/flags/CountryPRTIcon.tsx","assets/flags/CountryDOMIcon.tsx","assets/flags/CountrySLVIcon.tsx","assets/flags/CountryTTOIcon.tsx","assets/flags/CountryURYIcon.tsx","assets/flags/CountryVENIcon.tsx","assets/flags/CountryAUSIcon.tsx","assets/flags/CountryBELIcon.tsx","assets/flags/CountryCUBIcon.tsx","assets/flags/CountryNORIcon.tsx","assets/flags/CountryPRIIcon.tsx","assets/flags/CountrySWEIcon.tsx","assets/flags/CountrySVKIcon.tsx","assets/flags/CountryITAIcon.tsx","assets/flags/CountryFRAIcon.tsx","assets/flags/index.tsx","components/common/InputMobileCode/css.ts","components/common/InputMobileCode/input-mobile-code.tsx","components/appointment/ScheduleAppointmentCustomerInfoStep/schedule-appointment-customer-info-step.tsx","components/appointment/ScheduleAppointmentConfirmationStep/css.ts","assets/icons/WhatsAppIcon.tsx","assets/icons/CalendarInverseFillIcon.tsx","components/appointment/ScheduleAppointmentConfirmationStep/schedule-appointment-confirmation-step.tsx","components/appointment/AppointmentSummary/css.ts","components/appointment/AppointmentSummary/appointment-summary.tsx","components/appointment/ScheduleAppointmentSuccessfullyStep/css.ts","components/appointment/AppointmentCancelModal/css.ts","components/appointment/AppointmentCancelModal/appointment-cancel-modal.tsx","components/appointment/CancelAppointmentButton/cancel-appointment-button.tsx","components/appointment/ScheduleAppointmentSuccessfullyStep/schedule-appointment-successfully-step.tsx","components/common/ExclamationModal/css.ts","components/common/ExclamationModal/exclamation-modal.tsx","components/appointment/AppointmentScheduleBusyModal/css.ts","components/appointment/AppointmentScheduleBusyModal/appoinment-schedule-busy-modal.tsx","components/account/BackToEstablishmentsButton/css.ts","components/common/ConfirmActionModal/css.ts","components/common/ConfirmActionModal/confirm-action-modal.tsx","components/account/BackToEstablishmentsButton/back-to-establishments-button.tsx","components/appointment/ScheduleAppointmentFailedStep/css.ts","assets/images/can-not-schedule.svg","components/appointment/ScheduleAppointmentFailedStep/schedule-appointment-failed-step.tsx","components/appointment/AppointmentScheduler/appointment-scheduler.tsx","pages/appointments/AppointmentEdition/appointment-edition.tsx","pages/appointments/AppointmentNew/appointment-new.tsx","pages/SelectEstablishment/css.ts","models/establishment/establishmentInfo.ts","api/enterprise-service.ts","components/common/EstablishmentLogo/css.ts","components/common/EstablishmentLogo/establishment-logo.tsx","pages/SelectEstablishment/selectEstablishment.tsx","pages/appointments/AppointmentRouter/appointment-router.tsx","models/patientform/patient-form-control-type.ts","pages/confirmation/CanceledConfirmation/css.ts","pages/confirmation/CanceledConfirmation/appointment-canceled-confirmation.tsx","pages/confirmation/CancelConfirmationRouter/cancel-confirmation-router.tsx","components/patientform/PatientForm/css.ts","models/patientform/patient-form-acceptance-model.ts","models/patientform/patient-form-model.ts","models/patientform/patient-form-save-data-request.ts","models/common/radio-item.ts","models/common/radio-value.ts","models/patientform/patient-form-section-model.ts","api/patient-form-service.ts","components/patientform/PatientFormSection/css.ts","components/common/PatientFormMobileInput/css.ts","hooks/useControlLabel/css.ts","hooks/useControlLabel/use-control-label.tsx","components/common/PatientFormMobileInput/patient-form-mobile-input.tsx","components/common/PatientFormTextInput/css.ts","hooks/useInputFirstTouch/use-input-first-touch.tsx","components/common/PatientFormTextInput/patient-form-text-input.tsx","components/common/PatientFormRadioGroup/css.ts","components/common/PatientFormRadio/css.ts","components/common/PatientFormRadio/patient-form-radio.tsx","components/common/PatientFormFreeTextInput/css.ts","components/common/PatientFormFreeTextInput/patient-form-free-text-input.tsx","components/common/PatientFormRadioGroup/patient-form-radio-group.tsx","components/patientform/PatientFormControl/patient-form-control.tsx","constants/local-storage-keys.ts","components/patientform/PatientFormSection/patient-form-section.tsx","components/patientform/PatientFormHeader/css.ts","components/patientform/PatientFormHeader/patient-form-header.tsx","components/patientform/PatientFormBasicInformation/css.ts","models/customer/gender.ts","components/common/PatientFormDateInput/css.ts","components/common/PatientFormDateInput/patient-form-date-input.tsx","components/patientform/PatientFormBasicInformation/patient-form-basic-information.tsx","components/patientform/PatientFormStepper/css.ts","components/patientform/PatientFormStepper/patient-form-stepper.tsx","components/patientform/PatientFormSignatureStep/css.ts","components/common/CheckboxWithLabel/css.ts","components/common/CheckboxWithLabel/checkbox-with-label.tsx","components/patientform/PatientSignature/css.ts","components/patientform/PatientSignature/patient-signature.tsx","components/patientform/SignerInfo/css.ts","assets/icons/CheckIcon.tsx","components/patientform/SignerInfo/signer-info.tsx","components/patientform/PatientFormSignatureStep/patient-form-signature-step.tsx","assets/images/ornament-left-bottom.svg","assets/images/ornament-right-bottom.svg","assets/images/information-sent.svg","components/patientform/PatientFormFinished/css.ts","components/patientform/PatientFormFinished/patient-form-finished.tsx","components/patientform/PatientForm/patient-form.tsx","components/account/AccountInfoProvider/account-info-provider.tsx","hooks/useQueryParameter/use-query-parameter.tsx","components/common/LoaderLine/css.ts","components/common/LoaderLine/loaderLine.tsx","components/patientform/PatientFormPage/patient-form-page.tsx","components/common/InterweaveComponent/interweave-component.tsx","components/patientform/PrivacyNoticePage/privacy-notice-page.tsx","components/patientform/InformedConsentLetterPage/informed-consent-letter-page.tsx","models/enum/terminology-type.ts","components/common/notifications/AlertProvider/css.ts","components/common/notifications/AlertProvider/use-alert.tsx","components/common/notifications/AlertProvider/alert-provider.tsx","components/navbar/NavBar/css.ts","models/account/terminology.ts","models/enum/terminology-form.ts","hooks/useTerminology/use-terminology.ts","components/navbar/NavTabs/css.ts","components/navbar/NavTabs/nav-tabs.tsx","assets/icons/CopyLinkIcon.tsx","components/common/PersonalizedAttentionModal/css.ts","components/common/PersonalizedAttentionModal/personalized-attention-modal.tsx","components/navbar/NavBar/nav-bar.tsx","components/layout/css.ts","components/layout/Layout.tsx","models/enum/day-of-week.enum.ts","models/enum/appointment-status.enum.ts","components/account/AccountInfo/css.ts","components/account/CancellationPoliciesBlock/css.ts","components/account/CancellationPoliciesBlock/cancellation-policies-block.tsx","components/account/AccountInfo/account-info.tsx","components/account/Services/css.ts","components/common/InputSearch/css.ts","components/common/InputSearch/input-search.tsx","components/common/Autocomplete/autocomplete.tsx","components/common/CartModal/css.ts","components/common/CartModal/cart-modal.tsx","components/common/Select/css.ts","components/common/Select/select.tsx","components/account/Services/services.tsx","components/account/Certifications/Certifications/css.ts","components/account/Certifications/EstablishmentCertifications/css.ts","components/account/Certifications/EstablishmentCertifications/establishment-certifications.tsx","components/account/Certifications/UserCertifications/css.ts","components/account/Certifications/UserCard/css.ts","components/account/Certifications/UserCard/user-card.tsx","components/account/Certifications/UserCertifications/user-certifications.tsx","api/account-service.ts","components/account/Certifications/Certifications/certifications.tsx","App.tsx","i18n.ts","index.tsx","assets/images/background-top.png"],"names":["module","exports","Boolean","window","location","hostname","match","AccountInfoModel","x","id","name","phoneNumber","phoneCodeIso3","phoneDigits","phoneCode","phoneTemplate","address","addressReferences","pictures","workDays","showCancellationPolicies","cancellationPolicies","isPrivacyNoticeEnabled","privacyNotice","logo","currencySymbol","currencyTemplate","isPaymentCash","isPaymentCard","isPaymentBankTransfer","isPaymentOxxo","isPaymentMercadoPago","showPrices","showSuggestedServices","terminologies","showEstablishmentCertifications","showSpecialistCertifications","allowCustomerToCancelFromSite","allowCustomerToModifyFromSite","allowCustomerScheduleSimultaneousServices","isEnterprise","enterpriseBusinessNameUrl","allowCustomerToScheduleTodayFromSite","businessNameUrl","languageCode","whatsAppChannelNumber","requireSelectSpecialistFromSite","showAnySpecialistFromSite","isClinicMode","isClinicalHistoryEnabled","this","ScheduleTime","scheduleTime","userId","ScheduleAppointment","accountId","services","firstName","lastName","mobile","mobileCodeIso3","mobileCode","mobileDigits","mobileTemplate","startDate","endDate","status","notes","scheduledSimultaneousServices","ServiceUserModel","service","users","serviceId","index","Country","iso3","dialCode","dialDigits","dialTemplate","initialState","currentDate","Date","oldCurrentDate","daysOff","serviceUser","availableHours","servicesWithUsers","suggestedServices","isValidSelection","isValidUser","account","countries","countryInSettings","isOpenCustomerModal","isOpenScheduleBusyModal","isUpdate","oldSchedule","isModified","isEditable","isServicesPerformedSimultaneously","scheduleAppointment","refreshAvailableHours","maxServiceIndex","locale","process","showLoader","isPreselectedServiceHandled","schedulerSlice","createSlice","reducers","setCurrentDate","state","action","payload","setOldCurrentDate","setDaysOff","setServiceUser","setAvailableHours","setServicesWithUsers","setSuggestedServices","setIsValidSelection","setIsValidUser","setSchedule","schedule","setOldSchedule","setScheduleTime","setAccount","setCountries","setCountryInSettings","setIsOpenCustomerModal","setIsOpenScheduleBusyModal","setScheduleAppointment","setCustomerValid","customerValid","setAppointmentId","appointmentId","setIsUpdate","setIsModified","setIsEditable","setIsServicesPerformedSimultaneously","setRefreshAvailableHours","setMaxServiceIndex","setLocale","setShowLoader","setIsPreselectedServiceHandled","schedulerActions","actions","alertsSlice","alerts","enqueueAlert","key","replace","c","r","Math","random","toString","closeAlert","map","alert","dismissed","removeAlert","filter","alertsActions","store","configureStore","reducer","scheduler","schedulerReducer","alertsReducer","middleware","getDefaultMiddleware","serializableCheck","clearTheme","createTheme","palette","primary","main","light","colors","clearMain","clear2","clear3","clear4","clear5","clear6","grey7","grey6","grey5","grey4","grey3","grey2","grey1","white","clearGreen","clearRed","clearYellow","clearBlue","clearLilac","backgroundGrey1","typography","fontFamily","header1","fontStyle","fontWeight","fontSize","lineHeight","header2","header3","header4","txtBody1","txtBody2","txtBody3","caption1","caption2","buttons","overrides","MuiAppBar","root","boxShadow","MuiToolbar","dense","minHeight","MuiPopover","zIndex","MuiButtonBase","outline","MuiButton","textTransform","contained","backgroundColor","color","opacity","MuiIconButton","MuiInputBase","MuiOutlinedInput","input","textOverflow","borderRadius","position","border","borderColor","padding","inputMarginDense","paddingTop","paddingBottom","multiline","adornedStart","paddingLeft","MuiInputLabel","marginBottom","MuiTab","MuiTableCell","stickyHeader","MuiPickersBasePicker","container","boxSizing","MuiPickersCalendarHeader","iconButton","transitionContainer","dayLabel","GetMobileMaskByTemp","template","mask","Regex","Name","MultipleSpacesName","Mobile","Email","Alphanumeric","AlphanumericExtended","Currency","Url","Main","AboutUs","Certifications","Services","Validation","validateText","value","validateName","test","validateEmail","validateMobileNumberWithCountries","body","countryIso","length","country","find","digits","validateMobileNumberByDigits","validateRadio","item","ApiClient","url","formData","config","axios","post","baseUrl","then","resp","data","Promise","reject","catch","put","delete","get","values","all","UserModel","jobPosition","photoURL","undefined","GroupServiceModel","category","ServiceModel","categoryName","duration","price","photo","description","workAreaId","workArea","AppointmentDto","start","AppointmentDetailDtoModel","number","user","customerId","email","MobileNumber","parsedValue","JSON","parse","CustomerInfo","gender","customGender","dateOfBirth","AppointmentService","date","year","toLocaleString","month","day","time","hour","minute","second","hour12","isoDate","businessName","properties","urlEndpoint","property","forEach","push","serviceIds","serviceUsers","actualServices","scheduleTimes","appointment","newAppointment","handleTime","isScheduleBusy","isCustomerBlocked","protectedCustomerId","customerInfo","allRecurringAppointments","endpointUrl","remove","encryptedAppointmentId","useAppDispatch","useDispatch","useAppSelector","useSelector","CustomerValidModel","useStyles","makeStyles","theme","createStyles","display","flexDirection","justifyContent","alignItems","breakpoints","down","height","content","width","buttonsFlexContainer","gap","paper","leftPanel","background","branding","brandingCircle","imageCircle","backgroundSize","backgroundRepeat","backgroundPosition","brandTitle","marginTop","leftMain","overflowY","scrollbarWidth","modifyCaption","marginRight","marginLeft","borderBottom","margin","modifyCaptionContainer","rightPanel","rightTitle","summaryAction","buttonsBlock","buttonsBlockOld","paddingRight","bottom","right","cancelButton","continueButton","whiteSpace","goBackButton","borderWidth","useStepIconStyles","circle","activeCircle","completed","stepper","labelAlternativeLabel","labelCompleted","MuiCheckIcon","props","viewBox","style","otherProps","SvgIcon","fillRule","clipRule","d","ArrowLineDown","CrossIcon","DeleteIcon","rest","fill","PlusIcon","InfoCircleIcon","SearchIcon","ArrowDownIcon","ClearBrandIcon","ExclamationIcon","ListPlusIcon","LocationIcon","CartIcon","cx","cy","CalendarIcon","CreditIcon","CashIcon","CloseIcon","ArrowIcon","BookMarkIcon","UserIcon","ClockIcon","BankIcon","SortDownIcon","TrashIcon","SuccessIcon","ErrorIcon","MercadoPagoIcon","ModalDragIcon","ModalCloseIcon","OxxoIcon","GoBackIcon","message","textAlign","messageIcon","alignSelf","messageLabel","TimeToEditExpiredMessage","classes","t","useTranslation","className","AppointmentScheduleStepper","activeStep","StyledStepperConnector","withStyles","alternativeLabel","top","left","active","line","borderTopWidth","StepConnector","StepIcon","Stepper","connector","Step","StepLabel","StepIconComponent","inputText","inputFocused","inputDisabled","inputError","Input","placeholder","isValid","inputClass","onChange","onKeyPress","disabled","readOnly","onClick","onBlur","maxLength","autoFocus","inputType","InputBase","focused","event","inputProps","type","useDebounce","delay","useState","debouncedValue","setDebouncedValue","useEffect","handler","setTimeout","clearTimeout","modal","component","labelItem","label","required","optional","divDropdown","inputSelectBtn","pointerEvents","iconDropdown","divModalSelect","listItemScroll","maxHeight","listItem","itemValue","overflow","button","divInputEdit","iconSearch","verticalAlign","btnInputNew","elementList","itemSelected","itemNoSelected","classRow","cursor","visibility","classRowDisabled","divIconsRow","float","divSearch","popper","emptyPhoto","minWidth","maxWidth","largerPhoto","SpecialistPhoto","initials","y","setPosition","backgroundImage","onMouseMove","e","img","Image","src","imgWidth","naturalWidth","imgHeight","naturalHeight","aspectRatio","widthScaleFactor","heightScaleFactor","containerRect","currentTarget","getBoundingClientRect","cursorX","clientX","cursorY","clientY","marginWidth","marginHeight","limitedCursorX","max","min","limitedCursorY","toUpperCase","SelectSearch","items","itemId","placeholderSelect","placeholderInput","iconSelect","widthSelect","widthList","isOptional","onSelect","disableScrollLock","displayPhoto","list","setList","setItemSelected","search","setSearch","openModal","setOpenModal","showTooltip","setShowTooltip","debouncedSearchValue","elementsRefs","useRef","searchValue","removeAccents","toLowerCase","newList","isGroup","includes","handleOpenModal","handleCloseModal","onMouseLeaveItem","getInitials","fullName","splitFullName","split","normalize","Tooltip","placement","title","startsWith","InputLabel","ClickAwayListener","mouseEvent","onClickAway","Modal","open","onClose","aria-labelledby","aria-describedby","BackdropProps","disablePortal","target","i","onMouseEnter","current","offsetWidth","scrollWidth","onMouseEnterItem","onMouseLeave","handleItemSelected","ref","divInput","up","inputSelect","listDropdownContainer","listDropdown","listItemContent","timeIconContainer","arrowIconContainer","timeIcon","arrowIcon","arrowIconRotated","transform","noAvailableTimesContainer","noAvailableTimesTitle","noAvailableTimesBody","TimeIcon","stroke","strokeWidth","strokeLinecap","strokeLinejoin","NoAvailableTimeIcon","SelectTime","openDropdown","setOpenDropdown","showToolTip","handleOpenDropdown","InputWithIcons","NoAvailableTimes","Typography","stepRoot","stepContainer","stepTitle","stepCaption","selectService","selectRoot","selected","itemRoot","group","addButton","addButtonContainer","justifySelf","addButtonItems","separatorWithoutLine","noTimeSlotsContainer","noTimeSlotsTextBold","noTimeSlotsText","separator","borderTop","deleteDiv","deleteButton","modalDelete","modalCenter","modalTitleSpace","subtitle","modalContentText","accordionSummary","accordionTitle","inputWithLabel","controlLabel","calendarContainer","hoursCaption","hoursContainer","dateNotSelected","schedulesHeader","ulSchedule","flexWrap","listStyle","liSchedule","userSelect","liScheduleEnabled","liScheduleDisabled","liScheduleActive","servicesSimultaneouslyContainer","dateText","serviceUserContainer","serviceUserBox","schedulesContainer","modalPaper","shadows","modalHeader","modalHeaderContent","modalClose","closeButton","modalTitle","modalTitleText","modalContent","modalCircle","modalContentTextTitle","modalDateText","modalActions","goBack","deleteBtn","ConfirmDeleteModal","componentInfo","onDelete","classModal","textButtonConfirm","closeAfterTransition","BackdropComponent","Backdrop","timeout","Fade","in","Button","icon","DateInput","format","minDate","maxDate","inputTextClass","iconColor","handleDisableDate","setOpen","useTheme","isMdMedia","useMediaQuery","localeApp","utils","DateFnsUtils","esLocale","enLocale","getLocale","DatePicker","onOpen","autoOk","variant","shouldDisableDate","now","toDateString","formatDatePicker","PopoverProps","InputProps","disableUnderline","helperText","SnackbarNotificationKind","SnackbarNotification","isOpen","notificationKind","anchorOriginHorizontal","anchorOriginVertical","classToUse","handleClose","reason","closeAction","size","Snackbar","autoHideDuration","anchorOrigin","horizontal","vertical","headerContainer","header","servicesContainer","navigationContainer","arrow","partialCard","serviceCard","serviceImageContainer","serviceImage","objectFit","objectPosition","serviceInfo","serviceNamePriceContainer","serviceName","servicePrice","letterSpacing","serviceDescription","WebkitLineClamp","WebkitBoxOrient","serviceDescriptionContainer","tooltip","SuggestedServiceCard","handleAddService","classCard","decimalPrice","valueTemplate","formatPrice","formatDecimalPrice","ArrowNavigationIcon","rx","SuggestedServices","itemsPerPage","currentIndex","setCurrentIndex","slice","displayedItems","setDisplayedItems","isEndOfCarousel","handlePrevClick","handleNextClick","newIndex","handleKeyDown","addEventListener","removeEventListener","ScheduleAppointmentServicesStep","dispatch","oldDate","useLocation","openDeleteDialog","setOpenDeleteDialog","itemToDelete","setItemToDelete","showInvalidUserAlert","setShowInvalidUserAlert","noAvailableHoursForCurrentDay","setNoAvailableHoursForCurrentDay","setNoService","touched","setTouched","servicesList","setServicesList","groupServices","setGroupServices","groupByCategoryServices","setGroupByCategoryServices","setOpenedServiceSelectorIndex","setOpenedUserSelectorIndex","expandedAccordionIndex","setExpandedAccordionIndex","availableDays","setAvailableDays","servicesHaveRepeatedUsers","some","prevUser","_setServiceUser","_setRefreshHours","_setServicesWithUsers","_setSchedule","loadSchedules","a","getSchedules","getAvailableHours","schedules","setHours","getDate","getMonth","noAvailableHours","handleChangeDate","getTime","_setScheduleTime","startTime","setDate","formattedPrice","loadServices","getServicesGroupByCategory","servicesResponse","flatMap","gs","s","filteredServicesIds","getUsersForServices","selectArray","servicesModel","categoryService","handleValidChange","su","isValidLocal","_setIsValidUser","getSuggestedServicesForSelectedServices","selectedServices","selectedCategories","Set","add","servicesInCategory","selectedService","handleServiceChange","serviceKey","resultUsers","newServiceUserModels","findIndex","serviceWithUsers","newService","handleAskToRemoveService","model","preventDefault","stopPropagation","arrServices","updatedServices","getUserItems","sort","b","localeCompare","userItem","handleDisabledDay","isCurrentDate","dayOff","getDay","fetchData","newServiceUser","setUsersForAllAppointmentServices","dayNumber","days","indexOf","preselectedServiceId","URLSearchParams","DivInfoDelete","renderServiceUserItem","idx","obj","handleUserChange","selectedTime","Fragment","Accordion","elevation","expanded","AccordionSummary","expandIcon","aria-controls","AccordionDetails","suggestedService","newAppointmentButton","requiredLabel","inputTextareaAutosize","topInputsContainer","topInputsContainerItem","flex","inputMask","CountryAllIcon","CountryDEUIcon","CountryAGOIcon","CountryARGIcon","CountryBOLIcon","CountryBRAIcon","CountryCANIcon","CountryCHLIcon","CountryCOLIcon","CountryCRIIcon","CountryECUIcon","CountryESPIcon","CountryGBRIcon","CountryUSAIcon","CountryGTMIcon","CountryHNDIcon","CountryMEXIcon","CountryNICIcon","x1","y1","x2","y2","gradientUnits","stopColor","offset","CountryPANIcon","CountryPRYIcon","CountryPERIcon","CountryPRTIcon","CountryDOMIcon","CountryTTOIcon","CountryURYIcon","CountryVENIcon","CountryAUSIcon","clip-path","maskType","maskUnits","stroke-width","fill-rule","clip-rule","stop-color","CountryBELIcon","CountryCUBIcon","CountryNORIcon","CountryPRIIcon","filterUnits","color-interpolation-filters","flood-opacity","result","dy","mode","in2","CountrySWEIcon","CountrySVKIcon","CountryITAIcon","CountryFRAIcon","CountryFlagIcon","iso","CountrySLVIcon","selectWidth","listWidth","labelCountry","searchInputContainer","searchIconContainer","titleCountries","inputGroup","divDialCode","inputFlag","divCodes","listCountryScroll","listCountry","borderBottomWidth","borderBottomColor","countryName","inputClassic","iconPlus","iconSave","divItemEdit","btnRow","InputMobileCode","labelClassName","codeIso3","onChangeItem","onChangeMobile","onChangeComplete","countrySelected","setCountrySelected","mobileNumber","setMobileNumber","setSearchValue","masking","setMasking","isValidNumber","setIsValidNumber","isFocused","setIsFocused","validate","mobileComplete","validDig","getCountries","response","listCountries","countryByIso","m","placeholderChar","valid","onFocus","handleSearch","lowercaseSearchValue","isSearchByDialCode","trim","filterCountries","newNumber","substring","ScheduleAppointmentCustomerInfoStep","nameInputNotValid","setNameInputNotValid","lastNameInputNotValid","setLastNameInputNotValid","customer","_setScheduleAppointment","_setCustomerValid","handleValidMobile","preselectedCustomerId","getProtectedCustomerInfo","htmlFor","error","customerMobile","num","TextareaAutosize","appointmentInfoContainer","appointmentInfo","customerInfoContainer","customerCommentContainer","marginBottomm","infoTitle","infoText","commentText","infoPriceText","infoServiceName","appointmentInfoDateContainer","serviceInfoRow","serviceInfoColumn","timeContainer","specialistContainer","serviceInfoTimeWithSpecialistContainer","cancellationContainer","cancellationTitle","cancellationText","cancellationLink","cancellationTextContainer","WhatsAppIcon","ScheduleAppointmentConfirmationStep","appointmentTime","startAppointmentTime","appointmentTimes","durationSum","reduce","total","addMinutes","endTime","getAppointmentTime","getSpecialistName","specialist","minutes","Number","hours","mins","setMinutes","String","getHours","padStart","getMinutes","conformToMask","conformedValue","maskedMobileNumber","CalendarInverseFillIcon","dateFormat","getAppointmentDate","specialistPhoto","Link","href","boxContainer","boxContent","boxContentItem","boxContentItemLabel","symbol","caption","tooltipBlock","divider","borderStyle","AppointmentSummary","firstService","appointmentPrice","previousValue","currentValue","specialists","u","areThereMultipleServices","Grid","spacing","xs","Box","direction","appointmentDuration","countAppointmentDuration","seconds","floor","getDuration","specialistName","toLocaleDateString","successStepContainer","successStepRoot","rowCenter","brandingTitle","greetingsTxt","confirmationTxt","dividerTop","buttonContainer","cancelButtonContainer","summaryContainer","flexBasis","dividerBottom","appntInfoContainer","leftSideImage","backgroundTop","backgroundBottom","buttonCreate","personalizedAttentionButton","deleteAppointment","AppointmentCancelModal","onCancelAppointment","disableButton","setDisableButton","getScheduleTime","join","weekDay","weekday","charAt","monthDay","CancelAppointmentButton","oldScheduleTime","cancelAppointmentModal","setCancelAppointmentModal","history","useHistory","removeAppointment","pathname","ScheduleAppointmentSuccessfullyStep","Trans","i18nKey","modalYellow","modalPaperYellow","btnCancel","btnOk","ExclamationModal","okTextButton","normalText","scheduleText","AppointmentScheduleBusyModal","appointmentSchedule","setAppointmentSchedule","BusyScheduleInfo","end","today","parseInt","abs","timeDifference","goBackIconContainer","closeConfirmationModal","closeConfirmationModalContent","confirmButton","ConfirmActionModal","onConfirm","buttonClass","confirmButtonText","BackToEstablishmentsButton","closeConfirmationModalIsOpen","setCloseConfirmationModalIsOpen","cleanInputData","CloseModalContent","dataWasChanged","userService","appointmentWasScheduled","_path","_path2","_path3","_path4","_path5","_path6","_path7","_path8","_path9","_path10","_path11","_path12","_path13","_path14","_path15","_path16","_path17","_path18","_path19","_path20","_path21","_path22","_path23","_path24","_path25","_path26","_path27","text","_extends","Object","assign","arguments","source","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","sourceKeys","keys","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_ref","svgRef","createElement","ForwardRef","forwardRef","ScheduleAppointmentFailedStep","AppointmentScheduler","serviceUserModels","openScheduleBusyModal","setActiveStep","setIsCustomerBlocked","handleGoBackButtonClick","prev","scrollTo","handleContinueButtonClick","handleFormFinish","updateAppointment","createAppointment","updateResponse","isContinueButtonDisabled","getButtonText","ButtonsBlock","onMouseUp","getModifyCaptionWidth","AppointmentEdition","i18n","useParams","protectedAppointmentId","accountBusinessName","_setAccount","language","changeLanguage","finally","_setCurrentDate","_setIsServicesPerformedSimultaneously","_setOldSchedule","_setOldCurrentDate","_setIsEditable","loadAccount","redirectToNotFound","getByBusinessName","getAppointmentByEncryptedAppointmentId","actualDate","appointmentServicesAsModels","fromTime","toTime","AppointmentNew","selectEstablishmentRoot","selectEstablishmentContainer","selectEstablishmentFlexContainer","scheduleButtonContainer","selectEstablishmentText","selectEstablishmentWindow","selectEstablishmentPrice","selectEstablishmentDescription","wordWrap","descriptionContainer","selectEstablishmentName","whatsAppNumberContainer","divFlag","divCode","divMobile","selectEstablishmentTitle","selectEstablishmentButton","scheduleButton","EstablishmentInfo","mobileCountry","EnterpriseService","enterpriseInfoDto","establishment","selectEstablishmentPhotoEmpty","borderTopLeftRadius","borderTopRightRadius","selectEstablishmentPhoto","EstablishmentLogo","SelectEstablishment","establishmentList","setEstablishmentList","getListEstablishments","onScheduleAppointmentClick","renderEstablishmentItem","PatientFormControlType","AppointmentRouter","exact","path","render","to","params","instructionTxt","header5","instructionTxtContainer","AppointmentCanceledConfirmation","md","CancelConfirmationRouter","CanceledConfirmation","isMobile","marginForFixedButtonsBlock","PatientFormAcceptanceModel","hasAcceptedPrivacyNotice","isConsentLetterEnabled","hasReadConsentLetter","signature","ipAddress","PatientFormModel","generalInfo","clinicHistory","acceptance","PatientFormSaveDataRequest","generalInfoValues","controls","fieldId","stringify","clinicHistoryValues","RadioItem","fieldItemId","RadioValue","additionalFreeTextValue","PatientFormSectionModel","mapControl","control","PhoneNumber","mobileNumberControl","Radio","radioControl","Text","PatientFormService","customerIdRequestValue","newSignatureModel","patientFormData","request","countryIcon","overflowWrap","wordBreak","dot","useControlLabel","labelClass","LabelComponent","PatientFormMobileInput","isMobileView","setMobile","ControlLabel","handleCountrySelected","useInputFirstTouch","hasBeenTouched","setHasBeenTouched","handleFirstTouch","PatientFormTextInput","setValue","maxPlaceholderLength","fullText","getPlaceholder","radios","radioContainer","subtitle2","radio","checked","PatientFormRadio","onCheck","PatientFormFreeTextInput","PatientFormRadioGroup","hasFreeText","newValue","setCheckedValue","PatientFormControl","setControlValue","validateEmailInput","validateTextInput","isRequired","emailControl","textControl","concreteControl","GetPatientFormFieldKey","PatientFormSection","section","setSection","newControlValue","newSectionValue","localStorage","setItem","headers","patientFormTitle","PatientFormHeader","Gender","sectionHeader","datePicker","alignContent","datePickerDialog","PatientFormDateInput","fullWidth","openTo","disableFuture","DialogProps","PaperProps","PatientFormBasicInformation","setCustomerInfo","maleGender","Male","femaleGender","Female","secretGender","PreferNotToSay","Custom","genders","freeTextValue","genderAsRadioValue","PatientFormStepper","isClinicalHistoryStepEnabled","stepsProgress","stepsProgressRequired","permissionsSection","checkboxContainer","checkBoxText","link","textDecoration","checkboxRoot","checkbox","CheckboxWithLabel","setChecked","Checkbox","signatureLabel","signatureBlock","deleteSignatureButtonBlock","deleteSignatureButton","PatientSignature","setSignature","canvas","loadSaveData","PatientSignatureLabel","canvasDraw","canvasWidth","canvasHeight","brushRadius","brushColor","lazyRadius","getSaveData","clampLinesToDocument","hideInterface","hideGrid","clear","sectionValue","sectionIcon","CheckIcon","SignerInfo","IPAddress","CircledCheckIcon","moment","customerCountry","PatientFormSignatureStep","checkBoxDisplayText","textKey","linkKey","linkTo","hasAcceptedPrivacyNotes","_g","_g2","_path28","_path29","_path30","_path31","_path32","_path33","_path34","_path35","_g3","_g4","_path36","_path37","_path38","_path39","_path40","_path41","_path42","_path43","_path44","_path45","_path46","_path47","_path48","_path49","_path50","_path51","_path52","_path53","_path54","_path55","_path56","_path57","_path58","_path59","_path60","_g5","_g6","_path61","_path62","_path63","accountLogo","accountName","thankYouText","infoSentText","seeYouText","imagesBlock","ornament","borderBottomLeftRadius","borderBottomRightRadius","informationSentImage","PatientFormFinished","Divider","PatientForm","previewStep","setFormData","customerInfoProgress","generalInfoProgress","getSectionGroupProgress","generalInfoProgressRequired","getSectionGroupRequiredProgress","clinicHistoryProgress","clinicHistoryProgressRequired","signatureProgress","signatureProgressRequired","_setCountries","_setCountryInSettings","loadCountries","loadFormData","getPatientFormData","updateResponseWithLocalStorageValues","endsWith","allFields","concat","pop","patientField","f","entries","newCustomerInfo","setGeneralInfoSection","newSection","newGeneralInfo","setClinicHistorySection","newClinicHistory","setAcceptance","getSectionProgress","getControlProgress","sectionIsValidated","every","controlIsValidated","isEmailControlValidated","isMobileControlValidated","isRadioControlValidated","getSectionRequiredProgress","savePatientFormData","removeLocalStorageFieldsValues","removeItem","mapGeneralInfoSectionToRenderElement","mapClinicHistorySectionToRenderElement","AccountInfoProvider","loadData","redirect","accountByBusinessName","useQueryParameter","parameterName","colorPrimary","barColorPrimary","LoaderLine","sx","LinearProgress","PatientFormPage","transitionDelay","InterweaveComponent","linkRegex","RegExp","str","matches","newStr","encaseLinksWithTags","PrivacyNoticePage","privacyNoticeEnabled","setPrivacyNoticeEnabled","setPrivacyNotice","loadPrivacyNotice","getPrivacyNotice","InformedConsentLetterPage","consentLetterEnabled","setConsentLetterEnabled","consentLetter","setConsentLetter","getInformedConsentLetter","TerminologyType","notification","notificationLink","notificationType","notificationSuccess","notificationError","notificationWarning","notificationBody","notificationIconContainer","notificationIcon","notificationContent","notificationText","notificationTitle","notificationDescription","notificationClose","closeIconButton","notificationCloseIcon","displayed","useAlert","useSnackbar","enqueueSnackbar","closeSnackbar","IconButton","aria-label","onExited","myKey","AlertProvider","children","maxSnack","TransitionComponent","Collapse","menuHorizontalTop","shareButton","marginTop43","personalizedAttentionButtonContainer","brandingCircleDrawer","imageCircleDrawer","logoContent","logoDrawerContent","tabsContent","TerminologyForm","Terminology","terminologyType","singularForm","pluralForm","useTerminology","form","accountSettings","terminology","Certification","getDefaultTerminology","Plural","getTerminology","tabsRoot","tabs","tab","NavTabs","routeMatch","useRouteMatch","displayCertificationTab","currentTab","certsTerminology","noSsr","Tabs","indicatorColor","orientation","textColor","Tab","CopyLinkIcon","PersonalizedAttentionModal","phone","encodeURIComponent","win","focus","document","NavBar","isPersonalizedAttentionOpen","setIsPersonalizedAttentionOpen","showLinkCopiedAlert","setShowLinkCopiedAlert","drawerOpen","setDrawerOpen","handleOnShareClick","navigator","clipboard","writeText","TabsContent","LogoContent","showSmallLogoImage","AppBar","Toolbar","edge","Drawer","anchor","Layout","DayOfWeekEnum","AppointmentStatus","accountTitle","accountLabel","marginLeft23","modalImage","dotNone","shortDesktopDivider","whatsAppIconSmall","imagesContainer","paymentContainerItem","imageContainer","titleContainer","titleContainerMargin","imageModalContainer","workHoursItemContainer","hoursItemContainer","dayOfWeekItemContainer","accountInfoRoot","accountInfoLeftSideContainer","noMargin","accountInfoRightSideContainer","itemWithoutImageMargin","accountInfoContainer","whatsAppContainer","textButton","mobileContainer","CancellationPoliciesBlock","shortModeLength","shortMode","setShortMode","lastLetter","cutLength","cutText","AccountInfo","isCarouselOpen","setIsCarouselOpen","maxSteps","setMaxSteps","setPictures","handlerSwipe","useSwipeable","onSwipedLeft","nextImage","onSwipedRight","previousImage","onSwipedUp","preventDefaultTouchmoveEvent","trackMouse","prevActiveStep","picture","openImage","workDay","opening","closing","onKeyDown","MobileStepper","steps","nextButton","backButton","servicesRoot","serviceFlexContainer","servicesText","totalText","footerText","selectSearchContainer","searchContainer","categorySelectContainer","footerContainer","serviceWindow","marginTopZero","servicePhoto","servicePhotoEmpty","rootNoBorder","autocomplete","InputSearch","noBorder","TextField","endAdornment","InputAdornment","Autocomplete","getOptionSelected","getOptionLabel","renderOption","filterOptions","cleanInput","onSelected","inputValue","setInputValue","changeReason","setChangeReason","debouncedInputValue","freeSolo","autoComplete","autoHighlight","onInputChange","options","renderInput","modalContainer","overlay","modalLeftPanel","modalLeftPanelContainer","modalContentWrapper","modalClosePanel","modalDragContainer","closeIcon","headerTitle","cartIcon","modalContentContainer","serviceInfoText","serviceDuration","totalContent","totalPrice","draggableHandle","CartModal","timer","sheduleAppt","handle","bounds","innerHeight","innerWidth","onStart","Paper","select","menuPaper","menuPaperDisableScroll","Select","styleClass","itemRootClass","onRender","colorArrowIcon","useClasses","selectRef","isTooltipOpen","setTooltipOpen","isSelectOpen","setIsSelectOpen","tooltipText","setTooltipText","MenuProps","getContentAnchorEl","displayEmpty","renderValue","onRenderHandler","IconComponent","firstChild","innerText","MenuItem","setSelectedServices","loadingServiceId","setLoadingServiceId","selectedCategory","setSelectedCategory","serviceSearch","setServiceSearch","openCartModal","setOpenCartModal","categories","uniqueCategories","Array","from","filteredServicesList","getServices","loadSearchData","names","o","groupByName","option","filteredServices","searchServicesOnSelected","serviceWithUser","CircularProgress","certsTitle","closeButtonContainer","navigationButtonsContainer","backButtonContainer","nextButtonContainer","nextArrowIcon","imageModalContainerWithPictures","imageModalContainerWithPicture","establishmentCertsContainer","establishmentCert","EstablishmentCertifications","certifications","handleCaruselOpen","certURL","userCardsContainer","userCard","userPhotoContainer","userPhoto","userInfoContainer","userFullName","userJobPosition","moreServicesButton","viewButtonContainer","viewButton","photoInitials","UserCard","userWithCertifications","showAllServices","setShowAllServices","UserPhoto","firstInitial","lastInitial","sortedServices","displayedServices","renderServicesList","serviceNames","UserCertifications","usersWithCertifications","userWithCerts","renderUserCard","AccountService","setCertifications","formattedCertsTerminology","getCertificationsForAccount","certs","fetchUserCertifications","keyDownImage","renderCarouselModal","useMemo","establishmentCertifications","userCertifications","use","initReactI18next","init","lng","fallbackLng","resources","react","defaultTransParent","transEmptyNodeValue","transSupportBasicHtmlNodes","transKeepBasicHtmlNodesFor","transWrapTextNodes","addResourceBundle","enGeneral","esGeneral","enPatientFormSection","esPatientFormSection","enPatientForm","esPatientForm","getElementsByTagName","getAttribute","ReactDOM","basename","ThemeProvider","fallback","App","getElementById","serviceWorker","ready","registration","unregister"],"mappings":"yHAAAA,EAAOC,QAAU,05I,w9xBCUGC,QACW,cAA7BC,OAAOC,SAASC,UAEa,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2D,8CCbSC,EAAb,aA0CE,WAAYC,GAAU,yBAzCtBC,QAyCqB,OAxCrBC,UAwCqB,OAvCrBC,iBAuCqB,OAtCrBC,mBAsCqB,OArCrBC,iBAqCqB,OApCrBC,eAoCqB,OAnCrBC,mBAmCqB,OAlCrBC,aAkCqB,OAjCrBC,uBAiCqB,OAhCrBC,cAgCqB,OA/BrBC,cA+BqB,OA9BrBC,8BA8BqB,OA7BrBC,0BA6BqB,OA5BrBC,4BA4BqB,OA3BrBC,mBA2BqB,OA1BrBC,UA0BqB,OAzBrBC,oBAyBqB,OAxBrBC,sBAwBqB,OAvBrBC,mBAuBqB,OAtBrBC,mBAsBqB,OArBrBC,2BAqBqB,OApBrBC,mBAoBqB,OAnBrBC,0BAmBqB,OAlBrBC,gBAkBqB,OAjBrBC,2BAiBqB,OAhBrBC,mBAgBqB,OAfrBC,qCAeqB,OAdrBC,kCAcqB,OAbrBC,mCAaqB,OAZrBC,mCAYqB,OAXrBC,+CAWqB,OAVrBC,kBAUqB,OATrBC,+BASqB,OARrBC,0CAQqB,OAPrBC,qBAOqB,OANrBC,kBAMqB,OALrBC,2BAKqB,OAJrBC,qCAIqB,OAHrBC,+BAGqB,OAFrBC,kBAEqB,OADrBC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vBdsuX2/e48AIUlpZCXNw9KM9m/P+J2b/f5wAvrzkeHHBLG+kezCLD/PurtA3xn4/58NPDsb/610c9ppxYX5Jj1X3rwS+2XN6E4qrn/jhvuluIqUsCxHqRrLSqUdBvOfv4xex/n/Ome7w3YO3IXyDiWw0+6vmm/GEa+Y52edk91ovsj3u+eXo+6l1d56ucv35IIyAvP8QaWekY41c4fdT77ThHCKyDlU/s/D1r/s61f73Pr33iQVp03UqiezDVLKebvo/n4Z1Ng+UXCREfuqkxlzBiyFc3fz32K5z+vjW2EtBNjYhucWC7uklbCidmx2cxrfkY7dA9jYiummZWt4n5iHd8FtJeXigutgBd0pjpZdFdOaP0+KoRz4+SyC+1Z9RDNzR6W9rDO057eX6kBDdLoysafy+Ih+eb6H5iGeGhC5oX3RMXLX074fdPodzHA9qtcdFVa7vFW8bcRQrvt49mt9wkjZZr1a3G0zTS/fdTNc1krol2anx01XZCNej5RZUPZwa0VitGurDwg7u7/Dze2fTx4o9bx9AO7XuSLeQn0X0P7262vuN4d7RH+6Ir+5pe51vF8s3RC3dOAw3Xyme2PTOfZp6chyemmUCzeXSt2v0KYb6tcJk2zk+ni9NMoPn8MLx/WEv5eSt+p8r5ZTXNBJpvIw0Sv1hblTdGM9qhTf4AFGHFP94LTjIAAAAASUVORK5CYII=\"","// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport default function register () {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n}\n\nfunction registerValidSW (swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; refreshing.');\n refreshCacheAndReload();\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker (swUrl) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n if (\n response.status === 404 ||\n response.headers.get('content-type').indexOf('javascript') === -1\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister () {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n\nfunction refreshCacheAndReload() {\n if (caches) {\n // Service worker cache should be cleared with caches.delete()\n caches.keys().then((names) => {\n for (const name of names) {\n void caches.delete(name);\n }\n });\n }\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker\n .getRegistrations()\n .then(function (registrations) {\n for (let registration of registrations) {\n void registration.unregister()\n }\n })\n }\n window.location.reload();\n}\n","import { AccountWorkDayModel } from \"./account-work-day.model\";\nimport { Terminology } from \"./terminology\";\n\nexport class AccountInfoModel {\n id: string | null;\n name: string | null;\n phoneNumber: string | null;\n phoneCodeIso3: string | null;\n phoneDigits: number | null;\n phoneCode: number | null;\n phoneTemplate: string | null;\n address: string | null;\n addressReferences: string | null;\n pictures: string[] | null;\n workDays: AccountWorkDayModel[] | null;\n showCancellationPolicies: boolean;\n cancellationPolicies: string | null;\n isPrivacyNoticeEnabled: boolean | null;\n privacyNotice: string | null;\n logo: string | null;\n currencySymbol: string | null;\n currencyTemplate: string | null;\n isPaymentCash: string | null;\n isPaymentCard: string | null;\n isPaymentBankTransfer: string | null;\n isPaymentOxxo: string | null;\n isPaymentMercadoPago: string | null;\n showPrices: boolean | null;\n showSuggestedServices: boolean | null;\n terminologies: Terminology[] | null;\n showEstablishmentCertifications: boolean | null;\n showSpecialistCertifications: boolean | null;\n allowCustomerToCancelFromSite: boolean | null;\n allowCustomerToModifyFromSite: boolean | null;\n allowCustomerScheduleSimultaneousServices: boolean | null;\n isEnterprise: boolean | null;\n enterpriseBusinessNameUrl: boolean | null;\n allowCustomerToScheduleTodayFromSite: boolean | null;\n businessNameUrl: string | null;\n languageCode: string | null;\n whatsAppChannelNumber: string | null;\n requireSelectSpecialistFromSite: boolean | null;\n showAnySpecialistFromSite: boolean | null;\n isClinicMode: boolean | null;\n isClinicalHistoryEnabled: boolean | null;\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.name = x.name;\n this.phoneNumber = x.phoneNumber;\n this.phoneCodeIso3 = x.phoneCodeIso3;\n this.phoneDigits = x.phoneDigits;\n this.phoneCode = x.phoneCode;\n this.phoneTemplate = x.phoneTemplate;\n this.address = x.address;\n this.addressReferences = x.addressReferences;\n this.pictures = x.pictures;\n this.workDays = x.workDays;\n this.showCancellationPolicies = x.showCancellationPolicies;\n this.cancellationPolicies = x.cancellationPolicies;\n this.isPrivacyNoticeEnabled = x.isPrivacyNoticeEnabled;\n this.privacyNotice = x.privacyNotice;\n this.logo = x.logo;\n this.currencySymbol = x.currencySymbol;\n this.currencyTemplate = x.currencyTemplate;\n this.isPaymentCash = x.isPaymentCash;\n this.isPaymentCard = x.isPaymentCard;\n this.isPaymentOxxo = x.isPaymentOxxo;\n this.isPaymentMercadoPago = x.isPaymentMercadoPago;\n this.isPaymentBankTransfer = x.isPaymentBankTransfer;\n this.showPrices = x.showPrices;\n this.showSuggestedServices = x.showSuggestedServices;\n this.terminologies = x.terminologies;\n this.showEstablishmentCertifications = x.showEstablishmentCertifications;\n this.showSpecialistCertifications = x.showSpecialistCertifications;\n this.allowCustomerToCancelFromSite = x.allowCustomerToCancelFromSite;\n this.allowCustomerToModifyFromSite = x.allowCustomerToModifyFromSite;\n this.businessNameUrl = x.businessNameUrl;\n this.languageCode = x.languageCode;\n this.whatsAppChannelNumber = x.whatsAppChannelNumber;\n this.requireSelectSpecialistFromSite = x.requireSelectSpecialistFromSite;\n this.showAnySpecialistFromSite = x.showAnySpecialistFromSite;\n this.allowCustomerScheduleSimultaneousServices = x.allowCustomerScheduleSimultaneousServices;\n this.isEnterprise = x.isEnterprise;\n this.enterpriseBusinessNameUrl = x.enterpriseBusinessNameUrl;\n this.allowCustomerToScheduleTodayFromSite = x.allowCustomerToScheduleTodayFromSite;\n this.isClinicMode = x.isClinicMode;\n this.isClinicalHistoryEnabled = x.isClinicalHistoryEnabled;\n } else {\n this.id = null;\n this.name = null;\n this.phoneNumber = null;\n this.phoneCodeIso3 = null;\n this.phoneDigits = null;\n this.phoneCode = null;\n this.phoneTemplate = null;\n this.address = null;\n this.addressReferences = null;\n this.pictures = null;\n this.workDays = null;\n this.isPaymentOxxo = null;\n this.isPaymentMercadoPago = null;\n this.showCancellationPolicies = false;\n this.cancellationPolicies = null;\n this.isPrivacyNoticeEnabled = false;\n this.privacyNotice = null;\n this.logo = null;\n this.currencySymbol = null;\n this.currencyTemplate = null;\n this.isPaymentCash = null;\n this.isPaymentCard = null;\n this.isPaymentBankTransfer = null;\n this.showPrices = false;\n this.showSuggestedServices = false;\n this.terminologies = null;\n this.showEstablishmentCertifications = false;\n this.showSpecialistCertifications = false;\n this.allowCustomerToCancelFromSite = true;\n this.allowCustomerToModifyFromSite = true;\n this.businessNameUrl = null;\n this.languageCode = null;\n this.whatsAppChannelNumber = null;\n this.requireSelectSpecialistFromSite = null;\n this.showAnySpecialistFromSite = null;\n this.allowCustomerScheduleSimultaneousServices = null;\n this.allowCustomerToScheduleTodayFromSite = null;\n this.isEnterprise = null;\n this.enterpriseBusinessNameUrl = null;\n this.isClinicMode = null;\n this.isClinicalHistoryEnabled = null;\n }\n }\n}\n\n","export class ScheduleTime {\n scheduleTime: string | null;\n userId: string | null;\n\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.scheduleTime = x.scheduleTime;\n this.userId = x.userId;\n } else {\n this.scheduleTime = null;\n this.userId = null;\n }\n }\n}\n","import { AppointmentStatus } from \"../enum\";\nimport { ServiceUserModel } from \"../service/service-user.model\";\n\nexport class ScheduleAppointment {\n id: string | null;\n accountId: string | null;\n services: ServiceUserModel[] | null;\n firstName: string | null;\n lastName: string | null;\n mobile: string;\n mobileCodeIso3: string | null;\n mobileCode: number | null;\n mobileDigits: number | null;\n mobileTemplate: string | null;\n startDate: Date | null;\n endDate: Date | null;\n status: AppointmentStatus | null;\n notes: string | null;\n scheduledSimultaneousServices: boolean | null;\n\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.accountId = x.accountId;\n this.services = x.services;\n this.firstName = x.firstName;\n this.lastName = x.lastName;\n this.mobile = x.mobile;\n this.mobileCodeIso3 = x.mobileCodeIso3;\n this.mobileCode = x.mobileCode;\n this.mobileDigits = x.mobileDigits;\n this.mobileTemplate = x.mobileTemplate;\n this.startDate = x.startDate;\n this.endDate = x.startDate;\n this.status = x.status;\n this.notes = x.notes;\n this.scheduledSimultaneousServices = x.scheduledSimultaneousServices;\n } else {\n this.id = null;\n this.accountId = null;\n this.services = null;\n this.firstName = null;\n this.lastName = null;\n this.mobile = \"\";\n this.mobileCodeIso3 = null;\n this.mobileCode = null;\n this.mobileDigits = null;\n this.mobileTemplate = null;\n this.startDate = null;\n this.endDate = null;\n this.status = null;\n this.notes = null;\n this.scheduledSimultaneousServices = null;\n }\n }\n}\n","import { UserModel } from \"../user\";\nimport { ServiceModel } from \"./service-model\";\n\nexport class ServiceUserModel {\n \n service: ServiceModel | null; // service selected\n users: UserModel[] | null; // list of user to select\n \n serviceId: string | null;\n userId: string | null;\n index: number;\n \n constructor(x?: any) {\n if (typeof x === \"object\" && x !== null && x) {\n this.service = x.service;\n this.users = x.users;\n this.serviceId = x.serviceId;\n this.userId = x.userId;\n this.index = x.index;\n } else {\n this.service = null;\n this.users = null;\n this.serviceId = null;\n this.userId = null;\n this.index = 0;\n }\n }\n \n}\n\n","export default class Country {\n iso3: string;\n name: string;\n dialCode: number;\n dialDigits: number;\n dialTemplate: string;\n \n constructor(x?: Country) {\n if (typeof x === \"object\" && x !== null) {\n this.iso3 = x.iso3 || \"\";\n this.name = x.name || \"\";\n this.dialCode = x.dialCode || 0;\n this.dialDigits = x.dialDigits || 0;\n this.dialTemplate = x.dialTemplate || \"\";\n } else {\n this.iso3 = \"\";\n this.name = \"\";\n this.dialCode = 0;\n this.dialDigits = 0;\n this.dialTemplate = \"\";\n }\n }\n}","import { createSlice } from \"@reduxjs/toolkit\";\nimport { AccountInfoModel } from \"../models/account\";\nimport { CustomerValidModel } from \"../models/customer\";\nimport { ScheduleAppointment, ScheduleTime } from \"../models/schedule\";\nimport { ServiceUserModel } from \"../models/service/service-user.model\";\nimport { ServiceWithUsersModel } from \"../models/service/service-with-users-model\";\nimport Country from \"../models/common/country\";\nimport { GroupServiceModel } from \"../models/service\";\n\ninterface SchedulerState {\n currentDate: Date;\n oldCurrentDate: Date | null;\n daysOff: number[];\n account: AccountInfoModel;\n countries: Country[];\n countryInSettings: Country;\n isOpenCustomerModal: boolean;\n isOpenScheduleBusyModal: boolean;\n scheduleAppointment: ScheduleAppointment;\n isUpdate: boolean;\n isModified: boolean;\n isEditable: boolean;\n isServicesPerformedSimultaneously: boolean;\n serviceUser: ServiceUserModel[];\n availableHours: ScheduleTime[];\n isValidSelection: boolean;\n isValidUser: boolean;\n servicesWithUsers: ServiceWithUsersModel[];\n suggestedServices: GroupServiceModel[];\n\n oldSchedule: string | null;\n schedule?: string;\n scheduleTime?: ScheduleTime;\n customerValid?: CustomerValidModel;\n appointmentId?: string;\n refreshAvailableHours: number;\n maxServiceIndex: number;\n locale: string;\n showLoader: boolean;\n isPreselectedServiceHandled: boolean;\n}\n\nconst initialState: SchedulerState = {\n currentDate: new Date(),\n oldCurrentDate: null,\n daysOff: [],\n serviceUser: [new ServiceUserModel()],\n availableHours: [new ScheduleTime()],\n servicesWithUsers: [],\n suggestedServices: [],\n isValidSelection: false,\n isValidUser: false,\n account: new AccountInfoModel(),\n countries: [],\n countryInSettings: new Country(),\n isOpenCustomerModal: false,\n isOpenScheduleBusyModal: false,\n isUpdate: false,\n oldSchedule: null,\n isModified: false,\n isEditable: true,\n isServicesPerformedSimultaneously: false,\n scheduleAppointment: new ScheduleAppointment(),\n refreshAvailableHours: 0,\n maxServiceIndex: 0,\n locale: process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'es',\n showLoader: false,\n isPreselectedServiceHandled: false\n};\n\nconst schedulerSlice = createSlice({\n name: \"scheduler\",\n initialState: initialState,\n reducers: {\n setCurrentDate: (state, action) => {\n state.currentDate = action.payload;\n },\n setOldCurrentDate: (state, action) => {\n state.oldCurrentDate = action.payload;\n },\n setDaysOff: (state, action) => {\n state.daysOff = action.payload;\n },\n setServiceUser: (state, action) => {\n state.serviceUser = [...action.payload];\n },\n setAvailableHours: (state, action) => {\n state.availableHours = [...action.payload];\n },\n setServicesWithUsers: (state, action) => {\n state.servicesWithUsers = [...action.payload];\n },\n setSuggestedServices: (state, action) => {\n state.suggestedServices = action.payload;\n },\n setIsValidSelection: (state, action) => {\n\n state.isValidSelection = action.payload;\n },\n setIsValidUser: (state, action) => {\n state.isValidUser = action.payload;\n },\n setSchedule: (state, action) => {\n state.schedule = action.payload;\n },\n setOldSchedule: (state, action) => {\n state.oldSchedule = action.payload;\n },\n setScheduleTime: (state, action) => {\n state.scheduleTime = action.payload;\n },\n setAccount: (state, action) => {\n state.account = action.payload;\n },\n setCountries: (state, action) => {\n state.countries = action.payload;\n },\n setCountryInSettings: (state, action) => {\n state.countryInSettings = action.payload;\n },\n setIsOpenCustomerModal: (state, action) => {\n state.isOpenCustomerModal = action.payload;\n },\n setIsOpenScheduleBusyModal: (state, action) => {\n state.isOpenScheduleBusyModal = action.payload;\n },\n setScheduleAppointment: (state, action) => {\n state.scheduleAppointment = action.payload;\n },\n setCustomerValid: (state, action) => {\n state.customerValid = action.payload;\n },\n setAppointmentId: (state, action) => {\n state.appointmentId = action.payload;\n },\n setIsUpdate: (state, action) => {\n state.isUpdate = action.payload;\n },\n setIsModified: (state, action) => {\n state.isModified = action.payload;\n },\n setIsEditable: (state, action) => {\n state.isEditable = action.payload;\n },\n setIsServicesPerformedSimultaneously: (state, action) => {\n state.isServicesPerformedSimultaneously = action.payload;\n },\n setRefreshAvailableHours: (state, action) => {\n state.refreshAvailableHours = action.payload;\n },\n setMaxServiceIndex: (state, action) => {\n state.maxServiceIndex = action.payload;\n },\n setLocale(state, action) {\n state.locale = action.payload;\n },\n setShowLoader(state, action) {\n state.showLoader = action.payload;\n },\n setIsPreselectedServiceHandled(state, action) {\n state.isPreselectedServiceHandled = action.payload;\n }\n },\n});\n\nexport const schedulerActions = schedulerSlice.actions;\nexport default schedulerSlice.reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { AlertProps } from \"./../components/common/notifications/AlertProvider\";\n\ninterface AlertState {\n alerts: AlertProps[];\n}\n\nconst defaultState: AlertState = {\n alerts: [],\n};\n\nconst newGuid = () => {\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (c) {\n var r = (Math.random() * 16) | 0,\n v = c === \"x\" ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n};\n\nconst alertsSlice = createSlice({\n name: \"alerts\",\n initialState: defaultState,\n reducers: {\n enqueueAlert: (state, action) => {\n const key = action.payload.key ? action.payload.key : newGuid();\n state.alerts = [\n ...state.alerts,\n {\n ...action.payload,\n key: key,\n },\n ];\n },\n closeAlert: (state, action) => {\n state.alerts = state.alerts.map((alert) =>\n alert.key === action.payload\n ? { ...alert, dismissed: true }\n : { ...alert }\n );\n },\n removeAlert: (state, action) => {\n state.alerts = state.alerts.filter(\n (alert) => alert.key !== action.payload\n );\n },\n },\n});\n\nexport const alertsActions = alertsSlice.actions;\nexport default alertsSlice.reducer;\n","import { configureStore } from \"@reduxjs/toolkit\";\nimport schedulerReducer from \"./scheduler-slice\";\nimport alertsReducer from \"./alerts-slice\";\n\nconst store = configureStore({\n reducer: {\n scheduler: schedulerReducer,\n alerts: alertsReducer,\n },\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({ serializableCheck: false }),\n});\n\nexport default store;\n\nexport type RootState = ReturnType;\nexport type AppDispatch = typeof store.dispatch;\n","import { createTheme } from \"@material-ui/core/styles\";\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport * as customTypes from \"./material-ui\";\n\nconst clearTheme = createTheme({\n palette: {\n primary: {\n main: \"#6462F3\",\n light: \"#a697df\",\n },\n },\n colors: {\n clearMain: \"#6462F3\",\n clear2: \"#7175FA\",\n clear3: \"#9FA9E6\",\n clear4: \"#BDC7F8\",\n clear5: \"#E1E9FE\",\n clear6: \"#E9F1FE\",\n grey7: \"#1D2027\",\n grey6: \"#323947\",\n grey5: \"#5C6477\",\n grey4: \"#919CA5\",\n grey3: \"#ACB7C0\",\n grey2: \"#C9CDD3\",\n grey1: \"#F6F6F6\",\n white: \"#FFFFFF\",\n clearGreen: \"#36CE91\",\n clearRed: \"#F15857\",\n clearYellow: \"#FFC626\",\n clearBlue: \"#0BCBE0\",\n clearLilac: \"#EAE9FF\",\n backgroundGrey1: \"#FAFAFA\"\n },\n typography: {\n fontFamily: \"Roboto, sans-serif\",\n header1: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"34px\",\n lineHeight: \"41px\",\n },\n header2: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"24px\",\n lineHeight: \"29px\",\n },\n header3: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"21px\",\n lineHeight: \"25px\",\n },\n header4: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"18px\",\n lineHeight: \"22px\",\n },\n txtBody1: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n },\n txtBody2: {\n fontFamily: \"Roboto, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"12px\",\n lineHeight: \"14px\",\n },\n txtBody3: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"11px\",\n lineHeight: \"13px\",\n },\n caption1: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"10px\",\n lineHeight: \"12px\",\n },\n caption2: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"9px\",\n lineHeight: \"11px\",\n },\n buttons: {\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"12px\",\n lineHeight: \"15px\",\n },\n },\n overrides: {\n MuiAppBar: {\n root: {\n boxShadow: \"none\",\n },\n },\n MuiToolbar: {\n dense: {\n minHeight: 54,\n },\n },\n MuiPopover: {\n root: {\n zIndex: 1150,\n },\n },\n MuiButtonBase: {\n root: {\n \"&:focus\": {\n outline: \"none\",\n },\n },\n },\n MuiButton: {\n root: {\n fontSize: \"0.725rem\",\n textTransform: \"none\",\n },\n contained: {\n boxShadow: \"none\",\n \"&:hover\": {\n boxShadow: \"none\",\n },\n \"&:disabled\": {\n boxShadow: \"none\",\n backgroundColor: \"#6462F3\",\n color: \"#fff\",\n opacity: 0.3,\n },\n },\n },\n MuiIconButton: {\n root: {\n \"&:focus\": {\n outline: \"none\",\n },\n },\n },\n MuiInputBase: {\n root: {\n fontSize: \"0.9rem\",\n },\n },\n MuiOutlinedInput: {\n input: {\n textOverflow: \"ellipsis\",\n borderRadius: 4,\n position: \"relative\",\n backgroundColor: \"#fff\",\n border: \"1px #9ea3a8\",\n \"&focus\": {\n borderColor: \"#593ea3\",\n },\n padding: \"8px 10px\",\n },\n inputMarginDense: {\n paddingTop: 8,\n paddingBottom: 8,\n },\n multiline: {\n padding: \"8px 10px\",\n },\n adornedStart: {\n paddingLeft: 8,\n },\n },\n MuiInputLabel: {\n root: {\n marginBottom: 0,\n },\n },\n MuiTab: {\n root: {\n textTransform: \"capitalize\",\n },\n },\n MuiTableCell: {\n stickyHeader: {\n backgroundColor: \"white\",\n },\n },\n MuiPickersBasePicker: {\n container: {\n border: `1px solid #F6F6F6`,\n boxSizing: \"border-box\",\n borderRadius: 8,\n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n },\n MuiPickersCalendarHeader: {\n iconButton: {\n color: \"#7175FA\",\n },\n transitionContainer: {\n color: \"#7175FA\",\n textTransform: \"capitalize\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n },\n dayLabel: {\n textTransform: \"capitalize\",\n },\n },\n },\n});\n\nexport default clearTheme;\n","export const Masks = {\n phoneMask: [\n /\\d/,\n /\\d/,\n /\\d/,\n \"-\",\n /\\d/,\n /\\d/,\n /\\d/,\n \"-\",\n /\\d/,\n /\\d/,\n /\\d/,\n /\\d/,\n ],\n};\n\n\nexport function GetMobileMask(digits: number): any {\n const mask: { [key: string] : any } = {\n \"7\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"8\": [/\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"9\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/],\n \"10\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"11\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"12\": [/\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/]\n };\n \n return mask[digits] || mask[\"10\"];\n}\n\n\nexport function GetMobileMaskByTemp(template: string): any {\n const mask: { [key: string] : any } = {\n \"000-0000\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"0000-0000\": [/\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"0-000-0000\": [/\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"00-000-000\": [/\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/],\n \"0000-00-00\": [/\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, \"-\", /\\d/, /\\d/],\n \"00-0000-000\": [/\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/],\n \"000-000-000\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/],\n \"000 000-000\": [/\\d/, /\\d/, /\\d/, \" \", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/],\n \"000-000-0000\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"00000-00000\": [/\\d/, /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, /\\d/],\n \"000-0000-0000\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"000-000-000000\": [/\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, /\\d/, /\\d/],\n \"0-000-000-0000\": [/\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/],\n \"00-0000-00000\": [/\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, \"-\", /\\d/, /\\d/, /\\d/, /\\d/, /\\d/]\n };\n \n return mask[template] || mask[\"000-000-0000\"];\n}","export const Regex = {\n Name: /^\\s*([a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+((?: [a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+)?)+(?: [a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+)?)( *)$/,\n MultipleSpacesName: /^\\s*([a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+((?:\\s{0,}[a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+)?)+(?:\\s{0,}[a-zA-Z'-.À-ÿ\\u00f1\\u00d1]+)?)( *)$/,\n Mobile: /^\\d{10}$/,\n Email:\n /^(([^<>()[\\]\\\\.,;:\\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,}))$/,\n Alphanumeric:\n /^(?!.*[ ]{2})[a-zA-Z ¡!¿?)(.,;:áéíóúÁÉÍÓÚäëïöüÄËÏÖÜÑñ1234567890]{2,80}$/,\n AlphanumericExtended:\n /^(?!.*[ ]{2})[a-zA-Z ¡!¿?@#$%^&*)(.,;:áéíóúÁÉÍÓÚäëïöüÄËÏÖÜ1234567890]{2,80}$/,\n Currency: /^(\\d+(\\.\\d{0,2})?|\\.?\\d{1,2})$/,\n};\n","export const Url = {\n UATHost: \"https://uatsitiodereservas.somosclear.com\",\n NotFound: \"https://somosclear.com/\",\n Appointments: {\n Main: \"/:accountBusinessName/appointment\",\n },\n Navbar: {\n AboutUs: \"/:accountBusinessName/about\",\n Certifications: \"/:accountBusinessName/certifications\",\n Services: \"/:accountBusinessName/services\",\n ScheduleAppointment: \"/:accountBusinessName/appointment\",\n },\n CanceledConfirmation: {\n Main: \"/:accountBusinessName/canceled-confirmation\",\n },\n PatientForm: \"/:accountBusinessName/patient-form\",\n PrivacyNotice: \"/:accountBusinessName/privacy-notice\",\n InformedConsentLetter: \"/:accountBusinessName/informed-consent-letter\"\n};\n","import { Regex } from \"./regex\";\nimport MobileNumber from \"../models/common/mobile-number\";\nimport Country from \"../models/common/country\";\nimport RadioValue from \"../models/common/radio-value\";\n\n\nexport const Validation = {\n validateText: (value: string): boolean => value !== null && value !== \"\",\n validateName: (value: string): boolean => value !== null && value !== \"\" && Regex.Name.test(value),\n validateEmail: (value: string): boolean => Regex.Email.test(value),\n validateMobileNumberWithCountries: (value: MobileNumber, countries: Country[]): boolean => {\n if (!(value && value.body && value.countryIso && countries.length > 0)) return false;\n const country = countries.find(x => x.iso3 === value.countryIso);\n if (!country) return false;\n return validateMobileNumberByDigits(value, country.dialDigits)\n },\n validateRadio: (value: RadioValue): boolean => !!(value && value.item),\n}\n\nfunction validateMobileNumberByDigits(value: MobileNumber, digits: number): boolean {\n if (!(value && value.countryIso)) return false;\n if (value.body === \"\") return false;\n const mobile = value.body.replace(/[^0-9]/g, \"\");\n return (digits === 7 && /^\\d{7}$/.test(mobile)) ||\n (digits === 8 && /^\\d{8}$/.test(mobile)) ||\n (digits === 9 && /^\\d{9}$/.test(mobile)) ||\n (digits === 10 && /^\\d{10}$/.test(mobile)) ||\n (digits === 11 && /^\\d{11}$/.test(mobile)) ||\n (digits === 12 && /^\\d{12}$/.test(mobile));\n}\n","import axios, { AxiosRequestConfig, AxiosResponse } from \"axios\";\n\nexport class ApiClient {\n static baseUrl = process.env.REACT_APP_SERVER_URL;\n\n static async post(url: string, formData?: any, config?: AxiosRequestConfig) {\n return axios\n .post(this.baseUrl + url, formData, config)\n .then((resp) => {\n if (!resp.data) {\n return Promise.reject(resp);\n }\n\n return resp.data;\n })\n .catch((resp) => {\n return Promise.reject(resp);\n });\n }\n\n static async put(url: string, formData?: any, config?: AxiosRequestConfig) {\n return axios\n .put(this.baseUrl + url, formData, config)\n .then((resp) => {\n if (!resp.data) {\n return Promise.reject(resp);\n }\n\n return resp.data;\n })\n .catch((resp) => {\n return Promise.reject(resp);\n });\n }\n\n static async remove(url: string, config?: AxiosRequestConfig) {\n return axios\n .delete(this.baseUrl + url, config)\n .then((resp) => {\n if (!resp.data) {\n return Promise.reject(resp);\n }\n\n return resp.data;\n })\n .catch((resp) => {\n return Promise.reject(resp);\n });\n }\n\n static async get(url: string, config?: AxiosRequestConfig) {\n return axios\n .get(this.baseUrl + url, config)\n .then((resp) => {\n if (!resp.data) {\n return Promise.reject(resp);\n }\n\n return resp.data;\n })\n .catch((resp) => {\n return Promise.reject(resp);\n });\n }\n\n static async all(values: (AxiosResponse | Promise> | Promise)[]): Promise {\n return axios.all(values)\n .then((resp) => {\n return resp;\n })\n .catch((resp) => {\n return Promise.reject(resp);\n });\n }\n}\n","export class UserModel {\n id: string | null;\n firstName: string | null;\n lastName: string | null;\n jobPosition?: string;\n photoURL?: string;\n \n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.firstName = x.firstName;\n this.lastName = x.lastName;\n this.jobPosition = x.jobPosition;\n this.photoURL = x.photoURL;\n } else {\n this.id = null;\n this.firstName = null;\n this.lastName = null;\n this.jobPosition = undefined;\n this.photoURL = undefined;\n }\n }\n }\n ","import { ServiceModel } from \"./service-model\";\n\nexport class GroupServiceModel {\n category: string | null;\n services: ServiceModel[] | null;\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.category = x.category;\n this.services = x.services;\n } else {\n this.category = null;\n this.services = null;\n }\n }\n}","export class ServiceModel {\n id: string | null;\n name: string | null;\n categoryName: string | null;\n duration: number | null;\n price: number | null;\n photo: string | null;\n notes: string | null;\n description: string | null;\n workAreaId?: string | null;\n workArea?: string | null;\n \n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.name = x.name;\n this.categoryName = x.categoryName;\n this.duration = x.duration;\n this.price = x.price;\n this.photo = x.photo;\n this.workAreaId = x.workAreaId;\n this.workArea = x.workArea;\n this.description = x.description;\n this.notes = x.notes;\n } else {\n this.id = null;\n this.name = null;\n this.categoryName = null;\n this.duration = null;\n this.price = null;\n this.photo = null;\n this.workAreaId = null;\n this.workArea = null;\n this.description = null;\n this.notes = null;\n }\n }\n}\n","import { AppointmentStatus } from \"./../enum\";\n\nexport class AppointmentDto {\n id: string | null;\n status: AppointmentStatus | null;\n start: Date | null;\n duration: number | null;\n\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.status = x.status;\n this.start = x.start;\n this.duration = x.duration;\n } else {\n this.id = null;\n this.status = null;\n this.start = null;\n this.duration = null;\n }\n }\n}\n","import { AppointmentStatus } from \"./../enum/appointment-status.enum\";\nimport { AppointmentServiceDtoModel } from \"./appointment-service-dto.model\";\n\nexport class AppointmentDetailDtoModel {\n id: string | null;\n number: number | null;\n userId: string | null;\n user: string | null;\n customerId: string | null;\n firstName: string | null;\n lastName: string | null;\n mobile: string | null;\n mobileDigits: number | null;\n mobileCodeIso3: string | null;\n email: string | null;\n startDate: Date | null;\n endDate: Date | null;\n status: AppointmentStatus | null;\n services: AppointmentServiceDtoModel[] | null;\n notes: string | null;\n isEditable: boolean | null;\n scheduledSimultaneousServices: boolean;\n\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.number = x.number;\n this.userId = x.userId;\n this.user = x.user;\n this.customerId = x.customerId;\n this.firstName = x.firstName;\n this.lastName = x.lastName;\n this.mobile = x.mobile;\n this.mobileDigits = x.mobileDigits;\n this.mobileCodeIso3 = x.mobileCodeIso3;\n this.email = x.email;\n this.startDate = x.startDate;\n this.endDate = x.endDate;\n this.status = x.status;\n this.services = x.services;\n this.notes = x.notes;\n this.isEditable = x.isEditable;\n this.scheduledSimultaneousServices = x.scheduledSimultaneousServices;\n } else {\n this.id = null;\n this.number = null;\n this.userId = null;\n this.user = null;\n this.customerId = null;\n this.firstName = null;\n this.lastName = null;\n this.mobile = null;\n this.mobileDigits = null;\n this.mobileCodeIso3 = null;\n this.email = null;\n this.startDate = null;\n this.endDate = null;\n this.status = null;\n this.services = null;\n this.notes = null;\n this.isEditable = null;\n this.scheduledSimultaneousServices = false;\n }\n }\n}\n","export default class MobileNumber {\n body: string;\n countryIso: string | null;\n \n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.body = x.body ?? \"\";\n this.countryIso = x.countryIso;\n } \n else if (typeof x === \"string\") {\n const parsedValue = JSON.parse(x);\n this.body = parsedValue?.body ?? \"\";\n this.countryIso = parsedValue?.countryIso ?? null;\n }\n else {\n this.body = \"\";\n this.countryIso = null;\n }\n }\n}","import MobileNumber from \"../common/mobile-number\";\nimport { Gender } from \"./gender\";\n\n\nexport default class CustomerInfo {\n name: string;\n lastName: string;\n mobile: MobileNumber;\n email: string;\n gender: Gender | null;\n customGender: string | null;\n dateOfBirth: Date | null;\n \n constructor(x?: CustomerInfo) {\n if (typeof x === \"object\") {\n this.name = x.name;\n this.lastName = x.lastName;\n this.mobile = x.mobile;\n this.email = x.email;\n this.gender = x.gender;\n this.customGender = x.customGender;\n this.dateOfBirth = x.dateOfBirth;\n } else {\n this.name = \"\";\n this.lastName = \"\";\n this.mobile = new MobileNumber();\n this.email = \"\";\n this.gender = null;\n this.customGender = null;\n this.dateOfBirth = null;\n }\n }\n}","import { ApiClient } from \"./api-client\";\nimport { UserModel } from \"../models/user\";\nimport { AccountInfoModel } from \"../models/account\";\nimport { GroupServiceModel, ServiceModel } from \"../models/service\";\nimport {\n AppointmentDetailDtoModel,\n AppointmentDto,\n} from \"../models/appointment\";\nimport { ScheduleAppointment, ScheduleTime } from \"../models/schedule\";\nimport { ServiceUserModel } from \"../models/service/service-user.model\";\nimport {ServiceWithUsersModel} from \"../models/service/service-with-users-model\";\nimport CustomerInfo from \"../models/customer/customer-info\";\n\n\nexport class AppointmentService {\n private static baseUrl: string = \"/CustomerSite\";\n\n private static isoDate(date: Date): string {\n date = new Date(date);\n const year = date.toLocaleString(\"en-US\", {\n year: \"numeric\",\n });\n const month = date.toLocaleString(\"en-US\", {\n month: \"2-digit\",\n });\n const day = date.toLocaleString(\"en-US\", {\n day: \"2-digit\",\n });\n\n return `${year}-${month}-${day}`;\n }\n\n private static handleTime(date: Date): string {\n date = new Date(date);\n const time = date.toLocaleString(\"en-US\", {\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\",\n hour12: false,\n });\n\n return `${this.isoDate(date)}T${time}`;\n }\n\n static async getByBusinessName(\n businessName: string\n ): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetAccountByBusinessNameUrl?businessNameUrl=${businessName}`\n );\n\n return new AccountInfoModel(data);\n }\n\n static async getServicesGroupByCategory(accountId: string): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/getservicesgroupbycategory?accountId=${accountId}`\n );\n\n return data.services.map((service: any) => new GroupServiceModel(service));\n }\n \n static async getServices(\n accountId: string,\n value?: string,\n properties?: string[],\n ): Promise {\n \n let urlEndpoint = `${this.baseUrl}/getservices?accountId=${accountId}`;\n \n if (value && properties && properties.length > 0) {\n urlEndpoint += `&value=${value}`;\n for (const property of properties) {\n urlEndpoint += `&Properties=${property}`;\n }\n }\n \n return ApiClient.get(urlEndpoint)\n .then((data) => {\n \n let services: ServiceModel[] = [];\n const list = data.services;\n \n list.forEach((data: any) => {\n services.push(data);\n });\n \n return services;\n \n });\n }\n\n static async getUsersByServiceId(\n accountId: string | null,\n serviceId: string\n ): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetUsersByServiceId?accountId=${accountId ?? \"\"}&serviceId=${serviceId}`\n );\n\n return data.users.map((user: any) => new UserModel(user));\n }\n\n static async getUsersForServices(\n accountId: string | null,\n serviceIds: string[]\n ): Promise {\n return await ApiClient.post(\n `${this.baseUrl}/GetUsersForServices`, { accountId, serviceIds }\n ).then(data => data.serviceUsers);\n }\n\n static async getAvailableHours(\n accountId: string,\n services: ServiceUserModel[],\n startDate: Date,\n isServicesPerformedSimultaneously: boolean,\n appointmentId?: string\n ): Promise {\n\n if (!accountId || services.length===0) return [];\n\n const actualServices = services.map(service => {\n return {\n serviceId: service.serviceId,\n userId: service.userId === \"All\" ? null : service.userId\n }\n })\n \n return ApiClient.post(`${this.baseUrl}/GetAvailableHours`, {\n accountId,\n startDate: this.isoDate(startDate),\n isServicesPerformedSimultaneously,\n appointmentId,\n services: actualServices,\n }).then(data => { return data.scheduleTimes.map((schedule: any) => new ScheduleTime(schedule)) })\n }\n\n static async createAppointment(\n appointment: ScheduleAppointment\n ): Promise<{ appointment: AppointmentDto | null, isScheduleBusy: boolean, isCustomerBlocked: boolean }> {\n\n let services: ServiceUserModel[] = [];\n\n appointment.services?.forEach(item => {\n services.push(new ServiceUserModel({\n serviceId: item.serviceId,\n userId: item.userId === \"All\" ? null : item.userId\n }))\n })\n \n const newAppointment: ScheduleAppointment = {...appointment, services};\n\n const data = await ApiClient.post(`${this.baseUrl}/CreateAppointment`, {\n ...newAppointment,\n startDate: this.handleTime(appointment.startDate as Date),\n });\n\n return {\n appointment: data.appointment !== null ? new AppointmentDto(data.appointment) : null,\n isScheduleBusy: data.isScheduleBusy,\n isCustomerBlocked: data.isCustomerBlocked\n };\n\n }\n \n static async getProtectedCustomerInfo(protectedCustomerId: string): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetProtectedCustomerInfo?protectedCustomerId=${protectedCustomerId}`\n );\n \n return new CustomerInfo(data.customerInfo);\n }\n\n static async updateAppointment(\n appointment: ScheduleAppointment\n ): Promise<{ appointment: AppointmentDto | null, isScheduleBusy: boolean, isCustomerBlocked: boolean }> {\n let services: ServiceUserModel[] = [];\n\n appointment.services?.forEach(item => {\n services.push(new ServiceUserModel({\n serviceId: item.serviceId,\n userId: item.userId === \"All\" ? null : item.userId\n }))\n })\n\n const newAppointment: ScheduleAppointment = {...appointment, services};\n\n const data = await ApiClient.put(`${this.baseUrl}/UpdateAppointment`, {\n ...newAppointment,\n startDate: this.handleTime(appointment.startDate as Date),\n });\n \n return {\n appointment: data.appointment !== null ? new AppointmentDto(data.appointment) : null,\n isScheduleBusy: data.isScheduleBusy,\n isCustomerBlocked: false\n };\n }\n\n static removeAppointment(appointmentId: string, allRecurringAppointments: boolean = false): Promise {\n\n let endpointUrl = `${this.baseUrl}/DeleteAppointment?appointmentId=${appointmentId}`\n\n if (allRecurringAppointments)\n endpointUrl += `&allRecurringAppointments=${allRecurringAppointments}`;\n\n return ApiClient.remove(endpointUrl);\n }\n\n static async getAppointmentByEncryptedAppointmentId(\n accountId: string,\n encryptedAppointmentId: string\n ): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetAppointmentByEncryptedId?accountId=${accountId}&encryptedAppointmentId=${encryptedAppointmentId}`\n );\n\n return new AppointmentDetailDtoModel({\n ...data.appointment,\n isEditable: data.isEditable,\n });\n }\n\n static getCountries(accountId: string | null, locale: string | null): Promise {\n locale = locale ?? process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'es'\n let urlEndpoint = `${this.baseUrl}/GetCountries?locale=${locale}&accountId=${accountId}`;\n return ApiClient.get(urlEndpoint)\n .then((data) => {\n return ({country: data.country, countryInSettings: data.countryInSettings });\n });\n }\n}\n","import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'\nimport type { RootState, AppDispatch } from './store'\n\nexport const useAppDispatch = () => useDispatch()\nexport const useAppSelector: TypedUseSelectorHook = useSelector\n","export class CustomerValidModel {\n name?: boolean;\n lastName?: boolean;\n mobile?: boolean;\n\n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.name = x.name;\n this.lastName = x.lastName;\n this.mobile = x.mobile;\n }\n }\n}\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n [theme.breakpoints.down(\"sm\")]: {\n height: \"100%\",\n minHeight: \"95vh\",\n backgroundColor: \"#FAFAFA\"\n },\n },\n content: {\n paddingTop: 15,\n\n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n buttonsFlexContainer: {\n display: \"flex\",\n gap: 16,\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n width: \"272px\"\n },\n },\n paper: {\n width: \"100%\",\n },\n leftPanel: {\n background: theme.colors.grey7,\n padding: \"23px 19px 0px 19px\",\n },\n branding: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"center\",\n },\n brandingCircle: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n height: 80,\n width: 80,\n borderRadius: \"50%\",\n },\n imageCircle: {\n height: 80,\n width: 80,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n brandTitle: {\n ...theme.typography.header4,\n fontWeight: \"bold\",\n color: theme.colors.grey1,\n marginTop: 16,\n marginBottom: 24,\n display: \"flex\",\n justifyContent: \"center\",\n },\n leftMain: {\n height: \"calc(100% - 165px)\",\n overflowY: \"scroll\",\n \"&::-webkit-scrollbar\": {\n display: \"none\",\n },\n scrollbarWidth: \"none\",\n \"-ms-overflow-style\": \"none\",\n },\n modifyCaption: {\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 21,\n display: \"grid\",\n marginRight: 10,\n marginTop: 15,\n color: theme.colors.clearMain,\n [theme.breakpoints.down(\"sm\")]: {\n width: \"272px!important\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n marginTop: 0\n },\n \"&::after\": {\n content: \"''\",\n borderBottom: \"1px solid #ACB7C0\",\n margin: \"16px 0 5px 0\",\n [theme.breakpoints.down(\"sm\")]: {\n margin: \"16px 0 18px 0\",\n },\n },\n },\n modifyCaptionContainer: {\n [theme.breakpoints.down(\"sm\")]: {\n width: \"100%\",\n backgroundColor: theme.colors.white,\n },\n },\n rightPanel: {\n padding: \"24px 16px\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n height: \"100vh\",\n background: theme.colors.grey1,\n },\n rightTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n marginBottom: 20,\n },\n summaryAction: {\n width: \"100%\",\n marginTop: \"20px\"\n },\n buttonsBlock: {\n width: \"100%\",\n padding: \"24px 0px 14px 0px\",\n display: \"flex\",\n justifyContent: \"flex-end\",\n alignItems: \"center\",\n\n [theme.breakpoints.down(\"sm\")]: {\n width: 272,\n },\n\n },\n buttonsBlockOld: {\n display: \"flex\",\n justifyContent: \"end\",\n alignItems: \"center\",\n\n zIndex: 3,\n \n gap: 10,\n paddingRight: 10,\n height: 64,\n backgroundColor: theme.colors.white,\n \n borderRadius: 10,\n \n [theme.breakpoints.down(\"sm\")]: {\n position: \"fixed\",\n bottom: 0,\n right: 0,\n paddingRight: 0,\n \n width: \"100%\",\n \n justifyContent: \"center\",\n \n zIndex: 999,\n borderRadius: 0,\n\n backgroundColor: theme.colors.white\n },\n },\n cancelButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 140,\n height: 32,\n \n backgroundColor: theme.colors.white,\n \n borderRadius: 5,\n border: \"1px solid #6462F3\",\n \n ...theme.typography.buttons,\n color: theme.colors.clearMain,\n fontWeight: 700,\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 270\n },\n },\n continueButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 300,\n height: 40,\n \n backgroundColor: theme.colors.clearGreen,\n \n borderRadius: 5,\n \n ...theme.typography.buttons,\n color: theme.colors.grey1,\n fontWeight: 700,\n whiteSpace: \"nowrap\",\n \n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey1,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.clearGreen + \"!important\",\n color: theme.colors.grey1 + \"!important\",\n },\n [`& .MuiButton-label`]: {\n paddingLeft: 25,\n paddingRight: 25\n },\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n goBackButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 300,\n height: 40,\n \n backgroundColor: theme.colors.white,\n \n borderRadius: 5,\n borderWidth: 1,\n border: 'solid',\n borderColor: theme.colors.grey3, \n \n ...theme.typography.buttons,\n color: \"#ACB7C0\",\n fontWeight: 700,\n\n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n\n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey3,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.white + \"!important\",\n color: theme.colors.grey4 + \"!important\",\n },\n }\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = () => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n [theme.breakpoints.down(\"sm\")]: {\n width: \"100%\", \n backgroundColor: theme.colors.white\n },\n },\n stepper: {\n height: 85,\n width: 560,\n \n padding: 8,\n paddingTop: 58,\n \n [theme.breakpoints.down(\"sm\")]: {\n padding: \"58px 0px 40px 0px\",\n whiteSpace: \"nowrap\",\n width: \"100%\",\n },\n },\n labelAlternativeLabel: {\n \n ...theme.typography.txtBody2,\n color: `${theme.colors.grey3} !important`,\n \"& .MuiStepLabel-active\": {\n color: `${theme.colors.clearMain} !important`,\n fontWeight: 700,\n },\n \"& .MuiStepLabel-label\": {\n marginTop: -55,\n }\n },\n labelCompleted: {\n color: `${theme.colors.clearGreen} !important`\n },\n}));\n\nexport const useStepIconStyles = makeStyles((theme) => ({\n root: {\n color: theme.colors.grey2,\n display: 'flex',\n height: 22,\n alignItems: 'center',\n\n },\n circle: {\n width: 14,\n height: 14,\n borderRadius: '50%',\n border: `1px solid ${theme.colors.grey2}`\n },\n activeCircle: {\n width: 14,\n height: 14,\n borderRadius: '50%',\n border: `1px solid ${theme.colors.clearMain}`,\n backgroundColor: theme.colors.clearMain\n },\n completed: {\n color: theme.colors.clearGreen,\n zIndex: 1,\n fontSize: 22,\n fontWeight: \"bold\"\n }})\n);\n\nexport default useStyles;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nexport default function MuiCheckIcon(props: any) {\n \n const { viewBox, style, ...otherProps } = props;\n \n return (\n \n \n \n );\n}","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ArrowLineDown = (props: any) => (\n \n \n \n);\n\nexport default ArrowLineDown;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CrossIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CrossIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nfunction DeleteIcon(props: any) {\n const { color, ...rest } = props;\n \n return (\n \n \n \n );\n};\n\nexport default DeleteIcon;","\nimport React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst PlusIcon = (props: any) => {\n\n const { style, viewBox, ...otherProps } = props;\n \n return (\n \n \n \n );\n}\n\nexport default PlusIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst InfoCircleIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default InfoCircleIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst SearchIcon = (props: any) => {\n\n const { style, viewBox, ...otherProps } = props;\n \n return (\n \n \n \n );\n}\n\nexport default SearchIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ArrowDownIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default ArrowDownIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ClearBrandIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default ClearBrandIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ExclamationIcon = (props: any) => {\n return (\n \n \n \n )\n};\n\nexport default ExclamationIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ListPlusIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n \n );\n};\n\nexport default ListPlusIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst LocationIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default LocationIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst CartIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n \n \n );\n};\n\nexport default CartIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CalendarIcon = (props: any) => {\n const { style, viewBox, height, width, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CalendarIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CreditIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CreditIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CashIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CashIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CloseIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CloseIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ArrowIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default ArrowIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst BookMarkIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default BookMarkIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst UserIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default UserIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ClockIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default ClockIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst BankIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default BankIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst SortDownIcon = () => (\n \n \n \n);\n\nexport default SortDownIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst TrashIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default TrashIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst SuccessIcon = () => (\n \n \n \n \n \n);\n\nexport default SuccessIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ErrorIcon = () => (\n \n \n \n \n \n);\n\nexport default ErrorIcon;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst MercadoPagoIcon = (props: any) => {\n \n const { style, color, viewBox, ...otherProps } = props;\n \n return (\n \n \n \n \n \n \n \n )\n};\n\nexport default MercadoPagoIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst ModalDragIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default ModalDragIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst ModalCloseIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default ModalCloseIcon;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst OxxoIcon = (props: any) => {\n\n const { style, color, viewBox, ...otherProps } = props;\n \n return (\n \n \n \n )\n};\n\nexport default OxxoIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nfunction GoBackIcon(props: any) {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default GoBackIcon;\n\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {},\n message: {\n height: 32,\n background: \"rgba(255, 198, 38, 0.2)\",\n textAlign: \"center\",\n paddingTop: 2,\n borderRadius: 10,\n marginTop: 27,\n marginRight: \"auto\",\n marginLeft: \"auto\",\n width: \"105%\",\n [theme.breakpoints.down(\"sm\")]: {\n width: \"95%\",\n display: \"flex\",\n height: 40,\n alignItems: \"center\"\n },\n },\n messageIcon: {\n color: \"#B49A48\",\n display: \"inline-block\",\n marginRight: 10,\n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 16,\n alignSelf: \"center\",\n paddingBottom: 7\n },\n },\n messageLabel: {\n fontFamily: 'Roboto',\n fontStyle: \"normal\",\n fontWeight: 700,\n fontSize: 12,\n alignItems: \"center\",\n color: \"#B49A48\",\n display: \"inline-block\",\n [theme.breakpoints.down(\"sm\")]: {\n textAlign: \"left\",\n paddingRight: 20\n },\n }\n })\n);\n\nexport default useStyles;","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { InfoCircleIcon } from \"../../../assets/icons\";\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport useStyles from \"./css\";\n\nconst TimeToEditExpiredMessage = () => {\n \n const classes = useStyles();\n const { t } = useTranslation(\"general\");\n\n const isEditable = useAppSelector((state) => state.scheduler.isEditable);\n \n return (<>\n { \n !isEditable && <>\n
\n
\n \n
\n
\n {t(\"The time limit to modify your appointment has ended.\")}\n
\n
\n }\n);\n};\n\nexport default TimeToEditExpiredMessage;\n","import React from 'react';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { useAppSelector } from '../../../redux/hooks';\n\nimport { Stepper, Step, StepConnector, StepLabel, withStyles } from \"@material-ui/core\";\n\nimport { AppointmentScheduleStepperProps } from \"./props\";\nimport useStyles, { useStepIconStyles } from './css';\nimport MuiCheckIcon from '../../../assets/icons/MuiCheckIcon';\nimport TimeToEditExpiredMessage from \"../../common/TimeToEditExpiredMessage\";\n\n\nexport default function AppointmentScheduleStepper(props: AppointmentScheduleStepperProps) {\n \n const { activeStep } = props;\n \n const { t } = useTranslation(\"general\");\n \n const classes = useStyles()();\n \n const StyledStepperConnector = withStyles((theme) => ({\n alternativeLabel: {\n top: 10,\n left: 'calc(-50% + 16px)',\n right: 'calc(50% + 16px)',\n },\n active: {\n '& $line': {\n borderColor: theme.colors.clearGreen,\n },\n },\n completed: {\n '& $line': {\n borderColor: theme.colors.clearGreen,\n },\n },\n line: {\n borderColor: theme.colors.grey2,\n borderTopWidth: 1,\n borderRadius: 1\n },\n }))(StepConnector);\n\n const account = useAppSelector((state) => state.scheduler.account);\n const isClinicMode = account.isClinicMode;\n\n function StepIcon(props: any) {\n const classes = useStepIconStyles();\n const { active, completed } = props;\n \n return (\n \n {completed ? : active ?
:
}\n
\n );\n }\n \n return (\n
\n \n }\n className={classes.stepper}\n >\n \n \n
\n {t(\"STEP 1\")}\n
\n
\n {t(\"Services\")}\n
\n \n
\n \n \n
\n {t(\"STEP 2\")}\n
\n
\n {isClinicMode\n ? t(\"Patient details\")\n : t(\"Customer details\")\n }\n
\n \n
\n \n \n
\n {t(\"STEP 3\")}\n
\n
\n {t(\"Confirmation\")}\n
\n \n
\n \n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (width?: number | string) =>\n makeStyles((theme) => ({\n input: {\n backgroundColor: theme.colors.grey1,\n height: 40,\n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n width: width || 370,\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n },\n inputFocused: {\n border: \"solid 1px #6462F3\",\n padding: \"14px 0px 14px 12px\",\n width: width || 370,\n },\n inputDisabled: {\n color: \"#676767\",\n },\n inputError: {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n },\n }));\n\nexport default useStyles;\n","import React from \"react\";\n\nimport InputBase from \"@material-ui/core/InputBase\";\n\nimport useStyles from \"./css\";\nimport { InputProps } from \"./props\";\n\nconst Input = (props: InputProps) => {\n\n const { id, value, name, placeholder, isValid, width, inputClass, onChange, onKeyPress, disabled, readOnly, onClick, onBlur, maxLength, autoFocus, inputType } = props;\n\n const classes = useStyles(width)();\n\n const isError = (): boolean => {\n if (!isValid) {\n return false;\n }\n\n if (isValid() === undefined) {\n return false;\n }\n\n return !isValid();\n };\n\n const handleOnChange = (event: any) => {\n if (onChange) {\n onChange(event);\n }\n };\n\n const handleOnKeyPress = (event: any) => {\n if (onKeyPress) {\n onKeyPress(event);\n }\n };\n\n const handleOnClick = (event: any) => {\n if (onClick) {\n onClick(event);\n }\n };\n\n const handleOnBlur = (event: any) => {\n if (onBlur) {\n onBlur(event);\n }\n };\n\n return (\n \n );\n};\n\nexport default Input;\n","import { useState, useEffect } from \"react\";\n\nconst useDebounce = (value: any, delay: number): any => {\n const [debouncedValue, setDebouncedValue] = useState(value);\n\n useEffect(() => {\n const handler = setTimeout(() => {\n setDebouncedValue(value);\n }, delay);\n\n return () => {\n clearTimeout(handler);\n };\n }, [value, delay]);\n\n return debouncedValue;\n};\n\nexport default useDebounce;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n \n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n component: {\n position: \"relative\",\n left: 0\n },\n labelItem: {\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n color: \"#919CA5\"\n },\n label: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4,\n fontWeight: \"bold\",\n display: \"block\",\n marginBottom: \"0.5rem\",\n },\n required: {\n color: \"#6462F3\",\n fontFamily: \"Roboto, sans-serif\"\n },\n optional: {\n fontWeight: \"normal\",\n },\n divDropdown: {\n width: 350,\n display: \"block\",\n },\n inputSelectBtn: {\n width: 300,\n pointerEvents: \"none\",\n paddingRight: \"27px !important\",\n \"& input:placeholder-shown\":{\n textOverflow: \"ellipsis\"\n }\n },\n iconDropdown: {\n position: \"relative\",\n top: -24,\n textAlign: \"right\",\n right: 2\n },\n divModalSelect: {\n backgroundColor: \"#FFFFFF\",\n border: \"1px solid #DBDCDD\",\n borderRadius: 5,\n boxShadow: \"0px 4px 4px rgba(166, 166, 166, 0.25)\",\n width: 350,\n textAlign: \"center\",\n position: \"absolute\"\n },\n listItemScroll: {\n maxHeight: 300,\n overflowY: \"auto\",\n minHeight: 40\n },\n listItem: {\n height: \"max-content\",\n \"&:first-child\": {\n paddingTop: 0,\n },\n marginBottom: 0,\n },\n itemValue: {\n textAlign: \"left\",\n textOverflow: \"ellipsis\",\n overflow: \"hidden\",\n display: \"inline-block\",\n paddingTop: \"10px\",\n height: \"max-content\"\n },\n button: {\n width: 300,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n color: \"#786EFF\",\n border: \"1px solid #786EFF\",\n\n },\n divInputEdit: {\n margin: \"auto\",\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n input: {\n marginLeft: \"auto\",\n \"& input\": {\n width: 250,\n },\n paddingRight: \"23px !important\",\n \"& input:placeholder-shown\":{\n textOverflow: \"ellipsis\",\n display: \"inline\"\n }\n },\n iconSearch: {\n border: \"none\",\n backgroundColor: \"transparent\",\n position: \"relative\",\n top: -30,\n left: \"40%\",\n textAlign: \"center\",\n verticalAlign: \"middle\",\n padding: 0,\n color: \"#6462F3\",\n \"&:focus\": {\n outline: \"none\"\n }\n },\n btnInputNew: {\n height: 32,\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n elementList: {\n height: \"max-content\",\n padding: \"0px 30px 10px 20px\",\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: 14,\n display: \"flex\",\n },\n itemSelected: {\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n backgroundColor: \"#ebebeb\",\n },\n itemNoSelected: {\n fontWeight: \"normal\",\n color: theme.colors.grey5,\n },\n classRow: {\n cursor: \"pointer\",\n \"& button\": {\n visibility: \"hidden\",\n },\n \"&:hover\": {\n backgroundColor: \"#f5f5f5\",\n \"& button\": {\n visibility: \"visible\"\n }\n }\n },\n classRowDisabled: {\n fontSize: 12,\n fontFamily: \"Roboto, sans-serif\",\n cursor: \"cursor\",\n color: theme.colors.grey4,\n fontWeight: \"bold\",\n height: 40,\n display: \"flex\",\n \"&.Mui-disabled\": {\n opacity: 1,\n },\n },\n divIconsRow: {\n right: 0,\n textAlign: \"center\",\n marginLeft: \"auto\",\n float: \"right\",\n paddingTop: 0\n\n },\n divSearch: {\n marginTop: 15,\n marginBottom: 10\n },\n popper:{\n [`& .MuiTooltip-tooltip`]: {\n padding: \"4px 8px\",\n borderRadius: \"5px\",\n backgroundColor: theme.colors.grey1,\n fontFamily: \"Roboto, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: \"12px\",\n color: theme.colors.grey5,\n boxShadow: \"0px 0px 4px #00000034\"\n }\n }\n\n}));\n\nexport default useStyles;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n emptyPhoto: {\n ...theme.typography.header1,\n color: theme.colors.clearMain,\n fontWeight: 700,\n minWidth: 24,\n border: \"solid\",\n height: 24,\n display: \"flex\",\n fontSize: 10,\n alignItems: \"center\",\n borderColor: theme.colors.clearMain,\n borderWidth: 1,\n borderRadius: \"50%\",\n justifyContent: \"center\",\n alignSelf: \"flex-end\",\n marginRight: 7,\n marginBottom: \"auto\",\n marginTop: \"auto\"\n },\n photo: {\n minWidth: 24,\n maxWidth: 24,\n height: 24,\n display: \"flex\",\n borderRadius: 100,\n alignSelf: \"flex-end\",\n marginRight: 7,\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n cursor: \"pointer\",\n \"&:hover $largerPhoto\": {\n display: \"block\",\n },\n },\n largerPhoto: {\n width: 140,\n height: 140,\n borderRadius: 100,\n background: theme.colors.white,\n backgroundSize: 350,\n backgroundRepeat: \"no-repeat\",\n display: \"none\",\n position: \"absolute\",\n alignSelf: \"flex-end\",\n marginLeft: -160,\n marginBottom: -50,\n [theme.breakpoints.down('md')]: {\n width: 100,\n height: 100,\n marginLeft: -100,\n marginBottom: -30,\n }\n }\n })\n);\n\nexport default useStyles;\n","import React, { useState } from 'react';\n\nimport useStyles from './css';\nimport { SpecialistPhotoProps } from './props';\n\n\nexport default function SpecialistPhoto(props: SpecialistPhotoProps): JSX.Element | null {\n\n const classes = useStyles();\n\n const { initials, photoURL } = props;\n\n const [position, setPosition] = useState({ x: 0, y: 0 });\n\n function handleMouseMove(e: React.MouseEvent) {\n if (photoURL) {\n const img = new Image();\n\n img.src = photoURL;\n\n const imgWidth = img.naturalWidth;\n const imgHeight = img.naturalHeight;\n\n const aspectRatio = imgWidth / imgHeight;\n const size = 24;\n\n const [scaledWidth, scaledHeight] = imgWidth >= imgHeight\n ? [size, size / aspectRatio]\n : [size * aspectRatio, size];\n\n const widthScaleFactor = scaledWidth / size;\n const heightScaleFactor = scaledHeight / size;\n\n const containerRect = e.currentTarget.getBoundingClientRect();\n\n const cursorX = (e.clientX - containerRect.left) * widthScaleFactor;\n const cursorY = (e.clientY - containerRect.top) * heightScaleFactor;\n\n const margin = 5;\n const marginWidth = margin * widthScaleFactor;\n const marginHeight = margin * heightScaleFactor;\n\n const limitedCursorX = Math.max(marginWidth, Math.min(cursorX, size - marginWidth));\n const limitedCursorY = Math.max(marginHeight, Math.min(cursorY, size - marginHeight));\n\n const scaleFactor = 10;\n const scaleX = scaleFactor * widthScaleFactor;\n const scaleY = scaleFactor * heightScaleFactor;\n\n setPosition({ x: -limitedCursorX * scaleX, y: -limitedCursorY * scaleY });\n }\n };\n\n if (photoURL)\n return (\n \n \n
\n );\n\n if (initials && initials !== 'All')\n return (
{initials.toUpperCase()}
);\n\n return null;\n};\n","import React, { useEffect, useState, useRef } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport Modal from \"@material-ui/core/Modal\";\nimport { InputLabel, Tooltip } from \"@material-ui/core\";\nimport { ClickAwayListener } from \"@material-ui/core\";\n\nimport { ArrowLineDown, SearchIcon } from \"../../../assets/icons\";\nimport Input from \"../Input\";\nimport useDebounce from \"../../../hooks/useDebounce\";\n\nimport { SelectSearchItem, SelectSearchProps } from \"./props\";\nimport useStyles from \"./css\";\nimport SpecialistPhoto from \"../../appointment/SpecialistPhoto\";\n\nconst SelectSearch = (props: SelectSearchProps) => {\n\n const { t } = useTranslation([\"general\"]);\n const classes = useStyles();\n const {\n items\n , itemId\n , placeholderSelect\n , placeholderInput\n , label\n , iconSelect\n , disabled\n , widthSelect\n , widthList\n , isOptional\n , onSelect\n , disableScrollLock\n , isValid\n , displayPhoto\n } = props;\n\n const [list, setList] = useState(items);\n const [itemSelected, setItemSelected] = useState();\n const [search, setSearch] = useState(\"\");\n const [openModal, setOpenModal] = useState(false);\n const [showTooltip, setShowTooltip] = useState(false);\n const debouncedSearchValue = useDebounce(search, 400);\n\n const elementsRefs = useRef<(HTMLDivElement | null)[]>([]);\n\n const handleItemSelected = (i: SelectSearchItem) => {\n if (i.isGroup) return;\n setItemSelected(i);\n onSelect(i);\n setOpenModal(false);\n setSearch(\"\");\n }\n\n useEffect(() => {\n if (items.length > 0) {\n setList(items);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [items]);\n\n useEffect(() => {\n if (items.length > 0 && itemId) {\n const item = items.filter(x => x.key === itemId);\n if (item.length > 0)\n setItemSelected(item[0]);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [itemId]);\n\n useEffect(() => {\n\n if (debouncedSearchValue) {\n const searchValue = removeAccents(debouncedSearchValue).toLowerCase();\n const newList = items.filter((x) => {\n const itemValue = removeAccents(x.value).toLowerCase();\n return !x.isGroup && itemValue.includes(searchValue);\n });\n setList(newList);\n } else {\n setList(items);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [debouncedSearchValue]);\n\n const handleSearch = (event: React.ChangeEvent<{ name: string, value: string }>) => {\n let value = event.target.value;\n setSearch(value);\n }\n\n const handleOpenModal = () => {\n if (disabled) return;\n setSearch(\"\");\n setOpenModal(true);\n }\n\n const handleCloseModal = () => {\n setSearch(\"\");\n setOpenModal(false);\n }\n\n const onMouseEnterItem = (index: number) => {\n let offsetWidth = elementsRefs.current[index]?.offsetWidth ?? 0;\n let scrollWidth = elementsRefs.current[index]?.scrollWidth ?? 0;\n\n if (offsetWidth < scrollWidth) {\n setShowTooltip(true);\n }\n }\n const onMouseLeaveItem = () => {\n setShowTooltip(false);\n }\n\n function getInitials(fullName: string) {\n if (!fullName) return '';\n const splitFullName = fullName.split(' ');\n return `${splitFullName[0][0]}${splitFullName[1][0]}`;\n }\n\n function removeAccents(value: string) {\n return value.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n }\n\n return (
\n
\n \n
\n
\n {label && <>\n \n {label + \" \"}\n {\n (isOptional ?? true) ?\n ({t(\"Optional\")})\n :\n *\n }\n \n }\n \n \n\n \n typeof isValid !== 'undefined'\n ? isValid\n : isOptional ? isOptional : itemSelected?.value !== \"\"}\n />\n\n
\n
\n\n
\n {iconSelect ?? }\n
\n
\n \n\n
\n \n \n\n
\n\n
\n\n
\n
\n \n
\n \n
\n
\n\n
\n {items && list.map((i: SelectSearchItem, index) => {\n return \n
onMouseEnterItem(index)} onMouseLeave={onMouseLeaveItem} >\n {i.value?.startsWith(\"selectSearch_\")\n ? t(i.value)\n : i.value} \n : \"\"}>\n
\n {\n displayPhoto && i.key != 'All' && \n \n }\n
handleItemSelected(i)}\n ref={(ref) => elementsRefs.current[index] = ref}\n key={index}>\n {i.value?.startsWith(\"selectSearch_\") ? t(i.value) : i.value}\n
\n
\n \n
\n
\n })}\n
\n\n
\n \n
\n );\n};\n\nexport default SelectSearch;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n position: 'relative',\n },\n divInput: {\n display: 'block',\n position: 'relative',\n [theme.breakpoints.down('md')]: {\n width: 270,\n },\n [theme.breakpoints.up('md')]: {\n width: 210,\n }\n },\n inputSelect: {\n pointerEvents: 'none',\n padding: '13px 0px 13px 35px !important',\n [theme.breakpoints.down('md')]: {\n width: '270px !important',\n },\n [theme.breakpoints.up('md')]: {\n width: '210px !important',\n }\n },\n iconDropdown: {\n top: 12,\n height: 16,\n display: 'flex',\n position: 'absolute',\n alignItems: 'center',\n },\n listDropdownContainer: {\n position: 'absolute',\n backgroundColor: theme.colors.white,\n border: 'solid',\n borderWidth: 1,\n borderColor: '#DBDCDD',\n borderRadius: 5,\n marginTop: 3,\n overflowY: 'hidden',\n boxShadow: '0px 4px 4px rgba(166, 166, 166, 0.25)',\n [theme.breakpoints.down('md')]: {\n width: 270,\n },\n [theme.breakpoints.up('md')]: {\n width: 210,\n }\n },\n listDropdown: {\n maxHeight: 360,\n minHeight: 40,\n overflowY: 'auto',\n borderRadius: 5,\n },\n listItem: {\n display: 'flex',\n alignItems: 'center',\n position: 'relative',\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 32,\n paddingRight: 32,\n cursor: 'pointer',\n \"&:hover\": {\n backgroundColor: '#F5F5F5',\n },\n },\n listItemContent: {\n width: '55%',\n justifyContent: 'end',\n display: 'flex',\n fontFamily: 'Roboto',\n fontSize: '12px',\n fontWeight: 400,\n color: theme.colors.grey4\n },\n itemSelected: {\n fontWeight: 'bold',\n color: theme.colors.clearMain,\n backgroundColor: '#EBEBEB',\n },\n itemNoSelected: {\n fontWeight: 'normal',\n color: theme.colors.grey5,\n },\n popper: {\n \"& .MuiTooltip-tooltip\": {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n paddingTop: 4,\n paddingBottom: 4,\n paddingLeft: 8,\n paddingRight: 8,\n borderRadius: 5,\n backgroundColor: theme.colors.grey1,\n boxShadow: '0px 0px 4px #00000034',\n },\n },\n timeIconContainer: {\n left: '12px'\n },\n arrowIconContainer: {\n right: '12px'\n },\n timeIcon: {\n margin: '-5px'\n },\n arrowIcon: {\n color: theme.colors.grey4\n },\n arrowIconRotated: {\n transform: 'rotate(180deg)',\n },\n noAvailableTimesContainer: {\n display: 'flex',\n flexDirection: 'column',\n gap: 20,\n alignItems: 'center',\n padding: 15\n },\n noAvailableTimesTitle: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: theme.colors.grey4,\n textAlign: 'center'\n },\n noAvailableTimesBody: {\n ...theme.typography.caption1,\n color: theme.colors.grey4,\n textAlign: 'center'\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst TimeIcon = (props: any) => {\n const { style, viewBox, ...otherProps } = props;\n return (\n \n \n fill={style?.color || \"#919CA5\"}\n \n );\n};\n\nexport default TimeIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nexport default function NoAvailableTimeIcon (props: any) {\n const { viewBox, ...otherProps } = props;\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React, { useState } from \"react\";\n\nimport { Tooltip, ClickAwayListener, Typography } from \"@material-ui/core\";\n\nimport Input from \"../Input\";\nimport { SelectTimeProps } from \"./props\";\nimport useStyles from \"./css\";\nimport ArrowDownIcon from \"../../../assets/icons/ArrowDownIcon\";\nimport TimeIcon from \"../../../assets/icons/TimeIcon\";\nimport { useTranslation } from \"react-i18next\";\nimport NoAvailableTimeIcon from \"../../../assets/icons/NoAvailableTimeIcon\";\n\n\nexport default function SelectTime (props: SelectTimeProps) {\n\n const {\n items,\n itemSelected,\n placeholderSelect,\n isValid,\n disabled,\n onSelect\n } = props;\n\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const [openDropdown, setOpenDropdown] = useState(false);\n const showToolTip = (!openDropdown && !disabled && itemSelected);\n\n function handleItemSelected(selectedItem: string) {\n onSelect(selectedItem);\n setOpenDropdown(false);\n };\n\n function handleOpenDropdown() {\n !disabled && setOpenDropdown(!openDropdown);\n }\n\n function handleCloseDropdown() {\n setOpenDropdown(false);\n }\n\n const InputWithIcons = () => {\n return (\n
\n isValid}\n />\n
\n \n
\n
\n \n
\n
\n );\n }\n\n const NoAvailableTimes = () => {\n return (\n
\n \n \n {t(\"There are no available times on the selected date.\")}\n \n \n {t(\"Please, select another date or person in charge.\")}\n \n
\n );\n }\n\n return (\n \n
\n
\n {showToolTip\n ? (\n \n
\n \n
\n )\n : (\n
\n \n
)\n }\n
\n {openDropdown && (\n
\n {items && items.length > 0\n ? (\n
\n {items.map((i) => (\n handleItemSelected(i)}\n className={`${classes.listItem} ${itemSelected === i ? classes.itemSelected : classes.itemNoSelected}`}>\n
\n {i}\n
\n
\n ))}\n
\n )\n : \n }\n
\n )}\n \n
\n );\n};\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n stepRoot: {\n width: 1039,\n [theme.breakpoints.down(\"sm\")]: {\n width: \"auto\",\n },\n },\n stepContainer: {\n [theme.breakpoints.down(\"sm\")]: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center' \n },\n },\n stepTitle: {\n ...theme.typography.header2,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n stepCaption: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.grey6,\n },\n selectService: {\n ...theme.typography.txtBody2,\n background: theme.colors.grey1,\n backgroundColor: theme.colors.grey1,\n border: `1px solid ${theme.colors.grey2}`,\n borderRadius: 5,\n height: 40,\n padding: \"0px 9px 0px\",\n },\n selectRoot: {\n color: theme.colors.grey5,\n \"&:focus\": {\n backgroundColor: theme.colors.grey1,\n },\n \"&.MuiSelect-select\": {\n \"&:focus\": {\n borderRadius: 5,\n },\n },\n },\n selected: {\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n },\n placeholder: {\n color: \"#676767\",\n opacity: \"0.42\",\n \"&.Mui-disabled\": {\n opacity: \"0.42\",\n },\n },\n itemRoot: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey5,\n height: 40,\n display: \"flex\",\n alignItems: \"center\",\n },\n itemSelected: {\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n group: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n height: 40,\n display: \"flex\",\n alignItems: \"center\",\n \"&.Mui-disabled\": {\n opacity: 1,\n },\n },\n addButton: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n width: 290,\n height: 32,\n borderRadius: 5,\n padding: \"11px 16px\",\n border: `1px solid ${theme.colors.clearMain}`,\n justifyContent: \"space-around\",\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n addButtonContainer: {\n padding: \"24px 0px 0px 0px\",\n justifySelf: \"center\",\n [theme.breakpoints.down(\"sm\")]: {\n textAlign: \"center\"\n },\n },\n addButtonItems: {\n width: 120,\n display: 'flex',\n justifyContent: 'space-around'\n },\n separatorWithoutLine: {\n marginBottom: 30,\n },\n noTimeSlotsContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n alignItems: \"center\",\n marginBottom: 75,\n \n marginTop: 12,\n marginLeft: 54,\n\n width: 227,\n \n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 0,\n marginBottom: 0\n },\n },\n noTimeSlotsTextBold: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4,\n textAlign: \"center\",\n lineHeight: \"17px\",\n width: \"80%\",\n fontWeight: 700,\n },\n noTimeSlotsText: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4,\n textAlign: \"center\",\n lineHeight: \"17px\",\n width: \"80%\",\n },\n separator: {\n height: 0,\n borderTop: `1px solid ${theme.colors.grey2}`,\n margin: \"24px 0px 24px 26px\",\n },\n deleteDiv: {\n position: \"relative\",\n top: -21,\n left: -30\n },\n deleteButton: {\n \"&:hover\": {\n cursor: \"pointer\",\n },\n },\n modalDelete: {\n height: 260\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n modalTitleSpace: {\n margin: \"24px 0px 8px 0px\",\n },\n subtitle: {\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: 700,\n fontSize: 14,\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"18px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n accordionSummary: {\n backgroundColor: \"#f6f6f6\",\n width: \"100%\"\n },\n accordionTitle: {\n fontFamily: 'Roboto',\n fontStyle: \"normal\",\n fontWeight: 700,\n fontSize: 12,\n color: theme.colors.grey5,\n position: \"relative\",\n top: 5,\n left: 10\n },\n inputWithLabel: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n },\n controlLabel: {\n ...theme.typography.txtBody2,\n fontFamily: \"Inter, sans-serif\",\n fontWeight: \"bold\",\n display: \"inline-flex\",\n color: theme.colors.grey4,\n marginBottom: 8\n },\n calendarContainer: {\n marginTop: 27,\n marginLeft: -10,\n \n \"& .MuiPickersBasePicker-container\": {\n border: \"none\"\n },\n \n \"& .MuiPickersStaticWrapper-staticWrapperRoot, & .MuiPickersBasePicker-pickerView\": {\n minWidth: \"auto\"\n }\n },\n hoursCaption: {\n ...theme.typography.txtBody2,\n fontWeight: 700,\n color: theme.colors.grey6,\n marginTop: 8,\n \"& p\": {\n color: theme.colors.grey6,\n }\n },\n hoursContainer: {\n marginTop: 27,\n height: \"105%\",\n [theme.breakpoints.down(\"sm\")]: {\n width: 272,\n marginLeft: \"auto\",\n marginRight: \"auto\",\n },\n },\n dateNotSelected: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey3,\n },\n schedulesHeader: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey6,\n },\n ulSchedule: {\n display: \"flex\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n gap: 16,\n listStyle: \"none\",\n padding: 0,\n marginTop: 8,\n [theme.breakpoints.down(\"sm\")]: {\n gap: \"16px 24px\"\n },\n },\n liSchedule: {\n userSelect: \"none\",\n pointerEvents: \"all\",\n \n minWidth: 135,\n height: 32,\n borderRadius: 5,\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n boxSizing: \"border-box\",\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n border: `1px solid ${theme.colors.clearMain}`,\n \"&:nth-child(3n + 3)\": {\n marginRight: 0,\n },\n \n [theme.breakpoints.down(\"sm\")]: {\n minWidth: 124,\n },\n },\n liScheduleEnabled: {\n \"&:hover\": {\n background: theme.colors.clearMain,\n color: theme.colors.grey1,\n },\n cursor: \"pointer\",\n },\n liScheduleDisabled: {\n opacity: 0.3,\n cursor: \"default\"\n },\n liScheduleActive: {\n background: theme.colors.clearMain,\n color: theme.colors.grey1,\n },\n servicesSimultaneouslyContainer: {\n marginTop: 15,\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n dateText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n },\n serviceUserContainer: {\n position: \"relative\",\n display: \"flex\",\n alignItems: \"flex-end\",\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n alignItems: \"center\"\n },\n },\n serviceUserBox: {\n marginTop: 8,\n paddingBottom: 10,\n paddingRight: 10,\n [theme.breakpoints.down(\"sm\")]: {\n paddingRight: 0\n },\n },\n schedulesContainer: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16\n }\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n modalPaper: {\n backgroundColor: theme.palette.background.paper,\n border: \"1px solid red\",\n borderRadius: \"10px\",\n boxShadow: theme.shadows[5],\n padding: \"24px\",\n // width: 464,\n // height: 288,\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"1px solid red\",\n },\n },\n modalHeader: {\n display: \"flex\",\n alignItems: \"center\",\n },\n modalHeaderContent: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"100%\",\n },\n modalClose: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"80%\",\n },\n closeButton: {\n cursor: \"pointer\",\n color: \"#919CA5\",\n },\n modalTitle: {\n width: \"100%\",\n },\n modalTitleText: {\n fontSize: \"18px\",\n lineHeight: \"22px\",\n textAlign: \"center\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n color: theme.colors.grey7\n },\n modalContent: {},\n modalCircle: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: \"50%\",\n border: \"1px solid #F15857\",\n width: \"50px\",\n height: \"50px\",\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n modalTitleSpace: {\n margin: \"24px 0px 8px 0px\",\n },\n modalContentTextTitle: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalDateText: {\n ...theme.typography.txtBody2,\n paddingTop: 7,\n },\n modalActions: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n marginTop: 32,\n },\n button: {\n width: 200,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n },\n goBack: {\n marginRight: 16,\n background: \"#F6F6F6\",\n color: theme.colors.grey4, //Color.gray4,\n fontSize: 12,\n fontWeight: \"bold\"\n },\n deleteBtn: {\n fontWeight: \"bold\",\n fontSize: 12,\n background: \"#F15857\",\n color: \"#F6F6F6\",\n \"&:hover\": {\n background: \"#F15857\",\n },\n },\n separator: {\n height: 0,\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n margin: \"16px 0px 16px 0px\",\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { TrashIcon, CrossIcon } from \"./../../../assets/icons\";\n\nimport useStyles from \"./css\";\nimport { ConfirmDeleteModalProps } from \"./props\";\n\nconst ConfirmDeleteModal = (props: ConfirmDeleteModalProps) => {\n\n const { t } = useTranslation([\"general\"]);\n const { open, item, componentInfo, onClose, onDelete, classModal, textButtonConfirm, width } = props;\n const classes = useStyles();\n\n const handleDelete = () => {\n if (onDelete) onDelete(item);\n };\n\n return (\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n\n
\n\n {\n componentInfo\n }\n\n
\n \n\n \n
\n\n
\n
\n
\n \n );\n};\n\nexport default ConfirmDeleteModal;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (width?: number) =>\n makeStyles((theme) => ({\n root: {\n position: \"relative\"\n },\n icon: {\n position: \"absolute\",\n right: 12,\n top: 12,\n \n width: 14,\n height: 16,\n \n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n cursor: \"text\",\n },\n label: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4,\n fontWeight: \"bold\",\n display: \"block\",\n },\n input: {\n backgroundColor: theme.colors.grey1,\n height: 40,\n padding: \"0px 0px 0px 12px\",\n fontSize: 14,\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n width: width ?? 370\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n },\n inputFocused: {\n border: \"solid 1px #6462F3\",\n padding: \"0px 0px 0px 12px\",\n width: width ?? 370,\n },\n inputDisabled: {\n backgroundColor: theme.colors.grey1,\n color: theme.colors.grey4,\n },\n inputError: {\n color: \"#f15857\",\n border: \"solid 1px #f15857\",\n },\n paper: {\n borderRadius: 20,\n [`& .MuiPickersBasePicker-container`]: {\n border: 0\n },\n [theme.breakpoints.down(\"sm\")]: {\n top: \"unset!important\",\n left: \"unset!important\",\n maxWidth: \"calc(100% - 16px)\",\n },\n },\n })\n );\nexport default useStyles;","import React, { useState } from \"react\";\n\nimport { DatePicker, KeyboardDatePicker, MuiPickersUtilsProvider } from \"@material-ui/pickers\";\nimport DateFnsUtils from \"@date-io/date-fns\";\nimport esLocale from \"date-fns/locale/es\";\nimport enLocale from \"date-fns/locale/en-US\";\n\nimport { DateInputProps } from \"./props\";\nimport { CalendarIcon } from \"../../../assets/icons\";\nimport useStyles from \"./css\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport { useAppSelector } from \"../../../redux/hooks\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\n\n\nexport default function DateInput(props: DateInputProps) {\n \n const {\n id,\n name,\n value,\n isValid,\n disabled,\n placeholder,\n width,\n format,\n minDate,\n maxDate,\n inputTextClass,\n iconColor,\n handleDisableDate,\n onChange,\n onKeyPress,\n onBlur\n } = props;\n \n const [open, setOpen] = useState(false);\n const classes = useStyles(width)();\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const localeApp = useAppSelector(state => state.scheduler.locale);\n \n const getId = (): string => {\n if (id) {\n return id;\n }\n \n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(\n /[xy]/g,\n function (c) {\n var r = (Math.random() * 16) | 0,\n v = c === \"x\" ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n }\n );\n };\n \n const [inputId] = useState(id || getId());\n \n const handleOnChange = (event: any) => {\n if (onChange) {\n onChange(event);\n }\n };\n \n const handleOnKeyPress = (event: any) => {\n if (onKeyPress) {\n onKeyPress(event);\n }\n };\n \n const handleOnBlur = (event: any) => {\n if (onBlur) {\n onBlur(event);\n }\n }\n \n const isError = (): boolean => {\n if (!isValid) {\n return false;\n }\n \n if (isValid() === undefined) {\n return false;\n }\n \n return !isValid();\n };\n \n const getLocale = (): any => {\n switch (localeApp) {\n case \"es\":\n return esLocale;\n \n default:\n return enLocale;\n }\n };\n \n const disabledDate = (date: any) => {\n return handleDisableDate ? handleDisableDate(date) : true;\n }\n \n const formatDatePicker = (date: Date) => {\n const now = new Date();\n if (date.toDateString() === now.toDateString()) {\n return localeApp == 'es'\n ? \"'Hoy', dd 'de' MMMM yyyy\"\n : \"'Today', MMMM dd, yyyy\";\n }\n return localeApp == 'es'\n ? \"EEEE, dd 'de' MMMM yyyy\"\n : \"EEEE, MMMM dd, yyyy\";\n };\n \n return (\n
\n \n setOpen(true)}\n onClose={() => setOpen(false)}\n autoOk\n variant=\"inline\"\n shouldDisableDate={disabledDate}\n format={format ?? formatDatePicker(value || new Date())}\n disabled={disabled ?? false}\n PopoverProps={{\n style: {\n marginTop: 10,\n marginLeft: isMdMedia ? -5 : 0,\n display: isMdMedia ? \"inline\" : \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n classes: {\n paper: classes.paper\n },\n }}\n InputProps={{\n disableUnderline: true,\n className: `${classes.input} ${isError() ? classes.inputError : \"\"}`,\n classes:\n {\n input: inputTextClass ?? classes.inputText,\n disabled: classes.inputDisabled\n },\n }}\n margin=\"none\"\n value={value || null}\n minDate={minDate}\n maxDate={maxDate}\n onChange={handleOnChange}\n onKeyPress={handleOnKeyPress}\n helperText={null}\n />\n
setOpen(!disabled ?? true)}>\n \n
\n
\n
\n );\n}","export enum SnackbarNotificationKind {\n // these require some extra positioning\n alert\n}\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nexport const useStyles = makeStyles(theme => ({\n alert: {\n left: \"calc(50%)\",\n },\n}));\n","import React from \"react\";\nimport { Button, Snackbar } from \"@material-ui/core\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useStyles } from \"./css\";\nimport { SnackbarNotificationProps } from \"./props\";\nimport { SnackbarNotificationKind } from \"./snackbar-notification-kind\";\n\nconst SnackbarNotification = (props: SnackbarNotificationProps) => {\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const {\n isOpen,\n onClose,\n message,\n notificationKind,\n anchorOriginHorizontal,\n anchorOriginVertical\n } = props;\n\n const classToUse = notificationKind === SnackbarNotificationKind.alert\n ? classes.alert\n : \"\";\n\n const handleClose = (event: React.SyntheticEvent | Event, reason?: string) => {\n if (reason === \"clickaway\") {\n return;\n }\n if (onClose) {\n onClose();\n }\n };\n\n const closeAction = (\n \n {t(\"Close\").toUpperCase()}\n \n );\n\n return (\n \n );\n};\n\nexport default SnackbarNotification;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n root: {\n margin: 'auto', \n [theme.breakpoints.down('md')]: {\n width: 272,\n },\n [theme.breakpoints.up('md')]: {\n width: 1040,\n }\n },\n headerContainer: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n marginBottom: 16,\n marginTop: 24,\n },\n header: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n fontSize: 14,\n fontWeight: 700,\n },\n servicesContainer: {\n display: 'flex',\n gap: 13,\n overflow: 'hidden',\n\n [theme.breakpoints.down('md')]: {\n height: 276,\n width: 226,\n marginLeft: 5,\n marginRight: 5,\n },\n [theme.breakpoints.up('md')]: {\n height: 277,\n width: 1040,\n marginLeft: 7,\n marginRight: 7,\n },\n },\n navigationContainer: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n [theme.breakpoints.down('md')]: {\n marginLeft: 0,\n marginRight: 0,\n marginBottom: 0,\n },\n [theme.breakpoints.up('md')]: {\n marginLeft: -31,\n marginRight: -31,\n marginBottom: 10,\n },\n },\n arrow: {\n cursor: 'pointer',\n [theme.breakpoints.down('md')]: {\n margin: -6\n }\n },\n partialCard: {\n width: '233px !important',\n }\n })\n);\n\nexport default useStyles;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n serviceCard: {\n width: 256,\n height: 276,\n border: 'solid',\n borderWidth: 1,\n borderColor: theme.colors.grey2,\n borderRadius: 8,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n },\n serviceImageContainer: {\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n },\n serviceImage: {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n objectPosition: 'center',\n },\n serviceInfo: {\n display: 'flex',\n height: 190,\n padding: 16,\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: 16,\n width: '100%'\n },\n serviceNamePriceContainer: {\n width: '100%'\n },\n serviceName: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey6,\n fontWeight: 700,\n margin: 0,\n whiteSpace: 'nowrap', \n overflow: 'hidden', \n textOverflow: 'ellipsis'\n },\n servicePrice: {\n ...theme.typography.txtBody2,\n color: '#49454F',\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.25px',\n margin: 0,\n },\n serviceDescription: {\n ...theme.typography.txtBody2,\n color: '#49454F',\n display: '-webkit-box',\n WebkitLineClamp: 4,\n WebkitBoxOrient: 'vertical',\n whiteSpace: 'normal',\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n position: 'relative',\n maxHeight: 'calc(1.5em * 4)',\n },\n serviceDescriptionContainer: {\n height: 32,\n },\n addButtonContainer: {\n alignSelf: 'flex-end',\n paddingTop: 24,\n [theme.breakpoints.down(\"sm\")]: {\n textAlign: \"center\"\n },\n },\n addButton: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n paddingTop: 11,\n paddingBottom: 11,\n paddingLeft: 16,\n paddingRight: 16,\n border: 'solid',\n borderWidth: 1,\n borderColor: theme.colors.clearMain,\n justifyContent: 'space-around',\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 163\n },\n },\n addButtonItems: {\n width: '100%',\n display: 'flex',\n justifyContent: 'space-around'\n },\n tooltip: {\n [`& .MuiTooltip-tooltip`]: {\n paddingTop: 4,\n paddingBottom: 4,\n paddingLeft: 8,\n paddingRight: 8,\n borderRadius: 5,\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n boxShadow: '0px 0px 4px #00000034',\n position: 'absolute',\n height: 'auto',\n width: 'max-content',\n },\n }\n })\n);\n\nexport default useStyles;\n","import React from 'react';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { Button, Typography } from '@material-ui/core';\n\nimport useStyles from './css';\nimport { SuggestedServiceCardProps } from './props';\nimport { PlusIcon } from '../../../assets/icons';\nimport Tooltip from \"@material-ui/core/Tooltip\";\nimport { useAppSelector } from '../../../redux/hooks';\n\n\nexport default function SuggestedServiceCard(props: SuggestedServiceCardProps) {\n const classes = useStyles();\n\n const { t } = useTranslation([\"general\"]);\n\n const { service, handleAddService, showPrices, classCard } = props;\n\n const account = useAppSelector((state) => state.scheduler.account);\n\n function formatDecimalPrice(price: number): string | undefined {\n const decimalPart = price.toString().split('.')[1] || '';\n let decimalPrice: string;\n\n switch (decimalPart.length) {\n case 0:\n decimalPrice = `${price}.00`;\n break;\n case 1:\n decimalPrice = `${price}0`;\n break;\n default:\n decimalPrice = price.toString();\n break;\n }\n\n if (account.currencySymbol && account.currencyTemplate) {\n return formatPrice(decimalPrice, account.currencySymbol, account.currencyTemplate);\n }\n }\n\n function formatPrice(price: string, currencySymbol: string, valueTemplate: string): string {\n return valueTemplate.includes(\"{0}\")\n ? valueTemplate.replace(\"{0}\", price)\n : `${currencySymbol}${price}`;\n }\n\n return (\n
\n
\n {service.photo &&\n \n }\n
\n
\n
\n \n \n {`${service.categoryName} | ${service.name}`}\n \n \n \n {showPrices &&\n `${formatDecimalPrice(service.price!)} |`} {service.duration} {t(\"minutes\")}\n \n
\n
\n {service.description}}\n className={classes.tooltip}\n >\n \n {service.description}\n \n \n
\n
\n \n
\n
\n
\n );\n};\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ArrowNavigationIcon = (props: any) => {\n const { style, opacity, ...otherProps } = props;\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default ArrowNavigationIcon;\n","import React, { useEffect, useState } from 'react';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { Typography, useMediaQuery, useTheme } from '@material-ui/core';\n\nimport useStyles from './css';\nimport { SuggestedServicesProps } from './props';\nimport SuggestedServiceCard from '../SuggestedServiceCard';\nimport ArrowNavigationIcon from '../../../assets/icons/ArrowNavigationIcon';\n\n\nexport default function SuggestedServices(props: SuggestedServicesProps) {\n\n const { t } = useTranslation([\"general\"]);\n\n const { services, handleAddService, showPrices } = props;\n\n const classes = useStyles();\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n\n const itemsPerPage = isMdMedia ? 4 : 1;\n const [currentIndex, setCurrentIndex] = useState(0);\n const [displayedItems, setDisplayedItems] = useState(services.slice(0, itemsPerPage));\n const isEndOfCarousel = currentIndex + itemsPerPage >= services.length;\n function handlePrevClick() {\n setCurrentIndex(currentIndex => Math.max(currentIndex - itemsPerPage, 0));\n }\n\n function handleNextClick() {\n setCurrentIndex(currentIndex => {\n const newIndex = currentIndex + itemsPerPage;\n return newIndex >= services.length ? currentIndex : newIndex;\n });\n }\n\n useEffect(() => {\n setDisplayedItems(services.slice(currentIndex, currentIndex + itemsPerPage));\n }, [currentIndex, services, itemsPerPage]);\n\n useEffect(() => {\n setCurrentIndex(0);\n }, [services]);\n\n useEffect(() => {\n function handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'ArrowLeft') {\n handlePrevClick();\n } else if (event.key === 'ArrowRight') {\n handleNextClick();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => window.removeEventListener('keydown', handleKeyDown);\n }, []);\n\n return (\n
\n
\n \n {t(\"Suggested services\")}\n \n {isMdMedia && (\n \n {`${services.length} ${t(\"suggested services\")}`}\n \n )}\n
\n
\n
\n 0 ? '1' : '0.3'} />\n
\n
\n {displayedItems.map((service, index) => (\n \n ))}\n
\n
\n \n
\n
\n
\n );\n};\n","import React, { useEffect, useState } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from \"react-router-dom\";\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { MaterialUiPickersDate } from \"@material-ui/pickers/typings/date\";\nimport { Accordion, AccordionDetails, AccordionSummary, Button } from \"@material-ui/core\";\n\nimport { ArrowDownIcon, BookMarkIcon, DeleteIcon, ListPlusIcon, PlusIcon, UserIcon } from \"../../../assets/icons\";\nimport { AppointmentService } from \"../../../api\";\nimport { GroupServiceModel, ServiceModel } from \"../../../models/service\";\nimport SelectSearch from \"../../common/SelectSearch\";\nimport SelectTime from \"../../common/SelectTime\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport useStyles from \"./css\";\nimport ConfirmDeleteModal from \"../../common/ConfirmDeleteModal\";\nimport { ServiceItem } from \"../../../models/service/service-item.model\";\nimport { ServiceWithUsersModel } from \"../../../models/service/service-with-users-model\";\nimport UserItem from \"../../../models/common/user-item-model\";\nimport DateInput from \"../../common/DateInput\";\nimport { ScheduleTime } from \"../../../models/schedule\";\nimport SnackbarNotification, { SnackbarNotificationKind } from \"../../common/notifications/SnackbarNotification\";\nimport esLocale from \"date-fns/locale/es\";\nimport enLocale from \"date-fns/locale/en-US\";\nimport SuggestedServices from \"../SuggestedServices\";\nimport { AccountWorkDayModel } from \"../../../models/account\";\nimport { UserModel } from \"../../../models/user\";\n\n\nexport default function ScheduleAppointmentServicesStep() {\n const { t } = useTranslation([\"general\"]);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const classes = useStyles();\n const dispatch = useAppDispatch();\n \n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const servicesWithUsers = useAppSelector((state) => state.scheduler.servicesWithUsers);\n const suggestedServices = useAppSelector((state) => state.scheduler.suggestedServices);\n\n const refreshAvailableHours = useAppSelector((state) => state.scheduler.refreshAvailableHours);\n const maxServiceIndex = useAppSelector((state) => state.scheduler.maxServiceIndex);\n const availableHours = useAppSelector((state) => state.scheduler.availableHours);\n \n const date = useAppSelector((state) => state.scheduler.currentDate);\n const oldDate = useAppSelector((state) => state.scheduler.oldCurrentDate);\n \n const localeApp = useAppSelector(state => state.scheduler.locale);\n const account = useAppSelector((state) => state.scheduler.account);\n const showPrices = account.showPrices;\n \n const scheduleTime = useAppSelector((state) => state.scheduler.scheduleTime);\n const scheduleAppointment = useAppSelector((state) => state.scheduler.scheduleAppointment);\n const appointmentId = useAppSelector((state) => state.scheduler.appointmentId);\n \n const isValidSelection = useAppSelector((state) => state.scheduler.isValidSelection);\n const isUpdate = useAppSelector((state) => state.scheduler.isUpdate);\n const isEditable = useAppSelector((state) => state.scheduler.isEditable);\n const isServicesPerformedSimultaneously = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n const isPreselectedServiceHandled = useAppSelector((state) => state.scheduler.isPreselectedServiceHandled);\n const location = useLocation();\n\n const {\n setServiceUser,\n setCurrentDate,\n setSchedule,\n setIsValidSelection,\n setIsValidUser,\n setScheduleAppointment,\n setRefreshAvailableHours,\n setMaxServiceIndex,\n setAvailableHours,\n setIsModified,\n setServicesWithUsers,\n setSuggestedServices,\n setScheduleTime,\n setShowLoader,\n setIsServicesPerformedSimultaneously,\n setIsPreselectedServiceHandled\n } = schedulerActions;\n \n const [openDeleteDialog, setOpenDeleteDialog] = useState(false);\n const [itemToDelete, setItemToDelete] = useState(null);\n const [showInvalidUserAlert, setShowInvalidUserAlert] = useState(false);\n const [noAvailableHoursForCurrentDay, setNoAvailableHoursForCurrentDay] = useState(null);\n const [noService, setNoService] = useState(true);\n const [touched, setTouched] = useState(false);\n \n const [servicesList, setServicesList] = useState([]);\n \n const [groupServices, setGroupServices] = useState([]);\n const [groupByCategoryServices, setGroupByCategoryServices] = useState([]);\n\n const [openedServiceSelectorIndex, setOpenedServiceSelectorIndex] = useState(-1);\n const [openedUserSelectorIndex, setOpenedUserSelectorIndex] = useState(-1);\n const [expandedAccordionIndex, setExpandedAccordionIndex] = useState(-1);\n const [availableDays, setAvailableDays] = useState([]);\n \n const servicesHaveRepeatedUsers = serviceUser.some((user: ServiceUserModel, index: number) => {\n return serviceUser.slice(0, index).some((prevUser: ServiceUserModel) => {\n return prevUser.userId !== \"All\" && prevUser.userId === user.userId;\n });\n });\n \n function _setServiceUser(value: ServiceUserModel[]) {\n dispatch(setServiceUser(value));\n }\n \n function _setIsValidSelection(value: boolean) {\n dispatch(setIsValidSelection(value));\n }\n \n function _setIsValidUser(value: boolean) {\n dispatch(setIsValidUser(value));\n }\n \n function _setRefreshHours() {\n dispatch(setAvailableHours([new ScheduleTime()]));\n dispatch(setRefreshAvailableHours(refreshAvailableHours + 1));\n }\n \n function _setServicesWithUsers(value: ServiceWithUsersModel[]) {\n dispatch(setServicesWithUsers(value));\n }\n\n function _setSuggestedServices(value: GroupServiceModel[]) {\n dispatch(setSuggestedServices(value));\n }\n\n function _setSchedule(value: any) {\n dispatch(setSchedule(value));\n }\n\n useEffect(() => {\n const fetchData = async () => {\n dispatch(setShowLoader(true));\n await loadServices();\n dispatch(setShowLoader(false));\n };\n \n if (account && account.id) {\n fetchData();\n }\n \n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [account.id]);\n \n useEffect(() => {\n if (serviceUser[0].serviceId !== null) {\n setUsersForAllAppointmentServices();\n dispatch(setMaxServiceIndex(serviceUser.length - 1));\n setExpandedAccordionIndex(0);\n } else {\n setFirstServiceForNewAppointment();\n }\n }, [servicesWithUsers])\n \n useEffect(() => {\n if (account && account.workDays && account.workDays.length) {\n const dayOff = account?.workDays?.map((day: AccountWorkDayModel) => day.dayNumber as number);\n const days = [0, 1, 2, 3, 4, 5, 6].filter(\n (day) => dayOff.indexOf(day) === -1\n );\n setAvailableDays(days);\n }\n }, [account]);\n \n useEffect(() => {\n if (servicesHaveRepeatedUsers && isServicesPerformedSimultaneously) {\n dispatch(setIsServicesPerformedSimultaneously(false));\n _setRefreshHours();\n }\n }, [servicesHaveRepeatedUsers]);\n \n useEffect(() => {\n setNoService(serviceUser.length === 0 || !isValidSelection);\n \n if (availableHours.length > 1) {\n return;\n }\n \n const fetchData = async () => {\n dispatch(setShowLoader(true));\n await loadSchedules();\n dispatch(setShowLoader(false));\n };\n \n if (isValidSelection) {\n fetchData();\n }\n \n if (!isUpdate || (isUpdate && touched)) {\n dispatch(setScheduleTime(undefined));\n }\n \n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [refreshAvailableHours]);\n \n useEffect(() => {\n if (!isPreselectedServiceHandled &&\n groupServices && groupServices.length &&\n servicesWithUsers && servicesWithUsers.length &&\n serviceUser && serviceUser.length) {\n dispatch(setIsPreselectedServiceHandled(true));\n const urlSearchParams = new URLSearchParams(location.search);\n const preselectedServiceId = urlSearchParams.get('serviceId');\n if (preselectedServiceId) {\n const item = groupServices.find(s => s.key === preselectedServiceId);\n if (item){\n const su = serviceUser.find((su: ServiceUserModel) => su.serviceId === preselectedServiceId);\n void handleServiceChange(item!, su?.index ?? 0);\n }\n }\n }\n }, [groupServices, servicesWithUsers, serviceUser])\n \n async function loadSchedules() {\n const getSchedules = async function () : Promise {\n const schedules = await AppointmentService.getAvailableHours(\n account.id || \"\",\n serviceUser,\n date,\n isServicesPerformedSimultaneously,\n appointmentId\n );\n dispatch(setAvailableHours(schedules));\n return schedules;\n }\n \n let schedules : ScheduleTime[] | null = null;\n if (noAvailableHoursForCurrentDay === null) {\n const current = new Date();\n current.setHours(0, 0, 0, 0);\n const isCurrentDate =\n date.getDate() === current.getDate() &&\n date.getMonth() === current.getMonth();\n if (isCurrentDate) {\n if (account.allowCustomerToScheduleTodayFromSite){\n schedules = await getSchedules();\n const noAvailableHours = schedules.length == 0;\n setNoAvailableHoursForCurrentDay(noAvailableHours);\n if (noAvailableHours) {\n handleChangeDate(new Date(current.getTime() + 86400000));\n }\n } else {\n setNoAvailableHoursForCurrentDay(true);\n handleChangeDate(new Date(current.getTime() + 86400000));\n }\n }\n }\n if (schedules === null){\n await getSchedules();\n }\n \n if (!isUpdate || (isUpdate && touched)) {\n dispatch(setSchedule(undefined));\n dispatch(setScheduleTime(undefined));\n }\n }\n \n function _setScheduleTime(value: ScheduleTime | undefined) {\n if (value === undefined) {\n dispatch(setSchedule(undefined));\n dispatch(setScheduleTime(undefined));\n return;\n }\n dispatch(setScheduleTime(value));\n \n const startDate = new Date(scheduleAppointment.startDate as Date);\n if (value.scheduleTime && value.userId) {\n const startTime = value.scheduleTime.split(\"-\")[0];\n startDate.setHours(\n +startTime.split(\":\")[0],\n +startTime.split(\":\")[1],\n 0,\n 0\n );\n dispatch(\n setScheduleAppointment({\n ...scheduleAppointment,\n startDate: startDate,\n userId: value.userId,\n })\n );\n }\n }\n \n function handleChangeDate(date: Date) {\n setDate(date);\n if (isUpdate && touched) {\n dispatch(setIsModified(true));\n }\n _setRefreshHours();\n }\n \n function numberWithCommas(x: any) {\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n\n function formatPrice(price: number, currencySymbol: string, valueTemplate: string) {\n const formattedPrice = numberWithCommas(price);\n\n return valueTemplate.includes(\"{0}\")\n ? valueTemplate.replace(\"{0}\", formattedPrice)\n : `${currencySymbol}${formattedPrice}`;\n }\n\n async function loadServices() {\n const servicesResponse = await AppointmentService.getServicesGroupByCategory(account.id || \"\");\n \n const serviceIds = servicesResponse.flatMap(gs => gs.services?.flatMap(s => s.id));\n let filteredServicesIds: string[] = [];\n \n serviceIds.forEach(s => {\n if (s !== null && s !== undefined) {\n filteredServicesIds.push(s);\n }\n })\n \n const servicesWithUsers = await AppointmentService.getUsersForServices(account.id, filteredServicesIds)\n _setServicesWithUsers(servicesWithUsers);\n \n let selectArray: ServiceItem[] = [];\n let servicesModel: ServiceModel[] = [];\n \n servicesResponse.forEach((category, index) => {\n selectArray.push({\n key: `${category.category}-${index}`,\n value: `${category.category} (${category.services?.length})`,\n isGroup: true,\n });\n category.services?.forEach((service) => {\n \n selectArray.push({\n key: service.id,\n value:\n `${service.name}` +\n (showPrices && service.price && account.currencySymbol && account.currencyTemplate\n ? ` (${formatPrice(service.price, account.currencySymbol, account.currencyTemplate)})`\n : \"\"),\n categoryService: `${category.category} \\u00B7 ${service.name}`\n });\n \n servicesModel.push({ ...service, categoryName: category.category });\n });\n });\n \n setServicesList(servicesModel);\n setGroupServices(selectArray);\n setGroupByCategoryServices(servicesResponse);\n\n }\n \n function setUsersForAllAppointmentServices() {\n if (isUpdate) {\n let newServiceUser = serviceUser.map((su: ServiceUserModel) => {\n const serviceWithUsers = servicesWithUsers.find((x: ServiceWithUsersModel) => x.serviceId == su.serviceId);\n return {\n ...su,\n users: serviceWithUsers?.users ?? []\n };\n });\n \n dispatch(setServiceUser(newServiceUser));\n handleValidChange();\n }\n }\n \n function handleValidChange(su?: ServiceUserModel[]) {\n let servicesList = su ?? serviceUser;\n let isValidLocal = true;\n for (let i of servicesList) {\n const s = i.serviceId;\n \n if (s === null || s === undefined || s === \"\") { // && s !== \"All\"\n isValidLocal = false;\n break;\n }\n }\n\n _setIsValidSelection(isValidLocal);\n \n isValidLocal = true;\n for (let item of servicesList) {\n if (item.serviceId && item.users !== null && item.users.length && !item.userId) {\n isValidLocal = false;\n break;\n }\n }\n _setIsValidUser(isValidLocal)\n \n _setRefreshHours();\n }\n\n function getSuggestedServicesForSelectedServices(selectedServices: ServiceUserModel[]) {\n const suggestedServices: GroupServiceModel[] = [];\n const selectedCategories: Set = new Set();\n\n selectedServices.forEach(serviceUser => {\n if (serviceUser.service && serviceUser.service.categoryName) {\n selectedCategories.add(serviceUser.service.categoryName);\n }\n });\n\n selectedCategories.forEach(category => {\n const group = groupByCategoryServices.find(group => group.category === category);\n if (group && group.services) {\n let servicesInCategory: ServiceModel[] = group.services.filter((service: ServiceModel) =>\n !selectedServices.some(selectedService => selectedService.service?.id === service.id)\n );\n if (servicesInCategory.length > 0) {\n servicesInCategory = servicesInCategory.map(service => ({\n ...service,\n categoryName: category\n }));\n\n suggestedServices.push({\n category: category,\n services: servicesInCategory\n });\n }\n }\n });\n\n _setSuggestedServices(suggestedServices);\n }\n \n function handleServiceChange(event: ServiceItem, index: number) {\n const serviceKey = event.key;\n const service = servicesList.find(x => x.id === serviceKey);\n\n const serviceWithUsers = servicesWithUsers.find((x: ServiceWithUsersModel) => x.serviceId == serviceKey);\n const resultUsers = serviceWithUsers!.users ?? [];\n \n let newServiceUserModels: ServiceUserModel[] = [...serviceUser];\n \n const i = serviceUser.findIndex(((x: ServiceUserModel) => x.index === index));\n \n newServiceUserModels[i] = new ServiceUserModel({\n serviceId: serviceKey,\n service: service ?? null,\n userId: account.requireSelectSpecialistFromSite ? null : \"All\",\n users: resultUsers,\n index: index\n });\n \n _setServiceUser([...newServiceUserModels]);\n handleValidChange([...newServiceUserModels]);\n getSuggestedServicesForSelectedServices(newServiceUserModels);\n _setScheduleTime(undefined);\n }\n \n function handleUserChange(event: UserItem, index: number) {\n const value = event.key;\n if (isUpdate) {\n dispatch(setIsModified(true));\n }\n const i = serviceUser.findIndex(((obj: ServiceUserModel) => obj.index === index));\n let newServiceUser = [...serviceUser];\n newServiceUser[i] = { ...serviceUser[i], userId: value };\n _setServiceUser(newServiceUser);\n handleValidChange(newServiceUser);\n _setScheduleTime(undefined);\n }\n \n function getLocale(): any {\n switch (localeApp) {\n case \"es\":\n return esLocale;\n \n default:\n return enLocale;\n }\n }\n \n function setFirstServiceForNewAppointment() {\n const newIndex = 0;\n \n const firstService = new ServiceUserModel({\n services: groupServices,\n service: null,\n serviceId: null,\n userId: null,\n users: [],\n index: 0\n });\n const newServiceUser = [firstService];\n \n _setServiceUser(newServiceUser);\n handleValidChange();\n setOpenedServiceSelectorIndex(newIndex);\n setExpandedAccordionIndex(newIndex);\n }\n \n function handleAddService(service?: ServiceModel) {\n const services: ServiceUserModel[] = [...serviceUser];\n \n const newIndex = maxServiceIndex + 1;\n dispatch(setMaxServiceIndex(newIndex));\n\n const serviceWithUsers = servicesWithUsers.find((x: ServiceWithUsersModel) => x.serviceId === service?.id);\n\n const newService = new ServiceUserModel({\n services: groupServices,\n service: service ?? null,\n serviceId: service?.id ?? null,\n userId: null,\n users: service \n ? serviceWithUsers?.users \n : [],\n index: serviceUser.length === 0 ? maxServiceIndex : newIndex\n });\n\n services.push(newService);\n \n _setServiceUser([...services]);\n handleValidChange([...services]);\n setOpenedServiceSelectorIndex(newIndex);\n setExpandedAccordionIndex(newIndex);\n _setScheduleTime(undefined);\n }\n \n function handleAccordionChange(index: number) {\n const newIndex = expandedAccordionIndex === index ? -1 : index;\n setExpandedAccordionIndex(newIndex);\n }\n \n function handleAskToRemoveService(e: any, model: ServiceUserModel) {\n e.preventDefault();\n e.stopPropagation();\n \n const s = { key: model.service?.id, value: model.service?.name, index: model.index } as ServiceItem;\n setItemToDelete(s);\n setOpenDeleteDialog(true);\n }\n \n async function handleOnDelete(item: any) {\n const arrServices = serviceUser.filter((data: ServiceUserModel) => data.index !== item.index);\n \n const updatedServices = arrServices.map((data: ServiceUserModel, index: number) => ({\n ...data,\n index: index\n }));\n \n _setServiceUser([...updatedServices]);\n handleValidChange([...updatedServices]);\n getSuggestedServicesForSelectedServices(updatedServices);\n setItemToDelete(null);\n setOpenDeleteDialog(false);\n }\n \n function getUserItems(item: ServiceUserModel): UserItem[] {\n const selectArray: UserItem[] = [];\n \n if (account.showAnySpecialistFromSite) {\n selectArray.push({\n key: \"All\",\n value: t(\"Any specialist\"),\n });\n }\n \n if (item.users) {\n const sortedUsers = [...item.users].sort((a, b) => a.firstName!.localeCompare(b.firstName!));\n sortedUsers.map((user: UserModel) => {\n const userItem: UserItem = {\n key: user.id,\n value: user.firstName + \" \" + user.lastName,\n photoURL: user.photoURL || undefined\n };\n selectArray.push(userItem);\n }\n );\n }\n \n return selectArray;\n }\n \n function setDate(date: Date) {\n if (oldDate !== null) {\n if (date !== oldDate) {\n setTouched(true)\n }\n }\n dispatch(setCurrentDate(date));\n _setSchedule(undefined);\n }\n \n function handleDisabledDay(date: MaterialUiPickersDate): boolean {\n const day = new Date(date as Date);\n const current = new Date();\n current.setHours(0, 0, 0, 0);\n const isCurrentDate =\n day.getDate() === current.getDate() &&\n day.getMonth() === current.getMonth();\n const dayOff =\n availableDays.findIndex((dayOff) => dayOff === day.getDay()) !== -1;\n return day < current || dayOff || (isUpdate && !isEditable)\n || isCurrentDate && (noAvailableHoursForCurrentDay === true || account.allowCustomerToScheduleTodayFromSite === false);\n }\n \n const DivInfoDelete: React.FC = () => {\n return (<>\n
\n \n {t(\"Are you sure you want to delete this service?\")}\n \n
\n
\n
\n {itemToDelete && itemToDelete.value ? itemToDelete.value : \"- -\"}\n
\n );\n };\n\n const renderServiceUserItem = (item: any, idx: any) => (\n
\n {isMdMedia &&
\n
\n {item.index > 0 && isEditable\n ? handleAskToRemoveService(e, item)}>\n \n \n : null\n }\n
\n
}\n
\n
\n \n {t(\"Services\")}\n \n
\n
\n {groupServices!.length === 0\n ? \"\" :\n handleServiceChange(e, item.index)}\n disabled={isUpdate && !isEditable}\n iconSelect={ {\n if (isEditable) {\n setOpenedServiceSelectorIndex(item.index);\n }\n }}\n />}\n />}\n
\n
\n
\n
\n \n {t(\"Specialist\")}\n \n
\n
\n handleUserChange(e, item.index)}\n disabled={isUpdate && !isEditable}\n iconSelect={ {\n if (isEditable) {\n setOpenedUserSelectorIndex(item.index);\n }\n }}\n />}\n displayPhoto={true}\n />\n
\n
\n {idx === 0 && <> \n
\n
\n \n {t(\"Date\")}\n \n
\n \n
\n
\n
\n \n {t(\"Time\")}\n \n
\n
\n (\n hour.scheduleTime\n ))}\n itemSelected={scheduleTime?.scheduleTime || \"\"}\n isValid = {!(item.serviceId && (!item.userId || scheduleTime === undefined))}\n placeholderSelect={availableHours && availableHours.length > 0\n ? t(\"Time\")\n : t(\"No available times\")\n }\n onSelect={(selectedTime: string) => {\n _setScheduleTime({ userId: item.userId, scheduleTime: selectedTime });\n _setSchedule(selectedTime);\n }}\n disabled={!item.userId} \n />\n
\n
\n }\n
\n );\n \n return (
\n
\n {serviceUser.map((item: ServiceUserModel, idx: number) => (\n \n {!isMdMedia && serviceUser.length > 1\n ? handleAccordionChange(idx)}\n >\n }\n aria-controls=\"panel1a-content\"\n id=\"panel1a-header\"\n >\n
\n {\n item.index > 0 && isEditable\n ? handleAskToRemoveService(e, item)}>\n \n \n : \n \n \n }\n
\n \n {`${t(\"Service\")} ${idx + 1}`}\n \n \n \n {renderServiceUserItem(item, idx)}\n \n \n : renderServiceUserItem(item, idx)\n }\n
\n ))}\n
\n {isEditable\n ?
\n handleAddService()}\n disabled={false}\n >\n
\n \n {t(\"Add Service\")}\n
\n \n
\n : null}\n {account.showSuggestedServices && suggestedServices.some(suggestedService => !!suggestedService.services?.length) && \n group.services)\n .filter((service): service is ServiceModel => service !== null)}\n handleAddService={handleAddService}\n showPrices={account.showPrices || false}\n /> \n } \n }\n onClose={() => setOpenDeleteDialog(false)}\n onDelete={handleOnDelete}\n />\n {\n setShowInvalidUserAlert(false)\n }}\n message={t(\"You need to choose a specialist to create the appointment\")}\n notificationKind={SnackbarNotificationKind.alert}\n />\n
);\n};\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n stepRoot: {\n width: 817,\n paddingRight: 10,\n marginTop: 15,\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 270,\n paddingRight: 0,\n height: 'auto',\n marginBottom: 0\n },\n },\n modalTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n },\n stepTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey6,\n marginBottom: 5\n },\n button: {\n height: 32,\n width: \"100%\",\n borderRadius: 51,\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n },\n goBackButton: {\n color: theme.colors.grey3,\n border: `1px solid ${theme.colors.grey3}`,\n },\n newAppointmentButton: {\n height: 32,\n color: theme.colors.grey1,\n background: theme.colors.clearGreen,\n \"&:hover\": {\n background: theme.colors.clearGreen,\n },\n \"&.Mui-disabled\": {\n opacity: 0.3,\n color: theme.colors.grey1,\n },\n },\n requiredLabel: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n },\n label: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n fontWeight: \"bold\",\n display: \"block\",\n },\n input: {\n backgroundColor: theme.colors.grey1,\n height: 40,\n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n width: \"100%\",\n },\n inputTextareaAutosize: {\n ...theme.typography.txtBody2,\n backgroundColor: theme.colors.grey1,\n height: 40,\n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n width: \"98%\",\n \"&:focus\": {\n border: `solid 1px ${theme.colors.clearMain} !important`,\n },\n \"&::placeholder\": {\n ...theme.typography.txtBody2,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 256\n },\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n },\n topInputsContainer: {\n display: \"flex\",\n marginBottom: 8,\n gap: 27,\n paddingRight: 5,\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n paddingRight: 0,\n gap: 16\n },\n },\n topInputsContainerItem: {\n flex: 1\n },\n inputFocused: {\n border: `solid 1px ${theme.colors.clearMain}`,\n padding: \"14px 0px 14px 12px\",\n width: \"100%\",\n },\n inputDisabled: {\n color: \"#676767\",\n },\n inputError: {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n },\n inputMask: {\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n opacity: \"0.42\",\n },\n height: 40,\n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n width: \"100%\",\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n },\n \"&:focus\": {\n border: `solid 1px ${theme.colors.clearMain}`,\n padding: \"14px 0px 14px 12px\",\n width: \"100%\",\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n },\n },\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: `solid 1px ${theme.colors.clearMain}`,\n padding: \"14px 0px 14px 12px\",\n width: \"100%\",\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n },\n },\n },\n })\n);\n\nexport default useStyles;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryAllIcon = (props: any) => {\n return (\n \n \n \n \n )\n};\n\nexport default CountryAllIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryDEUIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryDEUIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryAGOIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryAGOIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryARGIcon = (props: any) => {\n return (\n \n \n \n \n \n \n )\n};\n\nexport default CountryARGIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryBOLIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryBOLIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryBRAIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryBRAIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryCANIcon = (props: any) => {\n return (\n \n \n \n \n \n \n )\n};\n\nexport default CountryCANIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryCHLIcon = (props: any) => {\n return (\n \n \n \n \n \n \n )\n};\n\nexport default CountryCHLIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryCOLIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryCOLIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryCRIIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n )\n};\n\nexport default CountryCRIIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryECUIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryECUIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryESPIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryESPIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryGBRIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryGBRIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryUSAIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryUSAIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryGTMIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryGTMIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryHNDIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryHNDIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryMEXIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryMEXIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryNICIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryNICIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPANIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryPANIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPRYIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryPRYIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPERIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryPERIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPRTIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryPRTIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryDOMIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryDOMIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPRYIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryPRYIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryTTOIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryTTOIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryURYIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryURYIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryVENIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryVENIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryAUSIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryAUSIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryBELIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryBELIcon;","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryCUBIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryCUBIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryNORIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryNORIcon;","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountryPRIIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountryPRIIcon;","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CountrySWEIcon = (props: any) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n};\n\nexport default CountrySWEIcon;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nexport default function CountrySVKIcon(props: any) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst CountryITAIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryITAIcon;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nconst CountryFRAIcon = (props: any) => {\n return (\n \n \n \n \n \n )\n};\n\nexport default CountryFRAIcon;\n","import * as React from \"react\";\n\nimport CountryAllIcon from \"./CountryAllIcon\";\nimport CountryDEUIcon from \"./CountryDEUIcon\";\nimport CountryAGOIcon from \"./CountryAGOIcon\";\nimport CountryARGIcon from \"./CountryARGIcon\";\nimport CountryBOLIcon from \"./CountryBOLIcon\";\nimport CountryBRAIcon from \"./CountryBRAIcon\";\nimport CountryCANIcon from \"./CountryCANIcon\";\nimport CountryCHLIcon from \"./CountryCHLIcon\";\nimport CountryCOLIcon from \"./CountryCOLIcon\";\nimport CountryCRIIcon from \"./CountryCRIIcon\";\nimport CountryECUIcon from \"./CountryECUIcon\";\nimport CountryESPIcon from \"./CountryESPIcon\";\nimport CountryGBRIcon from \"./CountryGBRIcon\";\nimport CountryUSAIcon from \"./CountryUSAIcon\";\nimport CountryGTMIcon from \"./CountryGTMIcon\";\nimport CountryHNDIcon from \"./CountryHNDIcon\";\nimport CountryMEXIcon from \"./CountryMEXIcon\";\nimport CountryNICIcon from \"./CountryNICIcon\";\nimport CountryPANIcon from \"./CountryPANIcon\";\nimport CountryPRYIcon from \"./CountryPRYIcon\";\nimport CountryPERIcon from \"./CountryPERIcon\";\nimport CountryPRTIcon from \"./CountryPRTIcon\";\nimport CountryDOMIcon from \"./CountryDOMIcon\";\nimport CountrySLVIcon from \"./CountrySLVIcon\";\nimport CountryTTOIcon from \"./CountryTTOIcon\";\nimport CountryURYIcon from \"./CountryURYIcon\";\nimport CountryVENIcon from \"./CountryVENIcon\";\nimport CountryAUSIcon from \"./CountryAUSIcon\";\nimport CountryBELIcon from \"./CountryBELIcon\";\nimport CountryCUBIcon from \"./CountryCUBIcon\";\nimport CountryNORIcon from \"./CountryNORIcon\";\nimport CountryPRIIcon from \"./CountryPRIIcon\";\nimport CountrySWEIcon from \"./CountrySWEIcon\";\nimport CountrySVKIcon from \"./CountrySVKIcon\";\nimport CountryITAIcon from \"./CountryITAIcon\";\nimport CountryFRAIcon from \"./CountryFRAIcon\";\n\n\nexport {\n CountryDEUIcon\n , CountryAGOIcon\n , CountryARGIcon\n , CountryBOLIcon\n , CountryBRAIcon\n , CountryCANIcon\n , CountryCHLIcon\n , CountryCOLIcon\n , CountryCRIIcon\n , CountryECUIcon\n , CountryESPIcon\n , CountryGBRIcon\n , CountryUSAIcon\n , CountryGTMIcon\n , CountryHNDIcon\n , CountryMEXIcon\n , CountryNICIcon\n , CountryPANIcon\n , CountryPRYIcon\n , CountryPERIcon\n , CountryPRTIcon\n , CountryDOMIcon\n , CountrySLVIcon\n , CountryTTOIcon\n , CountryURYIcon\n , CountryVENIcon\n , CountryAUSIcon\n , CountryCUBIcon\n , CountryPRIIcon\n , CountryBELIcon\n , CountrySWEIcon\n , CountryNORIcon\n , CountrySVKIcon\n , CountryAllIcon\n};\n\n\ninterface CountryFlagIconProps {\n iso: string\n}\n\n\nfunction CountryFlagIcon({ iso }: CountryFlagIconProps): JSX.Element {\n \n const flag: { [key: string] : JSX.Element } = {\n \"DEU\": ,\n \"AGO\": ,\n \"ARG\": ,\n \"BOL\": ,\n \"BRA\": ,\n \"CAN\": ,\n \"CHL\": ,\n \"COL\": ,\n \"CRI\": ,\n \"ECU\": ,\n \"ESP\": ,\n \"FRA\": ,\n \"GBR\": ,\n \"USA\": ,\n \"GTM\": ,\n \"HND\": ,\n \"ITA\": ,\n \"MEX\": ,\n \"NIC\": ,\n \"PAN\": ,\n \"PRY\": ,\n \"PER\": ,\n \"PRT\": ,\n \"DOM\": ,\n \"SLV\": ,\n \"TTO\": ,\n \"URY\": ,\n \"VEN\": ,\n \"AUS\": ,\n \"CUB\": ,\n \"PRI\": ,\n \"BEL\": ,\n \"SWE\": ,\n \"NOR\": ,\n \"SVK\": ,\n\n \"ALL\": \n };\n \n return flag[iso] || ;\n}\n\nexport default CountryFlagIcon;","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (\n selectWidth: string | number,\n listWidth: string | number,\n isMdMedia: boolean) => makeStyles((theme) => ({\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n component: {\n zIndex: 2,\n position: \"relative\",\n left: 0\n },\n labelCountry: {\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n color: theme.colors.grey4\n },\n required: {\n color: theme.colors.clearMain,\n fontFamily: \"Roboto, sans-serif\"\n },\n optional: {\n fontWeight: \"normal\",\n },\n divDropdown: {\n width: selectWidth,\n display: \"block\",\n marginTop: -7,\n height: 70,\n position: \"relative\"\n },\n inputSelectBtn: {\n width: 300,\n paddingLeft: 100,\n \"& input\": {\n marginLeft: 100,\n width: 140,\n }\n },\n searchInputContainer: {\n position: \"relative\",\n padding: \"0 15px 10px 15px\",\n width: \"-webkit-fill-available\"\n },\n searchIconContainer: {\n position: \"absolute\",\n top: 29,\n right: 21\n },\n titleCountries: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n \n textAlign: \"left\",\n margin: \"15px auto 10px 15px\",\n },\n inputGroup: {\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"row\",\n \n height: 40,\n \n backgroundColor: theme.colors.grey1,\n \n borderRadius: 5,\n border: \"solid\",\n borderWidth: 1,\n borderColor: \"#dddddd\",\n \n marginTop: -3,\n },\n divDialCode: {\n left: 18,\n \n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n iconDropdown: {\n cursor: \"pointer\",\n display: \"inline\",\n textAlign: \"left\",\n position: \"relative\",\n top: -1,\n \"& svg\": {\n width: 24,\n height: 24,\n }\n },\n inputFlag: {\n height: 20,\n width: 20,\n \"& svg\": {\n width: \"20px !important\",\n height: \"20px !important\",\n verticalAlign: \"top\"\n }\n },\n divCodes: {\n display: \"flex\",\n alignItems: \"center\",\n paddingTop: 10,\n paddingRight: 5,\n paddingBottom: 10,\n paddingLeft: 5,\n \n cursor: \"pointer\",\n height: 40,\n },\n divModalSelect: {\n backgroundColor: theme.colors.white,\n padding: 0,\n \n border: \"solid\",\n borderWidth: 1,\n borderColor: \"#DBDCDD\",\n borderRadius: 5,\n \n boxShadow: \"0px 4px 4px rgba(166, 166, 166, 0.25)\",\n width: listWidth,\n maxHeight: 390,\n textAlign: \"center\",\n position: \"absolute\",\n top: 20\n },\n listCountryScroll: {\n maxHeight: isMdMedia ? 290 : 140,\n overflowY: \"scroll\",\n \"&::-webkit-scrollbar\": {\n backgroundColor: theme.colors.white,\n width: 16,\n },\n \"&::-webkit-scrollbar-track\": {\n backgroundColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-track:hover\": {\n backgroundColor: \"#F4F4F4\",\n width: 16,\n },\n \"&::-webkit-scrollbar-thumb\": {\n backgroundColor: \"#babac0\",\n \n border: \"solid\",\n borderRadius: 16,\n borderWidth: 5,\n borderColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-thumb:hover\": {\n backgroundColor: \"#a0a0a5\",\n \n border: \"solid\",\n borderWidth: 4,\n borderColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-button\": {\n display: \"none\",\n },\n },\n listCountry: {\n padding: \"5px 0\",\n \"&:first-child\": {\n paddingTop: 10,\n },\n borderBottom: \"solid\",\n borderBottomWidth: 1,\n borderBottomColor: theme.colors.grey1,\n marginBottom: 0,\n },\n countryName: {\n textAlign: \"left\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n width: \"75%\",\n overflow: \"hidden\",\n display: \"inline-block\",\n paddingTop: 1,\n height: 40\n },\n button: {\n alignItems: \"center\",\n justifyContent: \"center\",\n \n width: 300,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n \n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: \"#786EFF\",\n \n border: \"solid\",\n borderWidth: 1,\n borderColor: \"#786EFF\",\n \n },\n elementList: {\n height: 35,\n padding: \"5px 5px 10px 10px\",\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: 14,\n display: \"flex\",\n color: theme.colors.grey5\n },\n divInputEdit: {\n margin: \"auto\",\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n input: {\n marginLeft: \"auto\",\n \"& input\": {\n width: 250,\n }\n },\n inputFocused: {\n borderColor: theme.colors.clearMain\n },\n inputClassic: {\n border: \"none\",\n \n width: \"55%\",\n height: 37,\n paddingTop: 12,\n paddingBottom: 13,\n paddingLeft: 1,\n borderRadius: 5,\n \n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n opacity: \"0.42\",\n },\n \n \"&:focus\": {\n border: \"none\",\n paddingTop: 14,\n paddingBottom: 14,\n width: 100,\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: \"none\",\n },\n },\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"none\",\n paddingTop: 14,\n paddingBottom: 14,\n width: 90,\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: \"none\",\n },\n },\n },\n iconPlus: {\n border: \"none\",\n backgroundColor: \"transparent\",\n position: \"relative\",\n top: -30,\n left: 130,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n padding: 0,\n color: theme.colors.clearMain,\n \"&:focus\": {\n outline: \"none\"\n }\n },\n inputError: {\n color: `${theme.colors.clearRed} !important`,\n border: `solid 1px ${theme.colors.clearRed} !important`,\n \"& input\": {\n color: `${theme.colors.clearRed} !important`,\n },\n },\n iconSave: {\n border: \"none\",\n backgroundColor: \"transparent\",\n position: \"relative\",\n top: -30,\n left: 130,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n padding: 0,\n color: theme.colors.clearMain,\n \"&:focus\": {\n outline: \"none\"\n }\n },\n divItemEdit: {\n height: 32,\n display: \"block\"\n },\n btnInputNew: {\n height: 32,\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n classRow: {\n cursor: \"pointer\",\n \"& button\": {\n visibility: \"hidden\",\n },\n \"&:hover\": {\n backgroundColor: \"#e1e9fe\",\n \"& button\": {\n visibility: \"visible\"\n }\n }\n },\n btnRow: {\n alignItems: \"center\",\n justifyContent: \"center\",\n \n width: 32,\n height: 32,\n borderRadius: 51,\n \n ...theme.typography.buttons,\n fontWeight: \"bold\",\n \n textTransform: \"none\",\n border: \"none\",\n padding: 0,\n margin: 0,\n backgroundColor: \"transparent\",\n \"&:focus\": {\n outline: \"none\"\n }\n },\n divIconsRow: {\n right: 0,\n textAlign: \"center\",\n marginLeft: \"auto\",\n float: \"right\",\n paddingTop: 0\n }\n}));\n\nexport default useStyles;\n","import React, { useEffect, useState } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport MaskedInput from \"react-text-mask\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\n\nimport { SortDownIcon } from \"./../../../assets/icons\";\nimport CountryFlagIcon from \"./../../../assets/flags\";\nimport Country from \"../../../models/common/country\";\nimport { AppointmentService } from \"../../../api\";\nimport { GetMobileMaskByTemp } from \"../../../constants/masks\";\nimport { InputMobileCodeProps } from \"./props\";\nimport useStyles from \"./css\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\nimport SearchIcon from \"../../../assets/icons/SearchIcon\";\nimport Input from \"../Input\";\n\n\nexport default function InputMobileCode(props: InputMobileCodeProps) {\n \n const dialTemplate: string = \"000-000-0000\";\n \n const {\n label,\n labelClassName,\n widthSelect,\n widthList,\n isOptional,\n codeIso3,\n dialDigits,\n mobile,\n isValid,\n onChangeItem,\n onChangeMobile,\n onChangeComplete,\n onBlur\n } = props;\n \n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const { t } = useTranslation([\"general\"]);\n const dispatch = useAppDispatch();\n const classes = useStyles(widthSelect || 350, widthList || 350, isMdMedia)();\n const localeApp = useAppSelector(state => state.scheduler.locale);\n \n const [openModal, setOpenModal] = useState(false);\n \n const [countries, setCountries] = useState([]);\n const [countrySelected, setCountrySelected] = useState(new Country({\n iso3: \"MEX\", dialCode: 52, dialDigits: 10, dialTemplate: dialTemplate, name: \"México\"\n }));\n const [mobileNumber, setMobileNumber] = useState(mobile);\n const [searchValue, setSearchValue] = useState(null);\n const [masking, setMasking] = useState(GetMobileMaskByTemp(dialTemplate));\n const [isValidNumber, setIsValidNumber] = useState(true);\n const [isFocused, setIsFocused] = useState(false);\n \n const account = useAppSelector((state) => state.scheduler.account);\n \n const { setShowLoader } = schedulerActions;\n \n // const isEditable = useAppSelector((state) => state.scheduler.isEditable); // fbn\n \n function handleItemSelected(item: Country) {\n setSearchValue(null);\n let country = new Country({\n iso3: item.iso3,\n name: item.name,\n dialCode: item.dialCode,\n dialDigits: item.dialDigits,\n dialTemplate: item.dialTemplate\n });\n \n setCountrySelected(country);\n setOpenModal(false);\n \n let newNumber = mobileNumber;\n if (newNumber) {\n if (country.iso3 === \"ECU\" && newNumber.startsWith(\"0\")) {\n newNumber = newNumber.replace(/^0+/, \"\");\n }\n newNumber = newNumber.substring(0, country.dialDigits || 10);\n setMobileNumber(newNumber);\n }\n \n const m = GetMobileMaskByTemp(country.dialTemplate || dialTemplate);\n setMasking(m);\n \n if (onChangeItem) onChangeItem(country);\n \n const valid = validate(newNumber, country.dialDigits, country.iso3);\n if (onChangeComplete) onChangeComplete(country.iso3, newNumber, valid);\n }\n \n \n function handleSearch(searchValue: string) {\n setSearchValue(searchValue);\n }\n \n function handleMobileChange(event: React.ChangeEvent<{ value: string }>) {\n const mobile = event.target.value.replace(/[^0-9]/g, \"\");\n \n setMobileNumber(mobile);\n if (onChangeMobile) onChangeMobile(mobile, countrySelected);\n \n \n const valid = validate(mobile, dialDigits ?? countrySelected?.dialDigits, countrySelected.iso3);\n if (onChangeComplete) onChangeComplete(countrySelected.iso3, mobile, valid);\n }\n \n function filterCountries (item: Country) {\n const lowercaseSearchValue = searchValue!.toLowerCase();\n let isSearchByDialCode = /^\\+?\\d+$/.test(searchValue!);\n \n if (searchValue!.trim().length < 2 && !isSearchByDialCode) {\n return true;\n }\n \n return (\n item.name.toLowerCase().includes(lowercaseSearchValue) ||\n item.dialCode.toString().startsWith(lowercaseSearchValue.replace(\"+\", \"\"))\n );\n }\n \n function validate(mobileComplete: string, digits: number, iso3?: string): boolean {\n let validDig = false;\n \n if (mobileComplete) {\n const mobile = mobileComplete.replace(/[^0-9]/g, \"\");\n validDig = (digits === 7 && /^\\d{7}$/.test(mobile!)) ||\n (digits === 8 && /^\\d{8}$/.test(mobile!)) ||\n (digits === 9 && (iso3 === \"ECU\" ? /^[1-9]\\d{8}$/ : /^\\d{9}$/).test(mobile!)) ||\n (digits === 10 && /^\\d{10}$/.test(mobile!)) ||\n (digits === 11 && /^\\d{11}$/.test(mobile!)) ||\n (digits === 12 && /^\\d{12}$/.test(mobile!));\n \n setIsValidNumber(validDig);\n if (isValid) isValid(validDig);\n }\n \n setIsValidNumber(validDig);\n if (isValid) isValid(validDig);\n return validDig;\n }\n \n useEffect(() => {\n \n (async () => {\n dispatch(setShowLoader(true));\n const response = await AppointmentService.getCountries(account.id, localeApp);\n dispatch(setShowLoader(false));\n \n const listCountries: Country[] = response.country;\n const countryInSettings: Country = response.countryInSettings;\n \n setCountries(listCountries || []);\n // if (onChangeItem) onChangeItem(countryInSettings);\n \n let iso = codeIso3 || (countryInSettings ? countryInSettings.iso3 : null) || \"MEX\";\n \n const countryByIso = listCountries.filter(x => x.iso3 === iso);\n \n if (countryByIso.length > 0) {\n const country = countryByIso[0];\n setCountrySelected(country);\n const m = GetMobileMaskByTemp(country.dialTemplate || dialTemplate);\n setMasking(m);\n }\n \n })();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [codeIso3]);\n \n \n useEffect(() => {\n const m = GetMobileMaskByTemp(countrySelected.dialTemplate);\n setMasking(m);\n setMobileNumber(mobile);\n \n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [mobile]);\n \n function handleOpenModal() {\n setOpenModal(true);\n }\n \n function handleCloseModal() {\n setSearchValue(null);\n setOpenModal(false);\n }\n \n return (\n
\n
\n \n \n
\n
\n
\n \n
\n
\n \n
\n
\n {countrySelected.dialCode !== undefined ? `+${countrySelected.dialCode}` : \"+52\"}\n
\n
\n {\n setIsFocused(false)\n if (onBlur) onBlur(validate(mobileNumber, countrySelected?.dialDigits, countrySelected?.iso3))\n }}\n value={mobileNumber}\n onFocus={() => setIsFocused(true)}\n />\n \n
\n
\n \n \n
\n
\n
{t(\"Countries\")}
\n handleSearch(event.target.value)}\n />\n
\n
\n
\n {(searchValue === null\n ? countries\n : countries.filter((item) => filterCountries(item)))\n .map((item) => (\n
\n
handleItemSelected(item)}>\n \n \n \n
\n {item.name} (+{item.dialCode})\n
\n
\n
\n ))}\n
\n
\n \n
\n );\n}","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from \"react-router-dom\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { TextareaAutosize, Typography } from \"@material-ui/core\";\nimport InputBase from \"@material-ui/core/InputBase\";\n\nimport useStyles from \"./css\";\nimport { ScheduleAppointment } from \"../../../models/schedule\";\nimport InputMobileCode from \"../../common/InputMobileCode\";\nimport { CustomerValidModel } from \"../../../models/customer\";\nimport { Regex } from \"../../../constants\";\nimport { AppointmentService } from \"../../../api\";\nimport Country from \"../../../models/common/country\";\n\n\nexport default function ScheduleAppointmentCustomerInfoStep() {\n\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n\n const dispatch = useAppDispatch();\n const { setScheduleAppointment, setCustomerValid } = schedulerActions;\n\n const location = useLocation();\n\n const [nameInputNotValid, setNameInputNotValid] = useState(false);\n const [lastNameInputNotValid, setLastNameInputNotValid] = useState(false);\n\n const customer = useAppSelector((state) => state.scheduler.scheduleAppointment);\n const isUpdate = useAppSelector((state) => state.scheduler.isUpdate);\n const customerValid = useAppSelector((state) => state.scheduler.customerValid);\n\n const account = useAppSelector((state) => state.scheduler.account);\n const isClinicMode = account.isClinicMode;\n\n function _setScheduleAppointment(value: ScheduleAppointment) {\n dispatch(setScheduleAppointment(value));\n }\n\n function _setCustomerValid(value: CustomerValidModel) {\n dispatch(setCustomerValid(value));\n }\n\n\n function handleNameChange(event: React.ChangeEvent<{ value: string }>) {\n _setCustomerValid(\n new CustomerValidModel({\n ...customerValid,\n name: Regex.MultipleSpacesName.test(event.target.value),\n })\n );\n setNameInputNotValid(!Regex.MultipleSpacesName.test(event.target.value));\n _setScheduleAppointment(\n new ScheduleAppointment({ ...customer, firstName: event.target.value })\n );\n }\n\n function handleLastNameChange(event: React.ChangeEvent<{ value: string }>) {\n _setCustomerValid(\n new CustomerValidModel({\n ...customerValid,\n lastName: Regex.MultipleSpacesName.test(event.target.value),\n })\n );\n setLastNameInputNotValid(!Regex.MultipleSpacesName.test(event.target.value));\n _setScheduleAppointment(\n new ScheduleAppointment({ ...customer, lastName: event.target.value })\n );\n }\n\n function handleNotesChange(event: React.ChangeEvent<{ value: string }>) {\n _setScheduleAppointment(new ScheduleAppointment({ ...customer, notes: event.target.value, })\n );\n }\n\n useEffect(() => {\n if (!isUpdate) {\n const urlSearchParams = new URLSearchParams(location.search);\n const preselectedCustomerId = urlSearchParams.get('customerId');\n if (preselectedCustomerId) {\n AppointmentService.getProtectedCustomerInfo(preselectedCustomerId)\n .then(customerInfo => {\n if (customerInfo.name) {\n _setScheduleAppointment(\n new ScheduleAppointment({\n ...customer,\n firstName: customerInfo.name,\n lastName: customerInfo.lastName,\n mobile: customerInfo.mobile.body,\n mobileCodeIso3: customerInfo.mobile.countryIso,\n notes: \"\",\n })\n );\n _setCustomerValid(\n new CustomerValidModel({\n ...customerValid,\n name: true,\n lastName: true,\n mobile: true\n })\n );\n }\n });\n } else {\n _setScheduleAppointment(\n new ScheduleAppointment({\n ...customer,\n mobileCodeIso3: customer.mobileCodeIso3,\n })\n );\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n function handleMobileChange(num: any, c: Country) {\n \n if (c.iso3 === \"ECU\" && num.startsWith(\"0\")) {\n num = num.replace(/^0+/, \"\");\n }\n\n _setScheduleAppointment(\n new ScheduleAppointment({\n ...customer,\n mobile: num.replace(/[^0-9]/g, \"\"),\n mobileCodeIso3: c.iso3,\n mobileCode: c.dialCode,\n mobileDigits: c.dialDigits,\n mobileTemplate: c.dialTemplate\n })\n );\n }\n\n function handleMobileCodeChange(c: Country) {\n let customerMobile = customer.mobile;\n\n if (c.iso3 === \"ECU\" && customerMobile.startsWith(\"0\")) {\n customerMobile = customerMobile.replace(/^0+/, \"\");\n }\n\n if (customerMobile.length > c.dialDigits) {\n customerMobile = customerMobile.slice(0, c.dialDigits);\n }\n\n _setScheduleAppointment(\n new ScheduleAppointment({\n ...customer,\n mobileCodeIso3: c.iso3,\n mobileCode: c.dialCode,\n mobileDigits: c.dialDigits,\n mobileTemplate: c.dialTemplate,\n mobile: customerMobile.replace(/[^0-9]/g, \"\")\n }));\n }\n\n function handleValidMobile(valid: boolean) {\n setCustomerValid({ ...customerValid, mobile: valid });\n _setCustomerValid(new CustomerValidModel({ ...customerValid, mobile: valid, })\n );\n }\n\n function onNameInputBlur(e: any) {\n if (customer\n && customer.firstName\n && customer.firstName.length > 0\n && Regex.MultipleSpacesName.test(customer.firstName)\n && !/\\d/.test(customer.firstName)) {\n _setCustomerValid(new CustomerValidModel({ ...customerValid, name: true, }));\n setNameInputNotValid(false);\n } else {\n _setCustomerValid(new CustomerValidModel({ ...customerValid, name: false, }));\n setNameInputNotValid(true);\n }\n }\n\n function onLastNameInputBlur() {\n if (customer\n && customer.lastName\n && customer.lastName.length > 0\n && Regex.MultipleSpacesName.test(customer.lastName)\n && !/\\d/.test(customer.lastName)) {\n setLastNameInputNotValid(false);\n _setCustomerValid(new CustomerValidModel({ ...customerValid, lastName: true, }));\n } else {\n setLastNameInputNotValid(true);\n _setCustomerValid(new CustomerValidModel({ ...customerValid, lastName: false, }));\n }\n }\n\n return (\n
\n \n {t('Basic customer information', isClinicMode ? { customer: t('patient') } : { customer: t('customer') })}\n \n
\n
\n \n onNameInputBlur(e)}\n placeholder={t(\"Enter your name\")}\n value={customer.firstName || \"\"}\n inputProps={{\n maxLength: 100\n }}\n onChange={handleNameChange}\n />\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n );\n};\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n stepRoot: {\n paddingRight: 10,\n marginTop: 18,\n maxWidth: 1084,\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 272,\n marginTop: 8,\n },\n },\n stepContainer: {\n maxWidth: 938,\n display: 'flex',\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 272,\n display: 'initial',\n },\n },\n appointmentInfoContainer: {\n display: \"flex\",\n alignItems: \"flex-start\",\n width: 606,\n minHeight: 243,\n borderRadius: 6,\n boxShadow: \"2px 2px 12px 5px rgba(235, 235, 235, 0.46);\",\n marginBottom: 16,\n [theme.breakpoints.down(\"sm\")]: {\n height: \"auto\",\n width: 272,\n flexDirection: \"column\",\n backgroundColor: \"#FFF\",\n alignItems: \"start\",\n padding: 16,\n gap: 16\n },\n },\n appointmentInfo: {\n width: 373,\n minHeight: 157,\n marginTop: 38,\n marginBottom: 37,\n marginLeft: 31,\n marginRight: 131,\n paddingBottom: 11,\n paddingRight: 0\n },\n customerInfoContainer: {\n display: \"flex\",\n alignItems: \"flex-start\",\n width: 323,\n minHeight: 243,\n borderRadius: 6,\n boxShadow: \"2px 2px 12px 5px rgba(235, 235, 235, 0.46);\",\n marginBottom: 16,\n [theme.breakpoints.down(\"sm\")]: {\n height: \"auto\",\n width: 272,\n flexDirection: \"column\",\n backgroundColor: \"#FFF\",\n alignItems: \"start\",\n padding: 16,\n gap: 16\n },\n },\n customerInfo: {\n width: 280,\n minHeight: 157,\n marginTop: 38,\n marginBottom: 37,\n marginLeft: 22,\n marginRight: 24,\n },\n customerCommentContainer: {\n height: 'auto',\n marginBottomm: 24,\n [theme.breakpoints.down(\"sm\")]: {\n height: \"auto\",\n width: 200,\n },\n },\n infoTitle: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey6,\n fontWeight: 700,\n marginBottom: 5,\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 230,\n },\n },\n title: {\n ...theme.typography.header4,\n color: theme.colors.grey6,\n fontWeight: 700,\n marginBottom: 17,\n textAlign: 'center',\n\n [theme.breakpoints.down(\"sm\")]: {\n width: 272,\n },\n },\n infoText: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n },\n commentText: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n whiteSpace: 'normal',\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n },\n infoPriceText: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n lineHeight: '20px',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n },\n infoServiceName: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n fontWeight: 700,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n },\n appointmentInfoDateContainer: {\n display: 'flex',\n flexDirection: 'row',\n gap: 5,\n marginTop: 5,\n marginBottom: 24,\n alignItems: 'flex-end'\n },\n serviceInfo: {\n width: 373,\n marginBottom: 5,\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 272,\n display: 'grid',\n gap: 5\n },\n },\n serviceInfoRow: {\n width: 373,\n display: 'flex',\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 272,\n },\n },\n serviceInfoColumn: {\n width: 180,\n display: 'flex',\n gap: 15,\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 136,\n },\n },\n timeContainer: {\n width: 150,\n display: 'flex',\n justifyContent: 'flex-start',\n gap: 5,\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 200,\n },\n },\n specialistContainer: {\n width: 370,\n display: 'flex',\n justifyContent: 'flex-start',\n gap: 5,\n\n [theme.breakpoints.down(\"sm\")]: {\n maxWidth: 200,\n },\n },\n serviceInfoTimeWithSpecialistContainer: {\n [theme.breakpoints.down(\"sm\")]: {\n display: 'grid',\n gap: 5,\n marginLeft: 5,\n marginTop: 5,\n },\n },\n cancellationContainer: {\n width: 350,\n marginTop: 24\n },\n cancellationTitle: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n fontWeight: 700,\n marginBottom: 5\n },\n cancellationText: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5\n },\n cancellationLink: {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n fontWeight: 700,\n cursor: 'pointer'\n },\n cancellationTextContainer: {\n marginBottom: 24,\n [theme.breakpoints.down(\"sm\")]: {\n\n },\n },\n line: {\n color: theme.colors.grey5,\n marginBottom: 24,\n [theme.breakpoints.down(\"sm\")]: {\n width: 230,\n marginLeft: -10\n },\n },\n })\n);\n\nexport default useStyles;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst WhatsAppIcon = (props: any) => {\n const { style, viewBox, color, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default WhatsAppIcon;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst CalendarIcon = (props: any) => {\n const { style, viewBox, height, width, ...otherProps } = props;\n return (\n \n \n \n );\n};\n\nexport default CalendarIcon;\n","import React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\nimport { conformToMask } from \"react-text-mask\";\nimport { format } from 'date-fns';\nimport esLocale from \"date-fns/locale/es\";\nimport enLocale from \"date-fns/locale/en-US\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { Link, Tooltip } from \"@material-ui/core\";\n\nimport { ClockIcon, UserIcon } from \"./../../../assets/icons\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport useStyles from \"./css\";\nimport WhatsAppIcon from \"../../../assets/icons/WhatsAppIcon\";\nimport { GetMobileMaskByTemp } from \"../../../constants/masks\";\nimport CalendarInverseFillIcon from \"../../../assets/icons/CalendarInverseFillIcon\";\nimport SpecialistPhoto from \"../SpecialistPhoto\";\n\n\nexport default function ScheduleAppointmentConfirmationStep() {\n const { t } = useTranslation([\"general\"]);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const classes = useStyles();\n\n const serviceUsers = useAppSelector((state) => state.scheduler.serviceUser);\n const scheduleTime = useAppSelector((state) => state.scheduler.scheduleTime);\n const date = useAppSelector((state) => state.scheduler.currentDate);\n const customer = useAppSelector((state) => state.scheduler.scheduleAppointment);\n\n const localeApp = useAppSelector(state => state.scheduler.locale);\n const account = useAppSelector((state) => state.scheduler.account);\n\n const isServicesPerformedSimultaneously = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n\n const appointmentTime = getAppointmentTime();\n\n function getSpecialistName(serviceUser: ServiceUserModel) {\n if (serviceUser.userId === 'All') {\n return t(\"Any specialist\");\n }\n let specialist = serviceUser.users?.find(user => user.id == serviceUser.userId);\n return `${specialist?.firstName} ${specialist?.lastName}`;\n }\n\n function specialistPhoto(serviceUser: ServiceUserModel) {\n if (serviceUser.userId === 'All')\n return ();\n\n const user = serviceUser.users?.find(user => user.id == serviceUser.userId);\n\n if (!user) return;\n\n const initials = `${user.firstName![0]}${user.lastName![0]}` || null;\n const photoURL = user.photoURL;\n\n return (\n
\n \n
\n );\n }\n\n function getAppointmentDate(): string {\n let dateFormat = localeApp == 'es'\n ? \"dd 'de' MMMM yyyy\"\n : \"MMMM dd, yyyy\";\n return format(date, dateFormat, { locale: getLocale() });\n }\n\n function getAppointmentTime(): string[] {\n let startAppointmentTime = scheduleTime?.scheduleTime?.split(\" - \")[0];\n\n let appointmentTimes: string[] = [];\n\n if (!startAppointmentTime) return appointmentTimes;\n\n serviceUsers.forEach((serviceUser, index) => {\n let duration = serviceUser.service?.duration;\n if (isServicesPerformedSimultaneously) {\n appointmentTimes.push(scheduleTime?.scheduleTime!);\n return;\n }\n\n if (duration) {\n let durationSum = serviceUsers.slice(0, index)\n .map((user: ServiceUserModel) => user.service?.duration || 0)\n .reduce((total: number, d: number) => total + (d || 0), 0);\n\n let startTime = addMinutes(startAppointmentTime!, durationSum);\n let endTime = addMinutes(startTime, duration);\n\n appointmentTimes.push(`${startTime} - ${endTime}`);\n }\n });\n\n return appointmentTimes;\n }\n\n function addMinutes(time: string, minutes: number): string {\n let [hours, mins] = time.split(\":\").map(Number);\n let date = new Date();\n date.setHours(hours);\n date.setMinutes(mins + minutes);\n return `${String(date.getHours()).padStart(2, \"0\")}:${String(date.getMinutes()).padStart(2, \"0\")}`;\n }\n\n function getLocale(): any {\n switch (localeApp) {\n case \"es\":\n return esLocale;\n\n default:\n return enLocale;\n }\n }\n\n function maskedMobileNumber(mobileCode: number, mobileNumber: string, mobileTemplate: string) {\n const mobile = conformToMask(mobileNumber, GetMobileMaskByTemp(mobileTemplate)).conformedValue;\n return `${mobile}`\n }\n\n function formatPrice(price: number, currencySymbol: string, valueTemplate: string) {\n return valueTemplate.includes(\"{0}\")\n ? valueTemplate.replace(\"{0}\", price.toString())\n : `${currencySymbol}${price}`;\n }\n\n return (
\n \n {t(\"This is the last step!\")}\n \n
\n
\n
\n \n {`${customer.firstName} ${customer.lastName}`}\n \n
\n \n \n {maskedMobileNumber(customer.mobileCode!, customer.mobile, customer.mobileTemplate!)}\n \n
\n
\n
\n \n {customer.notes}\n \n
\n
\n
\n\n
\n
\n \n {t(\"Appointment information\")}\n \n
\n \n \n {getAppointmentDate()}\n \n
\n \n {t(\"Services\")}\n \n {serviceUsers && serviceUsers.map((serviceUser: ServiceUserModel, index: number) => (\n
\n
\n
\n \n \n {serviceUser.service?.name}\n \n \n
\n
\n
\n \n \n {appointmentTime[index]}\n \n
\n
\n {specialistPhoto(serviceUser)} \n \n \n {getSpecialistName(serviceUser)}\n \n \n
\n
\n
\n
\n \n {account.showPrices && serviceUser.service && serviceUser.service.price && account.currencySymbol && account.currencyTemplate\n && `${formatPrice(serviceUser.service.price, account.currencySymbol, account.currencyTemplate)} | `}\n {serviceUser.service?.duration} {t(\"minutes\")}\n \n
\n
\n ))}\n
\n
\n\n
\n\n
\n {account?.showCancellationPolicies && account?.cancellationPolicies &&\n
\n \n {t(\"Cancellation policies\")}\n \n \n {t(\"To learn about our cancellation policies, \")}\n \n {t(\"click here.\")}\n \n \n
\n }\n {account?.isPrivacyNoticeEnabled && account?.privacyNotice &&\n
\n \n {t(\"Privacy notice\")}\n \n \n {t(\"To learn about our privacy notice, \")}\n \n {t(\"click here.\")}\n \n \n
\n }\n
\n
);\n};\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n root: {\n borderRadius: 5,\n },\n serviceImage: {\n width: \"100%\",\n height: 127,\n borderRadius: \"5px 5px 0px 0px\",\n background: theme.colors.grey2,\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n boxContainer: {\n background: \"#FFFFFF\",\n borderRadius: \"8px\",\n cursor: \"default\",\n [theme.breakpoints.down(\"sm\")]: {\n paddingRight: 46,\n paddingLeft: 5\n },\n },\n boxContent: {\n padding: \"20px\"\n },\n boxContentItem: {\n \"&:not(:first-child)\":{\n marginTop: 20,\n },\n },\n boxContentItemLabel: {\n alignItems: \"center\"\n },\n label: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4,\n },\n symbol: {\n ...theme.typography.txtBody2,\n fontWeight: 700,\n color: theme.colors.grey4,\n marginRight: 2\n },\n caption: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey5,\n marginLeft: 12,\n marginTop: 5,\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n maxWidth: 235,\n },\n tooltipBlock: {\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n },\n divider: {\n width: \"100%\", \n borderTop: \"solid\",\n borderWidth: 1,\n borderColor: \"#C9CDD3\",\n },\n cancelButton: {\n ...theme.typography.buttons,\n borderRadius: 51,\n width: \"100%\",\n margin: \"0 10px\",\n fontWeight: \"bold\",\n borderWidth: \"2px\",\n borderStyle: \"solid\",\n color: \"#5C6477\",\n borderColor: \"#5C6477\",\n \"&.Mui-disabled\": {\n color: \"#5C6477\",\n opacity: 0.25,\n },\n },\n })\n);\n\nexport default useStyles;\n","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport Grid from \"@material-ui/core/Grid\";\nimport Box from \"@material-ui/core/Box\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport { BookMarkIcon, CalendarIcon, ClockIcon, MoneyIcon, UserIcon, } from \"./../../../assets/icons\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport useStyles from \"./css\";\nimport { Tooltip } from \"@material-ui/core\";\n\nexport default function AppointmentSummary() {\n \n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const isValidSelection = useAppSelector((state) => state.scheduler.isValidSelection);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n const currentDate = useAppSelector((state) => state.scheduler.currentDate);\n const scheduleTime = useAppSelector((state) => state.scheduler.schedule);\n const account = useAppSelector((state) => state.scheduler.account);\n const isServicesPerformedSimultaneously = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n \n const firstService = serviceUser[0]?.service;\n \n function countAppointmentDuration(services: ServiceUserModel[]) {\n if (isServicesPerformedSimultaneously) {\n return Math.max(...services.map(service => service?.service?.duration || 0));\n } else {\n return services.reduce((previousValue, currentValue) => previousValue + (currentValue?.service?.duration ? currentValue.service.duration : 0), 0);\n }\n }\n \n function countAppointmentPrice(services: ServiceUserModel[]) {\n return services.reduce((previousValue, currentValue) => previousValue + (currentValue?.service?.price ? currentValue.service.price : 0), 0);\n }\n \n const appointmentPrice = countAppointmentPrice(serviceUser);\n\n const getDuration = (): string => { \n const appointmentDuration = countAppointmentDuration(serviceUser);\n if (appointmentDuration === 0) {\n return \"\";\n }\n \n if (appointmentDuration < 60) return `${appointmentDuration} ${t(\"minutes\")}`;\n \n const seconds = appointmentDuration * 60;\n const hour = Math.floor(seconds / 3600);\n const minute = Math.floor((seconds % 3600) / 60);\n const hourDisplay = hour > 0 ? `${hour} ${hour === 1 ? \"hr\" : \"hrs\"} ` : \"\";\n const minuteDisplay = minute > 0 ? `${minute} min` : \"\";\n const format = hourDisplay + minuteDisplay;\n \n return `${appointmentDuration} ${t(\"minutes\")} (${format.trim()})`;\n };\n\n const formatDate = (): string => {\n const date = new Date(currentDate);\n return date.toLocaleDateString(localeApp, {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n });\n };\n \n const specialists = serviceUser.map((s: ServiceUserModel) => {\n const specialist = s.users?.find(u => u.id === s.userId);\n return s.service && (specialist || s.userId == \"All\")\n ?\n specialist\n ? `\\u2022 ${specialist?.firstName} ${specialist?.lastName}`\n : `\\u2022 ${t(\"Any specialist\")}`\n : \"\"\n })\n\n const areThereMultipleServices = serviceUser.length > 1;\n\n return (<>\n \n {\n firstService?.photo && <>\n \n \n \n \n }\n \n \n \n
\n \n \n {t(areThereMultipleServices ? \"Service(s)\" : \"Service\")}\n \n \n {\n serviceUser.map((s: ServiceUserModel) => s.service?.name\n ?\n {`\\u2022 ${s.service.categoryName} \\u00B7 ${s.service.name}`} }\n classes={{ tooltip: classes.tooltipBlock }}\n >\n \n {`\\u2022 ${s.service.categoryName} \\u00B7 ${s.service.name}`}\n \n \n : \"\")\n }\n \n
\n
\n \n \n {t(\"Duration\")}\n \n \n \n {getDuration()}\n \n \n
\n\n {account.showPrices &&
\n \n {account.currencySymbol}\n {t(\"Price\")}\n \n \n \n {appointmentPrice > 0 ? `${appointmentPrice}` : \"\"}\n \n \n
}\n\n \n
\n \n
\n \n \n \n {t(areThereMultipleServices ? \"Specialist(s)\" : \"Specialist\")}\n \n \n \n {\n specialists.map((specialistName: string) =>\n \n {specialistName}\n \n )\n }\n \n
\n
\n
\n \n
\n \n \n \n {t(\"Date\")}\n \n \n \n \n {serviceUser.length && isValidSelection ? formatDate() : \"\"}\n \n \n
\n
\n \n \n \n {t(\"Time\")}\n \n \n \n \n {serviceUser.length && isValidSelection ? scheduleTime : \"\"}\n \n \n
\n
\n \n \n \n\n );\n};\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\nimport backgroundTop from \"../../../assets/images/background-top.png\";\nimport backgroundBottom from \"../../../assets/images/background-bottom.png\";\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n rightTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clear2,\n marginBottom: 20,\n },\n successStepContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n \n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\"\n },\n },\n successStepRoot: {\n position: \"absolute\",\n left: 0,\n width: \"100vw\",\n \n [theme.breakpoints.down(\"sm\")]: {\n position: \"static\",\n width: \"80vw\"\n },\n },\n rowCenter: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"center\",\n },\n brandingCircle: {\n height: 80,\n width: 80,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n imageCircle: {\n height: 80,\n width: 80,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n brandingTitle: {\n ...theme.typography.header4,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n },\n greetingsTxt: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n confirmationTxt: {\n ...theme.typography.header4,\n color: theme.colors.grey4,\n },\n label: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey4,\n },\n caption: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n marginTop: 10,\n },\n dividerTop: {\n borderTop: \"1px solid #C9CDD3\",\n width: \"100%\",\n marginTop: 34,\n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 24\n },\n },\n buttonContainer: {\n marginTop: 40,\n width: \"100%\",\n \n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 22\n },\n },\n cancelButtonContainer: {\n marginTop: 16\n },\n cancelButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: \"100%\",\n height: 32,\n \n backgroundColor: \"#FAFAFA\",\n \n borderRadius: 5,\n border: \"1px solid #6462F3\",\n \n ...theme.typography.buttons,\n color: theme.colors.clearMain,\n fontWeight: 700,\n },\n summaryContainer: {\n paddingRight: \"80px\",\n flexBasis: \"21%\",\n [theme.breakpoints.down(\"sm\")]: {\n paddingRight: 0,\n marginBottom: 32\n },\n },\n dividerBottom: {\n borderTop: \"1px solid #C9CDD3\",\n width: \"100%\",\n marginTop: 50,\n \n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 24\n },\n },\n button: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n borderRadius: 5,\n width: \"100%\",\n height: 37,\n },\n appntInfoContainer: {\n flexBasis: \"30%\",\n paddingTop: 90,\n textAlign: \"center\",\n \n [theme.breakpoints.down(\"sm\")]: {\n paddingTop: 20\n },\n },\n leftSideImage: {\n top: 0,\n left: 0,\n backgroundImage: `url(${backgroundTop}), url(${backgroundBottom})`,\n backgroundPosition: \"left top, left bottom\",\n backgroundRepeat: \"no-repeat, no-repeat\",\n flexBasis: \"10%\",\n height: \"90vh\",\n paddingTop: 107,\n display: \"flex\",\n justifyContent: \"center\",\n \n [theme.breakpoints.down(\"sm\")]: {\n display: \"none\"\n },\n },\n buttonCreate: {\n color: theme.colors.clearMain,\n border: `1px solid ${theme.colors.clearMain}`,\n \"&:hover\": {\n background: theme.colors.clearMain,\n color: theme.colors.grey1,\n }\n },\n personalizedAttentionButton: {\n color: \"#00A884\",\n border: `1px solid #00A884`,\n \"& svg path\": {\n fill: \"#00A884\"\n },\n \"&:hover\": {\n background: \"#00A884\",\n color: theme.colors.grey1,\n \"& svg path\": {\n fill: theme.colors.grey1\n },\n },\n \"& .MuiButton-label\": {\n gap: \"12px\"\n }\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (width?: number) => makeStyles((theme) => ({\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n modalPaper: {\n backgroundColor: theme.palette.background.paper,\n border: \"1px solid red\",\n borderRadius: \"10px\",\n boxShadow: theme.shadows[5],\n padding: \"16px 24px 16px 24px\",\n width: width,\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"1px solid red\",\n },\n },\n modalHeader: {\n // display: \"flex\",\n alignItems: \"center\",\n },\n modalHeaderContent: {\n display: \"flex\",\n justifyContent: \"center\",\n width: \"100%\",\n },\n modalClose: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"100%\",\n },\n closeButton: {\n cursor: \"pointer\",\n color: \"#919CA5\",\n height: 14,\n },\n modalTitle: {\n width: \"100%\",\n },\n modalTitleText: {\n fontSize: \"18px\",\n lineHeight: \"22px\",\n textAlign: \"center\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n color: \"#26292B\",\n },\n modalContent: {},\n modalCircle: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: \"50%\",\n border: \"1px solid #F15857\",\n width: \"50px\",\n height: \"50px\",\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n modalTitleSpace: {\n marginTop: 24,\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalDateText: {\n ...theme.typography.txtBody2,\n paddingTop: 7,\n },\n modalActions: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n marginTop: 32,\n },\n button: {\n width: 200,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n },\n goBack: {\n marginRight: 16,\n background: \"#F6F6F6\",\n color: \"#ACB7C0\",\n },\n deleteAppointment: {\n background: \"#F15857\",\n color: \"#F6F6F6\",\n \"&:hover\": {\n background: \"#F15857\",\n },\n },\n separator: {\n height: 0,\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n margin: \"16px 0px 16px 0px\",\n },\n}));\n\nexport default useStyles;\n","import React, { useEffect, useState } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport Button from \"@material-ui/core/Button\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { useTheme } from \"@material-ui/core/styles\";\n\nimport { TrashIcon, CrossIcon } from \"../../../assets/icons\";\n\nimport useStyles from \"./css\";\nimport { AppointmentCancelModalProps } from \"./props\";\n\n\nconst AppointmentCancelModal = (props: AppointmentCancelModalProps) => {\n \n const { open, onClose, onCancelAppointment, startDate, scheduleTime, duration, appointmentId } = props;\n \n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const classes = useStyles(isMdMedia ? undefined : 368)();\n const { t } = useTranslation([\"general\"]);\n \n const [disableButton, setDisableButton] = useState(false);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n\n const date = (startDate: Date, scheduleTime: string): string => {\n const start = new Date(startDate);\n \n let weekDay = start.toLocaleString(localeApp, {\n weekday: \"long\",\n });\n\n weekDay = `${weekDay.charAt(0).toUpperCase()}${weekDay.slice(1)}`;\n\n const monthDay = start.toLocaleString(localeApp, {\n day: \"2-digit\",\n month: \"long\",\n });\n\n return `${weekDay}, ${monthDay} \\u00B7 ${getScheduleTime(scheduleTime)}`;\n };\n\n const getDuration = (duration: number): string => {\n const seconds = duration * 60;\n const hour = Math.floor(seconds / 3600);\n const minute = Math.floor((seconds % 3600) / 60);\n const hourDisplay = hour > 0 ? `${hour} ${hour === 1 ? \"hr\" : \"hrs\"} ` : \"\";\n const minuteDisplay = minute > 0 ? `${minute} min` : \"\";\n const format = hourDisplay + minuteDisplay;\n return format.trim();\n };\n \n const getScheduleTime = (scheduleTime: string): string => {\n const items = scheduleTime.split(' ');\n items[0] = items[0] + \"hrs\";\n items[items.length-1] = items[items.length-1] + \"hrs\";\n return items.join(' ');\n };\n\n return (\n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n \n \n {t(\"Are you sure you want to cancel your appointment?\")}\n \n
\n
\n
\n
\n
\n \n {t(\"Confirm that you want to cancel your appointment\")}\n \n
\n
\n \n {`${date(\n startDate,\n scheduleTime\n )} (${getDuration(duration)})`}\n \n
\n
\n \n {t(\"Go back\")}\n \n {\n setDisableButton(true);\n onCancelAppointment(appointmentId);\n }}\n >\n {t(\"Cancel Appointment\")}\n \n
\n
\n
\n \n \n );\n};\n\nexport default AppointmentCancelModal;\n","import React, { useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\n\nimport Button from \"@material-ui/core/Button\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { useTheme } from \"@material-ui/core/styles\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\nimport { useHistory } from \"react-router-dom\";\n\nimport AppointmentCancelModal from \"./../AppointmentCancelModal\";\nimport { AppointmentService } from \"../../../api\";\nimport { ScheduleAppointment } from \"../../../models/schedule\";\nimport { CancelAppointmentButtonProps } from \"./props\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\n\n\n\nconst CancelAppointmentButton = (props: CancelAppointmentButtonProps) => {\n const { classes } = props;\n const { t } = useTranslation([\"general\"]);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const currentDate = useAppSelector((state) => state.scheduler.currentDate);\n const scheduleTime = useAppSelector((state) => state.scheduler.schedule);\n const oldScheduleTime = useAppSelector((state) => state.scheduler.oldSchedule);\n const account = useAppSelector((state) => state.scheduler.account);\n const appointmentId = useAppSelector((state) => state.scheduler.appointmentId);\n const isEditable = useAppSelector((state) => state.scheduler.isEditable);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n const isServicesPerformedSimultaneously = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n const [cancelAppointmentModal, setCancelAppointmentModal] = useState(false);\n const dispatch = useAppDispatch();\n const {\n setIsOpenCustomerModal,\n setIsOpenScheduleBusyModal,\n setSchedule,\n setOldSchedule,\n setServiceUser,\n setCurrentDate,\n setCustomerValid,\n setScheduleAppointment,\n setIsUpdate\n } = schedulerActions;\n const history = useHistory();\n\n const handleCancelAppointmentModal = () => {\n setCancelAppointmentModal(true);\n }\n\n const handleCancelAppointment = (allRecurringAppointments: boolean) => {\n if (appointmentId) {\n AppointmentService.removeAppointment(appointmentId as string, allRecurringAppointments).then(() => {\n dispatch(setIsOpenCustomerModal(false));\n dispatch(setIsOpenScheduleBusyModal(false));\n dispatch(setSchedule(undefined));\n dispatch(setOldSchedule(null));\n dispatch(setServiceUser([new ServiceUserModel()]));\n dispatch(setCurrentDate(new Date()));\n dispatch(setCustomerValid(undefined));\n dispatch(setScheduleAppointment(new ScheduleAppointment()));\n dispatch(setIsUpdate(false));\n history.push({pathname: `/${account.businessNameUrl}/canceled-confirmation`})\n });\n }\n };\n\n function countAppointmentDuration(services: ServiceUserModel[]) {\n if (isServicesPerformedSimultaneously) {\n return Math.max(...services.map(service => service?.service?.duration || 0))\n }\n return services.reduce((previousValue, currentValue) => previousValue + (currentValue?.service?.duration ? currentValue.service.duration : 0), 0);\n }\n \n const appointmentDuration = countAppointmentDuration(serviceUser);\n\n return (\n <>\n {appointmentId && currentDate && (scheduleTime || (oldScheduleTime !== null)) && appointmentDuration > 0 &&\n <>\n \n {\n setCancelAppointmentModal(false);\n }}\n onCancelAppointment={() => handleCancelAppointment(false)}\n />\n }\n \n );\n};\n\nexport default CancelAppointmentButton;\n","import React from \"react\";\n\nimport { useHistory } from \"react-router-dom\";\n\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport { useAppSelector, useAppDispatch } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Button from \"@material-ui/core/Button\";\n\nimport AppointmentSummary from \"./../AppointmentSummary\";\nimport { ClearBrandIcon } from \"./../../../assets/icons\";\nimport { ScheduleAppointment } from \"../../../models/schedule\";\nimport useStyles from \"./css\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport Grid from \"@material-ui/core/Grid\";\nimport CancelAppointmentButton from \"../CancelAppointmentButton\";\n\n\nexport default function ScheduleAppointmentSuccessfullyStep() {\n \n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n \n const history = useHistory();\n \n const dispatch = useAppDispatch();\n \n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n \n const account = useAppSelector((state) => state.scheduler.account);\n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const isUpdate = useAppSelector((state) => state.scheduler.isUpdate);\n \n const {\n setIsOpenCustomerModal,\n setIsOpenScheduleBusyModal,\n setSchedule,\n setOldSchedule,\n setServiceUser,\n setCurrentDate,\n setCustomerValid,\n setIsUpdate,\n setScheduleAppointment,\n } = schedulerActions;\n \n const handleCreation = () => {\n dispatch(setIsOpenCustomerModal(false));\n dispatch(setIsOpenScheduleBusyModal(false));\n dispatch(setSchedule(undefined));\n dispatch(setOldSchedule(null));\n dispatch(setServiceUser([new ServiceUserModel()]));\n dispatch(setCurrentDate(new Date()));\n dispatch(setCustomerValid(undefined));\n dispatch(setIsUpdate(false));\n dispatch(setScheduleAppointment(new ScheduleAppointment()));\n history.push(`/${account.businessNameUrl}`);\n };\n \n return (\n
\n
\n {/* Left Desktop Begin */}\n
\n
\n
\n {account && account.logo ? (\n
\n ) : (\n
\n \n
\n )}\n
\n
\n \n {account.name || \"New Life\"}\n \n
\n
\n \n {t(\"Thanks for your preference\")}\n \n
\n
\n \n {isUpdate ? (\n \n ) : (\n \n )}\n \n
\n
\n {serviceUser.length && serviceUser.some((user: ServiceUserModel) => user.service?.notes) && (\n <>\n \n {t(\"Service notes:\")}\n \n \n {serviceUser.map((user: ServiceUserModel) => (\n user.service?.notes ? (\n
\n \n {user.service.notes || \"\"}\n \n
\n ) : null\n ))}\n \n
\n \n )}\n\n
\n \n {t(\n \"Feel free to close this window or make another appointment.\"\n )}\n \n
\n
\n handleCreation()}\n >\n {t(\"Make another appointment\")}\n \n
\n \n
\n {/* Left Desktop End */}\n {/* Right Desktop Begin */}\n
\n \n {t(\"APPOINTMENT SUMMARY\")}\n \n
\n \n
\n
\n {account.allowCustomerToCancelFromSite && isUpdate &&\n\n \n }\n
\n
\n \n {/* Right Desktop End */}\n
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n modalYellow: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n },\n modalPaperYellow: {\n backgroundColor: theme.palette.background.paper,\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n borderRadius: \"10px\",\n boxShadow: theme.shadows[5],\n padding: \"24px\",\n width: 464,\n height: 400,\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"1px solid #FFC626\",\n },\n },\n modalHeader: {\n display: \"flex\",\n alignItems: \"center\",\n },\n modalHeaderContent: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"100%\",\n },\n modalClose: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"73%\",\n },\n closeButton: {\n cursor: \"pointer\",\n color: \"#919CA5\",\n },\n modalTitle: {\n width: \"100%\",\n },\n modalTitleText: {\n fontSize: \"18px\",\n lineHeight: \"22px\",\n textAlign: \"center\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n color: \"#26292B\",\n },\n modalContent: {},\n modalCircle: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: \"50%\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n width: \"60px\",\n height: \"60px\",\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n textAlign: \"center\"\n },\n modalTitleSpace: {\n margin: \"30px 0px 20px 0px\",\n },\n modalContentTextTitle: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalDateText: {\n ...theme.typography.txtBody2,\n paddingTop: 7,\n },\n modalActions: {\n marginTop: 32,\n justifyContent: \"center\",\n textAlign: \"center\"\n },\n button: {\n width: 200,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n margin: \"auto\"\n },\n btnCancel: {\n background: \"#F6F6F6\",\n color: theme.colors.grey4,\n fontSize: 12,\n fontWeight: \"bold\",\n margin: \"auto\"\n },\n btnOk: {\n background: \"#FFC626\",\n borderRadius: 51,\n color: \"white\",\n fontSize: 12,\n margin: \"auto\",\n fontWeight: 700,\n paddingTop: 10,\n paddingBottom: 10,\n height: 37,\n width: 225,\n \"&:hover\": {\n background: \"#FFC626\",\n color: \"white\",\n fontSize: 12,\n }\n },\n separator: {\n height: 0,\n width: 217,\n margin: \"0px auto 20px auto\",\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { ExclamationIcon, CrossIcon } from \"../../../assets/icons\";\n\nimport { ExclamationModalProps } from \"./props\";\nimport useStyles from \"./css\";\n\nconst ExclamationModal = (props: ExclamationModalProps) => {\n\n const { t } = useTranslation([\"general\"]);\n const { open, title, body, okTextButton, height, onClose } = props;\n const classes = useStyles();\n\n return (\n \n\n \n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n\n
\n\n
\n \n {title}\n \n
\n \n
\n\n
\n {body}\n
\n\n
\n \n
\n\n
\n
\n
\n \n );\n};\n\nexport default ExclamationModal;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n modalCenter: {\n display: \"block\",\n justifyContent: \"center\",\n textAlign: \"center\"\n },\n modalTitleSpace: {\n marginTop: 24,\n textAlign: \"center\"\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalDateText: {\n ...theme.typography.txtBody2,\n paddingTop: 7,\n textAlign: \"center\",\n marginBottom: 5\n },\n normalText: {\n ...theme.typography.txtBody1,\n fontFamily: 'Inter',\n fontStyle: \"normal\",\n fontWeight: 400,\n fontSize: 14,\n textAlign: \"center\",\n color: \"#5C6477\"\n },\n scheduleText: {\n ...theme.typography.txtBody1,\n fontFamily: 'Roboto',\n fontStyle: \"normal\",\n fontWeight: 700,\n fontSize: 12,\n textAlign: \"center\",\n color: \"#5C6477\"\n },\n}));\n\nexport default useStyles;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport Typography from \"@material-ui/core/Typography\";\n\n\nimport ExclamationModal from \"../../common/ExclamationModal\";\nimport { AppointmentScheduleBusyModalProps } from \"./props\";\nimport useStyles from \"./css\";\nimport { AppointmentDetailDtoModel } from \"../../../models/appointment\";\nimport { useAppSelector } from \"../../../redux/hooks\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\n\nconst AppointmentScheduleBusyModal = (props: AppointmentScheduleBusyModalProps) => {\n\n const { t } = useTranslation([\"general\"]);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n const { open, appointment, onClose } = props;\n const classes = useStyles();\n \n const [appointmentSchedule, setAppointmentSchedule] = useState()\n\n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const isServicesPerformedSimultaneously = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n const appointmentDuration = countAppointmentDuration(serviceUser);\n\n useEffect(() => {\n if (appointment.startDate && appointmentDuration) {\n\n const endDate = new Date(new Date(appointment.startDate).getTime() + (appointmentDuration || 0) * 60000);\n\n setAppointmentSchedule({\n ...appointment,\n endDate: endDate\n });\n\n }\n\n }, [appointment]);\n\n function countAppointmentDuration(services: ServiceUserModel[]) {\n if (isServicesPerformedSimultaneously) {\n return Math.max(...services.map(service => service?.service?.duration || 0))\n }\n return services.reduce((previousValue, currentValue) => previousValue + (currentValue?.service?.duration ? currentValue.service.duration : 0), 0);\n }\n\n\n const date = (startDate: Date, endDate: Date): string => {\n\n const start = new Date(startDate);\n const end = new Date(endDate);\n\n let weekDay = start.toLocaleString(localeApp, {\n weekday: \"long\",\n });\n\n weekDay = `${weekDay.charAt(0).toUpperCase()}${weekDay.slice(1)}`;\n\n const monthDay = start.toLocaleString(localeApp, {\n day: \"2-digit\",\n month: \"long\",\n });\n\n const startTime = start.toLocaleString(localeApp, {\n hour: \"2-digit\",\n minute: \"2-digit\",\n hour12: false,\n });\n\n const endTime = end.toLocaleString(localeApp, {\n hour: \"2-digit\",\n minute: \"2-digit\",\n hour12: false,\n });\n\n return `${weekDay}, ${monthDay} \\u00B7 ${startTime} - ${endTime}hrs`;\n };\n\n\n const timeDifference = (today: Date, endDate: Date): string => {\n const hours = parseInt(\n `${\n (Math.abs(endDate.getTime() - today.getTime()) / (1000 * 60 * 60)) % 24\n }`\n );\n const minutes = parseInt(\n `${(Math.abs(endDate.getTime() - today.getTime()) / (1000 * 60)) % 60}`\n );\n if (hours > 0 && minutes < 1) {\n return `${hours}hr`;\n } else if (hours < 1 && minutes > 0) {\n return `${minutes}min`;\n } else {\n return `${hours}hr ${minutes}min`;\n }\n };\n\n\n const BusyScheduleInfo = () => <>\n
\n \n {t(\"The schedule:\")}\n \n
\n \n
\n \n {appointmentSchedule && `${date(\n new Date(appointmentSchedule.startDate!),\n new Date(appointmentSchedule.endDate!)\n )} (${timeDifference(\n new Date(appointmentSchedule.startDate!),\n new Date(appointmentSchedule.endDate!)\n )})`}\n \n
\n \n
\n \n {t(\"No longer available. Please, select another.\")}\n \n
\n \n\n\n return (<>\n \n }\n okTextButton={t(\"OkUnderstand\")}\n height={330}\n onClose={onClose}\n />\n\n )\n};\n\nexport default AppointmentScheduleBusyModal;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n button: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: theme.colors.clearMain,\n '&:disabled': {\n color: theme.colors.clearMain,\n }\n },\n goBackIconContainer: {\n marginRight: 10\n },\n buttonContainer: {\n alignSelf: \"flex-start\",\n marginLeft: 12,\n marginTop: 10,\n [theme.breakpoints.down(\"sm\")]: {\n marginBottom: 10,\n marginLeft: 37\n }\n },\n closeConfirmationModal: {\n height: \"234px + !important\",\n width: 660,\n [theme.breakpoints.down(\"sm\")]: {\n width: \"87%!important\",\n }\n },\n closeConfirmationModalContent: {\n ...theme.typography.header4,\n fontWeight: 700,\n textAlign: \"center\"\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n modalPaper: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: \"10px\",\n boxShadow: theme.shadows[5],\n padding: \"24px\",\n width: 464,\n height: \"auto\",\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n },\n },\n modalHeader: {\n display: \"flex\",\n alignItems: \"center\",\n },\n modalHeaderContent: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"100%\",\n },\n modalClose: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"100%\"\n },\n closeButton: {\n cursor: \"pointer\",\n color: \"#919CA5\",\n },\n modalTitle: {\n width: \"100%\",\n },\n modalContent: {},\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n modalTitleSpace: {\n margin: \"24px 0px 8px 0px\",\n },\n modalContentTextTitle: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalDateText: {\n ...theme.typography.txtBody2,\n paddingTop: 7,\n },\n modalActions: {\n display: \"flex\",\n justifyContent: \"center\",\n marginTop: 32,\n },\n button: {\n width: 200,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n },\n goBack: {\n marginRight: 16,\n background: \"#F6F6F6\",\n color: theme.colors.grey4, //Color.gray4,\n fontSize: 12,\n fontWeight: \"bold\"\n },\n confirmButton: {\n fontWeight: \"bold\",\n fontSize: 12,\n background: \"#36CE91\",\n color: \"#F6F6F6\",\n \"&:hover\": {\n background: \"#36CE91\",\n },\n },\n separator: {\n height: 0,\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n margin: \"16px 0px 16px 0px\",\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport Button from \"@material-ui/core/Button\";\n\nimport useStyles from \"./css\";\nimport { ConfirmActionModalProps } from \"./props\";\nimport { CrossIcon } from \"../../../assets/icons\";\n\nconst ConfirmActionModal = (props: ConfirmActionModalProps) => {\n\n const { t } = useTranslation([\"general\"]);\n const { open, content, onClose, onConfirm, buttonClass, classModal, confirmButtonText } = props;\n const classes = useStyles();\n\n const handleConfirm = () => {\n if (onConfirm) onConfirm();\n };\n\n return (\n \n \n
\n
\n
\n \n \n \n
\n
\n
\n {content}\n
\n \n\n \n
\n\n
\n
\n
\n \n );\n};\n\nexport default ConfirmActionModal;\n","import React, { useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport Button from \"@material-ui/core/Button\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport useStyles from \"./css\";\nimport GoBackIcon from \"../../../assets/icons/GoBackIcon\";\nimport ConfirmActionModal from \"../../common/ConfirmActionModal\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport { ScheduleAppointment } from \"../../../models/schedule\";\nimport { GroupServiceModel } from \"../../../models/service\";\n\nexport default function BackToEstablishmentsButton() {\n \n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n const account = useAppSelector((state) => state.scheduler.account);\n const serviceUser = useAppSelector((state) => state.scheduler.serviceUser);\n const scheduleAppointment = useAppSelector((state) => state.scheduler.scheduleAppointment);\n const showLoader = useAppSelector((state) => state.scheduler.showLoader);\n const [closeConfirmationModalIsOpen, setCloseConfirmationModalIsOpen] = useState(false);\n const history = useHistory();\n \n const dispatch = useAppDispatch();\n const {\n setIsOpenCustomerModal,\n setIsOpenScheduleBusyModal,\n setSchedule,\n setOldSchedule,\n setServiceUser,\n setSuggestedServices,\n setCurrentDate,\n setCustomerValid,\n setScheduleAppointment,\n setIsUpdate\n } = schedulerActions;\n\n const handleClick = () => {\n const dataWasChanged = serviceUser.some((userService: ServiceUserModel) => userService.serviceId !== null || userService.userId !== null);\n const appointmentWasScheduled = scheduleAppointment.accountId;\n if (dataWasChanged && !appointmentWasScheduled) {\n setCloseConfirmationModalIsOpen(true);\n return;\n }\n cleanInputData();\n history.push(\"/\" + account.enterpriseBusinessNameUrl);\n }\n \n function cleanInputData() {\n dispatch(setIsOpenCustomerModal(false));\n dispatch(setIsOpenScheduleBusyModal(false));\n dispatch(setSchedule(undefined));\n dispatch(setOldSchedule(null));\n dispatch(setServiceUser([new ServiceUserModel()]));\n dispatch(setSuggestedServices([new GroupServiceModel()]));\n dispatch(setCurrentDate(new Date()));\n dispatch(setCustomerValid(undefined));\n dispatch(setIsUpdate(false));\n dispatch(setScheduleAppointment(new ScheduleAppointment()));\n }\n \n const CloseModalContent: React.FC = () => {\n return (
\n {t(\"Cancel appointment registration?\")}\n
);\n };\n \n const handleOnConfirm = () => {\n setCloseConfirmationModalIsOpen(false);\n cleanInputData();\n history.push(\"/\" + account.enterpriseBusinessNameUrl);\n };\n \n return (\n
\n \n }\n open={closeConfirmationModalIsOpen}\n onClose={() => setCloseConfirmationModalIsOpen(false)}\n confirmButtonText={t(\"Yes, cancel\")}\n onConfirm={handleOnConfirm}\n />\n
\n );\n}\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\nimport backgroundTop from \"../../../assets/images/background-top.png\";\nimport backgroundBottom from \"../../../assets/images/background-bottom.png\";\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n rightTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clear2,\n marginBottom: 20,\n },\n container: {\n display: \"flex\",\n flexDirection: \"row\",\n \n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\"\n },\n },\n root: {\n position: \"absolute\",\n left: 0,\n width: \"100vw\",\n \n [theme.breakpoints.down(\"sm\")]: {\n position: \"static\",\n width: \"80vw\"\n },\n },\n rowCenter: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"center\",\n },\n\n brandingTitle: {\n ...theme.typography.header4,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n letterSpacing: 1.44,\n \n },\n text: {\n color: theme.colors.grey4,\n fontFamily: \"Inter\",\n fontSize: 14\n },\n dividerTop: {\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n width: \"100%\",\n marginTop: 34,\n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 24\n },\n },\n appntInfoContainer: {\n marginLeft: \"auto\",\n marginRight: \"auto\",\n paddingTop: 90,\n textAlign: \"center\",\n \n [theme.breakpoints.down(\"sm\")]: {\n paddingTop: 20\n },\n },\n leftSideImage: {\n top: 0,\n left: 0,\n backgroundImage: `url(${backgroundTop}), url(${backgroundBottom})`,\n backgroundPosition: \"left top, left bottom\",\n backgroundRepeat: \"no-repeat, no-repeat\",\n flexBasis: \"10%\",\n height: \"90vh\",\n paddingTop: 107,\n display: \"flex\",\n justifyContent: \"center\",\n \n [theme.breakpoints.down(\"sm\")]: {\n display: \"none\"\n },\n },\n })\n);\n\nexport default useStyles;\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27;\n\nvar _excluded = [\"svgRef\", \"title\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar SvgCanNotSchedule = function SvgCanNotSchedule(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 254,\n height: 190,\n viewBox: \"0 0 254 190\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.1,\n d: \"M168.959 12.0898C105.86 -14.6418 30.1799 31.3156 12.663 69.2234C-29.3996 160.248 44.1063 202.257 76.4427 186.892C89.9421 180.477 100.969 169.522 111.626 158.865C127.628 142.999 148.829 133.855 171.062 133.233C188.184 132.828 205.224 137.548 222.298 136.162C239.371 134.776 254.453 110.59 253.99 93.0047C253.283 66.1642 236.623 40.754 168.959 12.0898Z\",\n fill: \"#9FA9E6\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M212.405 9.6875H41.592C35.9277 9.6875 31.3359 14.404 31.3359 20.2221V158.292C31.3359 164.11 35.9277 168.827 41.592 168.827H212.405C218.07 168.827 222.661 164.11 222.661 158.292V20.2221C222.661 14.404 218.07 9.6875 212.405 9.6875Z\",\n fill: \"white\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M212.407 169.16H41.5934C38.7889 169.157 36.1002 168.011 34.1172 165.974C32.1342 163.937 31.0187 161.175 31.0156 158.295V20.2247C31.0187 17.3441 32.1342 14.5823 34.1172 12.5454C36.1002 10.5085 38.7889 9.36266 41.5934 9.35938H212.407C215.211 9.36266 217.9 10.5085 219.883 12.5454C221.866 14.5823 222.982 17.3441 222.985 20.2247V158.295C222.982 161.175 221.866 163.937 219.883 165.974C217.9 168.011 215.211 169.157 212.407 169.16ZM41.5934 10.0205C38.9595 10.0236 36.4345 11.0997 34.5721 13.0127C32.7097 14.9257 31.6622 17.5194 31.6592 20.2247V158.295C31.6622 161 32.7097 163.594 34.5721 165.507C36.4345 167.42 38.9595 168.496 41.5934 168.499H212.407C215.041 168.496 217.566 167.42 219.428 165.507C221.291 163.594 222.338 161 222.341 158.295V20.2247C222.338 17.5194 221.291 14.9257 219.428 13.0127C217.566 11.0997 215.041 10.0236 212.407 10.0205H41.5934Z\",\n fill: \"#292A2E\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M222.661 20.2242V40.2005H31.3359V20.2242C31.3356 18.8405 31.6006 17.4703 32.116 16.1918C32.6313 14.9133 33.3868 13.7517 34.3393 12.7732C35.2918 11.7947 36.4227 11.0186 37.6673 10.4891C38.912 9.95966 40.2459 9.68727 41.5931 9.6875H212.405C215.126 9.68797 217.734 10.7983 219.657 12.7743C221.581 14.7503 222.661 17.4301 222.661 20.2242Z\",\n fill: \"#6462F3\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M223.008 40.5586H30.9922V20.2275C30.9948 17.34 32.1127 14.5715 34.1004 12.5295C36.0881 10.4876 38.7832 9.33904 41.5945 9.33594H212.407C215.218 9.33951 217.912 10.4882 219.9 12.5301C221.887 14.572 223.005 17.3403 223.008 20.2275V40.5586ZM31.6838 39.8489H222.317V20.2275C222.314 17.5285 221.269 14.9407 219.411 13.0319C217.553 11.1231 215.034 10.0491 212.407 10.0456H41.5945C38.9665 10.0487 36.447 11.1224 34.5888 13.0313C32.7307 14.9401 31.6857 17.5282 31.6831 20.2275L31.6838 39.8489Z\",\n fill: \"#367CFF\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M81.0469 20.0372V5.29046C81.0469 2.57573 78.9043 0.375 76.2614 0.375C73.6184 0.375 71.4759 2.57573 71.4759 5.29046V20.0372C71.4759 22.7519 73.6184 24.9527 76.2614 24.9527C78.9043 24.9527 81.0469 22.7519 81.0469 20.0372Z\",\n fill: \"white\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M76.2547 25.2819C74.9008 25.28 73.6029 24.7267 72.6457 23.7432C71.6885 22.7597 71.1501 21.4264 71.1486 20.0357V5.28933C71.1431 4.59679 71.2711 3.90997 71.5253 3.26849C71.7794 2.62702 72.1548 2.04359 72.6296 1.55186C73.1044 1.06013 73.6693 0.66983 74.2917 0.40348C74.9141 0.13713 75.5817 0 76.2559 0C76.9302 0 77.5978 0.13713 78.2202 0.40348C78.8426 0.66983 79.4075 1.06013 79.8823 1.55186C80.3571 2.04359 80.7324 2.62702 80.9866 3.26849C81.2408 3.90997 81.3688 4.59679 81.3633 5.28933V20.0357C81.3618 21.4268 80.8231 22.7605 79.8653 23.744C78.9076 24.7276 77.609 25.2807 76.2547 25.2819ZM76.2547 0.704243C75.0712 0.705558 73.9366 1.18905 73.0997 2.04864C72.2628 2.90822 71.7921 4.0737 71.7909 5.28933V20.0357C71.7857 20.6412 71.8973 21.2418 72.1193 21.8027C72.3413 22.3636 72.6693 22.8739 73.0843 23.3039C73.4993 23.734 73.9931 24.0753 74.5372 24.3083C75.0814 24.5412 75.665 24.6611 76.2545 24.6611C76.8441 24.6611 77.4277 24.5412 77.9719 24.3083C78.516 24.0753 79.0098 23.734 79.4248 23.3039C79.8398 22.8739 80.1678 22.3636 80.3898 21.8027C80.6118 21.2418 80.7234 20.6412 80.7182 20.0357V5.28933C80.717 4.07376 80.2463 2.90834 79.4095 2.04876C78.5727 1.18919 77.4382 0.705652 76.2547 0.704243Z\",\n fill: \"#262626\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M182.547 20.0294V5.28266C182.547 2.56792 180.404 0.367188 177.761 0.367188C175.118 0.367188 172.976 2.56792 172.976 5.28266V20.0294C172.976 22.7441 175.118 24.9448 177.761 24.9448C180.404 24.9448 182.547 22.7441 182.547 20.0294Z\",\n fill: \"white\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M177.756 25.2778C176.402 25.2763 175.104 24.7231 174.146 23.7396C173.188 22.7561 172.65 21.4225 172.648 20.0316V5.28525C172.648 3.89387 173.187 2.55949 174.144 1.57564C175.102 0.591784 176.401 0.0390625 177.756 0.0390625C179.111 0.0390625 180.41 0.591784 181.367 1.57564C182.325 2.55949 182.863 3.89387 182.863 5.28525V20.0316C182.862 21.4225 182.323 22.7561 181.366 23.7396C180.408 24.7231 179.11 25.2763 177.756 25.2778ZM177.756 0.700159C176.573 0.701849 175.438 1.18551 174.602 2.04505C173.765 2.9046 173.295 4.06986 173.293 5.28525V20.0316C173.293 21.2477 173.764 22.4139 174.601 23.2738C175.438 24.1337 176.573 24.6167 177.757 24.6167C178.941 24.6167 180.077 24.1337 180.914 23.2738C181.751 22.4139 182.221 21.2477 182.221 20.0316V5.28525C182.22 4.06937 181.749 2.90368 180.912 2.04405C180.075 1.18442 178.94 0.701098 177.756 0.700159Z\",\n fill: \"#262626\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M103.908 104.877C106.459 104.877 108.527 103.759 108.527 102.38C108.527 101.001 106.459 99.8828 103.908 99.8828C101.357 99.8828 99.2891 101.001 99.2891 102.38C99.2891 103.759 101.357 104.877 103.908 104.877Z\",\n fill: \"white\"\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M150.103 104.877C152.654 104.877 154.722 103.759 154.722 102.38C154.722 101.001 152.654 99.8828 150.103 99.8828C147.552 99.8828 145.484 101.001 145.484 102.38C145.484 103.759 147.552 104.877 150.103 104.877Z\",\n fill: \"white\"\n })), _path12 || (_path12 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M68.2396 54.3438H40.6953V82.152H68.2396V54.3438Z\",\n fill: \"#BDC7F8\"\n })), _path13 || (_path13 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M68.2396 89.8828H40.6953V117.691H68.2396V89.8828Z\",\n fill: \"#BDC7F8\"\n })), _path14 || (_path14 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M68.2396 125.43H40.6953V153.238H68.2396V125.43Z\",\n fill: \"#BDC7F8\"\n })), _path15 || (_path15 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M104.497 54.3438H76.9531V82.152H104.497V54.3438Z\",\n fill: \"#BDC7F8\"\n })), _path16 || (_path16 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M104.497 89.8828H76.9531V117.691H104.497V89.8828Z\",\n fill: \"#BDC7F8\"\n })), _path17 || (_path17 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M140.404 54.3438H112.859V82.152H140.404V54.3438Z\",\n fill: \"#BDC7F8\"\n })), _path18 || (_path18 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M140.404 89.8828H112.859V117.691H140.404V89.8828Z\",\n fill: \"#BDC7F8\"\n })), _path19 || (_path19 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M177.318 54.3438H149.773V82.152H177.318V54.3438Z\",\n fill: \"#BDC7F8\"\n })), _path20 || (_path20 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M177.318 89.8828H149.773V117.691H177.318V89.8828Z\",\n fill: \"#BDC7F8\"\n })), _path21 || (_path21 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M104.497 125.43H76.9531V153.238H104.497V125.43Z\",\n fill: \"#BDC7F8\"\n })), _path22 || (_path22 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M140.404 125.43H112.859V153.238H140.404V125.43Z\",\n fill: \"#BDC7F8\"\n })), _path23 || (_path23 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M213.318 54.3438H185.773V82.152H213.318V54.3438Z\",\n fill: \"#BDC7F8\"\n })), _path24 || (_path24 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.3,\n d: \"M213.318 89.8828H185.773V117.691H213.318V89.8828Z\",\n fill: \"#BDC7F8\"\n })), _path25 || (_path25 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.5,\n d: \"M98.1477 96.5024C97.8127 96.1582 97.3582 95.9649 96.8844 95.9649C96.4106 95.9649 95.9562 96.1582 95.6211 96.5023L90.7793 101.476L85.9375 96.5023C85.6024 96.1582 85.148 95.9649 84.6742 95.9649C84.2003 95.9649 83.7459 96.1582 83.4109 96.5023C83.0758 96.8465 82.8876 97.3132 82.8876 97.7999C82.8876 98.2866 83.0758 98.7534 83.4109 99.0975L88.2527 104.071L83.4109 109.044C83.0758 109.388 82.8876 109.855 82.8876 110.342C82.8876 110.828 83.0758 111.295 83.4109 111.639C83.7459 111.983 84.2003 112.177 84.6742 112.177C85.148 112.177 85.6024 111.983 85.9375 111.639L90.7747 106.671L95.6165 111.644C95.9516 111.988 96.406 112.182 96.8798 112.182C97.3537 112.182 97.8081 111.988 98.1431 111.644C98.4782 111.3 98.6664 110.833 98.6664 110.346C98.6664 109.86 98.4782 109.393 98.1431 109.049L93.3059 104.08L98.1523 99.1023C98.3186 98.9315 98.4504 98.7286 98.5402 98.5054C98.63 98.2821 98.676 98.0429 98.6756 97.8013C98.6751 97.5598 98.6283 97.3207 98.5377 97.0978C98.4471 96.8749 98.3146 96.6725 98.1477 96.5024Z\",\n fill: \"#F15857\"\n })), _path26 || (_path26 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.5,\n d: \"M134.218 96.8149C133.883 96.4707 133.429 96.2774 132.955 96.2774C132.481 96.2774 132.026 96.4707 131.691 96.8148L126.85 101.788L122.008 96.8148C121.673 96.4707 121.218 96.2774 120.744 96.2774C120.271 96.2774 119.816 96.4707 119.481 96.8148C119.146 97.159 118.958 97.6257 118.958 98.1124C118.958 98.5991 119.146 99.0659 119.481 99.41L124.323 104.383L119.481 109.357C119.146 109.701 118.958 110.168 118.958 110.654C118.958 111.141 119.146 111.608 119.481 111.952C119.816 112.296 120.271 112.489 120.744 112.489C121.218 112.489 121.673 112.296 122.008 111.952L126.845 106.983L131.687 111.957C132.022 112.301 132.476 112.494 132.95 112.494C133.424 112.494 133.878 112.301 134.213 111.957C134.548 111.612 134.737 111.146 134.737 110.659C134.737 110.172 134.548 109.706 134.213 109.361L129.376 104.393L134.223 99.4148C134.389 99.244 134.521 99.0411 134.611 98.8179C134.7 98.5946 134.746 98.3554 134.746 98.1138C134.745 97.8723 134.699 97.6332 134.608 97.4103C134.517 97.1874 134.385 96.985 134.218 96.8149Z\",\n fill: \"#F15857\"\n })), _path27 || (_path27 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.5,\n d: \"M171.788 60.682C171.453 60.3379 170.999 60.1446 170.525 60.1446C170.051 60.1446 169.597 60.3379 169.262 60.682L164.42 65.6554L159.578 60.682C159.243 60.3379 158.789 60.1446 158.315 60.1446C157.841 60.1446 157.387 60.3379 157.052 60.682C156.716 61.0262 156.528 61.4929 156.528 61.9796C156.528 62.4663 156.716 62.9331 157.052 63.2772L161.893 68.2505L157.052 73.2238C156.716 73.568 156.528 74.0348 156.528 74.5214C156.528 75.0081 156.716 75.4749 157.052 75.819C157.387 76.1632 157.841 76.3565 158.315 76.3565C158.789 76.3565 159.243 76.1632 159.578 75.819L164.415 70.8504L169.257 75.8238C169.592 76.1679 170.047 76.3612 170.52 76.3612C170.994 76.3612 171.449 76.1679 171.784 75.8238C172.119 75.4796 172.307 75.0129 172.307 74.5262C172.307 74.0395 172.119 73.5727 171.784 73.2286L166.946 68.26L171.793 63.2819C171.959 63.1111 172.091 62.9083 172.181 62.6851C172.271 62.4618 172.317 62.2226 172.316 61.981C172.316 61.7395 172.269 61.5004 172.178 61.2775C172.088 61.0546 171.955 60.8522 171.788 60.682Z\",\n fill: \"#F15857\"\n })));\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgCanNotSchedule, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/can-not-schedule.086e1fb3.svg\";\nexport { ForwardRef as ReactComponent };","import React from \"react\";\n\nimport { useTranslation, Trans } from \"react-i18next\";\n\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Button from \"@material-ui/core/Button\";\n\nimport useStyles from \"./css\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport { ReactComponent as CanNotSchedule } from \"../../../assets/images/can-not-schedule.svg\";\n\n\nexport default function ScheduleAppointmentFailedStep() {\n \n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n \n return (\n
\n
\n {/* Desktop Begin */}\n
\n
\n
\n \n
\n
\n
\n \n {t(\"Oops! We can't schedule your appointment\")}\n \n
\n
\n \n {t(\"At the moment, we do not have availability.\")}\n \n
\n
\n \n {t(\"We appreciate your patience.\")}\n \n
\n
\n {/* Desktop End */}\n
\n
\n );\n}","import React, { useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\n\nimport Button from \"@material-ui/core/Button\";\n\nimport { useAppSelector, useAppDispatch } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport useStyles from \"./css\";\nimport AppointmentScheduleStepper from \"../AppointmentScheduleStepper\";\nimport ScheduleAppointmentServicesStep from \"../ScheduleAppointmentServicesStep\";\nimport ScheduleAppointmentCustomerInfoStep from \"../ScheduleAppointmentCustomerInfoStep\";\nimport ScheduleAppointmentConfirmationStep from \"../ScheduleAppointmentConfirmationStep\";\nimport ScheduleAppointmentSuccessfullyStep from \"../ScheduleAppointmentSuccessfullyStep\";\nimport { ScheduleAppointment } from \"../../../models/schedule\";\nimport { AppointmentService } from \"../../../api\";\nimport AppointmentScheduleBusyModal from \"../AppointmentScheduleBusyModal\";\nimport CancelAppointmentButton from \"../CancelAppointmentButton\";\nimport BackToEstablishmentsButton from \"../../account/BackToEstablishmentsButton\";\nimport ScheduleAppointmentFailedStep from \"../ScheduleAppointmentFailedStep\";\n\n\nexport default function AppointmentScheduler() {\n const classes = useStyles();\n const dispatch = useAppDispatch();\n const { t } = useTranslation([\"general\"]);\n const account = useAppSelector((state) => state.scheduler.account);\n const appointment = useAppSelector((state) => state.scheduler.scheduleAppointment);\n \n const scheduleTime = useAppSelector((state) => state.scheduler.scheduleTime);\n const scheduledSimultaneousServices = useAppSelector((state) => state.scheduler.isServicesPerformedSimultaneously);\n const schedule = useAppSelector((state) => state.scheduler.schedule);\n \n const isUpdate = useAppSelector((state) => state.scheduler.isUpdate);\n const isModified = useAppSelector((state) => state.scheduler.isModified);\n const isEditable = useAppSelector((state) => state.scheduler.isEditable);\n const showLoader = useAppSelector((state) => state.scheduler.showLoader);\n const refreshAvailableHours = useAppSelector((state) => state.scheduler.refreshAvailableHours);\n const serviceUserModels = useAppSelector((state) => state.scheduler.serviceUser);\n const currentDate = useAppSelector((state) => state.scheduler.currentDate);\n const openScheduleBusyModal = useAppSelector((state) => state.scheduler.isOpenScheduleBusyModal);\n \n const customer = useAppSelector((state) => state.scheduler.scheduleAppointment);\n const customerValid = useAppSelector((state) => state.scheduler.customerValid);\n \n const [activeStep, setActiveStep] = useState<0 | 1 | 2 | 3>(0);\n const [isCustomerBlocked, setIsCustomerBlocked] = useState(false);\n \n const {\n setScheduleAppointment,\n setIsOpenCustomerModal,\n setIsOpenScheduleBusyModal,\n setRefreshAvailableHours,\n setShowLoader\n } = schedulerActions;\n \n function _setScheduleAppointment(value: ScheduleAppointment) {\n dispatch(setScheduleAppointment(value));\n }\n \n function handleGoBackButtonClick() {\n setActiveStep((prev) => prev - 1 as 0 | 1 | 2 | 3);\n window.scrollTo(0, 0);\n }\n \n async function handleContinueButtonClick() {\n if (activeStep === 2) {\n await handleFormFinish();\n } else {\n setActiveStep((prev) => prev + 1 as 0 | 1 | 2);\n window.scrollTo(0, 0)\n }\n }\n \n async function handleFormFinish() {\n if (schedule && scheduleTime && scheduleTime.userId) {\n const startDate = new Date(currentDate);\n const startTime = schedule.split(\"-\")[0];\n startDate.setHours(\n +startTime.split(\":\")[0],\n +startTime.split(\":\")[1],\n 0,\n 0\n );\n \n if (!serviceUserModels) return;\n \n const scheduleAppointment = new ScheduleAppointment({\n ...customer,\n accountId: account.id,\n services: serviceUserModels,\n startDate: startDate,\n scheduledSimultaneousServices: scheduledSimultaneousServices\n });\n \n _setScheduleAppointment(scheduleAppointment);\n \n dispatch(setShowLoader(true));\n \n const updateResponse = await (isUpdate\n ? AppointmentService.updateAppointment(scheduleAppointment)\n : AppointmentService.createAppointment(scheduleAppointment));\n \n if (updateResponse.isScheduleBusy) {\n dispatch(setIsOpenCustomerModal(false));\n dispatch(setIsOpenScheduleBusyModal(true));\n dispatch(setRefreshAvailableHours(refreshAvailableHours + 1));\n } else if (updateResponse.isCustomerBlocked) {\n setIsCustomerBlocked(true);\n setActiveStep(3);\n } else {\n setActiveStep(3);\n }\n \n dispatch(setShowLoader(false));\n }\n }\n \n function stepServicesIsReady(): boolean {\n return schedule != undefined;\n }\n \n function stepConfirmationIsReady(): boolean {\n return scheduleTime != undefined;\n }\n \n function stepCustomerInfoIsReady(): boolean {\n return (customerValid?.name !== undefined && customerValid.name)\n && (customerValid?.lastName !== undefined && customerValid.lastName)\n && (customerValid?.mobile !== undefined && customerValid.mobile)\n && !showLoader\n }\n \n \n function isContinueButtonDisabled(): boolean {\n if (!isEditable) {\n return true;\n }\n \n if (isUpdate && !isModified && activeStep === 0) {\n return true;\n }\n \n switch (activeStep) {\n case 0:\n return !(stepServicesIsReady());\n case 1:\n return !(stepCustomerInfoIsReady());\n case 2:\n return !(stepConfirmationIsReady());\n default:\n return false;\n }\n }\n \n function isFormReadyToFinalize(): boolean {\n return activeStep === 2;\n }\n \n function getModifyCaptionWidth(activeStep: number) {\n switch (activeStep) {\n case 0:\n return 895;\n case 1:\n return 1070;\n case 2:\n return 804;\n }\n }\n \n function getButtonText() {\n if (isFormReadyToFinalize()) {\n return isUpdate ? t(\"Modify appointment\") : t(\"Schedule appointment\");\n } else {\n return t(\"Continue\");\n }\n }\n \n const ButtonsBlock = () =>\n <>\n {activeStep !== 3 &&
\n
\n {activeStep !== 0 &&\n \n {t(\"Go back\")}\n \n }\n {activeStep === 0 && account.allowCustomerToCancelFromSite && isUpdate &&\n \n }\n \n {getButtonText()}\n \n
\n
}\n \n \n const FirstStepContent = () =>\n <>\n \n \n \n \n const SecondStepContent = () =>\n <>\n \n \n \n \n const ThirdStepContent = () =>\n <>\n \n \n \n \n const FormFinishedContent = () =>\n <>\n {!isCustomerBlocked &&\n \n }\n {isCustomerBlocked &&\n \n }\n \n \n return (\n
\n {!isUpdate && account.enterpriseBusinessNameUrl && }\n {activeStep !== 3 && }\n {isUpdate && activeStep !== 3 && (\n
\n
\n {t(\"MODIFY YOUR APPOINTMENT\")}\n
\n
\n )}\n
\n <>\n {activeStep === 0 && FirstStepContent()}\n {activeStep === 1 && SecondStepContent()}\n {activeStep === 2 && ThirdStepContent()}\n {activeStep === 3 && FormFinishedContent()}\n \n
\n dispatch(setIsOpenScheduleBusyModal(false))}\n />\n
\n );\n};\n","import React, { useEffect } from \"react\";\nimport { useParams } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet-async\";\n\nimport { Regex, Url } from \"../../../constants\";\nimport { AppointmentService } from \"../../../api\";\nimport {useAppDispatch, useAppSelector} from \"../../../redux/hooks\";\nimport { useTranslation } from 'react-i18next';\nimport { AccountInfoModel } from \"../../../models/account\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\nimport { ScheduleAppointment, ScheduleTime } from \"../../../models/schedule\";\nimport { ServiceModel } from \"../../../models/service\";\nimport { CustomerValidModel } from \"../../../models/customer\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport {AppointmentServiceDtoModel} from \"../../../models/appointment\";\nimport AppointmentScheduler from \"../../../components/appointment/AppointmentScheduler\";\n\nexport default function AppointmentEdition() {\n \n const dispatch = useAppDispatch();\n const { i18n } = useTranslation(\"general\");\n const {\n setAccount,\n setServiceUser,\n setCurrentDate,\n setSchedule,\n setOldSchedule,\n setScheduleTime,\n setOldCurrentDate,\n setAppointmentId,\n setIsUpdate,\n setIsModified,\n setScheduleAppointment,\n setCustomerValid,\n setIsEditable,\n setIsOpenScheduleBusyModal,\n setLocale,\n setIsServicesPerformedSimultaneously,\n setShowLoader\n } = schedulerActions;\n const { appointmentId: protectedAppointmentId, accountBusinessName } = useParams();\n const showLoader = useAppSelector((state) => state.scheduler.showLoader);\n\n \n const _setCloseScheduleBusyModal = () => {\n dispatch(setIsOpenScheduleBusyModal(false));\n };\n\n dispatch(setIsUpdate(true));\n\n const _setAccount = (value: AccountInfoModel) => {\n const language = value.languageCode ?? process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'es';\n i18n.changeLanguage(language).finally(() => {\n dispatch(setLocale(language));\n dispatch(setAccount(value));\n });\n };\n\n const _setCustomerValid = (value: CustomerValidModel) => {\n dispatch(setCustomerValid(value));\n };\n \n function _setServiceUser(value: ServiceUserModel[]) {\n dispatch(setServiceUser(value));\n }\n\n const _setCurrentDate = (value: Date) => {\n dispatch(setCurrentDate(value));\n };\n function _setIsServicesPerformedSimultaneously(value: boolean) {\n dispatch(setIsServicesPerformedSimultaneously(value));\n };\n\n const _setSchedule = (value: string) => {\n dispatch(setSchedule(value));\n };\n \n const _setOldSchedule = (value: string) => {\n dispatch(setOldSchedule(value));\n };\n\n const _setScheduleTime = (value: ScheduleTime) => {\n dispatch(setScheduleTime(value));\n };\n \n const _setOldCurrentDate = (value: Date) => {\n dispatch(setOldCurrentDate(value));\n };\n\n const _setAppointmentId = (value: string) => {\n dispatch(setAppointmentId(value));\n };\n\n const _setIsEditable = (value: boolean) => {\n dispatch(setIsEditable(value));\n };\n\n const _setScheduleAppointment = (value: ScheduleAppointment) => {\n dispatch(setScheduleAppointment(value));\n _setCustomerValid(\n new CustomerValidModel({\n name: Regex.Name.test(value.firstName!),\n lastName: Regex.Name.test(value.lastName!),\n mobile: true\n })\n );\n };\n\n useEffect(() => {\n const fetchData = async () => {\n await loadAccount();\n };\n\n fetchData();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const redirectToNotFound = () => {\n window.location.href = Url.NotFound;\n };\n \n const redirectToHome = () => {\n window.location.href = \"/\" + accountBusinessName;\n };\n\n const loadAccount = async () => {\n if (accountBusinessName) {\n try {\n dispatch(setShowLoader(true));\n const account = await AppointmentService.getByBusinessName(accountBusinessName);\n dispatch(setShowLoader(false));\n if (account && account.id) {\n _setAccount(account);\n dispatch(setShowLoader(true));\n const appointment = await AppointmentService.getAppointmentByEncryptedAppointmentId(\n account.id,\n protectedAppointmentId\n );\n dispatch(setShowLoader(false));\n \n if (\n appointment &&\n appointment.startDate &&\n appointment.services &&\n appointment.services.length > 0\n ) {\n _setAppointmentId(appointment.id!);\n _setIsEditable(appointment.isEditable as boolean);\n _setIsServicesPerformedSimultaneously(appointment.scheduledSimultaneousServices);\n \n const actualDate = new Date(appointment.startDate);\n const appointmentServicesAsModels = appointment.services.map((service, index) => {\n return new ServiceUserModel({\n service: new ServiceModel({\n id: service.serviceId,\n name: service.name,\n categoryName: service.categoryName,\n duration: service.duration,\n price: service.price,\n photo: service.photo,\n notes: service.notes\n }),\n serviceId: service.serviceId,\n userId: service.userId,\n services: [],\n users: [],\n index\n })\n })\n _setServiceUser(appointmentServicesAsModels)\n _setCurrentDate(actualDate);\n const fromTime = actualDate.toLocaleString(undefined, {\n hour: \"2-digit\",\n minute: \"2-digit\",\n hour12: false,\n });\n const date = new Date(\n actualDate.getTime() +\n (appointmentDuration(appointment.services, appointment.scheduledSimultaneousServices)) * 60000\n );\n const toTime = date.toLocaleString(undefined, {\n hour: \"2-digit\",\n minute: \"2-digit\",\n hour12: false,\n });\n _setSchedule(`${fromTime} - ${toTime}`);\n _setOldSchedule(`${fromTime} - ${toTime}`);\n _setOldCurrentDate(date);\n _setScheduleTime(\n new ScheduleTime({\n scheduleTime: `${fromTime} - ${toTime}`,\n userId: appointment.services[0].userId as string,\n })\n );\n _setScheduleAppointment(\n new ScheduleAppointment({\n ...appointment,\n accountId: account.id,\n services: appointmentServicesAsModels,\n })\n );\n } else {\n redirectToHome();\n }\n } else {\n redirectToNotFound();\n }\n } catch (error) {\n redirectToNotFound();\n }\n } else {\n redirectToNotFound();\n }\n };\n \n function appointmentDuration(services: AppointmentServiceDtoModel[], scheduledSimultaneousServices: boolean) {\n if (scheduledSimultaneousServices) {\n return Math.max(...services.map(service => service?.duration || 0))\n }\n return services.reduce((previousValue, currentValue) => previousValue + (currentValue?.duration === null ? 0 : currentValue.duration), 0);\n }\n\n return (\n
\n \n \n \n \n\n
\n );\n};\n","import React from \"react\";\n\nimport AppointmentScheduler from \"./../../../components/appointment/AppointmentScheduler\";\n\n\nconst AppointmentNew = () => {\n return (\n
\n \n
\n );\n};\n\nexport default AppointmentNew;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n selectEstablishmentRoot: {\n display: 'flex',\n justifyContent: \"center\",\n flexDirection: \"column\",\n alignItems: \"center\",\n \n [theme.breakpoints.down(\"sm\")]: {\n backgroundColor: \"#FAFAFA\"\n },\n },\n selectEstablishmentContainer: {\n display: 'flex',\n flexWrap: 'wrap',\n gap: 16,\n },\n selectEstablishmentFlexContainer: {\n width: 1072,\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n \n scheduleButtonContainer: {\n display: \"flex\",\n alignItems: \"center\",\n gap: 16,\n \n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n width: 272,\n gap: 8\n },\n },\n selectEstablishmentText: {\n ...theme.typography.header4,\n fontWeight: 700,\n color: theme.colors.grey6\n },\n \n \n selectEstablishmentWindow: {\n width: 256,\n \n border: '1px solid #ccc',\n borderRadius: 10,\n \n [theme.breakpoints.down(\"sm\")]: {\n width: \"100%\"\n },\n },\n selectEstablishmentPrice: {\n fontSize: 14,\n fontFamily: \"Roboto\",\n },\n \n buttonContainer: {\n display: \"flex\",\n textAlign: \"right\"\n },\n selectEstablishmentDescription: {\n overflow: \"hidden\",\n wordWrap: \"break-word\",\n ...theme.typography.txtBody2,\n display: \"-webkit-box\",\n WebkitBoxOrient: \"vertical\",\n WebkitLineClamp: 3,\n height: 39\n \n },\n descriptionContainer: {\n padding: 16,\n display: \"flex\",\n flexDirection: \"column\",\n },\n selectEstablishmentName: {\n overflow: \"hidden\",\n fontSize: 14,\n fontWeight: 700,\n fontFamily: \"Inter\",\n display: \"-webkit-box\",\n WebkitBoxOrient: \"vertical\",\n WebkitLineClamp: 1\n },\n whatsAppNumberContainer: {\n paddingTop: 5,\n marginBottom: 15\n },\n divFlag: {\n display: \"inline-block\",\n position: \"relative\",\n height: 20,\n width: 20,\n \"& svg\": {\n width: \"20px !important\",\n height: \"20px !important\"\n }\n },\n divCode: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n position: \"relative\",\n display: \"inline-block\",\n width: 35,\n textAlign: \"center\"\n },\n divMobile: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n display: \"inline-block\",\n },\n selectEstablishmentTitle: {\n ...theme.typography.header3,\n color: theme.colors.clear2,\n fontWeight: 700,\n alignSelf: \"flex-start\",\n marginTop: 35,\n marginBottom: 35\n },\n addButton: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n padding: \"11px 16px\",\n border: `1px solid ${theme.colors.clearMain}`,\n justifyContent: \"space-around\",\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n '& .MuiTouchRipple-root': {\n display: 'none',\n },\n },\n selectEstablishmentButton: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n padding: \"11px 16px\",\n justifyContent: \"space-around\",\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n \n scheduleButton: {\n background: \"#7175FA\",\n color: \"#F6F6F6\",\n \"&:hover\": {\n background: \"#6462F3\",\n },\n },\n \n })\n);\n\nexport default useStyles;\n","export class EstablishmentInfo {\n name: string;\n phoneNumber: string;\n address: string;\n businessNameUrl: string;\n logo?: string;\n mobileCountry: MobileCountry; \n constructor(x?: EstablishmentInfo) {\n if (typeof x === \"object\" && x !== null) {\n this.name = x.name;\n this.phoneNumber = x.phoneNumber ;\n this.address = x.address;\n this.logo = x.logo;\n this.businessNameUrl = x.businessNameUrl;\n this.mobileCountry = x.mobileCountry;\n }\n else {\n this.name = \"\";\n this.phoneNumber = \"\";\n this.address = \"\";\n this.logo = \"\";\n this.businessNameUrl = \"\";\n this.mobileCountry = {};\n }\n }\n}\n\nexport class MobileCountry {\n iso3?: string;\n dialCode?: number;\n dialTemplate?: string;\n \n constructor(x: MobileCountry) {\n if (typeof x === \"object\" && x !== null) {\n this.iso3 = x.iso3;\n this.dialCode = x.dialCode;\n this.dialTemplate = x.dialTemplate;\n } else {\n this.iso3 = \"MEX\";\n this.dialCode = 52;\n this.dialTemplate = \"000-000-0000\";\n }\n }\n}\n","import { ApiClient } from \"./api-client\";\nimport { EstablishmentInfo } from \"../models/establishment/establishmentInfo\";\n\n\nexport class EnterpriseService {\n private static baseUrl: string = \"/CustomerSite\";\n \n static async getListEstablishments(accountId: string): Promise {\n const data = await ApiClient.get(\n `${this.baseUrl}/getListEstablishments?accountId=${accountId}`\n );\n\n return data.enterpriseInfoDto.map((establishment: any) => new EstablishmentInfo(establishment));\n }\n \n}\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n selectEstablishmentPhotoEmpty: {\n height: \"33%\",\n borderTopLeftRadius: 10,\n borderTopRightRadius: 10,\n backgroundColor: \"#FAFAFA\",\n },\n selectEstablishmentPhoto: {\n width: '100%',\n height: \"33%\",\n objectFit: \"cover\",\n cursor: \"pointer\",\n borderTopLeftRadius: 10,\n borderTopRightRadius: 10\n },\n })\n);\n\nexport default useStyles;","import React from 'react';\n\nimport { EstablishmentLogoProps } from \"./props\";\nimport useStyles from \"./css\";\n\n\nexport default function EstablishmentLogo(props: EstablishmentLogoProps) {\n const { logo, onClick} = props;\n \n const classes = useStyles();\n \n return (\n <>\n {logo ? (\n \n ) : (\n
\n )}\n \n );\n}","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\nimport { conformToMask } from \"react-text-mask\";\n\nimport { Button } from \"@material-ui/core\";\n\nimport useStyles from \"./css\";\nimport { useAppDispatch, useAppSelector } from \"../../redux/hooks\";\nimport { schedulerActions } from \"../../redux/scheduler-slice\";\n\nimport CountryFlagIcon from \"../../assets/flags\";\nimport { EnterpriseService } from \"../../api/enterprise-service\";\nimport { GetMobileMaskByTemp } from \"../../constants/masks\";\nimport { EstablishmentInfo } from \"../../models/establishment/establishmentInfo\";\nimport EstablishmentLogo from \"../../components/common/EstablishmentLogo\";\n\nexport default function SelectEstablishment() {\n \n const { t } = useTranslation([\"general\"]);\n const history = useHistory();\n const classes = useStyles();\n const dispatch = useAppDispatch();\n const mobileTemplate: string = \"000-000-0000\";\n \n const account = useAppSelector((state) => state.scheduler.account);\n \n const { setShowLoader } = schedulerActions;\n \n const [establishmentList, setEstablishmentList] = useState([]);\n \n useEffect(() => {\n if (account.id) {\n loadServices();\n }\n }, [account.id]);\n \n async function loadServices() {\n dispatch(setShowLoader(true));\n const servicesResponse = await EnterpriseService.getListEstablishments(account.id || \"\");\n dispatch(setShowLoader(false));\n setEstablishmentList(servicesResponse);\n }\n \n function onSeeServicesClick(businessNameUrl: string) {\n history.push('/' + businessNameUrl + \"/services\");\n }\n function onScheduleAppointmentClick(businessNameUrl: string) {\n history.push('/' + businessNameUrl + \"/appointment\");\n }\n \n function renderEstablishmentItem(establishment: EstablishmentInfo, index: any) {\n return (\n
\n onScheduleAppointmentClick(establishment.businessNameUrl)}\n />\n
\n \n
\n
\n {`${establishment.name}`}\n
\n
\n \n
\n {establishment.address}\n
\n
\n
\n \n
\n
\n {establishment?.mobileCountry?.dialCode !== undefined ? `+${establishment?.mobileCountry.dialCode}` : \"+52\"}\n
\n
\n {establishment?.phoneNumber ? conformToMask(establishment?.phoneNumber, GetMobileMaskByTemp(establishment?.mobileCountry.dialTemplate || mobileTemplate)).conformedValue : \"\"}\n
\n
\n \n
\n onSeeServicesClick(establishment.businessNameUrl)}\n disabled={false}\n style={{ width: 163 }}\n >\n
\n {t(\"See services\")}\n
\n \n \n onScheduleAppointmentClick(establishment.businessNameUrl)}\n disabled={false}\n style={{ width: 163 }}\n >\n
\n {t(\"Schedule appt\")}\n
\n \n
\n
\n \n
\n );\n }\n \n return (\n
\n
\n
\n {`${t(\"Select an establishment\")}:`}\n
\n
\n {establishmentList.map((establishment, index) => renderEstablishmentItem(establishment, index))}\n
\n
\n
\n );\n};","import React, { useEffect } from \"react\";\nimport { Route, Switch, Redirect } from \"react-router-dom\";\n\nimport { Url } from \"./../../../constants/url\";\n\nimport AppointmentEdition from \"./../AppointmentEdition\";\nimport AppointmentNew from \"../AppointmentNew\";\nimport { useAppSelector } from \"../../../redux/hooks\";\nimport SelectEstablishment from \"../../SelectEstablishment\";\n\nconst AppointmentRouter = () => {\n const account = useAppSelector((state) => state.scheduler.account);\n\n return (\n \n \n (\n \n )}\n />\n \n \n \n \n \n );\n};\n\nexport default AppointmentRouter;\n","export enum PatientFormControlType {\n //Copy of FieldType enum in General\n \n PhoneNumber = 11,\n Email = 12,\n\n Radio = 21,\n Checkbox = 22,\n Dropdown = 23,\n\n Text = 31,\n Numeric = 32,\n Date = 33\n}","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n container:{\n \"@media (min-width: 960px)\":{\n maxWidth:\"542px\"\n }\n },\n rightTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n marginBottom: 20,\n },\n rowCenter: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"center\",\n },\n brandingCircle: {\n height: 80,\n width: 80,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n imageCircle: {\n height: 80,\n width: 80,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n brandingTitle: {\n ...theme.typography.header4,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n },\n greetingsTxt: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n confirmationTxt: {\n ...theme.typography.header4,\n color: theme.colors.grey4,\n textAlign: \"center\"\n },\n divider: {\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n width: \"100%\",\n marginTop: 60,\n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 20\n },\n },\n instructionTxt: {\n ...theme.typography.header5,\n color: theme.colors.grey4,\n fontWeight: \"bold\",\n fontSize: \"15px\"\n },\n instructionTxtContainer: {\n marginTop: 60,\n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 20\n },\n },\n \n label: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey4,\n },\n caption: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n },\n button: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n borderRadius: 5,\n width: \"100%\",\n height: 37,\n },\n buttonCreate: {\n color: theme.colors.clearMain,\n border: `1px solid ${theme.colors.clearMain}`,\n \"&:hover\": {\n background: theme.colors.clearMain,\n color: theme.colors.grey1,\n },\n maxWidth: 400\n },\n })\n);\n\nexport default useStyles;\n","import React, { useEffect } from \"react\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport {useTranslation, Trans} from \"react-i18next\";\n\nimport Grid from \"@material-ui/core/Grid\";\nimport Box from \"@material-ui/core/Box\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Button from \"@material-ui/core/Button\";\n\nimport backgroundTop from \"../../../assets/images/background-top.png\";\nimport backgroundBottom from \"../../../assets/images/background-bottom.png\";\nimport {ClearBrandIcon} from \"../../../assets/icons\";\nimport {useAppSelector} from \"../../../redux/hooks\";\n\nimport useStyles from \"./css\";\nimport AccountInfoProvider from \"../../../components/account/AccountInfoProvider/account-info-provider\";\n\nconst AppointmentCanceledConfirmation = () => {\n const classes = useStyles();\n const history = useHistory();\n const {t} = useTranslation([\"general\"]);\n const { accountBusinessName } = useParams();\n const account = useAppSelector((state) => state.scheduler.account);\n\n const handleCreation = () => {\n history.push(`/${account.businessNameUrl}`);\n };\n \n useEffect(() => {\n if (account.businessNameUrl === null) {\n history.push(`/${accountBusinessName}`);\n }\n }, []);\n\n return (\n \n \n \n \n
\n {account && account.logo ? (\n
\n ) : (\n \n \n
\n )}\n
\n
\n \n {account.name || \"New Life\"}\n \n
\n
\n \n {t(\"Thanks for your preference\")}\n \n
\n
\n \n \n \n
\n\n
\n
\n \n \n \n
\n \n
\n <>\n \n \n {t(\n \"Feel free to close this window or schedule another appointment.\"\n )}\n \n \n \n \n \n {t(\"Make another appointment\")}\n \n \n \n \n \n \n \n \n );\n};\n\nexport default AppointmentCanceledConfirmation;\n","import React from \"react\";\nimport { Route, Switch, Redirect } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet-async\";\n\nimport { Url } from \"./../../../constants/url\";\nimport CanceledConfirmation from \"../CanceledConfirmation\";\n\nconst CancelConfirmationRouter = () => {\n return (\n <>\n \n \n \n \n \n \n \n );\n};\n\nexport default CancelConfirmationRouter;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n backgroundColor: theme.colors.backgroundGrey1\n },\n content: {\n \n width: isMobile ? 304 : 716,\n },\n buttonsBlock: {\n position: \"fixed\",\n bottom: 0,\n zIndex: 3,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n gap: 10,\n width: isMobile ? 304 : 716,\n height: 64,\n \n marginTop: isMobile ? 6 : 0,\n \n backgroundColor: theme.colors.white,\n \n borderRadius: 10,\n },\n continueButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 288,\n height: 32,\n \n backgroundColor: theme.colors.clearGreen,\n \n borderRadius: 51,\n \n ...theme.typography.buttons,\n color: theme.colors.grey1,\n fontWeight: 700,\n \n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey1,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.clearGreen + \"!important\",\n color: theme.colors.grey1 + \"!important\",\n },\n \n },\n goBackButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 195,\n height: 32,\n \n backgroundColor: theme.colors.white,\n \n borderRadius: 51,\n \n ...theme.typography.buttons,\n color: \"#ACB7C0\",\n fontWeight: 700,\n \n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey3,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.white + \"!important\",\n color: theme.colors.grey4 + \"!important\",\n }, \n },\n marginForFixedButtonsBlock: {\n height: 64\n }\n}));\n\nexport default useStyles;\n","export default class PatientFormAcceptanceModel {\n isPrivacyNoticeEnabled: boolean;\n hasAcceptedPrivacyNotice: boolean;\n isConsentLetterEnabled: boolean;\n hasReadConsentLetter: boolean;\n signature: string | null;\n ipAddress: string;\n date: Date;\n \n constructor(x?: PatientFormAcceptanceModel) {\n if (typeof x === \"object\") {\n this.isPrivacyNoticeEnabled = x.isPrivacyNoticeEnabled;\n this.hasAcceptedPrivacyNotice = x.hasAcceptedPrivacyNotice;\n this.isConsentLetterEnabled = x.isConsentLetterEnabled;\n this.hasReadConsentLetter = x.hasReadConsentLetter;\n this.signature = x.signature;\n this.ipAddress = x.ipAddress;\n this.date = x.date;\n } else {\n this.isPrivacyNoticeEnabled = false;\n this.hasAcceptedPrivacyNotice = false;\n this.isConsentLetterEnabled = false;\n this.hasReadConsentLetter = false;\n this.signature = null;\n this.ipAddress = \"\";\n this.date = new Date();\n }\n }\n}","import CustomerInfo from \"../customer/customer-info\";\nimport PatientFormSectionModel from \"./patient-form-section-model\";\nimport PatientFormAcceptanceModel from \"./patient-form-acceptance-model\";\n\n\nexport default class PatientFormModel {\n customerInfo: CustomerInfo;\n generalInfo: PatientFormSectionModel[];\n clinicHistory: PatientFormSectionModel[];\n acceptance: PatientFormAcceptanceModel;\n \n constructor(x?: PatientFormModel) {\n if (typeof x === \"object\") {\n this.customerInfo = x.customerInfo;\n this.generalInfo = x.generalInfo;\n this.clinicHistory = x.clinicHistory;\n this.acceptance = x.acceptance;\n } else {\n this.customerInfo = new CustomerInfo();\n this.generalInfo = [];\n this.clinicHistory = [];\n this.acceptance = new PatientFormAcceptanceModel();\n }\n }\n}","import CustomerInfo from \"../customer/customer-info\";\nimport PatientFormModel from \"./patient-form-model\";\nimport { PatientFormValue } from \"./patient-form-value\";\n\nexport default class PatientFormSaveDataRequest {\n accountId: string;\n customerId: string;\n customerInfo: CustomerInfo;\n values: PatientFormValue[];\n hasAcceptedPrivacyNotice: boolean;\n hasReadConsentLetter: boolean;\n signature: string;\n \n constructor(accountId: string, customerId: string, formData: PatientFormModel) {\n this.accountId = accountId;\n this.customerId = customerId;\n this.customerInfo = formData.customerInfo;\n \n this.hasAcceptedPrivacyNotice = formData.acceptance.hasAcceptedPrivacyNotice;\n this.hasReadConsentLetter = formData.acceptance.hasReadConsentLetter;\n this.signature = formData.acceptance.signature ?? \"\";\n \n const generalInfoValues: PatientFormValue[] = formData.generalInfo\n .flatMap(x => x.controls\n .map(c => { \n return { \n fieldId: c.fieldId, \n type: c.type, \n value: c.value ? typeof c.value === \"string\" ? c.value : JSON.stringify(c.value) : null\n } \n }))\n const clinicHistoryValues: PatientFormValue[] = formData.clinicHistory\n .flatMap(x => x.controls\n .map(c => {\n return {\n fieldId: c.fieldId,\n type: c.type,\n value: c.value ? typeof c.value === \"string\" ? c.value : JSON.stringify(c.value) : null\n }\n }))\n \n this.values = [...generalInfoValues, ...clinicHistoryValues];\n }\n}","export default class RadioItem {\n fieldItemId: string | null;\n value: string;\n \n constructor(x?: RadioItem) {\n if (typeof x === \"object\") {\n this.fieldItemId = x.fieldItemId;\n this.value = x.value;\n } else {\n this.fieldItemId = null;\n this.value = \"\";\n }\n }\n}","import RadioItem from \"./radio-item\";\n\nexport default class RadioValue {\n item: RadioItem | null;\n additionalFreeTextValue: string;\n \n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.item = x.item;\n this.additionalFreeTextValue = x.additionalFreeTextValue;\n }\n else if (typeof x === \"string\") {\n const parsedValue = JSON.parse(x);\n this.item = new RadioItem(parsedValue?.item)\n this.additionalFreeTextValue = parsedValue?.additionalFreeTextValue ?? \"\";\n } else {\n this.item = null;\n this.additionalFreeTextValue = \"\";\n }\n }\n}","import PatientFormTypedControl from \"./patient-form-typed-control\";\nimport { PatientFormControlType } from \"./patient-form-control-type\";\nimport PatientFormMobileNumberControl from \"./patient-form-mobile-number-control\";\nimport PatientFormEmailControl from \"./patient-form-email-control\";\nimport PatientFormRadioGroupControl from \"./patient-form-radio-group-control\";\nimport PatientFormTextControl from \"./patient-form-text-control\";\nimport RadioValue from \"../common/radio-value\";\nimport MobileNumber from \"../common/mobile-number\";\n\nexport default class PatientFormSectionModel {\n id: string | null;\n name: string;\n controls: PatientFormTypedControl[];\n \n constructor(x?: PatientFormSectionModel) {\n if (typeof x === \"object\") {\n this.id = x.id;\n this.name = x.name;\n this.controls = x.controls?.map(PatientFormSectionModel.mapControl);\n } else {\n this.id = null;\n this.name = \"\";\n this.controls = [];\n }\n }\n \n private static mapControl(control: PatientFormTypedControl): PatientFormTypedControl {\n switch (control.type) {\n case PatientFormControlType.PhoneNumber:\n {\n let mobileNumberControl = control as PatientFormMobileNumberControl;\n mobileNumberControl.value = control.value ? new MobileNumber(JSON.parse(control.value as string)) : new MobileNumber();\n return mobileNumberControl;\n }\n case PatientFormControlType.Email:\n return control as PatientFormEmailControl;\n case PatientFormControlType.Radio:\n {\n let radioControl = control as PatientFormRadioGroupControl;\n radioControl.value = control.value ? new RadioValue(control.value as string) : null;\n return radioControl;\n }\n case PatientFormControlType.Text:\n return control as PatientFormTextControl;\n default:\n return control;\n }\n }\n}","import { ApiClient } from \"./api-client\";\n\nimport PatientFormModel from \"../models/patientform/patient-form-model\";\nimport CustomerInfo from \"../models/customer/customer-info\";\nimport PatientFormAcceptanceModel from \"../models/patientform/patient-form-acceptance-model\";\nimport PatientFormSaveDataRequest from \"../models/patientform/patient-form-save-data-request\";\nimport PatientFormSectionModel from \"../models/patientform/patient-form-section-model\";\n\n\nexport class PatientFormService {\n private static baseUrl: string = \"/CustomerSite\";\n \n static async getPatientFormData(accountId: string, customerId: string | null): Promise {\n const customerIdRequestValue = customerId === null || customerId === undefined \n ? \"\" \n : customerId;\n \n const data = await ApiClient.get(\n `${this.baseUrl}/GetPatientFormData?accountId=${accountId}&customerId=${customerIdRequestValue}`\n );\n \n const customerInfo = data?.customerInfo ?? new CustomerInfo();\n \n const generalInfo = data?.generalInfo.map((x: any) => new PatientFormSectionModel(x)) ?? [];\n const clinicHistory = data?.clinicHistory.map((x: any) => new PatientFormSectionModel(x)) ?? [];\n \n const newSignatureModel = new PatientFormAcceptanceModel({\n isPrivacyNoticeEnabled: data?.acceptance?.isPrivacyNoticeEnabled ?? false,\n hasAcceptedPrivacyNotice: data?.acceptance?.hasAcceptedPrivacyNotice ?? false,\n isConsentLetterEnabled: data?.acceptance?.isConsentLetterEnabled ?? false,\n hasReadConsentLetter: data?.acceptance?.hasReadConsentLetter ?? false,\n signature: data?.acceptance?.signature ?? null,\n ipAddress: data?.acceptance?.ipAddress ?? \"\",\n date: data?.acceptance?.date ?? new Date(),\n });\n\n return new PatientFormModel({\n customerInfo: customerInfo,\n generalInfo: generalInfo,\n clinicHistory: clinicHistory,\n acceptance: newSignatureModel\n });\n }\n \n static async savePatientFormData(accountId: string, customerId: string, patientFormData: PatientFormModel): Promise {\n const request = new PatientFormSaveDataRequest(accountId, customerId, patientFormData);\n const response = await ApiClient.post(`${this.baseUrl}/SavePatientFormData`, request);\n }\n \n static async getPrivacyNotice(accountId: string): Promise<{ privacyNotice: string, privacyNoticeEnabled: boolean }> {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetPrivacyNotice?accountId=${accountId}`\n );\n \n return data;\n }\n \n static async getInformedConsentLetter(accountId: string): Promise<{ consentLetter: string, consentLetterEnabled: boolean }> {\n const data = await ApiClient.get(\n `${this.baseUrl}/GetInformedConsentLetter?accountId=${accountId}`\n );\n \n return data;\n }\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n },\n header: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n width: isMobile ? 304 : 716,\n height: 48,\n \n paddingLeft: isMobile ? 8 : 28,\n \n backgroundColor: theme.colors.backgroundGrey1,\n \n fontFamily: isMobile ? theme.typography.txtBody1.fontFamily : theme.typography.header4.fontFamily,\n fontStyle: isMobile ? theme.typography.txtBody1.fontStyle : theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.txtBody1.fontSize : theme.typography.header4.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody1.lineHeight : theme.typography.header4.lineHeight,\n \n fontWeight: 700,\n color: theme.colors.grey5\n }\n}));\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n zIndex: 2,\n position: \"relative\",\n left: 0,\n \n padding: 8,\n \n backgroundColor: theme.colors.white,\n \n display: \"flex\"\n },\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n optional: {\n fontWeight: \"normal\",\n },\n divDropdown: {\n display: \"block\",\n marginTop: -7,\n height: 70,\n position: \"relative\"\n },\n inputSelectBtn: {\n width: 300,\n paddingLeft: 100,\n \"& input\": {\n marginLeft: 100,\n width: 140,\n }\n },\n searchInputContainer: {\n position: \"relative\",\n padding: \"0 15px 10px 15px\",\n width: \"-webkit-fill-available\"\n },\n searchIconContainer: {\n position: \"absolute\",\n top: 7,\n right: 21\n },\n titleCountries: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n textAlign: \"left\",\n margin: \"15px auto 10px 15px\",\n },\n divDialCode: {\n position: \"relative\",\n top: -1,\n left: 18,\n display: \"inline\",\n fontSize: 12,\n fontStyle: \"normal\",\n fontFamily: \"Roboto, sans-serif\",\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n iconDropdown: {\n cursor: \"pointer\",\n display: \"inline\",\n textAlign: \"left\",\n position: \"relative\",\n top: -1,\n left: 15,\n \"& svg\": {\n width: 24,\n height: 24,\n }\n },\n inputFlag: {\n display: \"inline\",\n position: \"relative\",\n top: -2,\n left: 12,\n height: 20,\n width: 20,\n \"& svg\": {\n width: \"20px !important\",\n height: \"20px !important\"\n }\n },\n divCodes: {\n cursor: \"pointer\",\n position: \"relative\",\n top: -32,\n left: 0,\n width: 90,\n },\n divModalSelect: {\n backgroundColor: theme.colors.white,\n \n position: \"absolute\",\n top: 0,\n \n width: isMobile ? 288 : 684,\n maxHeight: 310,\n padding: 0,\n \n border: \"solid\",\n borderWidth: 1,\n borderColor: \"#DBDCDD\",\n borderRadius: 5,\n boxShadow: \"0px 4px 4px rgba(166, 166, 166, 0.25)\",\n \n textAlign: \"center\",\n },\n listCountryScroll: {\n maxHeight: isMobile ? 140 : 290,\n \n overflowY: \"scroll\",\n \"&::-webkit-scrollbar\": {\n backgroundColor: theme.colors.white,\n width: 16,\n },\n \"&::-webkit-scrollbar-track\": {\n backgroundColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-track:hover\": {\n backgroundColor: \"#F4F4F4\",\n width: 16,\n },\n \"&::-webkit-scrollbar-thumb\": {\n backgroundColor: \"#babac0\",\n \n border: \"solid\",\n borderRadius: 16,\n borderWidth: 5,\n borderColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-thumb:hover\": {\n backgroundColor: \"#a0a0a5\",\n \n border: \"solid\",\n borderWidth: 4,\n borderColor: theme.colors.white,\n },\n \"&::-webkit-scrollbar-button\": {\n display: \"none\",\n },\n },\n listCountry: {\n padding: \"5px 0\",\n \"&:first-child\": {\n paddingTop: 10,\n },\n borderBottom: \"1px solid #F6F6F6\",\n marginBottom: 0,\n },\n countryName: {\n textAlign: \"left\",\n whiteSpace: \"nowrap\",\n textOverflow: \"ellipsis\",\n width: \"75%\",\n overflow: \"hidden\",\n display: \"inline-block\",\n paddingTop: \"1px\",\n height: 40\n },\n countryIcon: {\n marginRight: 10,\n },\n button: {\n width: 300,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n color: \"#786EFF\",\n border: \"1px solid #786EFF\",\n \n },\n elementList: {\n height: 35,\n padding: \"5px 5px 10px 10px\",\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n fontSize: 14,\n display: \"flex\",\n color: theme.colors.grey5\n },\n divInputEdit: {\n margin: \"auto\",\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n input: {\n marginLeft: \"auto\",\n \"& input\": {\n width: 250,\n }\n },\n inputClassic: {\n marginLeft: 85,\n border: \"none\",\n width: \"55%\",\n height: 38,\n backgroundColor: theme.colors.white,\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n opacity: \"0.42\",\n },\n padding: \"13px 0px 13px 12px\",\n borderRadius: 5,\n \"&:focus\": {\n border: \"none\",\n padding: \"14px 0px 14px 12px\",\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: \"none\",\n },\n },\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"none\",\n padding: \"14px 0px 14px 12px\",\n \"&$inputError\": {\n color: theme.colors.clearRed,\n border: \"none\",\n },\n },\n },\n iconPlus: {\n border: \"none\",\n backgroundColor: \"transparent\",\n position: \"relative\",\n top: -30,\n left: 130,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n padding: 0,\n color: \"#6462F3\",\n \"&:focus\": {\n outline: \"none\"\n }\n },\n inputError: {\n color: `${theme.colors.clearRed} !important`,\n border: `solid 1px ${theme.colors.clearRed} !important`,\n \"& input\": {\n color: `${theme.colors.clearRed} !important`,\n },\n },\n iconSave: {\n border: \"none\",\n backgroundColor: \"transparent\",\n position: \"relative\",\n top: -30,\n left: 130,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n padding: 0,\n color: \"#6462F3\",\n \"&:focus\": {\n outline: \"none\"\n }\n },\n divItemEdit: {\n height: 32,\n display: \"block\"\n },\n btnInputNew: {\n height: 32,\n \"& .MuiInputBase-root\": {\n height: 32\n }\n },\n classRow: {\n cursor: \"pointer\",\n \"& button\": {\n visibility: \"hidden\",\n },\n \"&:hover\": {\n backgroundColor: \"#e1e9fe\",\n \"& button\": {\n visibility: \"visible\"\n }\n }\n },\n btnRow: {\n width: 32,\n height: 32,\n borderRadius: 51,\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12,\n textTransform: \"none\",\n border: \"none\",\n padding: 0,\n margin: 0,\n backgroundColor: \"transparent\",\n \"&:focus\": {\n outline: \"none\"\n }\n },\n divIconsRow: {\n right: 0,\n textAlign: \"center\",\n marginLeft: \"auto\",\n float: \"right\",\n paddingTop: 0\n \n },\n inputGroup: {\n width: isMobile ? 288 : 668,\n height: 40,\n backgroundColor: theme.colors.white,\n borderRadius: 5,\n border: \"1px solid #dddddd\"\n }\n}));\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n label: {\n ...theme.typography.buttons,\n fontFamily: \"Inter, sans-serif\",\n fontWeight: \"bold\",\n display: \"inline-flex\",\n color: theme.colors.grey5,\n marginBottom: 8,\n overflowWrap: \"break-word\",\n wordBreak: \"break-word\"\n },\n dot: {\n ...theme.typography.buttons,\n color: theme.colors.clearMain,\n marginLeft: 5\n },\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport { Typography } from \"@material-ui/core\";\n\nimport { UseControlLabelProps } from \"./props\";\nimport useStyles from \"./css\";\n\n\nexport default function useControlLabel(props: UseControlLabelProps) {\n \n const { label, required, labelClass } = props;\n \n const LabelComponent = label;\n \n const classes = useStyles();\n \n const LabelWithDot = () =>\n
\n \n {typeof label === \"string\" ? label : }\n \n *\n
\n \n const LabelWithoutDot = () =>\n
\n \n {typeof label === \"string\" ? label : }\n \n
\n \n return required ? LabelWithDot : LabelWithoutDot;\n}","import React, { useEffect, useState } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport Modal from \"@material-ui/core/Modal\";\n\nimport MaskedInput from \"react-text-mask\";\n\nimport useStyles from \"./css\";\nimport Country from \"../../../models/common/country\";\nimport { GetMobileMaskByTemp } from \"../../../constants/masks\";\nimport CountryFlagIcon from \"../../../assets/flags\";\nimport { SearchIcon, SortDownIcon } from \"../../../assets/icons\";\nimport { PatientFormMobileInputProps } from \"./props\";\nimport useControlLabel from \"../../../hooks/useControlLabel\";\nimport MobileNumber from '../../../models/common/mobile-number';\nimport Input from \"../Input\";\n\n\nexport default function PatientFormMobileInput(props: PatientFormMobileInputProps) { \n const { t } = useTranslation([\"patient-form\"]);\n \n const countries = useAppSelector(state => state.scheduler.countries);\n const countryInSettings = useAppSelector(state => state.scheduler.countryInSettings);\n const {\n mobileNumber,\n setMobileNumber,\n isMobileView,\n required,\n label,\n isValid,\n onBlur \n } = props;\n \n const classes = useStyles(isMobileView)();\n \n const [openModal, setOpenModal] = useState(false);\n \n const [countrySelected, setCountrySelected] = useState(countryInSettings);\n const [searchValue, setSearchValue] = useState(null);\n const [masking, setMasking] = useState(GetMobileMaskByTemp(countryInSettings.dialTemplate));\n const [isValidNumber, setIsValidNumber] = useState(true);\n \n function setMobile(body: string) {\n if (!mobileNumber?.countryIso) {\n setMobileNumber(new MobileNumber({ countryIso: countrySelected.iso3, body }))\n } else {\n setMobileNumber(new MobileNumber({ ...mobileNumber, body }))\n }\n }\n \n function setIso3(countryIso: string) {\n setMobileNumber(new MobileNumber({ ...mobileNumber, countryIso }))\n }\n \n function handleCountrySelected(country: Country) {\n setSearchValue(null);\n setCountrySelected(country);\n setOpenModal(false);\n \n let newNumber: string;\n if (mobileNumber?.body) {\n newNumber = mobileNumber.body?.substring(0, country.dialDigits || countryInSettings.dialDigits);\n setMobile(newNumber);\n } else {\n newNumber = \"\";\n }\n \n const m = GetMobileMaskByTemp(country.dialTemplate || countryInSettings.dialTemplate);\n setMasking(m);\n setMobileNumber({ countryIso: country.iso3, body: newNumber })\n \n }\n \n function handleSearch(searchValue: string) {\n setSearchValue(searchValue);\n }\n \n function filterCountries (item: Country) {\n const lowercaseSearchValue = searchValue!.toLowerCase();\n let isSearchByDialCode = /^\\+?\\d+$/.test(searchValue!);\n \n if (searchValue!.trim().length < 2 && !isSearchByDialCode) {\n return true;\n }\n \n return (\n item.name.toLowerCase().includes(lowercaseSearchValue) ||\n item.dialCode.toString().startsWith(lowercaseSearchValue.replace(\"+\", \"\"))\n );\n }\n \n const handleMobileChange = (event: React.ChangeEvent<{ value: string }>) => {\n const mobile = event.target.value.replace(/[^0-9]/g, \"\");\n \n setMobile(mobile);\n };\n \n const validate = (mobileComplete: string, digits: number): boolean => {\n let validDig = false;\n \n if (mobileComplete) {\n const mobile = mobileComplete.replace(/[^0-9]/g, \"\");\n validDig = (digits === 7 && /^\\d{7}$/.test(mobile!)) ||\n (digits === 8 && /^\\d{8}$/.test(mobile!)) ||\n (digits === 9 && /^\\d{9}$/.test(mobile!)) ||\n (digits === 10 && /^\\d{10}$/.test(mobile!)) ||\n (digits === 11 && /^\\d{11}$/.test(mobile!)) ||\n (digits === 12 && /^\\d{12}$/.test(mobile!));\n \n setIsValidNumber(validDig);\n if (isValid) isValid(validDig);\n }\n \n return validDig;\n }\n \n useEffect(() => {\n \n (async () => {\n \n let iso = mobileNumber?.countryIso ?? countryInSettings?.iso3;\n \n const countryByIso = countries.filter((x: Country) => x.iso3 === iso);\n \n if (countryByIso.length > 0) {\n const country = countryByIso[0];\n setCountrySelected(country);\n setIso3(iso)\n const m = GetMobileMaskByTemp(country.dialTemplate ?? countryInSettings.dialTemplate);\n setMasking(m);\n }\n })();\n }, [mobileNumber?.countryIso, countries]);\n \n useEffect(() => {\n \n if (mobileNumber?.body) {\n const m = GetMobileMaskByTemp(countrySelected.dialTemplate);\n setMasking(m);\n }\n \n }, [countrySelected]);\n \n const handleOpenModal = () => {\n setOpenModal(true);\n }\n \n const handleCloseModal = () => {\n setSearchValue(null);\n setOpenModal(false);\n }\n \n const inputLabel = t(label ?? \"Mobile\") + \" \";\n const ControlLabel = useControlLabel({ label: inputLabel, required })\n \n function countryAsListItem(country: Country) {\n return (\n
\n
handleCountrySelected(country)}>\n \n \n \n
\n {country.name} (+{country.dialCode})\n
\n
\n
\n );\n }\n \n return (\n
\n
\n \n \n \n
\n {if (onBlur) onBlur(validate(mobileNumber.body, countrySelected?.dialDigits))}}\n value={mobileNumber?.body || \"\"}\n />\n \n
\n
\n \n
\n
\n \n
\n
\n {countrySelected.dialCode !== undefined ? `+${countrySelected.dialCode}` : \"+52\"}\n
\n
\n \n
\n
\n \n \n
\n
{t(\"Countries\")}
\n
\n handleSearch(event.target.value)}\n />\n
\n
\n
\n {(searchValue === null\n ? countries\n : countries.filter((item: Country) => filterCountries(item))).map(countryAsListItem)}\n
\n
\n \n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) =>\n makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n padding: 8,\n \n backgroundColor: theme.colors.white\n },\n content: {\n },\n input: {\n backgroundColor: theme.colors.white,\n \n width: isMobile ? 288 : 668,\n height: 40,\n \n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n \n ...theme.typography.txtBody2,\n color: theme.colors.grey5\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: theme.colors.grey5,\n opacity: 0.8\n },\n },\n inputFocused: {\n border: \"solid 1px #6462F3\",\n padding: \"14px 0px 14px 12px\",\n width: isMobile ? 288 : 668,\n },\n inputDisabled: {\n color: \"#676767\",\n },\n inputError: {\n color: theme.colors.clearRed,\n border: \"solid\",\n borderWidth: 1,\n borderColor: theme.colors.clearRed\n },\n }));\n\nexport default useStyles;\n","import React, { useState } from 'react';\n\n\nexport default function useInputFirstTouch() {\n \n const [hasBeenTouched, setHasBeenTouched] = useState(false)\n \n function handleFirstTouch() {\n if (hasBeenTouched) return;\n setHasBeenTouched(true);\n }\n \n return { hasBeenTouched, handleFirstTouch }\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { InputBase } from \"@material-ui/core\";\n\nimport { PatientFormTextInputProps } from \"./props\";\nimport useStyles from \"./css\";\n\nimport useControlLabel from \"../../../hooks/useControlLabel\";\nimport useInputFirstTouch from \"../../../hooks/useInputFirstTouch\";\n\n\nexport default function PatientFormTextInput(props: PatientFormTextInputProps) {\n \n const { value, setValue, label, required, isMobile, placeholder, isValid, disabled, maxLength } = props;\n \n const classes = useStyles(isMobile)();\n \n const { t } = useTranslation(\"patient-form\");\n \n function handleOnChange(event: any) {\n setValue(event.target.value);\n }\n \n function isError(): boolean {\n if (!isValid || isValid(value) === undefined) {\n return false;\n }\n return required && !isValid(value);\n }\n \n const maxPlaceholderLength = isMobile ? 46 : 99\n \n function getPlaceholder() {\n const fullText = `${t(\"Write here your answer for\")} ${placeholder}`;\n return fullText.length > maxPlaceholderLength\n ? `${fullText.substring(0, maxPlaceholderLength)}...`\n : fullText\n }\n \n const ControlLabel = useControlLabel({ label, required });\n const { hasBeenTouched, handleFirstTouch } = useInputFirstTouch();\n \n return (\n
\n
\n {!!label &&\n \n }\n \n
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n \n padding: 8,\n \n width: \"100%\",\n \n backgroundColor: theme.colors.white\n },\n radios: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n },\n radioContainer: {\n \n },\n}));\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n ...theme.typography.subtitle2,\n \n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n radio: {\n color: theme.colors.grey5,\n paddingRight: 9,\n \"& svg\": {\n width: 14,\n height: 14\n }\n },\n text: {\n paddingRight: 3,\n \n ...theme.typography.txtBody1,\n color: theme.colors.grey5\n },\n checked: {\n color: theme.colors.clearMain,\n fontWeight: 700,\n }\n })\n);\n\nexport default useStyles;","import React from \"react\";\n\nimport { Radio } from \"@material-ui/core\";\n\nimport useStyles from \"./css\";\nimport { PatientFormRadioProps } from \"./props\";\n\n\nexport default function PatientFormRadio(props: PatientFormRadioProps) {\n \n const { value, checked, onCheck } = props;\n \n const classes = useStyles();\n \n function handleChecking() {\n onCheck();\n }\n \n return (\n
\n \n
{value}
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) =>\n makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n \n padding: isMobile ? 0 : 8,\n paddingTop: 8,\n \n backgroundColor: theme.colors.white\n },\n input: {\n backgroundColor: theme.colors.white,\n \n width: isMobile ? 288 : 668,\n height: 40,\n \n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n \n ...theme.typography.txtBody2,\n color: theme.colors.grey5\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey6,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n },\n inputFocused: {\n border: \"solid 1px #6462F3\",\n padding: \"14px 0px 14px 12px\",\n width: isMobile ? 288 : 668,\n },\n inputDisabled: {\n color: \"#676767\",\n }\n }));\n\nexport default useStyles;\n","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { InputBase } from \"@material-ui/core\";\n\nimport { PatientFormFreeTextInputProps } from \"./props\";\nimport useStyles from \"./css\";\n\n\nexport default function PatientFormFreeTextInput(props: PatientFormFreeTextInputProps) {\n \n const { value, setValue, placeholder, isMobile, disabled } = props;\n \n const { t } = useTranslation(\"patient-form\");\n \n const maxLength = 180;\n \n const classes = useStyles(isMobile)();\n \n function handleOnChange(event: any) {\n setValue(event.target.value);\n }\n \n const maxPlaceholderLength = isMobile ? 46 : 99\n \n function getPlaceholder() {\n const fullText = `${t(\"Write here your answer for\")} ${placeholder}`;\n return fullText.length > maxPlaceholderLength\n ? `${fullText.substring(0, maxPlaceholderLength)}...`\n : fullText\n }\n \n return (\n
\n \n
\n );\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { PatientFormRadioGroupProps } from \"./props\";\nimport useStyles from \"./css\";\nimport PatientFormRadio from \"../PatientFormRadio\";\nimport RadioValue from \"../../../models/common/radio-value\";\nimport RadioItem from \"../../../models/common/radio-item\";\n\nimport useControlLabel from \"../../../hooks/useControlLabel\";\nimport PatientFormFreeTextInput from \"../PatientFormFreeTextInput\";\n\n\nexport default function PatientFormRadioGroup(props: PatientFormRadioGroupProps) {\n \n const { values, value, setValue, label, required, hasFreeText, isMobile } = props;\n \n const classes = useStyles();\n \n const { t } = useTranslation(\"patient-form-sections\");\n \n const ControlLabel = useControlLabel({ label, required });\n \n function setCheckedValue(item: RadioItem) {\n let newValue;\n if (value === null) {\n newValue = new RadioValue({ item, additionalFreeTextValue: \"\" })\n } else {\n newValue = new RadioValue({ ...value, item })\n }\n setValue(newValue)\n }\n \n function setFreeTextValue(additionalFreeTextValue: string) {\n let newValue;\n if (value === null) {\n newValue = new RadioValue({ item: values[0], additionalFreeTextValue })\n } else {\n newValue = new RadioValue({ ...value, additionalFreeTextValue })\n }\n setValue(newValue)\n }\n \n function valueAsRenderItem(item: RadioItem) {\n return (\n
\n setCheckedValue(item)}\n />\n
\n );\n }\n \n return (\n
\n \n
\n {\n values.map(valueAsRenderItem)\n }\n
\n {\n hasFreeText\n ?\n \n :\n null\n }\n
\n );\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { PatientFormControlProps } from \"./props\";\nimport { PatientFormControlType } from \"../../../models/patientform/patient-form-control-type\";\nimport PatientFormMobileNumberControl from \"../../../models/patientform/patient-form-mobile-number-control\";\nimport PatientFormEmailControl from \"../../../models/patientform/patient-form-email-control\";\nimport PatientFormRadioGroupControl from \"../../../models/patientform/patient-form-radio-group-control\";\nimport PatientFormTextControl from \"../../../models/patientform/patient-form-text-control\";\nimport PatientFormMobileInput from \"../../common/PatientFormMobileInput\";\nimport PatientFormTextInput from \"../../common/PatientFormTextInput\";\nimport { Regex } from \"../../../constants\";\nimport PatientFormRadioGroup from \"../../common/PatientFormRadioGroup\";\n\n\nexport default function PatientFormControl(props: PatientFormControlProps) {\n \n const { control, setControlValue, isMobile } = props;\n \n const { t } = useTranslation(\"patient-form-sections\");\n \n function validateEmailInput(value: string) {\n return Regex.Email.test(value);\n }\n \n function validateTextInput(value: string) {\n return value !== \"\";\n }\n \n function concreteControl() {\n switch (control.type) {\n case PatientFormControlType.PhoneNumber:\n const mobileNumberControl = control as PatientFormMobileNumberControl;\n return (\n \n );\n case PatientFormControlType.Email:\n const emailControl = control as PatientFormEmailControl;\n return (\n \n );\n case PatientFormControlType.Radio:\n const radioControl = control as PatientFormRadioGroupControl;\n return (\n \n );\n case PatientFormControlType.Text:\n const textControl = control as PatientFormTextControl;\n return (\n \n );\n default:\n return null;\n }\n }\n \n return (\n <>\n {concreteControl()}\n \n );\n}","export function GetPatientFormFieldKey(customerId: string, fieldId: string) {\n return `patient_form_${customerId}_${fieldId}`;\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { PatientFormSectionProps } from \"./props\";\nimport useStyles from \"./css\";\nimport PatientFormTypedControl from \"../../../models/patientform/patient-form-typed-control\";\nimport PatientFormControl from \"../PatientFormControl\";\nimport MobileNumber from \"../../../models/common/mobile-number\";\nimport RadioValue from \"../../../models/common/radio-value\";\nimport { useLocation } from 'react-router-dom';\nimport { GetPatientFormFieldKey } from '../../../constants/local-storage-keys';\n\n\nexport default function PatientFormSection(props: PatientFormSectionProps) {\n \n const { section, setSection, isMobile } = props;\n \n const classes = useStyles(isMobile)();\n\n const search = useLocation().search;\n const searchParams = new URLSearchParams(search);\n const customerId = searchParams.get(\"customerId\");\n \n const { t } = useTranslation(\"patient-form-sections\");\n \n const setControlValue = (index: number, fieldId: string) => (newControlValue: string | MobileNumber | RadioValue) => {\n const newSectionValue = { ...section }\n newSectionValue.controls[index].value = newControlValue;\n localStorage.setItem(GetPatientFormFieldKey(customerId!, fieldId), JSON.stringify(newControlValue))\n setSection(newSectionValue);\n }\n \n function mapControlToRenderElement(control: PatientFormTypedControl, index: number) {\n return \n }\n \n return (\n
\n
{t(section.name)}
\n {\n section.controls.map(mapControlToRenderElement)\n }\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n \n height: isMobile ? 84 : 159,\n \n paddingTop: isMobile ? 19 : 36,\n paddingLeft: isMobile ? 24 : 44,\n \n backgroundColor: theme.colors.white\n },\n content: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n \n height: isMobile ? 43 : 60,\n },\n headers: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"space-between\",\n alignItems: \"flex-start\",\n \n marginLeft: isMobile ? 14 : 36,\n },\n brandingCircle: {\n height: isMobile ? 43 : 60,\n width: isMobile ? 43 : 60,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n imageCircle: {\n height: isMobile ? 43 : 60,\n width: isMobile ? 43 : 60,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n brandingTitle: {\n fontFamily: theme.typography.header2.fontFamily,\n fontStyle: theme.typography.header2.fontStyle,\n fontSize: isMobile ? theme.typography.header4.fontSize : theme.typography.header2.fontSize,\n lineHeight: isMobile ? theme.typography.header4.lineHeight : theme.typography.header2.lineHeight,\n \n fontWeight: 700,\n color: theme.colors.grey5,\n },\n patientFormTitle: {\n fontFamily: isMobile ? theme.typography.txtBody2.fontFamily : theme.typography.header4.fontFamily,\n fontStyle: isMobile ? theme.typography.txtBody2.fontStyle : theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.txtBody2.fontSize : theme.typography.header4.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody2.lineHeight : theme.typography.header4.lineHeight,\n \n fontWeight: 400,\n color: theme.colors.grey5,\n }\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport Typography from \"@material-ui/core/Typography\";\n\nimport { ClearBrandIcon } from \"../../../assets/icons\";\nimport { PatientFormHeaderProps } from \"./props\";\nimport useStyles from \"./css\";\n\n\nexport default function PatientFormHeader(props: PatientFormHeaderProps) {\n \n const { account, isMobile } = props;\n \n const { t } = useTranslation(\"patient-form\");\n \n const classes = useStyles(isMobile)();\n \n return (\n
\n
\n {account && account.logo ? (\n
\n ) : (\n \n \n
\n )}\n
\n \n {account.name || \"New Life\"}\n \n \n {t(\"Patient form\")}\n \n
\n
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n \n },\n sectionHeader: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n width: isMobile ? 304 : 716,\n height: 48,\n \n paddingLeft: isMobile ? 8 : 28,\n \n backgroundColor: theme.colors.backgroundGrey1,\n \n fontFamily: isMobile ? theme.typography.txtBody1.fontFamily : theme.typography.header4.fontFamily,\n fontStyle: isMobile ? theme.typography.txtBody1.fontStyle : theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.txtBody1.fontSize : theme.typography.header4.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody1.lineHeight : theme.typography.header4.lineHeight,\n \n fontWeight: 700,\n color: theme.colors.grey5\n }\n}));\n\nexport default useStyles;\n","export enum Gender {\n Male = 1,\n Female,\n PreferNotToSay,\n Custom\n}\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\", \n padding: 8,\n backgroundColor: theme.colors.white,\n },\n datePicker: {\n position: \"relative\",\n \n alignItems: \"center\",\n alignContent: \"center\",\n justifyContent: \"center\",\n },\n input: {\n width: isMobile ? 288 : 668,\n height: 40,\n \n backgroundColor: theme.colors.white,\n \n \n padding: \"13px 0px 13px 12px\",\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n \n ...theme.typography.txtBody2,\n color: theme.colors.grey5\n },\n inputText: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey5,\n \"&::placeholder\": {\n fontWeight: \"normal\",\n color: \"#676767\",\n },\n },\n inputDisabled: {\n backgroundColor: theme.colors.grey1,\n color: theme.colors.grey4,\n },\n inputError: {\n color: theme.colors.clearRed,\n \n border: \"solid\",\n borderWidth: 1,\n borderColor: theme.colors.clearRed,\n },\n \n icon: {\n position: \"absolute\",\n right: 12,\n top: 12,\n \n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n cursor: \"text\",\n },\n datePickerDialog: {\n minWidth: 304,\n width: \"304px !important\",\n },\n}));\n\nexport default useStyles;\n","import React, { useState } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport DateFnsUtils from \"@date-io/date-fns\";\nimport { DatePicker, KeyboardDatePicker, MuiPickersUtilsProvider } from \"@material-ui/pickers\";\nimport esLocale from \"date-fns/locale/es\";\nimport enLocale from \"date-fns/locale/en-US\";\n\nimport useStyles from \"./css\";\nimport { PatientFormDateInputProps } from \"./props\";\n\nimport useControlLabel from \"../../../hooks/useControlLabel\";\nimport useInputFirstTouch from \"../../../hooks/useInputFirstTouch\";\nimport { MaterialUiPickersDate } from \"@material-ui/pickers/typings/date\";\nimport CalendarIcon from \"../../../assets/icons/CalendarIcon\";\n\n\nexport default function PatientFormDateInput(props: PatientFormDateInputProps) {\n \n const { value, setValue, label, placeholder, isValid, required, isMobile } = props;\n \n const classes = useStyles(isMobile)();\n \n const { t } = useTranslation(\"patient-form\");\n \n const [open, setOpen] = useState(false);\n \n const localeApp = useAppSelector(state => state.scheduler.locale);\n \n function isError(): boolean {\n if (!isValid || isValid(value) === undefined) {\n return false;\n }\n return required && !isValid(value);\n }\n \n function getLocale() {\n switch (localeApp) {\n case \"es\":\n return esLocale;\n \n default:\n return enLocale;\n }\n }\n \n function handleChangeDate(date: MaterialUiPickersDate) {\n const actualDate = date as Date;\n setValue(actualDate);\n }\n \n const ControlLabel = useControlLabel({ label, required });\n const { hasBeenTouched, handleFirstTouch } = useInputFirstTouch();\n \n const maxPlaceholderLength = isMobile ? 42 : 95\n \n function getPlaceholder() {\n const fullText = `${t(\"Write here your answer for\")} ${placeholder}`;\n return fullText.length > maxPlaceholderLength\n ? `${fullText.substring(0, maxPlaceholderLength)}...`\n : fullText\n }\n \n return (\n
\n \n
\n \n setOpen(true)}\n onClose={() => setOpen(false)}\n autoOk\n fullWidth\n openTo=\"date\"\n value={value}\n onChange={handleChangeDate}\n onBlur={() => handleFirstTouch()}\n disableFuture\n InputProps={{\n disableUnderline: true,\n placeholder: getPlaceholder(),\n className: `${classes.input} ${isError() ? classes.inputError : \"\"}`,\n classes:\n {\n input: classes.inputText,\n disabled: classes.inputDisabled\n }\n }}\n DialogProps={{\n PaperProps: {\n classes: { \n root: classes.datePickerDialog \n }\n }\n }}\n />\n
setOpen(true)}>\n \n
\n
\n
\n
\n );\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from 'react-router-dom';\n\n\nimport { PatientFormBasicInformationProps } from \"./props\";\nimport useStyles from \"./css\";\nimport MobileNumber from \"../../../models/common/mobile-number\";\nimport { Gender } from \"../../../models/customer/gender\";\nimport PatientFormTextInput from \"../../common/PatientFormTextInput\";\nimport { Validation } from \"../../../constants\";\nimport { GetPatientFormFieldKey } from '../../../constants/local-storage-keys';\nimport PatientFormRadioGroup from \"../../common/PatientFormRadioGroup\";\nimport PatientFormMobileInput from \"../../common/PatientFormMobileInput\";\nimport PatientFormDateInput from \"../../common/PatientFormDateInput\";\nimport RadioValue from \"../../../models/common/radio-value\";\nimport RadioItem from \"../../../models/common/radio-item\";\n\n\nexport default function PatientFormBasicInformation(props: PatientFormBasicInformationProps) {\n \n const { customerInfo, setCustomerInfo, isMobile } = props;\n \n const classes = useStyles(isMobile)();\n\n const search = useLocation().search;\n const searchParams = new URLSearchParams(search);\n const customerId = searchParams.get(\"customerId\");\n \n const { t } = useTranslation(\"patient-form\");\n \n const maleGender = new RadioItem({ fieldItemId: Gender[Gender.Male], value: t(\"Male\")});\n const femaleGender = new RadioItem({ fieldItemId: Gender[Gender.Female], value: t(\"Female\")});\n const secretGender = new RadioItem({ fieldItemId: Gender[Gender.PreferNotToSay], value: t(\"I prefer not to say\") });\n const customGender = new RadioItem({ fieldItemId: Gender[Gender.Custom], value: t(\"Custom\") });\n \n const genders = [\n maleGender,\n femaleGender,\n secretGender,\n customGender\n ];\n \n function setName(name: string) {\n setCustomerInfo({ ...customerInfo, name })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"first_name\"), name);\n }\n \n function setLastName(lastName: string) {\n setCustomerInfo({ ...customerInfo, lastName })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"last_name\"), lastName);\n }\n \n function setEmail(email: string) {\n setCustomerInfo({ ...customerInfo, email })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"email\"), email);\n }\n \n function setGender(value: RadioValue) {\n if (!value?.item?.fieldItemId) return;\n let gender;\n switch (value.item.fieldItemId) {\n case Gender[Gender.Male]:\n gender = Gender.Male;\n break;\n case Gender[Gender.Female]:\n gender = Gender.Female;\n break;\n case Gender[Gender.PreferNotToSay]:\n gender = Gender.PreferNotToSay;\n break;\n default:\n gender = Gender.Custom;\n break;\n }\n setCustomerInfo({ ...customerInfo, gender })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"gender\"), JSON.stringify(gender));\n }\n \n function setCustomGender(customGender: string) {\n setCustomerInfo({ ...customerInfo, customGender })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"gender_custom\"), customGender);\n }\n \n function setMobile(mobile: MobileNumber) {\n setCustomerInfo({ ...customerInfo, mobile })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"mobile\"), JSON.stringify(mobile));\n }\n \n function setDateOfBirth(dateOfBirth: Date) {\n setCustomerInfo({ ...customerInfo, dateOfBirth })\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"dob\"), JSON.stringify(dateOfBirth));\n }\n \n function genderAsRadioValue(gender: Gender | null) {\n switch (gender) {\n case Gender.Male:\n return new RadioValue({ item: maleGender, freeTextValue: \"\" });\n case Gender.Female:\n return new RadioValue({ item: femaleGender, freeTextValue: \"\" });\n case Gender.PreferNotToSay:\n return new RadioValue({ item: secretGender, freeTextValue: \"\" });\n case Gender.Custom:\n return new RadioValue({ item: customGender, freeTextValue: \"\" });\n default:\n return new RadioValue();\n }\n }\n \n return (\n
\n
{t(\"Basic patient information\")}
\n \n \n \n \n \n \n \n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n backgroundColor: theme.colors.backgroundGrey1\n },\n stepper: {\n height: 85,\n width: isMobile ? 320 : 360,\n \n padding: 8,\n paddingTop: 12,\n \n backgroundColor: theme.colors.backgroundGrey1\n },\n labelAlternativeLabel: {\n \n ...theme.typography.txtBody2,\n color: `${theme.colors.grey3} !important`,\n \"& .MuiStepLabel-active\": {\n color: `${theme.colors.clearMain} !important`,\n fontWeight: 700,\n },\n \"& .MuiStepLabel-label\": {\n marginTop: 8,\n }\n },\n labelCompleted: {\n color: `${theme.colors.clearGreen} !important`\n },\n}));\n\nexport const useStepIconStyles = makeStyles((theme) => ({\n root: {\n color: theme.colors.grey2,\n display: 'flex',\n height: 22,\n alignItems: 'center',\n },\n circle: {\n width: 14,\n height: 14,\n borderRadius: '50%',\n border: `1px solid ${theme.colors.grey2}`\n },\n activeCircle: {\n width: 14,\n height: 14,\n borderRadius: '50%',\n border: `1px solid ${theme.colors.clearMain}`,\n backgroundColor: theme.colors.clearMain\n },\n completed: {\n color: theme.colors.clearGreen,\n zIndex: 1,\n fontSize: 22,\n fontWeight: \"bold\"\n }})\n);\n\nexport default useStyles;\n","import React from 'react';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { Stepper, Step, StepConnector, StepLabel, withStyles } from \"@material-ui/core\";\n\nimport { PatientFormStepperProps } from \"./props\";\nimport useStyles, { useStepIconStyles } from './css';\nimport MuiCheckIcon from '../../../assets/icons/MuiCheckIcon';\n\n\nexport default function PatientFormStepper(props: PatientFormStepperProps) {\n\n const { activeStep, isMobile, isClinicalHistoryStepEnabled, stepsProgress, stepsProgressRequired } = props;\n\n const { t } = useTranslation(\"patient-form\");\n\n const classes = useStyles(isMobile)();\n\n const StyledStepperConnector = withStyles((theme) => ({\n alternativeLabel: {\n top: 10,\n left: 'calc(-50% + 16px)',\n right: 'calc(50% + 16px)',\n },\n active: {\n '& $line': {\n borderColor: theme.colors.clearGreen,\n },\n },\n completed: {\n '& $line': {\n borderColor: theme.colors.clearGreen,\n },\n },\n line: {\n borderColor: theme.colors.grey2,\n borderTopWidth: 1,\n borderRadius: 1,\n },\n }))(StepConnector);\n\n function StepIcon(props: any) {\n const classes = useStepIconStyles();\n const { active, completed } = props;\n\n return (\n \n {completed ? : active ?
:\n
}\n
\n );\n }\n\n return (\n
\n }\n className={classes.stepper}\n >\n \n \n
\n {t(\"General info\")}\n
\n
\n {`${stepsProgress[0]}/${stepsProgressRequired[0]}`}\n
\n \n
\n {\n isClinicalHistoryStepEnabled &&\n \n \n
\n {t(\"Clinic history\")}\n
\n
\n {`${stepsProgress[1]}/${stepsProgressRequired[1]}`}\n
\n \n
\n }\n \n \n
\n {t(\"Signature\")}\n
\n
\n {`${stepsProgress[2]}/${stepsProgressRequired[2]}`}\n
\n \n
\n \n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n \n },\n sectionHeader: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n width: isMobile ? 304 : 716,\n height: 48,\n \n paddingLeft: isMobile ? 8 : 28,\n \n backgroundColor: theme.colors.backgroundGrey1,\n \n fontFamily: isMobile ? theme.typography.txtBody1.fontFamily : theme.typography.header4.fontFamily,\n fontStyle: isMobile ? theme.typography.txtBody1.fontStyle : theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.txtBody1.fontSize : theme.typography.header4.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody1.lineHeight : theme.typography.header4.lineHeight,\n \n fontWeight: 700,\n color: theme.colors.grey5\n },\n permissionsSection: {\n \n padding: 8,\n paddingBottom: 32,\n \n backgroundColor: theme.colors.white,\n },\n checkboxContainer: {\n marginTop: 24,\n },\n checkBoxText: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey5,\n fontWeight: 400\n },\n link: {\n fontWeight: 700,\n \"&:focus\": {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n },\n \"&:hover\": {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n },\n \"&:visited\": {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n },\n \"&:link\" : {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n },\n \"&:active\": {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n }\n }\n}));\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n },\n checkboxRoot: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\"\n },\n checkbox: {\n color: theme.colors.clearMain,\n '&.Mui-checked': {\n color: theme.colors.clearMain,\n \"&:hover\": {\n backgroundColor: \"transparent\"\n }\n },\n \"&:hover\": {\n backgroundColor: \"transparent\"\n }\n },\n text: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n fontWeight: 700\n }\n })\n);\n\nexport default useStyles;","import React from \"react\";\n\nimport { Checkbox } from \"@material-ui/core\";\n\nimport { CheckboxWithLabelProps } from \"./props\";\nimport useStyles from \"./css\";\nimport useControlLabel from \"../../../hooks/useControlLabel\";\n\n\nexport default function CheckboxWithLabel(props: CheckboxWithLabelProps) {\n \n const { checked, setChecked, text, label, required } = props;\n \n const classes = useStyles();\n \n function handleChecking() {\n setChecked(!checked);\n }\n \n const ControlLabel = useControlLabel({ label, required });\n \n return (\n
\n \n
\n \n {typeof text === \"string\"\n ?
{text}
\n : text ?? null\n }\n
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n \n width: isMobile ? 304 : 716,\n height: isMobile ? 389 : 427,\n \n paddingTop: 24,\n paddingRight: isMobile ? 8 : 24,\n paddingBottom: 24,\n paddingLeft: isMobile ? 8 : 24,\n \n backgroundColor: theme.colors.white\n },\n signatureLabel: {\n alignSelf: \"flex-start\"\n },\n signatureBlock: {\n marginTop: 16,\n marginBottom: 16,\n \n border: \"solid\",\n borderColor: theme.colors.grey2,\n borderRadius: 10,\n borderWidth: 1,\n },\n deleteSignatureButtonBlock: {\n alignSelf: isMobile ? \"center\" : \"flex-end\",\n \n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 140,\n height: 32,\n },\n deleteSignatureButton: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n \n width: 140,\n height: 32,\n \n backgroundColor: theme.colors.white,\n \n border: \"solid\",\n borderWidth: 1,\n borderRadius: 51,\n borderColor: theme.colors.grey4,\n \n ...theme.typography.buttons,\n color: theme.colors.grey4,\n fontWeight: 700,\n \n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey4,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.white + \"!important\",\n color: theme.colors.grey4 + \"!important\",\n }\n },\n}));\n\nexport default useStyles;\n","import React, { useEffect, useRef } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport CanvasDraw from \"react-canvas-draw\";\n\nimport { Button } from \"@material-ui/core\";\n\nimport { PatientSignatureProps } from \"./props\";\nimport useStyles from \"./css\";\nimport useControlLabel from \"../../../hooks/useControlLabel\";\n\n\nexport default function PatientSignature(props: PatientSignatureProps) {\n \n const { signature, setSignature, isMobile } = props;\n \n const { t } = useTranslation(\"patient-form\");\n \n const classes = useStyles(isMobile)();\n \n const canvas = useRef(null);\n const brushColor = \"#000000\";\n const brushRadius = 2;\n const lazyRadius = 3;\n \n useEffect(() => {\n if (signature) {\n canvas.current?.loadSaveData(signature)\n }\n }, [])\n \n function handleDeleteSignatureClick() {\n canvas.current?.clear();\n setSignature(null)\n }\n \n function isDeleteSignatureButtonDisabled() {\n return signature === null;\n }\n \n function handleCanvasOnChange(canvas: CanvasDraw) {\n setSignature(canvas.getSaveData())\n }\n \n const PatientSignatureLabel = useControlLabel({ label: t(\"Patient's signature\"), required: true })\n \n return (\n
\n
\n \n
\n (canvas.current = canvasDraw)}\n className={classes.signatureBlock}\n canvasWidth={isMobile ? 288 : 668}\n canvasHeight={262}\n brushRadius={brushRadius}\n brushColor={brushColor}\n lazyRadius={lazyRadius}\n onChange={handleCanvasOnChange}\n clampLinesToDocument\n hideInterface\n hideGrid\n />\n
\n \n {t(\"Delete signature\")}\n \n
\n
\n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"flex-start\",\n \n paddingLeft: isMobile ? 8 : 24,\n paddingBottom: 23,\n \n backgroundColor: theme.colors.white\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"flex-start\",\n \n width: 228,\n },\n section: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n justifyContent: \"flex-start\",\n \n marginBottom: 17,\n },\n sectionHeader: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey4\n },\n sectionValue: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n \n ...theme.typography.txtBody1,\n fontWeight: 700,\n color: theme.colors.grey5\n },\n sectionIcon: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \n width: 12,\n height: 12,\n \n marginLeft: 4,\n \n backgroundColor: \"#36CE91\",\n borderRadius: 6,\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\n\nexport default function CheckIcon(props: any) {\n \n const { style, color, viewBox, ...otherProps } = props;\n \n return (\n \n \n \n )\n}","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport moment from \"moment\";\nimport 'moment/locale/es';\nimport 'moment/locale/en-gb';\n\nimport useStyles from \"./css\";\nimport { SignerInfoProps } from \"./props\";\nimport CheckIcon from \"../../../assets/icons/CheckIcon\";\nimport { conformToMask } from \"react-text-mask\";\nimport { GetMobileMaskByTemp } from \"../../../constants/masks\";\nimport Country from '../../../models/common/country';\n\n\nexport default function SignerInfo(props: SignerInfoProps) {\n \n const { IPAddress, date, mobileNumber, isMobile } = props;\n \n const { t } = useTranslation(\"patient-form\");\n \n const classes = useStyles(isMobile)();\n \n const countries = useAppSelector(state => state.scheduler.countries);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n \n const dateFormat = localeApp === \"en\" ? \"MMMM DD, YYYY HH:mm\" : \"DD MMMM, YYYY HH:mm\";\n \n const maskedMobileNumber = (): string => {\n const customerCountry = countries.find((x: Country) => x.iso3 === mobileNumber.countryIso);\n if (!customerCountry) return \"\";\n const mobile = conformToMask(mobileNumber.body, GetMobileMaskByTemp(customerCountry.dialTemplate)).conformedValue;\n return `+${customerCountry.dialCode} ${mobile}`\n }\n \n const CircledCheckIcon = () =>\n
\n \n
\n \n return (\n
\n
\n
\n
{t(\"Signer IP address\")}
\n
\n {IPAddress}\n \n
\n
\n
\n
{t(\"Signature date\")}
\n
\n {moment(date).locale(localeApp).format(dateFormat) + \"hrs\"}\n \n
\n
\n
\n
{t(\"Mobile\")}
\n
\n {maskedMobileNumber()}\n \n
\n
\n
\n
\n );\n}","import React from 'react';\n\nimport { Link, useLocation, useParams } from \"react-router-dom\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { PatientFormSignatureStepProps } from \"./props\";\nimport useStyles from \"./css\";\nimport CheckboxWithLabel from \"../../common/CheckboxWithLabel\";\nimport PatientFormAcceptanceModel from '../../../models/patientform/patient-form-acceptance-model';\nimport PatientSignature from \"../PatientSignature\";\nimport SignerInfo from \"../SignerInfo\";\nimport { GetPatientFormFieldKey } from '../../../constants/local-storage-keys';\n\n\nexport default function PatientFormSignatureStep(props: PatientFormSignatureStepProps) {\n \n const { value, setValue, customerMobile, isMobile } = props;\n \n const classes = useStyles(isMobile)();\n \n const { accountBusinessName } = useParams<{ accountBusinessName: string }>();\n\n const search = useLocation().search;\n const searchParams = new URLSearchParams(search);\n const customerId = searchParams.get(\"customerId\");\n \n const { t } = useTranslation(\"patient-form\");\n \n function setHasAgreedToPrivacyNotice(hasAcceptedPrivacyNotes: boolean) {\n setValue(new PatientFormAcceptanceModel({ ...value, hasAcceptedPrivacyNotice: hasAcceptedPrivacyNotes }))\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"agreed_to_privacy_notice\"), JSON.stringify(hasAcceptedPrivacyNotes))\n }\n \n function setHasReadInformedConsentLetter(hasReadConsentLetter: boolean) {\n setValue(new PatientFormAcceptanceModel({ ...value, hasReadConsentLetter }))\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"read_informed_consent_letter\"), JSON.stringify(hasReadConsentLetter))\n }\n \n function setSignature(signature: string | null) {\n setValue(new PatientFormAcceptanceModel({ ...value, date: new Date(), signature }))\n localStorage.setItem(GetPatientFormFieldKey(customerId!, \"signature\"), JSON.stringify(signature))\n }\n \n function getPermissionSectionHeader(): string | null {\n if (value.isPrivacyNoticeEnabled && value.isConsentLetterEnabled) return t(\"Privacy notice and Informed consent letter\");\n if (value.isPrivacyNoticeEnabled) return t(\"Privacy notice\");\n if (value.isConsentLetterEnabled) return t(\"Informed consent letter\");\n return null;\n }\n \n function checkBoxDisplayText(textKey: string, linkKey: string, linkTo: string) {\n return (\n \n {t(textKey)} {t(linkKey)}\n \n );\n }\n \n return (\n
\n {\n (value.isPrivacyNoticeEnabled || value.isConsentLetterEnabled) &&\n <>\n
{getPermissionSectionHeader()}
\n
\n {\n value.isPrivacyNoticeEnabled &&\n
\n \n
\n }\n {\n value.isConsentLetterEnabled &&\n
\n \n
\n }\n
\n \n }\n
{t(\"Patient's signature\")}
\n \n {\n value.signature !== null && \n \n }\n
\n );\n}","var _path, _path2, _path3, _path4;\n\nvar _excluded = [\"svgRef\", \"title\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar SvgOrnamentLeftBottom = function SvgOrnamentLeftBottom(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 113,\n height: 130,\n viewBox: \"0 0 113 130\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M48.966 19.7666L42.546 19.7666C42.2404 19.7594 41.9397 19.845 41.6838 20.0123C41.4279 20.1796 41.2288 20.4206 41.1129 20.7034C40.9969 20.9863 40.9695 21.2977 41.0344 21.5965C41.0992 21.8953 41.2532 22.1673 41.476 22.3766L47.886 28.7267C48.0966 28.9381 48.3651 29.0825 48.6577 29.1414C48.9503 29.2004 49.2538 29.1713 49.5299 29.0579C49.8059 28.9445 50.0422 28.7518 50.2088 28.5042C50.3754 28.2566 50.4649 27.9651 50.466 27.6666L50.516 21.2867C50.5174 21.0841 50.4781 20.8833 50.4003 20.6963C50.3225 20.5093 50.2079 20.3398 50.0633 20.198C49.9187 20.0562 49.747 19.9449 49.5585 19.8708C49.37 19.7967 49.1685 19.7613 48.966 19.7666Z\",\n fill: \"#BDC7F8\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M90.0001 3.57051L90.0001 18.6805C89.995 19.3895 90.2017 20.0839 90.5938 20.6747C90.9858 21.2655 91.5454 21.7258 92.2007 21.9965C92.8561 22.2672 93.5773 22.3361 94.272 22.1943C94.9667 22.0525 95.6033 21.7064 96.1001 21.2005L111.1 6.20051C111.604 5.7055 111.95 5.07172 112.092 4.37982C112.235 3.68791 112.169 2.96918 111.902 2.3151C111.635 1.66102 111.179 1.10117 110.593 0.706799C110.007 0.312431 109.317 0.101381 108.61 0.10051L93.6101 0.000508753C93.1372 -0.00749313 92.6675 0.0790848 92.2285 0.255159C91.7895 0.431232 91.3901 0.693249 91.0538 1.02582C90.7175 1.3584 90.4511 1.75482 90.2701 2.19181C90.0892 2.6288 89.9974 3.09754 90.0001 3.57051Z\",\n fill: \"#BDC7F8\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.99999 134.266L51.5 134.266C51.5 113.003 34.263 95.7661 13 95.7661L0 95.7661L-6.20702e-06 131.266C-6.49671e-06 132.923 1.34314 134.266 2.99999 134.266Z\",\n fill: \"#BDC7F8\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57 65.2661L86 65.2661C88.2091 65.2661 90 67.057 90 69.2661L90 96.9969C90 97.6979 89.4317 98.2661 88.7308 98.2661C71.2063 98.2661 57 84.0598 57 66.5353L57 65.2661Z\",\n fill: \"#BDC7F8\"\n })));\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgOrnamentLeftBottom, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/ornament-left-bottom.b094beaa.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\n\nvar _excluded = [\"svgRef\", \"title\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar SvgOrnamentRightBottom = function SvgOrnamentRightBottom(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 112,\n height: 133,\n viewBox: \"0 0 112 133\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M63.2 19.7666L69.62 19.7666C69.9256 19.7594 70.2263 19.845 70.4822 20.0123C70.7381 20.1796 70.9372 20.4206 71.0532 20.7034C71.1691 20.9863 71.1965 21.2977 71.1317 21.5965C71.0668 21.8953 70.9128 22.1673 70.69 22.3766L64.28 28.7267C64.0694 28.9381 63.8009 29.0825 63.5083 29.1414C63.2157 29.2004 62.9122 29.1713 62.6362 29.0579C62.3601 28.9445 62.1238 28.7518 61.9572 28.5042C61.7906 28.2566 61.7011 27.9651 61.7 27.6666L61.65 21.2867C61.6486 21.0841 61.688 20.8833 61.7657 20.6963C61.8435 20.5093 61.9581 20.3398 62.1027 20.198C62.2473 20.0562 62.419 19.9449 62.6075 19.8708C62.796 19.7967 62.9975 19.7613 63.2 19.7666Z\",\n fill: \"#BDC7F8\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.1659 3.57051L22.1659 18.6805C22.171 19.3895 21.9643 20.0839 21.5722 20.6747C21.1802 21.2655 20.6206 21.7258 19.9653 21.9965C19.31 22.2672 18.5887 22.3361 17.894 22.1943C17.1993 22.0525 16.5627 21.7064 16.0659 21.2005L1.06592 6.20051C0.561866 5.7055 0.216481 5.07172 0.073737 4.37982C-0.0690072 3.68791 -0.00265832 2.96918 0.264334 2.3151C0.531327 1.66102 0.986893 1.10117 1.57305 0.706799C2.15921 0.312431 2.84945 0.101381 3.55592 0.10051L18.5559 0.000508753C19.0288 -0.00749313 19.4986 0.0790848 19.9375 0.255159C20.3765 0.431232 20.7759 0.693249 21.1122 1.02582C21.4485 1.3584 21.7149 1.75482 21.8959 2.19181C22.0769 2.6288 22.1687 3.09754 22.1659 3.57051Z\",\n fill: \"#BDC7F8\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M109.166 134.266L60.666 134.266C60.666 113.003 77.9031 95.7661 99.166 95.7661L112.166 95.7661L112.166 131.266C112.166 132.923 110.823 134.266 109.166 134.266Z\",\n fill: \"#BDC7F8\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M55.166 65.2661L26.166 65.2661C23.9569 65.2661 22.166 67.057 22.166 69.2661L22.166 96.9969C22.166 97.6979 22.7343 98.2661 23.4353 98.2661C40.9597 98.2661 55.166 84.0598 55.166 66.5353L55.166 65.2661Z\",\n fill: \"#BDC7F8\"\n })));\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgOrnamentRightBottom, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/ornament-right-bottom.c513767e.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _g, _g2, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27, _path28, _path29, _path30, _path31, _path32, _path33, _path34, _path35, _g3, _g4, _path36, _path37, _path38, _path39, _path40, _path41, _path42, _path43, _path44, _path45, _path46, _path47, _path48, _path49, _path50, _path51, _path52, _path53, _path54, _path55, _path56, _path57, _path58, _path59, _path60, _g5, _g6, _path61, _path62, _path63;\n\nvar _excluded = [\"svgRef\", \"title\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar SvgInformationSent = function SvgInformationSent(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 316,\n height: 433,\n viewBox: \"0 0 316 433\",\n fill: \"none\",\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.1,\n d: \"M298.807 43.0762L296.937 39.9862C281.137 13.9862 252.567 -1.75379 222.437 0.156209C218.559 0.393458 214.705 0.921612 210.907 1.73621C183.517 7.59621 159.687 28.3062 149.817 54.8362C144.007 70.4362 142.377 88.3962 131.357 100.776C117.007 116.896 92.6467 117.396 71.2367 116.776C49.8267 116.156 25.4467 116.686 11.1667 132.856C2.22672 142.996 -0.61328 157.406 0.10672 170.966C2.01672 206.896 27.0467 239.016 58.8867 254.966C90.7267 270.916 128.197 272.336 163.057 265.306C211.867 255.466 258.287 228.446 286.187 186.716C314.087 144.986 321.137 88.1162 298.807 43.0762Z\",\n fill: \"#6462F3\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n opacity: 0.1,\n d: \"M84.0893 71.9051C96.3323 59.6622 96.3323 39.8124 84.0893 27.5695C71.8464 15.3266 51.9967 15.3266 39.7537 27.5695C27.5108 39.8124 27.5108 59.6622 39.7537 71.9051C51.9967 84.148 71.8464 84.148 84.0893 71.9051Z\",\n fill: \"#6462F3\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M173.346 304.106L214.576 430.786H207.066L158.766 304.106H173.346Z\",\n fill: \"#ACB7C0\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M92.2066 304.106L50.9766 430.786H58.4766L106.787 304.106H92.2066Z\",\n fill: \"#ACB7C0\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M80.7254 169.056C80.7254 169.056 67.8054 170.386 65.9254 178.166C64.0454 185.946 57.9254 282.166 65.9254 295.796C73.9254 309.426 176.925 307.526 184.075 305.656C191.225 303.786 194.595 299.146 193.865 293.476C193.135 287.806 122.995 280.776 122.995 280.776L127.275 180.356C127.275 180.356 102.055 167.656 80.7254 169.056Z\",\n fill: \"#323947\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M193.925 295.906H193.615H192.695L189.165 295.996C186.095 296.076 181.655 296.116 176.165 296.106C165.165 296.106 150.015 295.726 133.305 294.526C124.955 293.916 117.005 293.146 109.795 292.326C102.585 291.506 96.1053 290.606 90.6853 289.756C87.9653 289.356 85.5253 288.926 83.3753 288.566C81.2253 288.206 79.3753 287.876 77.8653 287.566L74.3953 286.896L73.4953 286.716L73.1953 286.636C73.2982 286.623 73.4024 286.623 73.5053 286.636L74.4153 286.766L77.9053 287.336C79.4153 287.596 81.2653 287.906 83.4253 288.226C85.5853 288.546 88.0253 288.966 90.7353 289.336C96.1653 290.146 102.645 290.976 109.845 291.796C117.045 292.616 124.995 293.346 133.345 293.956C150.045 295.156 165.195 295.566 176.165 295.686C181.645 295.746 186.085 295.756 189.165 295.746H193.625L193.925 295.906Z\",\n fill: \"#455A64\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M245.426 254.236C245.426 254.236 268.566 254.236 269.516 275.796C270.466 297.356 202.156 411.096 202.156 411.096L180.526 400.826L226.906 290.456L126.266 280.556L129.116 255.236L245.426 254.236Z\",\n fill: \"#FFBE9D\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M206.726 404.536L206.056 406.066C206.056 406.066 227.256 427.867 225.356 432.887L174.246 409.887L182.596 393.187C188.606 400.137 196.386 404.116 206.726 404.536Z\",\n fill: \"#E9F1FE\"\n })), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M185.327 400.966C184.768 400.896 184.203 401.033 183.738 401.352C183.274 401.671 182.942 402.149 182.807 402.696C182.715 403.253 182.839 403.824 183.156 404.291C183.472 404.758 183.956 405.086 184.507 405.206C185.099 405.279 185.697 405.13 186.186 404.789C186.675 404.447 187.021 403.937 187.157 403.356C187.196 402.767 187.004 402.185 186.621 401.735C186.238 401.285 185.695 401.002 185.107 400.946\",\n fill: \"white\"\n }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M174.246 409.896L176.246 405.896L224.496 429.406C224.496 429.406 226.326 431.406 225.346 432.906L174.246 409.896Z\",\n fill: \"white\"\n }))), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M206.167 406.286C206.047 406.526 204.747 406.086 203.167 406.336C201.587 406.586 200.447 407.336 200.257 407.136C200.067 406.936 201.097 405.656 203.027 405.386C204.957 405.116 206.327 406.076 206.167 406.286Z\",\n fill: \"#263238\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M210.536 410.917C210.486 411.177 209.206 411.117 207.886 411.797C206.566 412.477 205.816 413.477 205.576 413.357C205.336 413.237 205.806 411.747 207.466 410.937C209.126 410.127 210.636 410.677 210.536 410.917Z\",\n fill: \"#263238\"\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M210.697 418.697C210.447 418.697 210.697 417.247 211.907 416.167C213.117 415.087 214.577 415.077 214.587 415.327C214.597 415.577 213.587 415.987 212.587 416.887C211.587 417.787 210.957 418.787 210.697 418.697Z\",\n fill: \"#263238\"\n })), _path12 || (_path12 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M201.646 172.946L205.756 185.516L183.346 187.266L180.736 180.536L201.646 172.946Z\",\n fill: \"#FFBE9D\"\n })), _path13 || (_path13 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M265.276 189.437C265.706 190.297 266.826 190.437 267.686 190.887C268.487 191.345 269.144 192.019 269.58 192.833C270.017 193.646 270.217 194.565 270.156 195.487C270.012 197.329 269.403 199.104 268.386 200.647C268.074 201.273 267.618 201.818 267.056 202.237C266.772 202.434 266.433 202.54 266.086 202.54C265.74 202.54 265.401 202.434 265.116 202.237C264.456 201.687 264.536 200.667 264.676 199.817C265.206 196.627 264.516 192.597 265.266 189.447\",\n fill: \"#FFBE9D\"\n })), _path14 || (_path14 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M116.237 31.8263C116.047 30.424 116.389 29.0014 117.196 27.8389C118.003 26.6765 119.216 25.8585 120.597 25.5463L145.337 9.8063C154.767 7.6863 166.647 23.4363 168.337 32.9363C170.045 43.3778 170.714 53.9628 170.337 64.5363C169.657 80.7963 158.997 82.5363 158.997 82.5363L166.997 136.606L128.447 112.836L116.237 31.8263Z\",\n fill: \"#FFBE9D\"\n })), _path15 || (_path15 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M163.197 46.4264C163.263 46.9581 163.119 47.4947 162.796 47.9222C162.473 48.3497 161.996 48.6346 161.467 48.7164C160.946 48.8128 160.408 48.6984 159.971 48.3984C159.534 48.0985 159.234 47.6373 159.137 47.1164C159.071 46.5846 159.214 46.0481 159.537 45.6205C159.86 45.193 160.337 44.9081 160.867 44.8264C161.388 44.7299 161.926 44.8443 162.363 45.1443C162.8 45.4443 163.1 45.9054 163.197 46.4264Z\",\n fill: \"#263238\"\n })), _path16 || (_path16 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M166.376 40.5866C166.176 40.8066 164.536 40.7766 162.466 41.5866C160.396 42.3966 159.026 43.4766 158.766 43.4166C158.506 43.3566 158.766 43.0666 159.396 42.5666C160.265 41.8569 161.249 41.3021 162.306 40.9266C163.314 40.5384 164.385 40.3385 165.466 40.3366C166.186 40.3166 166.476 40.4866 166.376 40.5866Z\",\n fill: \"#263238\"\n })), _path17 || (_path17 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M142.718 47.4166C142.781 47.9494 142.635 48.4859 142.31 48.9131C141.986 49.3403 141.508 49.6248 140.978 49.7066C140.458 49.8001 139.922 49.6844 139.488 49.3846C139.053 49.0849 138.755 48.6255 138.658 48.1066C138.589 47.5744 138.731 47.0365 139.055 46.6084C139.378 46.1802 139.857 45.8959 140.388 45.8166C140.909 45.7202 141.447 45.8345 141.884 46.1345C142.32 46.4345 142.62 46.8956 142.718 47.4166Z\",\n fill: \"#263238\"\n })), _path18 || (_path18 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M144.865 44.7763C144.565 44.8963 143.025 43.9763 140.635 43.6263C138.245 43.2763 136.375 43.6263 136.145 43.4663C135.915 43.3063 136.375 43.1363 137.145 42.9463C138.345 42.708 139.577 42.6843 140.785 42.8763C141.956 43.0365 143.086 43.4165 144.115 43.9963C144.825 44.4063 145.055 44.7263 144.865 44.7763Z\",\n fill: \"#263238\"\n })), _path19 || (_path19 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M154.625 58.377C155.741 57.8719 156.918 57.5123 158.125 57.307C158.675 57.187 159.195 57.017 159.245 56.617C159.228 56.031 159.029 55.465 158.675 54.997C158.009 53.6637 157.289 52.3004 156.515 50.907C153.515 45.077 151.235 40.257 151.515 40.137C151.795 40.017 154.395 44.647 157.415 50.477L159.505 54.597C159.94 55.2362 160.135 56.0083 160.055 56.777C159.996 56.9847 159.891 57.1762 159.747 57.3372C159.603 57.4983 159.425 57.6247 159.225 57.707C158.923 57.8255 158.607 57.9061 158.285 57.947C157.088 58.2425 155.859 58.387 154.625 58.377Z\",\n fill: \"#263238\"\n })), _path20 || (_path20 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M158.986 82.5762C151.517 83.6806 143.887 82.6402 136.986 79.5762C136.986 79.5762 143.556 90.8162 159.356 87.4562L158.986 82.5762Z\",\n fill: \"#EB996E\"\n })), _path21 || (_path21 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M154.876 63.767C154.338 63.0665 153.65 62.4954 152.863 62.0957C152.076 61.6959 151.209 61.4777 150.326 61.457C149.815 61.4677 149.32 61.633 148.906 61.9313C148.492 62.2295 148.178 62.6465 148.006 63.127C147.833 63.7478 147.813 64.4012 147.947 65.0314C148.081 65.6617 148.365 66.2503 148.776 66.747C149.179 67.2727 149.727 67.6691 150.352 67.8876C150.977 68.1061 151.653 68.1372 152.296 67.977C153.339 67.5467 154.228 66.8112 154.846 65.867C155.07 65.6266 155.231 65.3347 155.316 65.017C155.352 64.8166 155.344 64.6106 155.293 64.4137C155.241 64.2167 155.146 64.0335 155.016 63.877\",\n fill: \"#EB996E\"\n })), _path22 || (_path22 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M148.317 60.6568C148.677 60.5868 148.957 62.9768 151.197 64.4368C153.437 65.8968 155.957 65.3368 156.017 65.6668C156.017 65.8168 155.507 66.1968 154.427 66.3568C153.03 66.5387 151.614 66.2237 150.427 65.4668C149.286 64.734 148.476 63.5864 148.167 62.2668C147.957 61.2368 148.157 60.6568 148.317 60.6568Z\",\n fill: \"#263238\"\n })), _path23 || (_path23 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M145.568 34.9468C145.358 35.5468 143.138 35.2968 140.568 35.6568C137.998 36.0168 135.878 36.7468 135.518 36.2168C135.358 35.9568 135.718 35.3868 136.518 34.7868C137.636 34.0483 138.908 33.5744 140.237 33.4012C141.566 33.2279 142.917 33.3598 144.188 33.7868C145.168 34.2368 145.658 34.6568 145.568 34.9468Z\",\n fill: \"#263238\"\n })), _path24 || (_path24 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M166.496 35.6569C166.066 36.2069 164.126 35.9069 161.856 36.1369C159.586 36.3669 157.706 36.9469 157.206 36.4669C156.976 36.2369 157.206 35.6969 158.016 35.1369C159.116 34.4313 160.372 34.0027 161.674 33.8878C162.977 33.7729 164.288 33.975 165.496 34.4769C166.356 34.9069 166.676 35.3869 166.496 35.6569Z\",\n fill: \"#263238\"\n })), _path25 || (_path25 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M105.387 73.3871C105.787 66.1371 106.947 42.9271 111.627 30.2671C116.307 17.6071 122.897 11.9371 129.677 9.26706C132.238 8.17294 135.038 7.75823 137.806 8.06306C140.574 8.36788 143.216 9.38191 145.477 11.0071C148.957 13.4671 150.977 21.5671 150.977 21.5671C150.977 21.5671 134.527 27.2471 129.977 37.5671C124.707 49.3671 123.767 55.1071 123.767 55.1071L122.347 61.3971C122.347 61.3971 125.437 88.7371 126.827 94.3971L104.527 115.957C105.257 108.837 104.987 80.6271 105.387 73.3871Z\",\n fill: \"#263238\"\n })), _path26 || (_path26 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M151.467 21.6062C151.467 21.6062 160.997 19.4562 165.807 29.9462C167.987 34.6962 170.147 49.0762 170.147 49.0762C170.147 49.0762 170.957 37.3262 169.697 30.9362C168.437 24.5462 164.287 16.7462 158.827 12.7962C153.367 8.84624 149.227 7.35624 140.688 8.85624C143.259 9.49924 145.594 10.8626 147.417 12.7862C148.707 14.2962 149.347 15.6362 151.467 21.6062Z\",\n fill: \"#263238\"\n })), _path27 || (_path27 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M123.947 55.8866C123.367 52.3666 119.247 50.4466 116.387 52.5766C114.817 53.7366 113.757 55.8366 114.337 59.5766C115.897 69.5766 125.567 65.9166 125.537 65.6366C125.507 65.3566 124.627 59.9966 123.947 55.8866Z\",\n fill: \"#FFBE9D\"\n })), _path28 || (_path28 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M121.907 62.3264C121.907 62.3264 121.757 62.4764 121.487 62.6564C121.098 62.893 120.634 62.9751 120.187 62.8864C119.077 62.6664 117.937 61.1264 117.607 59.3464C117.447 58.4964 117.481 57.6213 117.707 56.7864C117.748 56.4598 117.869 56.1484 118.059 55.8798C118.249 55.6111 118.502 55.3936 118.797 55.2464C118.989 55.1656 119.203 55.1533 119.404 55.2116C119.604 55.2698 119.778 55.3951 119.897 55.5664C120.077 55.8264 120.037 56.0264 120.097 56.0364C120.157 56.0464 120.287 55.8364 120.097 55.4364C120.004 55.1984 119.83 55.0004 119.607 54.8764C119.299 54.7135 118.94 54.6776 118.607 54.7764C118.21 54.9221 117.856 55.1666 117.58 55.4867C117.303 55.8069 117.113 56.1922 117.027 56.6064C116.74 57.5322 116.685 58.5143 116.867 59.4664C117.237 61.4664 118.557 63.1864 120.067 63.3764C120.345 63.4117 120.628 63.3843 120.895 63.296C121.161 63.2078 121.405 63.061 121.607 62.8664C121.927 62.5664 121.947 62.3364 121.907 62.3264Z\",\n fill: \"#EB996E\"\n })), _path29 || (_path29 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M133.605 8.16665C133.605 8.24665 134.985 8.04665 137.185 8.08665C138.473 8.11192 139.748 8.33797 140.965 8.75665C142.444 9.30345 143.803 10.1321 144.965 11.1967C147.118 13.1201 148.795 15.5161 149.865 18.1967C150.685 20.1967 150.865 21.6167 150.985 21.5967C150.971 21.2761 150.924 20.9578 150.845 20.6467C150.048 16.9001 148.072 13.5076 145.205 10.9667C144.006 9.85556 142.594 8.99839 141.055 8.44665C139.805 8.02836 138.494 7.82218 137.175 7.83665C136.293 7.83628 135.411 7.89307 134.535 8.00665C134.222 8.03414 133.911 8.08766 133.605 8.16665Z\",\n fill: \"#455A64\"\n })), _path30 || (_path30 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M115.515 64.1766C115.519 64.12 115.519 64.0632 115.515 64.0066L115.375 63.5566C115.305 63.3466 115.235 63.0966 115.145 62.8166L114.875 61.8166C114.33 59.6305 114.101 57.3776 114.195 55.1266C114.322 51.7875 115.143 48.5113 116.605 45.5066C118.474 41.8687 121.14 38.6999 124.405 36.2366C126.081 34.9435 127.834 33.7546 129.655 32.6766C131.415 31.6166 133.185 30.7366 134.825 29.7566C137.693 28.0069 140.421 26.0377 142.985 23.8666C145.175 22.0166 146.865 20.4266 147.985 19.3066C148.555 18.7466 148.985 18.3066 149.275 17.9966L149.605 17.6466C149.675 17.5666 149.715 17.5266 149.705 17.5166L149.585 17.6166L149.225 17.9466L147.905 19.2366C146.735 20.3266 145.025 21.8866 142.815 23.6966C140.242 25.8318 137.515 27.7737 134.655 29.5066C133.035 30.5066 131.245 31.3366 129.475 32.4066C127.636 33.4842 125.869 34.68 124.185 35.9866C120.865 38.4735 118.157 41.685 116.265 45.3766C114.798 48.4233 113.994 51.7463 113.905 55.1266C113.836 57.3966 114.103 59.6643 114.695 61.8566L114.995 62.8566C115.105 63.1366 115.195 63.3766 115.265 63.5866L115.445 64.0366C115.485 64.1266 115.505 64.1766 115.515 64.1766Z\",\n fill: \"#455A64\"\n })), _path31 || (_path31 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M112.765 60.6563C112.765 60.6563 112.765 60.5963 112.765 60.4963L112.705 60.0163C112.705 59.5963 112.545 59.0163 112.465 58.1863C112.23 55.9339 112.193 53.6651 112.355 51.4063C112.6 48.0609 113.272 44.7607 114.355 41.5863C115.709 37.7092 117.685 34.0784 120.205 30.8363C122.801 27.6322 125.83 24.8051 129.205 22.4363C132.205 20.1963 135.205 18.4363 137.595 16.8563C139.985 15.2763 141.975 14.0663 143.305 13.1463C143.975 12.7063 144.475 12.3363 144.815 12.0863L145.205 11.8063L145.335 11.6963C145.335 11.6963 145.275 11.6963 145.185 11.7763L144.775 12.0263L143.225 13.0263C141.885 13.8963 139.905 15.1263 137.455 16.6263C135.005 18.1263 132.085 19.9263 129.005 22.1663C125.623 24.5378 122.593 27.3759 120.005 30.5963C117.435 33.8694 115.424 37.5458 114.055 41.4763C112.959 44.6816 112.287 48.0166 112.055 51.3963C111.916 53.6651 111.993 55.942 112.285 58.1963C112.385 58.9963 112.525 59.6063 112.595 60.0263C112.595 60.2163 112.665 60.3763 112.695 60.4963C112.725 60.6163 112.755 60.6563 112.765 60.6563Z\",\n fill: \"#455A64\"\n })), _path32 || (_path32 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M166.156 99.167C166.156 99.167 179.046 104.407 181.516 111.117C183.986 117.827 202.726 173.237 202.726 173.237L180.976 181.577L171.056 135.977L166.156 99.167Z\",\n fill: \"#9FA9E6\"\n })), _path33 || (_path33 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M99.5163 256.517C99.5163 256.517 232.516 250.407 240.866 252.607C249.216 254.807 254.206 259.017 255.866 269.027C257.526 279.037 283.166 411.657 283.166 411.657L259.846 418.517C259.846 418.517 227.126 343.817 225.736 331.317C224.346 318.817 219.736 293.197 219.736 293.197C219.736 293.197 169.176 294.027 131.946 293.197C94.7163 292.367 99.7163 257.907 99.7163 257.907L99.5163 256.517Z\",\n fill: \"#FFBE9D\"\n })), _path34 || (_path34 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M259.556 419.117L259.386 418.717C258.046 415.657 226.626 343.807 225.246 331.367C223.966 319.897 219.936 297.067 219.336 293.697C214.336 293.777 166.966 294.477 131.956 293.697C120.386 293.437 111.676 289.927 106.046 283.277C97.5258 273.207 99.0458 259.107 99.2358 257.917L98.9258 256.047H99.4858C104.926 255.797 232.676 249.957 240.996 252.157C250.336 254.627 254.786 259.497 256.366 268.967C258.006 278.847 283.366 410.267 283.666 411.597L283.746 412.037L259.556 419.117ZM220.166 292.687L220.246 293.107C220.296 293.357 224.866 318.887 226.246 331.257C227.556 343.067 257.536 411.967 260.136 417.907L282.606 411.307C280.966 402.817 256.986 278.707 255.386 269.107C253.886 260.107 249.646 255.447 240.746 253.107C232.866 251.017 109.536 256.577 100.106 257.007L100.256 257.917V257.987C100.256 258.137 98.2558 272.527 106.836 282.647C112.276 289.067 120.736 292.447 131.996 292.707C168.786 293.527 219.256 292.707 219.766 292.707L220.166 292.687Z\",\n fill: \"#EB996E\"\n })), _path35 || (_path35 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M108.495 184.787L111.845 205.507C111.845 205.507 97.2952 233.077 95.6552 256.777C94.8752 268.037 101.335 291.097 101.335 291.097C101.335 291.097 152.575 296.727 180.215 296.007L209.705 294.717L214.905 248.647L181.805 243.867L182.305 181.087C182.305 181.087 188.305 164.557 188.765 159.667C189.825 149.347 189.385 138.907 179.075 125.527L166.155 99.1666L161.845 97.1666L163.895 129.097L126.755 93.8066L107.945 100.557L102.615 125.707L108.495 184.787Z\",\n fill: \"#BDC7F8\"\n })), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.3\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M172.876 251.496C170.466 251.916 153.076 252.166 150.666 252.586C150.256 252.712 149.825 252.753 149.398 252.706C148.972 252.66 148.56 252.527 148.186 252.316C147.885 252.031 147.677 251.663 147.588 251.258C147.498 250.853 147.533 250.431 147.686 250.046C148.005 249.272 148.506 248.586 149.146 248.046C153.356 244.046 158.826 241.736 164.146 239.476C165.846 238.766 167.686 238.036 169.466 238.476C170.339 238.765 171.128 239.262 171.766 239.924C172.404 240.586 172.871 241.393 173.126 242.276C173.633 244.039 173.843 245.874 173.746 247.706\",\n fill: \"black\"\n }))), _g4 || (_g4 = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.3\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M109.865 199.237C116.075 197.787 119.975 191.667 122.495 185.807C125.015 179.947 127.095 173.477 132.035 169.437C135.655 166.437 140.505 165.117 143.635 161.637C145.123 159.932 146.109 157.849 146.485 155.618C146.861 153.387 146.612 151.095 145.765 148.997C144.865 146.857 143.055 144.837 140.765 144.717C138.065 144.577 135.965 146.917 134.315 149.067C126.768 158.954 119.652 169.154 112.965 179.667C109.375 185.317 105.795 192.177 108.295 198.387\",\n fill: \"black\"\n }))), _path36 || (_path36 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M109.906 103.856C109.906 103.856 99.3961 107.196 95.5961 113.786C91.7961 120.376 85.4961 152.376 83.9761 160.996C82.4561 169.616 75.1061 205.086 83.9761 210.666C92.8461 216.246 104.506 207.666 107.546 202.556C110.586 197.446 122.996 170.876 122.996 170.876L111.846 161.506C111.846 161.506 113.846 136.166 113.116 130.836C112.386 125.506 109.906 103.856 109.906 103.856Z\",\n fill: \"#FFBE9D\"\n })), _path37 || (_path37 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M76.9453 169.646L101.335 171.236L112.475 158.156L115.555 137.556L114.735 98.1465C114.735 98.1465 92.9653 103.456 88.2553 120.006C84.7653 132.236 76.9453 169.646 76.9453 169.646Z\",\n fill: \"#BDC7F8\"\n })), _path38 || (_path38 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M120.106 123.037C118.706 122.847 116.916 124.497 118.106 128.477C119.106 131.797 120.986 135.027 120.846 136.877C120.706 138.727 119.986 142.577 119.986 144.577C119.899 146.532 119.709 148.482 119.416 150.417L102.816 170.417L117.186 183.097L128.556 165.237C128.556 165.237 131.986 165.807 133.976 163.527L136.976 160.097C136.976 160.097 144.676 157.247 143.106 153.097C143.106 153.097 145.386 150.927 143.316 147.447C143.316 147.447 144.396 143.827 142.826 141.697C142.826 141.697 142.686 136.847 141.396 135.987C140.106 135.127 126.766 134.987 126.766 134.987C126.04 132.77 125.202 130.59 124.256 128.457C122.796 126.047 122.056 123.297 120.106 123.037Z\",\n fill: \"#FFBE9D\"\n })), _path39 || (_path39 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M125.787 142.706C125.787 142.756 125.437 142.566 125.127 142.096C124.723 141.463 124.546 140.711 124.626 139.964C124.706 139.217 125.038 138.52 125.567 137.986C125.967 137.596 126.307 137.476 126.337 137.526C125.742 138.246 125.333 139.101 125.147 140.016C125.148 140.951 125.367 141.872 125.787 142.706Z\",\n fill: \"#EB996E\"\n })), _path40 || (_path40 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M142.266 141.337C140.255 141.923 138.186 142.289 136.096 142.427C134.023 142.728 131.924 142.799 129.836 142.637C131.891 142.279 133.964 142.035 136.046 141.907C138.107 141.598 140.183 141.408 142.266 141.337Z\",\n fill: \"#EB996E\"\n })), _path41 || (_path41 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M143.446 147.057C141.788 147.73 140.038 148.148 138.256 148.297C136.498 148.622 134.701 148.683 132.926 148.477C132.926 148.327 135.286 148.177 138.186 147.777C141.086 147.377 143.416 146.917 143.446 147.057Z\",\n fill: \"#EB996E\"\n })), _path42 || (_path42 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M143.156 152.926C140.569 153.72 137.849 153.988 135.156 153.716C136.472 153.428 137.81 153.258 139.156 153.206C140.479 152.997 141.817 152.903 143.156 152.926Z\",\n fill: \"#EB996E\"\n })), _path43 || (_path43 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M130.556 154.727C130.556 154.787 130.276 154.727 129.936 154.537C129.488 154.232 129.173 153.767 129.056 153.237C128.928 152.714 129 152.161 129.256 151.687C129.456 151.337 129.676 151.197 129.726 151.237C129.776 151.277 129.316 152.107 129.556 153.117C129.796 154.127 130.626 154.597 130.556 154.727Z\",\n fill: \"#EB996E\"\n })), _path44 || (_path44 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M127.275 149.966C127.275 150.016 126.945 149.846 126.635 149.416C126.237 148.848 126.009 148.179 125.975 147.486C125.934 146.792 126.086 146.099 126.415 145.486C126.685 145.026 126.945 144.826 126.995 144.866C126.69 145.693 126.521 146.565 126.495 147.446C126.623 148.322 126.886 149.172 127.275 149.966Z\",\n fill: \"#EB996E\"\n })), _path45 || (_path45 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M139.057 159.237C138.332 159.621 137.536 159.853 136.717 159.917C135.925 160.145 135.094 160.203 134.277 160.087C135.001 159.698 135.798 159.466 136.617 159.407C137.409 159.173 138.241 159.115 139.057 159.237Z\",\n fill: \"#EB996E\"\n })), _path46 || (_path46 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M132.626 135.077C132.626 135.227 130.626 135.227 128.096 135.477C125.566 135.727 123.616 136.117 123.576 135.977C124.994 135.376 126.508 135.038 128.046 134.977C129.567 134.739 131.117 134.773 132.626 135.077Z\",\n fill: \"#EB996E\"\n })), _path47 || (_path47 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M176.537 183.146H259.197C260.655 183.146 262.054 183.726 263.086 184.757C264.117 185.789 264.697 187.188 264.697 188.646V247.236H171.057V188.636C171.059 187.183 171.637 185.79 172.664 184.761C173.691 183.732 175.083 183.152 176.537 183.146Z\",\n fill: \"#C9CDD3\"\n })), _path48 || (_path48 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M264.695 251.496H154.695C154.695 250.377 155.14 249.304 155.931 248.512C156.723 247.721 157.796 247.276 158.915 247.276H264.695V251.496Z\",\n fill: \"#ACB7C0\"\n })), _path49 || (_path49 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M261.236 187.267H173.896V247.277H261.236V187.267Z\",\n fill: \"white\"\n })), _path50 || (_path50 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M217.555 240.226C230.23 240.226 240.505 229.951 240.505 217.276C240.505 204.601 230.23 194.326 217.555 194.326C204.881 194.326 194.605 204.601 194.605 217.276C194.605 229.951 204.881 240.226 217.555 240.226Z\",\n fill: \"#6462F3\"\n })), _path51 || (_path51 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M207 218L210.615 214.608L215.605 219.165L225.43 210L229 213.347L215.553 226L207 218Z\",\n fill: \"white\"\n })), _path52 || (_path52 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M119.435 150.417C119.545 150.507 112.655 158.827 104.045 168.987C95.4352 179.147 88.3652 187.307 88.2552 187.237C88.1452 187.167 95.0352 178.837 103.645 168.667C112.255 158.497 119.325 150.327 119.435 150.417Z\",\n fill: \"#EB996E\"\n })), _path53 || (_path53 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M118.245 137.526C118.021 140.427 117.623 143.313 117.055 146.166C116.662 149.051 116.094 151.91 115.355 154.726C115.58 151.822 115.977 148.933 116.545 146.076C116.946 143.196 117.513 140.341 118.245 137.526Z\",\n fill: \"#263238\"\n })), _path54 || (_path54 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M182.306 181.087C182.342 180.883 182.395 180.682 182.466 180.487L183.006 178.807C183.486 177.357 184.196 175.257 185.006 172.647C185.973 169.598 186.781 166.5 187.426 163.367C188.231 159.542 188.591 155.635 188.496 151.727C188.134 144.611 186.136 137.675 182.656 131.457C181.622 129.564 180.487 127.728 179.256 125.957C178.836 125.327 178.476 124.857 178.256 124.527C178.127 124.363 178.016 124.185 177.926 123.997C178.079 124.135 178.216 124.29 178.336 124.457C178.596 124.777 178.986 125.227 179.436 125.847C180.736 127.58 181.925 129.394 182.996 131.277C184.587 134.081 185.897 137.035 186.906 140.097C188.16 143.848 188.884 147.756 189.056 151.707C189.157 155.658 188.781 159.606 187.936 163.467C187.263 166.609 186.415 169.71 185.396 172.757C184.536 175.357 183.776 177.447 183.236 178.877C182.976 179.544 182.766 180.094 182.606 180.527C182.529 180.725 182.428 180.913 182.306 181.087Z\",\n fill: \"#263238\"\n })), _path55 || (_path55 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M161.056 149.946C161.097 150.412 161.097 150.881 161.056 151.346C161.055 151.895 161.015 152.443 160.936 152.986C160.864 153.712 160.754 154.433 160.606 155.146C160.446 156.012 160.232 156.867 159.966 157.706C159.684 158.68 159.351 159.638 158.966 160.576C158.043 162.692 156.897 164.704 155.546 166.576C154.162 168.445 152.576 170.155 150.816 171.676C150.045 172.335 149.237 172.949 148.396 173.516C147.677 174.027 146.925 174.492 146.146 174.906C145.5 175.28 144.832 175.614 144.146 175.906C143.655 176.146 143.147 176.35 142.626 176.516C142.193 176.695 141.745 176.832 141.286 176.926C141.236 176.816 143.156 176.226 145.916 174.616C146.671 174.182 147.402 173.708 148.106 173.196C148.886 172.676 149.636 172.016 150.456 171.346C153.902 168.315 156.634 164.558 158.456 160.346C158.837 159.431 159.171 158.496 159.456 157.546C159.732 156.72 159.963 155.878 160.146 155.026C160.976 151.946 160.956 149.946 161.056 149.946Z\",\n fill: \"#263238\"\n })), _path56 || (_path56 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M188.547 159.037C188.49 158.982 188.443 158.917 188.407 158.847L188.057 158.237C187.727 157.687 187.277 156.937 186.707 156.007C186.137 155.077 185.247 153.937 184.317 152.637C183.387 151.337 182.207 149.917 180.957 148.327C175.817 142.047 168.227 133.797 159.527 124.987C150.827 116.177 142.657 108.497 136.667 102.987L132.587 99.3366C131.387 98.2766 130.347 97.3366 129.477 96.6166L127.477 94.9266L126.967 94.4766C126.901 94.4299 126.844 94.3724 126.797 94.3066C126.868 94.3418 126.936 94.3855 126.997 94.4366C127.147 94.5466 127.327 94.6766 127.537 94.8466L129.597 96.4566L132.767 99.1166C133.997 100.177 135.377 101.387 136.897 102.717C142.967 108.117 151.157 115.787 159.897 124.587C168.637 133.387 176.167 141.707 181.237 148.057C182.477 149.667 183.597 151.117 184.557 152.417L186.877 155.857C187.407 156.857 187.877 157.577 188.147 158.147L188.467 158.747C188.534 158.94 188.56 159.037 188.547 159.037Z\",\n fill: \"#263238\"\n })), _path57 || (_path57 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M169.126 205.297C168.943 205.361 168.751 205.398 168.556 205.407L166.926 205.637C165.506 205.827 163.436 206.047 160.926 206.277C155.816 206.737 148.726 207.107 140.926 207.017C133.126 206.927 126.006 206.357 120.926 205.777C118.376 205.487 116.316 205.207 114.926 204.977L113.296 204.717C113.105 204.696 112.917 204.652 112.736 204.587C112.929 204.562 113.124 204.562 113.316 204.587L114.956 204.757C116.376 204.927 118.446 205.147 120.956 205.387C126.046 205.877 133.116 206.387 140.956 206.477C148.796 206.567 155.846 206.247 160.956 205.887C163.506 205.707 165.576 205.547 166.956 205.417L168.596 205.287C168.773 205.271 168.951 205.275 169.126 205.297Z\",\n fill: \"#263238\"\n })), _path58 || (_path58 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M212.438 183.077C212.438 183.077 228.817 176.687 230.367 176.177C231.917 175.667 246.237 174.547 246.237 174.547L264.698 181.177C264.698 181.177 264.867 184.967 260.557 184.457C256.758 183.815 253.011 182.893 249.348 181.697L246.758 183.237L212.438 183.077Z\",\n fill: \"#FFBE9D\"\n })), _path59 || (_path59 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M263.807 185.507C264.237 186.377 265.357 186.507 266.217 186.967C267.012 187.432 267.664 188.107 268.1 188.919C268.536 189.731 268.739 190.647 268.687 191.567C268.543 193.406 267.934 195.178 266.917 196.717C266.604 197.338 266.153 197.879 265.597 198.297C265.312 198.495 264.973 198.601 264.627 198.601C264.28 198.601 263.941 198.495 263.657 198.297C263.384 197.964 263.2 197.568 263.123 197.144C263.046 196.721 263.078 196.285 263.217 195.877C263.747 192.687 263.057 188.647 263.807 185.497\",\n fill: \"#FFBE9D\"\n })), _path60 || (_path60 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M282.367 406.707L282.927 408.267C282.927 408.267 313.327 409.457 315.407 414.397L262.527 432.977L257.057 415.127C266.207 416.007 274.577 413.527 282.367 406.707Z\",\n fill: \"#E9F1FE\"\n })), _g5 || (_g5 = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M264.398 418.867C263.942 419.202 263.626 419.693 263.51 420.247C263.394 420.8 263.486 421.377 263.768 421.867C264.086 422.343 264.577 422.677 265.136 422.798C265.696 422.919 266.281 422.818 266.768 422.517C267.25 422.163 267.584 421.643 267.704 421.057C267.824 420.471 267.722 419.862 267.418 419.347C267.036 418.897 266.496 418.611 265.909 418.55C265.322 418.488 264.734 418.656 264.268 419.017\",\n fill: \"white\"\n }))), _g6 || (_g6 = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M262.525 432.976L261.215 428.686L312.375 412.446C312.375 412.446 315.085 412.646 315.375 414.446L262.525 432.976Z\",\n fill: \"white\"\n }))), _path61 || (_path61 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M283.167 408.357C283.247 408.617 281.997 409.187 281.017 410.467C280.037 411.747 279.747 413.067 279.477 413.047C279.207 413.027 279.057 411.397 280.267 409.877C281.477 408.357 283.137 408.097 283.167 408.357Z\",\n fill: \"#263238\"\n })), _path62 || (_path62 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M289.516 408.697C289.666 408.927 288.696 409.757 288.206 411.157C287.716 412.557 287.866 413.807 287.606 413.887C287.346 413.967 286.666 412.557 287.316 410.827C287.966 409.097 289.426 408.457 289.516 408.697Z\",\n fill: \"#263238\"\n })), _path63 || (_path63 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M294.998 414.236C294.788 414.376 293.998 413.236 294.138 411.566C294.278 409.896 295.318 408.936 295.498 409.106C295.678 409.276 295.208 410.306 295.088 411.656C294.968 413.006 295.248 414.116 294.998 414.236Z\",\n fill: \"#263238\"\n })));\n};\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgInformationSent, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/information-sent.e29abb09.svg\";\nexport { ForwardRef as ReactComponent };","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (isMobile: boolean) => makeStyles((theme) => ({\n root: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \n width: isMobile ? 304 : 716,\n \n marginBottom: isMobile ? 18 : 32,\n \n backgroundColor: theme.colors.white,\n \n borderRadius: 10,\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \n width: \"100%\",\n \n paddingTop: isMobile ? 24 : 36,\n paddingLeft: isMobile ? 16 : 60,\n paddingRight: isMobile ? 16 : 60,\n \n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n accountLogo: {\n marginBottom: isMobile ? 6 : 24,\n },\n accountName: {\n marginBottom: 4,\n \n fontFamily: theme.typography.header2.fontFamily,\n fontStyle: theme.typography.header2.fontStyle,\n fontSize: isMobile ? theme.typography.header4.fontSize : theme.typography.header2.fontSize,\n lineHeight: isMobile ? theme.typography.header4.lineHeight : theme.typography.header2.lineHeight,\n fontWeight: 700,\n color: theme.colors.grey5,\n },\n thankYouText: {\n fontFamily: isMobile ? theme.typography.txtBody2.fontFamily : theme.typography.txtBody1.fontFamily,\n fontStyle: theme.typography.header2.fontStyle,\n \n fontSize: isMobile ? theme.typography.txtBody2.fontSize : theme.typography.txtBody1.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody2.lineHeight : theme.typography.txtBody1.lineHeight,\n \n fontWeight: 400,\n color: theme.colors.grey5,\n },\n divider: {\n width: isMobile ? 272 : 596,\n \n marginTop: isMobile ? 16 : 24,\n marginBottom: isMobile ? 16 : 24,\n \n backgroundColor: theme.colors.grey2\n },\n infoSentText: {\n fontFamily: isMobile ? theme.typography.txtBody2.fontFamily : theme.typography.header4.fontFamily,\n fontStyle: theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.txtBody2.fontSize : theme.typography.header4.fontSize,\n lineHeight: isMobile ? theme.typography.txtBody2.lineHeight : theme.typography.header4.lineHeight,\n \n fontWeight: 400,\n color: theme.colors.clearMain,\n },\n seeYouText: {\n fontFamily: isMobile ? theme.typography.header4.fontFamily : theme.typography.header3.fontFamily,\n fontStyle: theme.typography.header4.fontStyle,\n fontSize: isMobile ? theme.typography.header4.fontSize : theme.typography.header3.fontSize,\n lineHeight: isMobile ? theme.typography.header4.lineHeight : theme.typography.header3.lineHeight,\n \n fontWeight: 700,\n color: theme.colors.clearMain,\n },\n imagesBlock: {\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"flex-end\",\n \n width: isMobile ? 304 : 716,\n height: isMobile ? 290 : 620,\n },\n ornament: {\n width: isMobile ? 53 : 112,\n height: isMobile ? 63 : 134,\n \n borderBottomLeftRadius: 10,\n borderBottomRightRadius: 10,\n },\n informationSentImage: {\n width: isMobile ? 196 : 315,\n height: isMobile ? 270 : 433,\n \n marginBottom: isMobile ? 0 : 80,\n },\n brandingCircle: {\n height: isMobile ? 48 : 60,\n width: isMobile ? 48 : 60,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n imageCircle: {\n height: isMobile ? 48 : 60,\n width: isMobile ? 48 : 60,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n boxShadow: \"0px 3px 20px rgba(229, 231, 234, 0.56)\",\n },\n}));\n\nexport default useStyles;\n","import React from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { Divider, Typography } from \"@material-ui/core\";\n\nimport { ClearBrandIcon } from \"../../../assets/icons\";\nimport { ReactComponent as OrnamentLeftBottom } from \"../../../assets/images/ornament-left-bottom.svg\";\nimport { ReactComponent as OrnamentRightBottom } from \"../../../assets/images/ornament-right-bottom.svg\";\nimport { ReactComponent as InformationSent } from \"../../../assets/images/information-sent.svg\";\n\nimport { PatientFormFinishedProps } from \"./props\";\nimport useStyles from \"./css\";\n\n\nexport default function PatientFormFinished(props: PatientFormFinishedProps) {\n \n const { account, isMobile } = props;\n \n const classes = useStyles(isMobile)();\n \n const { t } = useTranslation(\"patient-form\");\n \n return (\n
\n
\n
\n {account && account.logo ? (\n
\n ) : (\n \n \n
\n )}\n
\n \n {account.name || \"New Life\"}\n \n \n {t(\"Thank you for your time\")}\n \n \n \n {t(\"Your information has been sent successfully\")}\n \n \n {t(\"See you at your appointment\")}\n \n
\n \n \n \n
\n
\n
\n );\n}","import React, { useEffect, useState } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport { Button } from \"@material-ui/core\";\n\nimport useStyles from \"./css\";\nimport Country from \"../../../models/common/country\";\nimport { AppointmentService } from \"../../../api\";\nimport { PatientFormProps } from \"./props\";\nimport { PatientFormService } from \"../../../api/patient-form-service\";\nimport PatientFormModel from \"../../../models/patientform/patient-form-model\";\nimport PatientFormSection from \"../PatientFormSection\";\nimport PatientFormSectionModel from \"../../../models/patientform/patient-form-section-model\";\nimport PatientFormHeader from \"../PatientFormHeader\";\nimport PatientFormBasicInformation from \"../PatientFormBasicInformation\";\nimport CustomerInfo from \"../../../models/customer/customer-info\";\nimport PatientFormStepper from \"../PatientFormStepper\";\nimport MobileNumber from \"../../../models/common/mobile-number\";\nimport { Validation } from \"../../../constants\";\nimport PatientFormTypedControl from \"../../../models/patientform/patient-form-typed-control\";\nimport { PatientFormControlType } from \"../../../models/patientform/patient-form-control-type\";\nimport RadioValue from \"../../../models/common/radio-value\";\nimport PatientFormSignatureStep from \"../PatientFormSignatureStep\";\nimport PatientFormAcceptanceModel from \"../../../models/patientform/patient-form-acceptance-model\";\nimport PatientFormFinished from \"../PatientFormFinished\";\nimport { Gender } from '../../../models/customer/gender';\n\n\nexport default function PatientForm(props: PatientFormProps) {\n\n const { previewStep, customerId, isMobile } = props;\n\n const { t } = useTranslation(\"patient-form\");\n\n const classes = useStyles(isMobile)();\n\n const [formData, setFormData] = useState(new PatientFormModel())\n const [activeStep, setActiveStep] = useState<0 | 1 | 2 | 3>(0);\n\n const dispatch = useAppDispatch();\n const { setCountries, setCountryInSettings, setShowLoader } = schedulerActions;\n\n const account = useAppSelector((state) => state.scheduler.account);\n const localeApp = useAppSelector(state => state.scheduler.locale);\n const countries = useAppSelector(state => state.scheduler.countries);\n\n const isClinicalHistoryStepEnabled = account.isClinicalHistoryEnabled;\n\n useEffect(() => {\n\n switch (previewStep) {\n case \"first\":\n setActiveStep(0);\n break;\n case \"second\":\n setActiveStep(1);\n break;\n default:\n setActiveStep(0);\n break;\n }\n }, [previewStep]);\n\n const customerInfoProgress = [\n Validation.validateName(formData.customerInfo.name),\n Validation.validateName(formData.customerInfo.lastName),\n validateMobileNumber(formData.customerInfo.mobile)].reduce((previousValue, currentValue) => { return previousValue + (currentValue ? 1 : 0) }, 0)\n const customerInfoProgressRequired = 3;\n\n const generalInfoProgress = formData.generalInfo.reduce(getSectionGroupProgress, 0)\n const generalInfoProgressRequired = formData.generalInfo.reduce(getSectionGroupRequiredProgress, 0);\n\n const clinicHistoryProgress = formData.clinicHistory.reduce(getSectionGroupProgress, 0)\n const clinicHistoryProgressRequired = formData.clinicHistory.reduce(getSectionGroupRequiredProgress, 0);\n\n const signatureProgress = [\n formData.acceptance.isPrivacyNoticeEnabled && formData.acceptance.hasAcceptedPrivacyNotice,\n formData.acceptance.isConsentLetterEnabled && formData.acceptance.hasReadConsentLetter,\n formData.acceptance.signature !== null\n ].reduce((previousValue, currentValue) => { return previousValue + (currentValue ? 1 : 0) }, 0)\n const signatureProgressRequired = [\n formData.acceptance.isPrivacyNoticeEnabled,\n formData.acceptance.isConsentLetterEnabled,\n true //Signature is always required\n ].reduce((previousValue, currentValue) => { return previousValue + (currentValue ? 1 : 0) }, 0)\n\n function _setCountries(value: Country[]) {\n dispatch(setCountries(value))\n }\n\n function _setCountryInSettings(value: Country) {\n dispatch(setCountryInSettings(value))\n }\n\n async function loadCountries() {\n if (account && account.id) {\n const response = await AppointmentService.getCountries(account.id, localeApp);\n\n const listCountries: Country[] = response.country;\n const countryInSettings: Country = response.countryInSettings;\n\n _setCountries(listCountries || []);\n _setCountryInSettings(countryInSettings || new Country());\n }\n }\n\n async function loadFormData() {\n if (account && account.id) {\n dispatch(setShowLoader(true));\n const response = await PatientFormService.getPatientFormData(account.id, customerId);\n dispatch(setShowLoader(false));\n updateResponseWithLocalStorageValues(response);\n setFormData(response);\n }\n }\n\n useEffect(() => {\n (async () => loadCountries()\n )();\n (async () => loadFormData()\n )();\n }, [account?.id])\n\n function updateResponseWithLocalStorageValues(patientFormData: PatientFormModel) {\n if (previewStep !== null) return;\n\n for (const [key, value] of Object.entries(localStorage)) {\n if (!key.startsWith(\"patient_form\") || !key.includes(customerId!))\n continue;\n\n if (key.endsWith(\"first_name\")) {\n patientFormData.customerInfo.name = value;\n continue;\n }\n if (key.endsWith(\"last_name\")) {\n patientFormData.customerInfo.lastName = value;\n continue;\n }\n if (key.endsWith(\"email\")) {\n patientFormData.customerInfo.email = value;\n continue;\n }\n if (key.endsWith(\"gender\")) {\n patientFormData.customerInfo.gender = JSON.parse(value) as Gender;\n continue;\n }\n if (key.endsWith(\"gender_custom\")) {\n patientFormData.customerInfo.customGender = value;\n continue;\n }\n if (key.endsWith(\"mobile\")) {\n patientFormData.customerInfo.mobile = JSON.parse(value) as MobileNumber;\n continue;\n }\n if (key.endsWith(\"dob\")) {\n patientFormData.customerInfo.dateOfBirth = JSON.parse(value) as Date;\n continue;\n }\n if (key.endsWith(\"agreed_to_privacy_notice\")) {\n patientFormData.acceptance.hasAcceptedPrivacyNotice = JSON.parse(value) as boolean;\n continue;\n }\n if (key.endsWith(\"read_informed_consent_letter\")) {\n patientFormData.acceptance.hasReadConsentLetter = JSON.parse(value) as boolean;\n continue;\n }\n if (key.endsWith(\"signature\")) {\n patientFormData.acceptance.signature = JSON.parse(value) as string | null;\n continue;\n }\n\n const allFields = patientFormData.generalInfo\n .flatMap(s => s.controls)\n .concat(patientFormData.clinicHistory\n .flatMap(s => s.controls));\n const fieldId = key.split(\"_\").pop();\n\n const patientField = allFields.find(f => f.fieldId === fieldId);\n if (!patientField)\n continue;\n\n switch (patientField.type) {\n case PatientFormControlType.PhoneNumber:\n patientField.value = JSON.parse(value) as MobileNumber;\n break;\n case PatientFormControlType.Email:\n patientField.value = JSON.parse(value) as string;\n break;\n case PatientFormControlType.Radio:\n patientField.value = JSON.parse(value) as RadioValue;\n break;\n case PatientFormControlType.Text:\n patientField.value = JSON.parse(value) as string;\n break;\n }\n }\n }\n\n function validateMobileNumber(value: MobileNumber) {\n return Validation.validateMobileNumberWithCountries(value, countries);\n }\n\n function setCustomerInfo(newCustomerInfo: CustomerInfo) {\n setFormData({ ...formData, customerInfo: newCustomerInfo })\n }\n\n const setGeneralInfoSection = (index: number) => (newSection: PatientFormSectionModel) => {\n const newGeneralInfo = [...formData.generalInfo]\n newGeneralInfo[index] = newSection;\n setFormData({ ...formData, generalInfo: newGeneralInfo })\n }\n\n const setClinicHistorySection = (index: number) => (newSection: PatientFormSectionModel) => {\n const newClinicHistory = [...formData.clinicHistory]\n newClinicHistory[index] = newSection;\n setFormData({ ...formData, clinicHistory: newClinicHistory })\n }\n\n function setAcceptance(signature: PatientFormAcceptanceModel) {\n setFormData({ ...formData, acceptance: signature })\n }\n\n function getSectionGroupProgress(previousValue: number, currentValue: PatientFormSectionModel): number {\n return previousValue + currentValue.controls.reduce(getSectionProgress, 0)\n }\n\n function getSectionProgress(previousValue: number, currentValue: PatientFormTypedControl): number {\n return previousValue + getControlProgress(currentValue);\n }\n\n function sectionIsValidated(section: PatientFormSectionModel) {\n return section.controls.every(controlIsValidated);\n }\n\n function getControlProgress(control: PatientFormTypedControl): number {\n if (!control.isRequired) return 0;\n switch (control.type) {\n case PatientFormControlType.PhoneNumber:\n return Validation.validateMobileNumberWithCountries(control.value as MobileNumber, countries) ? 1 : 0;\n case PatientFormControlType.Email:\n return Validation.validateEmail(control.value as string) ? 1 : 0;\n case PatientFormControlType.Radio:\n return Validation.validateRadio(control.value as RadioValue) ? 1 : 0;\n case PatientFormControlType.Text:\n return Validation.validateText(control.value as string) ? 1 : 0;\n }\n return 0;\n }\n\n function isMobileControlValidated(isRequired: boolean, value: MobileNumber): boolean {\n return isRequired\n ? Validation.validateMobileNumberWithCountries(value, countries)\n : value === null || value.body === \"\" || Validation.validateMobileNumberWithCountries(value, countries);\n }\n\n function isEmailControlValidated(isRequired: boolean, value: string): boolean {\n return isRequired\n ? Validation.validateEmail(value)\n : value === null || value === \"\" || Validation.validateEmail(value);\n }\n\n function isRadioControlValidated(isRequired: boolean, value: RadioValue): boolean {\n return isRequired\n ? Validation.validateRadio(value)\n : value === null || value.item === null || Validation.validateRadio(value);\n }\n\n function controlIsValidated(control: PatientFormTypedControl): boolean {\n switch (control.type) {\n case PatientFormControlType.PhoneNumber:\n return isMobileControlValidated(control.isRequired, control.value as MobileNumber);\n case PatientFormControlType.Email:\n return isEmailControlValidated(control.isRequired, control.value as string);\n case PatientFormControlType.Radio:\n return isRadioControlValidated(control.isRequired, control.value as RadioValue);\n case PatientFormControlType.Text:\n return true;\n }\n return true;\n }\n\n function getSectionGroupRequiredProgress(previousValue: number, currentValue: PatientFormSectionModel): number {\n return previousValue + currentValue.controls.reduce(getSectionRequiredProgress, 0)\n }\n\n function getSectionRequiredProgress(previousValue: number, currentValue: PatientFormTypedControl): number {\n return previousValue + (currentValue.isRequired ? 1 : 0);\n }\n\n function isFormReadyToFinalize(): boolean {\n return activeStep === 2;\n }\n\n function stepOneIsReady(): boolean {\n return customerInfoProgress + generalInfoProgress === customerInfoProgressRequired + generalInfoProgressRequired;\n }\n\n function stepTwoIsReady(): boolean {\n return clinicHistoryProgress === clinicHistoryProgressRequired;\n }\n\n function stepThreeIsReady(): boolean {\n return signatureProgress === signatureProgressRequired;\n }\n\n function stepOneIsValidated(): boolean {\n return isEmailControlValidated(false, formData.customerInfo.email) && formData.generalInfo.every(sectionIsValidated);\n }\n\n function stepTwoIsValidated(): boolean {\n return formData.clinicHistory.every(sectionIsValidated);\n }\n\n async function handleFormFinish() {\n if (previewStep !== null || !customerId) {\n setActiveStep(3);\n return;\n }\n if (!(account && account.id)) return;\n\n await PatientFormService.savePatientFormData(account.id, customerId, formData)\n .finally(() => {\n setActiveStep(3);\n removeLocalStorageFieldsValues();\n });\n }\n\n function isContinueButtonDisabled(): boolean {\n switch (activeStep) {\n case 0: return !(stepOneIsReady() && stepOneIsValidated());\n case 1: return !(stepTwoIsReady() && stepTwoIsValidated());\n case 2: return !stepThreeIsReady();\n default: return false;\n }\n }\n\n async function handleContinueButtonClick() {\n if (!isClinicalHistoryStepEnabled && activeStep === 0) {\n setActiveStep(2)\n window.scrollTo(0, 0)\n return;\n }\n if (activeStep === 2) {\n await handleFormFinish();\n } else {\n setActiveStep((prev) => prev + 1 as 0 | 1 | 2);\n window.scrollTo(0, 0)\n }\n }\n\n function handleGoBackButtonClick() {\n if (!isClinicalHistoryStepEnabled && activeStep === 2) {\n setActiveStep(0)\n window.scrollTo(0, 0)\n return;\n }\n\n setActiveStep((prev) => prev - 1 as 0 | 1 | 2 | 3);\n window.scrollTo(0, 0);\n }\n\n function removeLocalStorageFieldsValues() {\n for (const [key, _] of Object.entries(localStorage)) {\n if (key.startsWith(\"patient_form\") && key.includes(customerId!)) {\n localStorage.removeItem(key);\n }\n }\n }\n\n function mapGeneralInfoSectionToRenderElement(section: PatientFormSectionModel, index: number) {\n return (\n \n );\n }\n\n function mapClinicHistorySectionToRenderElement(section: PatientFormSectionModel, index: number) {\n return (\n \n );\n }\n\n const ButtonsBlock = () =>\n <>\n
\n
\n {activeStep !== 0\n ? \n {t(\"Go back\")}\n \n : <>}\n \n {isFormReadyToFinalize() ? t(\"Finish\") : t(\"Continue\")}\n \n
\n \n\n const FirstStepContent = () =>\n <>\n \n \n {\n formData.generalInfo.map(mapGeneralInfoSectionToRenderElement)\n }\n \n \n\n const SecondStepContent = () =>\n <>\n \n {\n formData.clinicHistory.map(mapClinicHistorySectionToRenderElement)\n }\n \n \n\n const ThirdStepContent = () =>\n <>\n \n \n \n \n\n const FormFinishedContent = () =>\n <>\n \n \n\n return (\n
\n \n
\n <>\n {activeStep === 0 && FirstStepContent()}\n {isClinicalHistoryStepEnabled && activeStep === 1 && SecondStepContent()}\n {activeStep === 2 && ThirdStepContent()}\n {activeStep == 3 && FormFinishedContent()}\n \n
\n
\n );\n}","import React, { useEffect } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useParams } from \"react-router-dom\";\n\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\nimport { useAppDispatch } from \"../../../redux/hooks\";\n\nimport { AccountInfoModel } from \"../../../models/account\";\nimport { Url } from \"../../../constants\";\nimport { AppointmentService } from \"../../../api\";\n\n\nexport default function AccountInfoProvider() {\n \n const { accountBusinessName } = useParams();\n \n const dispatch = useAppDispatch();\n const { i18n } = useTranslation(\"general\");\n const { setAccount, setLocale, setShowLoader } = schedulerActions;\n \n const _setAccount = (value: AccountInfoModel) => {\n const language = value.languageCode ?? process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'es';\n i18n.changeLanguage(language).finally(() => {\n dispatch(setLocale(language));\n dispatch(setAccount(value));\n });\n };\n \n \n useEffect(() => {\n const fetchData = async () => {\n await loadData();\n };\n \n fetchData();\n \n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n \n const redirect = () => {\n window.location.href = Url.NotFound;\n };\n \n const loadData = async () => {\n if (accountBusinessName) {\n try {\n dispatch(setShowLoader(true));\n const accountByBusinessName =\n await AppointmentService.getByBusinessName(accountBusinessName);\n dispatch(setShowLoader(false));\n if (accountByBusinessName && accountByBusinessName.id) {\n _setAccount(accountByBusinessName);\n } else {\n redirect();\n }\n } catch (error) {\n redirect();\n }\n } else {\n redirect();\n }\n };\n \n return null;\n}","import React from 'react';\n\nimport { useLocation } from \"react-router-dom\";\n\n\nexport default function useQueryParameter(parameterName: string) {\n \n const { search } = useLocation();\n \n const urlSearchParams = new URLSearchParams(search)\n \n return urlSearchParams.get(parameterName);\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nexport const useStyles = makeStyles((theme) => ({\n root: {\n height: 3,\n },\n colorPrimary: {\n backgroundColor: \"#C9CDD3\"\n },\n barColorPrimary: {\n backgroundColor: \"#6462F3\"\n },\n}));\n","import React from \"react\";\nimport Box from \"@material-ui/core/Box\";\nimport LinearProgress from '@material-ui/core/LinearProgress';\n\nimport { useStyles } from \"./css\";\n\nconst LoaderLine = () => {\n const classes = useStyles();\n \n return (\n \n \n \n );\n};\n\nexport default LoaderLine;\n","import React from 'react';\n\nimport { Redirect } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet-async\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport Fade from \"@material-ui/core/Fade\";\n\nimport PatientForm from \"../PatientForm\";\nimport AccountInfoProvider from \"../../account/AccountInfoProvider/account-info-provider\";\nimport useQueryParameter from \"../../../hooks/useQueryParameter\";\nimport { Url } from \"../../../constants\";\nimport LoaderLine from \"../../common/LoaderLine\";\n\n\nexport default function PatientFormPage() {\n \n const previewStepParameterName = 'previewStep';\n const customerIdParameterName = 'customerId';\n \n const previewStep = useQueryParameter(previewStepParameterName);\n const customerId = useQueryParameter(customerIdParameterName);\n \n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const isMobile = true; //!isMdMedia TODO bring back when desktop layout is ready\n const showLoader = useAppSelector((state) => state.scheduler.showLoader);\n \n return (\n <>\n \n \n \n {\n (previewStep !== null && previewStep !== \"\") || (customerId !== null && customerId !== \"\") ?\n <>\n \n \n \n \n \n \n \n \n :\n \n }\n \n );\n}","import React from 'react';\n\nimport { Interweave } from \"interweave\";\n\nimport { InterweaveComponentProps } from \"./props\";\n\n\nexport default function InterweaveComponent(props: InterweaveComponentProps) {\n \n const { text } = props;\n \n const linkRegex = new RegExp(\"[Hh]ttps?:\\\\/\\\\/(www\\\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\\\.[a-z]{2,4}\\\\b([-a-zA-Z0-9@:%_\\+.~#?&/=]*)\");\n \n const encaseLinksWithTags = (str: string) => {\n if (str === null) return str;\n const matches = str.match(linkRegex);\n if (matches && matches.length > 0) {\n let newStr = str;\n newStr = newStr.replace(matches[0], `${matches[0]}`)\n return newStr;\n } else {\n return str;\n }\n }\n \n return (\n \n );\n}","import React, { useEffect, useState } from 'react';\n\nimport { Redirect } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet-async\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport InterweaveComponent from \"../../common/InterweaveComponent\";\nimport { PatientFormService } from \"../../../api/patient-form-service\";\nimport { Url } from \"../../../constants\";\nimport AccountInfoProvider from \"../../account/AccountInfoProvider/account-info-provider\";\n\n\nexport default function PrivacyNoticePage() {\n \n const [privacyNoticeEnabled, setPrivacyNoticeEnabled] = useState(true);\n const [privacyNotice, setPrivacyNotice] = useState(\"\");\n \n const account = useAppSelector((state) => state.scheduler.account);\n \n useEffect(() => {\n (async () => loadPrivacyNotice()\n )();\n }, [account.id])\n \n async function loadPrivacyNotice() {\n if (account && account.id) {\n const response = await PatientFormService.getPrivacyNotice(account.id);\n setPrivacyNotice(response.privacyNotice);\n setPrivacyNoticeEnabled(response.privacyNoticeEnabled);\n }\n }\n \n return (\n <>\n \n \n \n \n {\n privacyNoticeEnabled\n ? \n \n :\n \n }\n \n );\n}","import React, { useEffect, useState } from 'react';\n\nimport { Redirect } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet-async\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport InterweaveComponent from \"../../common/InterweaveComponent\";\nimport { PatientFormService } from \"../../../api/patient-form-service\";\nimport { Url } from \"../../../constants\";\nimport AccountInfoProvider from \"../../account/AccountInfoProvider/account-info-provider\";\n\n\nexport default function InformedConsentLetterPage() {\n \n const [consentLetterEnabled, setConsentLetterEnabled] = useState(true);\n const [consentLetter, setConsentLetter] = useState(\"\");\n \n const account = useAppSelector((state) => state.scheduler.account);\n \n useEffect(() => {\n (async () => loadPrivacyNotice()\n )();\n }, [account.id])\n \n async function loadPrivacyNotice() {\n if (account && account.id) {\n const response = await PatientFormService.getInformedConsentLetter(account.id);\n setConsentLetter(response.consentLetter);\n setConsentLetterEnabled(response.consentLetterEnabled);\n }\n } \n \n \n return (\n <>\n \n \n \n \n {\n consentLetterEnabled\n ?\n \n :\n \n }\n \n );\n}","export enum TerminologyType {\n Certification = 4\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n notification: {\n background: \"#FFFFFF\",\n boxShadow: \"0px 4px 4px rgba(0,0,0,0.1)\",\n borderRadius: \"10px\",\n width: \"282px\",\n minHeight: \"74px\",\n display: \"flex\",\n alignItems: \"center\"\n },\n notificationLink: {\n background: \"#FFFFFF\",\n boxShadow: \"0px 4px 4px rgba(0,0,0,0.1)\",\n borderRadius: \"10px\",\n width: \"282px\",\n // minHeight: \"96px\",\n display: \"flex\"\n },\n notificationType: {\n alignSelf: \"flex-start\",\n borderRadius: \"10px 0px 0px 10px\",\n minHeight: \"74px\",\n height: \"100%\",\n width: 5,\n },\n notificationSuccess: {\n backgroundColor: \"#36CE91\",\n },\n notificationError: {\n backgroundColor: \"#F15857\",\n },\n notificationWarning: {\n backgroundColor: \"#FFC626\",\n },\n notificationBody: {\n position: \"relative\",\n display: \"flex\",\n alignItems: \"center\",\n height: \"100%\",\n width: \"100%\",\n },\n notificationIconContainer: {\n width: 56,\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n notificationIcon: {\n width: 28,\n height: 28,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n notificationContent: {\n display: \"flex\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"100%\",\n },\n notificationText: {\n height: \"100%\",\n width: \"100%\",\n padding: \"16px 0px\",\n },\n notificationTitle: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n fontWeight: \"bold\"\n },\n notificationDescription: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n whiteSpace: \"pre-wrap\",\n wordBreak: \"break-word\"\n },\n notificationClose: {\n padding: \"8px 8px 0 8px\",\n height: \"100%\",\n color: theme.colors.grey4,\n display: \"flex\",\n alignSelf: \"flex-start\"\n },\n closeIconButton: {\n alignSelf: \"flex-start\",\n },\n notificationCloseIcon: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n link: {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n \"&:hover\": {\n color: theme.colors.clearMain,\n },\n },\n}));\n\nexport default useStyles;\n","import React, { useEffect } from \"react\";\nimport { useSnackbar } from \"notistack\";\n\nimport IconButton from \"@material-ui/core/IconButton\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport {\n SuccessIcon,\n ErrorIcon,\n ExclamationIcon, CrossIcon,\n} from \"./../../../../assets/icons\";\nimport { useAppDispatch, useAppSelector } from \"./../../../../redux/hooks\";\nimport { alertsActions } from \"../../../../redux/alerts-slice\";\n\nimport { AlertProps } from \"./props\";\nimport useStyles from \"./css\";\n\nconst Alert = (props: AlertProps) => {\n const { closeSnackbar } = useSnackbar();\n const { key, title, description, link, type } = props;\n const classes = useStyles();\n return (\n
\n \n
\n
\n
\n {type === \"Error\" ? (\n \n ) : type === \"Success\" ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n \n {title}\n \n \n {description}\n \n {link && link.title &&\n \n {link?.title}\n \n }\n
\n
\n
\n
\n {\n closeSnackbar(key);\n }}\n className={classes.closeIconButton}\n >\n
\n \n
\n \n
\n
\n );\n};\n\nlet displayed: any[] = [];\n\nconst useAlert = () => {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const dispatch = useAppDispatch();\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const alerts = useAppSelector((state) => state.alerts.alerts);\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const { enqueueSnackbar, closeSnackbar } = useSnackbar();\n\n const { removeAlert } = alertsActions;\n\n const storeDisplayed = (id: any) => {\n displayed = [...displayed, id];\n };\n\n const removeDisplayed = (id: any) => {\n displayed = [...displayed.filter((key) => id !== key)];\n };\n\n const classes = useStyles();\n\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => {\n alerts.forEach((alert: any) => {\n const { key, title, description, link, type } = alert;\n\n if (alert.dismissed) {\n closeSnackbar(key);\n return;\n }\n\n // do nothing if snackbar is already displayed\n if (displayed.includes(key)) return;\n\n // display snackbar using notistack\n enqueueSnackbar(alert.title, {\n key: key,\n content: (key: any, message: any) => (\n
\n \n
\n
\n
\n {type === \"Error\" ? (\n \n ) : type === \"Success\" ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n \n {title}\n \n \n {description}\n \n {link && link.title &&\n \n {link?.title}\n \n }\n
\n
\n
\n
\n {\n closeSnackbar(key);\n }}\n className={classes.closeIconButton}\n >\n
\n \n
\n \n
\n
\n ),\n // onClose: (event, reason, myKey) => {\n // if (options.onClose) {\n // options.onClose(event, reason, myKey);\n // }\n // },\n onExited: (event, myKey) => {\n // remove this snackbar from redux store\n dispatch(removeAlert(myKey));\n removeDisplayed(myKey);\n },\n });\n\n // keep track of snackbars that we've displayed\n storeDisplayed(key);\n });\n \n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [alerts]);\n};\n\nexport default useAlert;\n","import React from \"react\";\nimport { SnackbarProvider } from \"notistack\";\nimport Collapse from \"@material-ui/core/Collapse\";\n\nimport { AlertProviderProps } from \"./props\";\n\nconst AlertProvider = (props: AlertProviderProps) => {\n const { children } = props;\n return (\n \n {children}\n \n );\n};\n\nexport default AlertProvider;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n menuHorizontalTop: {\n paddingTop: 3,\n paddingBottom: 3,\n height: 64,\n backgroundColor: \"#fff!important\",\n color: \"#919CA5\",\n fontWeight: \"bold\",\n borderBottom: \"1px solid #C9CDD3\",\n // Centering AppBar\n position: \"fixed\",\n left: 0,\n right: 0,\n margin: \"auto\",\n \"& .MuiToolbar-root\": {\n [theme.breakpoints.down(\"sm\")]: {\n justifyContent: \"space-between\",\n },\n },\n },\n paper: {\n color: \"#fff\",\n background: \"#FAFAFA\",\n borderTopLeftRadius: \"20px\",\n borderBottomLeftRadius: \"20px\",\n width: \"250px\",\n },\n shareButton: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: \"#1D2027\",\n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 8\n },\n },\n personalizedAttentionButton: {\n width: 189,\n borderRadius: 5,\n border: \"0.5px solid\",\n borderColor: theme.colors.clear2,\n background: '#FAFAFA',\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clear2,\n height: 32,\n \"&.Mui-disabled\": {\n color: theme.colors.grey1,\n opacity: 0.3,\n },\n \"& .MuiButton-label\": {\n gap: \"12px\"\n },\n },\n branding: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n marginTop43: {\n marginTop: 43\n },\n personalizedAttentionButtonContainer: {\n [theme.breakpoints.down(\"sm\")]: {\n display: \"flex\",\n flexDirection: \"column\",\n \"&::after\": {\n content: \"''\",\n height: \"100%\",\n borderBottom: \"1px solid #ACB7C0\",\n margin: \"16px 0 8px 0\",\n },\n },\n },\n brandingCircle: {\n height: 30,\n width: 30,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n brandingCircleDrawer: {\n height: 39,\n width: 39,\n borderRadius: \"50%\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n imageCircle: {\n height: 30,\n width: 30,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n imageCircleDrawer: {\n height: 46,\n width: 46,\n borderRadius: \"50%\",\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n brandTitle: {\n ...theme.typography.header4,\n fontWeight: 700,\n color: theme.colors.grey7,\n display: \"flex\",\n justifyContent: \"center\",\n },\n logoContent: {\n display: \"flex\",\n alignItems: \"center\",\n gap: 16\n },\n logoDrawerContent: {\n display: \"flex\",\n flexDirection: \"column\",\n marginTop: 23,\n marginBottom: 33,\n gap: 8\n },\n buttonContainer: {\n [theme.breakpoints.up(\"sm\")]: {\n display: \"flex\",\n alignItems: \"center\",\n gap: 8\n },\n [theme.breakpoints.down(\"sm\")]: {\n display: \"flex\",\n flexDirection: \"column\",\n marginLeft: \"unset\",\n paddingBottom: 10\n },\n },\n tabsContent: {\n marginLeft: \"auto\",\n display: \"flex\",\n alignItems: \"center\",\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n marginLeft: \"unset\",\n height: \"100%\",\n justifyContent: \"space-between\"\n },\n },\n tooltipBlock: {\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n },\n})\n);\n\nexport default useStyles;","import { TerminologyType } from \"../enum/terminology-type\";\n\nexport class Terminology {\n terminologyType: TerminologyType;\n singularForm: string;\n pluralForm: string;\n \n constructor(x?: any) {\n if (typeof x === \"object\") {\n this.terminologyType = x.terminologyType;\n this.singularForm = x.singularForm;\n this.pluralForm = x.pluralForm;\n }\n else {\n this.terminologyType = 0;\n this.singularForm = \"\";\n this.pluralForm = \"\";\n }\n }\n}","export enum TerminologyForm {\n Singular,\n Plural\n}","import { useTranslation } from \"react-i18next\";\n\nimport { useAppSelector } from '../../redux/hooks';\n\nimport { TerminologyProps } from \"./props\";\nimport { TerminologyType } from \"../../models/enum/terminology-type\";\nimport { Terminology } from '../../models/account/terminology';\nimport { TerminologyForm } from \"../../models/enum/terminology-form\";\n\n\nexport default function useTerminology(props: TerminologyProps) {\n \n const {\n type,\n form\n } = props;\n \n const { t } = useTranslation([\"general\"]);\n const accountSettings = useAppSelector((state) => state.scheduler.account);\n \n function getDefaultTerminology(terminologyType: TerminologyType) {\n switch (terminologyType){\n case TerminologyType.Certification:\n return new Terminology({\n terminologyType: TerminologyType.Certification,\n singularForm: t('Certification'),\n pluralForm: t('Certifications'),\n })\n }\n }\n \n function getTerminology() {\n const terminology = accountSettings.terminologies?.find(t => t.terminologyType === type)\n ?? getDefaultTerminology(type);\n return form === TerminologyForm.Plural ? terminology.pluralForm : terminology.singularForm\n }\n\n return getTerminology();\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n tabsRoot: {\n minHeight: 55,\n position: \"relative\",\n top: 5,\n [theme.breakpoints.down(\"sm\")]: {\n width: \"100%\"\n },\n },\n tabs: {\n ...theme.typography.txtBody2,\n \"& .MuiTabs-indicator\": {\n backgroundColor: \"#7175FA\",\n \n [theme.breakpoints.down(\"sm\")]: {\n width: 4,\n left: 0,\n },\n },\n \"& .Mui-selected\": {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n fontWeight: \"bold\",\n [theme.breakpoints.down(\"sm\")]: {\n backgroundColor: \"#f5f6f6\",\n fontFamily: \"Inter, sans-serif\",\n fontSize: \"14px\",\n },\n },\n \"& .MuiButtonBase-root\": {\n minWidth: 0,\n alignItems: \"left\",\n marginRight: 25,\n [theme.breakpoints.down(\"sm\")]: {\n marginRight: 0\n },\n },\n \"& .MuiTab-root\": {\n paddingLeft: 0,\n paddingRight: 0,\n flexDirection: \"column\"\n },\n \"& .MuiTab-wrapper\": {\n [theme.breakpoints.down(\"sm\")]: {\n alignItems: \"flex-start\",\n paddingLeft: 23\n },\n }\n },\n tab: {\n ...theme.typography.txtBody2,\n textTransform: \"none\",\n root: {\n ...theme.typography.txtBody2,\n },\n selected: {\n fontWeight: \"bold\",\n },\n [theme.breakpoints.down(\"sm\")]: {\n ...theme.typography.txtBody1\n },\n \"&:hover\": {\n textDecoration: \"none\",\n color: theme.colors.clearMain\n }\n },\n })\n);\n\nexport default useStyles;","import React, { useEffect, useState } from 'react';\n\nimport { Link, useParams, useRouteMatch } from \"react-router-dom\";\nimport { useTranslation } from \"react-i18next\";\n\nimport useTerminology from '../../../hooks/useTerminology';\n\nimport { Tab, Tabs } from \"@material-ui/core\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\n\nimport { Url } from \"../../../constants\";\nimport useStyles from \"./css\";\nimport { NavTabsProps } from './props';\nimport { TerminologyType } from '../../../models/enum/terminology-type';\nimport { TerminologyForm } from '../../../models/enum/terminology-form';\n\nexport default function NavTabs(props: NavTabsProps) {\n \n const routeMatch = useRouteMatch({\n path: [\n Url.Navbar.ScheduleAppointment,\n Url.Navbar.AboutUs,\n Url.Navbar.Certifications,\n Url.Navbar.Services\n ],\n exact: true\n });\n \n const { displayCertificationTab } = props;\n\n const currentTab = routeMatch?.path;\n \n const { t } = useTranslation([\"general\"]);\n \n const { accountBusinessName } = useParams();\n\n const certsTerminology = useTerminology({ type: TerminologyType.Certification, form: TerminologyForm.Plural });\n\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"sm\"), { noSsr: true });\n \n const classes = useStyles();\n \n return (\n <>\n \n \n \n {displayCertificationTab &&\n \n }\n \n \n );\n}","import React from \"react\";\n\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nexport default function CopyLinkIcon(props: any) {\n \n const { viewBox, style, color, ...otherProps } = props;\n \n return (\n \n \n \n );\n}","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n modalYellow: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n },\n modalPaperYellow: {\n backgroundColor: theme.palette.background.paper,\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n borderRadius: \"10px\",\n boxShadow: theme.shadows[5],\n padding: \"24px\",\n width: 464,\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n border: \"1px solid #FFC626\",\n },\n },\n modalHeader: {\n },\n modalHeaderContent: {\n display: \"flex\",\n justifyContent: \"center\",\n width: \"100%\",\n },\n modalClose: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n },\n closeButton: {\n cursor: \"pointer\",\n color: \"#919CA5\",\n },\n modalTitle: {\n width: \"100%\",\n },\n modalTitleText: {\n fontSize: \"18px\",\n lineHeight: \"22px\",\n textAlign: \"center\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n color: \"#26292B\",\n },\n modalContent: {},\n modalCircle: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderRadius: \"50%\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: \"#FFC626\",\n width: \"60px\",\n height: \"60px\",\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n textAlign: \"center\"\n },\n modalTitleSpace: {\n margin: \"30px 0px 20px 0px\",\n },\n modalContentTextTitle: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontSize: \"14px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n modalActions: {\n display: \"flex\",\n justifyContent: \"center\",\n marginTop: 32,\n },\n button: {\n width: 200,\n height: 32,\n borderRadius: 51,\n padding: \"11px 16px\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontFamily: \"Inter, sans-serif\",\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: 12\n },\n btnOk: {\n background: \"#FFC626\",\n color: \"#F6F6F6\",\n \"&:hover\": {\n background: \"#FFC626\",\n }\n },\n separator: {\n height: 0,\n width: 217,\n margin: \"0px auto 20px auto\",\n borderTop: \"1px solid rgba(201, 205, 211, 0.38)\",\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { ExclamationIcon, CrossIcon } from \"../../../assets/icons\";\n\nimport useStyles from \"./css\";\nimport { PersonalizedAttentionModalProps } from \"./props\";\n\nconst PersonalizedAttentionModal = (props: PersonalizedAttentionModalProps) => {\n const { open, businessNameUrl, name, phone, onClose } = props;\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const format = (text: string, ...replacements: string[]) => {\n for (let index = 0; index < replacements.length; index++) {\n text = text.replace(`{${index}}`, replacements[index]);\n }\n return text;\n };\n\n const onContinue = () => {\n onClose();\n let text = t(\"require_attention_command_template\");\n text = format(text, `${name} [${businessNameUrl}]`);\n const url = `https://wa.me/${phone}?text=${encodeURIComponent(text)}`;\n const win = window.open(url, '_blank');\n if (win != null) {\n win.focus();\n } else {\n document.location.href = url;\n }\n }\n\n return (\n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n \n {t(\"You will be redirected to the WhatsApp conversation with\")} \n {name}\n \n
\n
\n
\n
\n
\n \n {t(\"It is not necessary to modify the message displayed, just send it and we will give you personalized attention.\")}\n \n
\n
\n \n {t(\"Continue\")}\n \n
\n
\n
\n
\n \n );\n};\n\nexport default PersonalizedAttentionModal;\n","import React, { useEffect, useState } from 'react';\n\nimport useStyles from \"./css\";\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport { AppBar, Drawer, Toolbar } from \"@material-ui/core\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Button from \"@material-ui/core/Button\";\nimport MenuIcon from \"@material-ui/icons/Menu\";\nimport Tooltip from \"@material-ui/core/Tooltip\";\n\nimport NavTabs from \"../NavTabs\";\nimport WhatsAppIcon from \"../../../assets/icons/WhatsAppIcon\";\nimport { useTranslation } from \"react-i18next\";\nimport CopyLinkIcon from \"../../../assets/icons/CopyLinkIcon\";\nimport { ClearBrandIcon } from \"../../../assets/icons\";\nimport PersonalizedAttentionModal from \"../../common/PersonalizedAttentionModal\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport SnackbarNotification, { SnackbarNotificationKind } from \"../../common/notifications/SnackbarNotification\";\n\nexport default function NavBar(props: any) {\n interface LogoContentProps {\n showSmallLogoImage: boolean;\n }\n \n const classes = useStyles();\n const account = useAppSelector((state) => state.scheduler.account);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const [isPersonalizedAttentionOpen, setIsPersonalizedAttentionOpen] = useState(false);\n const [showLinkCopiedAlert, setShowLinkCopiedAlert] = useState(false);\n const [drawerOpen, setDrawerOpen] = useState(false);\n const { t } = useTranslation([\"general\"]);\n \n function handleOnShareClick() {\n navigator.clipboard.writeText(\"https://sitiodereservas.somosclear.com/\" + account.businessNameUrl);\n setShowLinkCopiedAlert(true);\n }\n \n const TabsContent = () => {\n return (\n
\n {\n !account.isEnterprise &&\n \n }\n
\n {!account.isEnterprise && \n {\n setIsPersonalizedAttentionOpen(true);\n }}\n >\n \n {t(\"Personalized attention\")}\n \n }\n {t(\"Copy link\")} }\n classes={{ tooltip: classes.tooltipBlock }}\n >\n \n \n {\n setShowLinkCopiedAlert(false)\n }}\n message={t(\"Link copied.\")}\n notificationKind={SnackbarNotificationKind.alert}\n anchorOriginHorizontal={\"right\"}\n anchorOriginVertical={\"top\"}\n />\n
\n
\n );\n }\n const LogoContent: React.FC = ({ showSmallLogoImage }) => {\n return (\n <>\n
\n {account && account.logo ? (\n
\n ) : (\n \n \n
\n )}\n \n \n {account?.name}\n \n \n );\n }\n \n return (\n \n \n
\n \n
\n {isMdMedia || account.isEnterprise\n ? \n : <>\n setDrawerOpen(true)}>\n \n \n setDrawerOpen(false)}\n classes={{ paper: classes.paper }}>\n \n
\n \n
\n \n
\n }\n
\n {\n setIsPersonalizedAttentionOpen(false)\n }}/>\n
\n );\n}","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n root: {\n position: \"relative\",\n top: 64\n }\n })\n);\n\nexport default useStyles;\n","import * as React from \"react\";\n\nimport Fade from \"@material-ui/core/Fade\";\n\nimport { useAppSelector } from \"../../redux/hooks\";\n\nimport NavBar from \"../navbar/NavBar\";\nimport LoaderLine from \"../common/LoaderLine\";\nimport useStyles from \"./css\";\nimport AccountInfoProvider from \"../account/AccountInfoProvider/account-info-provider\";\n\nexport default function Layout(props: any) {\n const showLoader = useAppSelector((state) => state.scheduler.showLoader);\n const classes = useStyles();\n\n return (\n
\n \n \n \n \n \n \n \n
\n
{props.children}
\n
\n
\n );\n}\n","export enum DayOfWeekEnum {\n Sunday = 0,\n Monday,\n Tuesday,\n Wednesday,\n Thursday,\n Friday,\n Saturday,\n}\n","export enum AppointmentStatus {\n Unconfirmed = 0,\n Confirmed,\n NotArrived,\n Arrived,\n}\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n accountTitle: {\n ...theme.typography.txtBody1,\n fontWeight: \"bold\",\n color: theme.colors.grey6,\n },\n accountLabel: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n \n width: \"85%\",\n \n [theme.breakpoints.down(\"sm\")]: {\n width: \"90%\",\n },\n },\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n marginLeft23: {\n marginLeft: 23\n },\n paper: {\n flexBasis: \"50%\",\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n },\n \n [theme.breakpoints.down(\"sm\")]: {\n flexBasis: \"98%\",\n },\n },\n modalImage: {\n borderRadius: \"20px 20px 0px 0px\",\n },\n stepper: {\n justifyContent: \"center\",\n height: 48,\n borderRadius: \"0px 0px 20px 20px\",\n },\n dot: {\n marginLeft: 22,\n \"&:first-child\": {\n marginLeft: 0,\n },\n },\n dotNone: {\n display: \"none !important\"\n },\n divFlag: {\n display: \"inline-block\",\n position: \"relative\",\n height: 20,\n width: 20,\n \"& svg\": {\n width: \"20px !important\",\n height: \"20px !important\"\n }\n },\n divCode: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n position: \"relative\",\n display: \"inline-block\",\n width: 35,\n textAlign: \"center\"\n },\n divMobile: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n display: \"inline-block\",\n },\n divider: {\n borderTop: \"1px solid #C9CDD3\",\n width: \"100%\",\n marginTop: 32,\n marginBottom: 32,\n \n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 24,\n marginBottom: 24,\n },\n },\n shortDesktopDivider: {\n [theme.breakpoints.up(\"md\")]: {\n width: \"90%!important\",\n },\n },\n whatsAppIconSmall: {\n width: \"18px !important\",\n height: \"18px !important\",\n \"& path\": {\n fill: theme.colors.grey5,\n }\n },\n imagesContainer: {\n display: \"flex\",\n flexWrap: \"nowrap\",\n gap: 15,\n \n [theme.breakpoints.down(\"sm\")]: {\n gap: 7\n },\n },\n paymentContainerItem: {\n display: \"flex\",\n marginTop: 10,\n marginLeft: 16,\n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 22\n },\n },\n imageContainer: {\n borderRadius: 5,\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n cursor: \"pointer\",\n minHeight: 80,\n width: \"33.33%\",\n boxSizing: \"border-box\",\n padding: \"0.5em\",\n \n [theme.breakpoints.down(\"sm\")]: {\n minHeight: 50\n },\n },\n whatsAppNumberContainer: {\n paddingTop: 5,\n paddingLeft: 20\n },\n titleContainer: {\n display: \"flex\",\n marginTop: 25\n },\n titleContainerMargin: {\n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 22\n },\n },\n imageModalContainer: {\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n minHeight: \"65vh\",\n \n [theme.breakpoints.down(\"sm\")]: {\n minHeight: \"40vh\",\n },\n },\n workHoursItemContainer: {\n display: \"flex\",\n marginTop: 10,\n \n [theme.breakpoints.down(\"sm\")]: {\n justifyContent: \"space-between\"\n },\n },\n hoursItemContainer: {\n flexBasis: \"50%\"\n },\n dayOfWeekItemContainer: {\n flexBasis: \"20%\",\n marginLeft: 16,\n \n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: 22\n },\n },\n accountInfoRoot: {\n marginTop: 25,\n alignSelf: \"center\",\n display: \"flex\", \n justifyContent: \"center\",\n flexDirection: \"column\"\n },\n accountInfoLeftSideContainer: {\n flexBasis: \"43%\"\n },\n noMargin: {\n margin: \"0!Important\"\n },\n accountInfoRightSideContainer: {\n flexBasis: \"56%\"\n },\n itemWithoutImageMargin: {\n marginTop: 8,\n marginLeft: 23\n },\n \n accountInfoContainer: {\n display: \"flex\",\n flexBasis: \"50%\",\n boxShadow: \"2px 2px 12px 5px rgba(235, 235, 235, 0.46)\",\n padding: \"0 26px 100px 26px\",\n alignSelf: \"center\",\n width: \"50%\",\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n flexBasis: \"80%\",\n width: \"80%\",\n padding: \"0 24px 50px 24px\",\n marginBottom: 30\n },\n },\n whatsAppContainer: {\n display: \"flex\",\n marginTop: 25,\n alignItems: \"center\",\n gap: 4\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {},\n text: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n },\n textButton: {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n fontWeight: 700,\n\n \"&:hover\": {\n textDecoration: \"underline\",\n cursor: \"pointer\",\n },\n },\n mobileContainer: {\n maxHeight: 500,\n\n overflowY: \"scroll\",\n },\n}));\n\nexport default useStyles;\n","import React, { useState } from 'react';\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\n\nimport { CancellationPoliciesBlockProps } from \"./props\";\nimport InterweaveComponent from \"../../common/InterweaveComponent\";\nimport useStyles from \"./css\";\n\n\nexport default function CancellationPoliciesBlock(props: CancellationPoliciesBlockProps) {\n\n const { text } = props;\n\n const { t } = useTranslation(\"general\");\n const classes = useStyles();\n\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n\n const shortModeLength = isMdMedia ? 650 : 250;\n const [shortMode, setShortMode] = useState(true);\n\n const forbiddenLastSymbols = ['<', '>', '/', '\\\\'];\n\n if (text.length < shortModeLength) {\n return \n }\n\n function handleSeeMoreClick() {\n setShortMode(false)\n }\n\n function handleSeeLessClick() {\n setShortMode(true)\n }\n\n if (shortMode) {\n const lastLetter = text.charAt(shortModeLength - 1);\n const cutLength = forbiddenLastSymbols.includes(lastLetter) ? shortModeLength -1 : shortModeLength;\n let cutText = text.substring(0, cutLength) + \"...\";\n\n return (\n
\n \n {t(\"See more\")}\n
\n );\n }\n\n return (\n
\n \n {t(\"See less\")}\n
\n );\n}","import React, { useState, useEffect } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { conformToMask } from \"react-text-mask\";\n\nimport { useSwipeable } from 'react-swipeable';\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Modal from \"@material-ui/core/Modal\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport Fade from \"@material-ui/core/Fade\";\nimport MobileStepper from \"@material-ui/core/MobileStepper\";\nimport IconButton from \"@material-ui/core/IconButton\";\n\nimport {\n LocationIcon,\n CreditIcon,\n CashIcon,\n CloseIcon,\n ArrowIcon,\n BankIcon,\n} from \"./../../../assets/icons\";\nimport { GetMobileMaskByTemp } from \"../../../constants/masks\";\nimport { DayOfWeekEnum } from \"../../../models/enum\";\nimport useStyles from \"./css\";\nimport CountryFlagIcon from \"../../../assets/flags\";\nimport WhatsAppIcon from \"../../../assets/icons/WhatsAppIcon\";\nimport PersonalizedAttentionModal from \"../../common/PersonalizedAttentionModal\"\nimport { useAppSelector } from \"../../../redux/hooks\";\nimport { MercadoPagoIcon, OxxoIcon } from \"../../../assets/icons\";\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport CancellationPoliciesBlock from \"../CancellationPoliciesBlock\";\nimport BackToEstablishmentsButton from \"../BackToEstablishmentsButton\";\nimport { AccountWorkDayModel } from \"../../../models/account\";\n\n\nexport default function AccountInfo() {\n \n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n \n const account = useAppSelector((state) => state.scheduler.account);\n const isUpdate = useAppSelector((state) => state.scheduler.isUpdate);\n \n const [isCarouselOpen, setIsCarouselOpen] = useState(false);\n const [isPersonalizedAttentionOpen, setIsPersonalizedAttentionOpen] = useState(false);\n const [activeStep, setActiveStep] = useState(0);\n const [maxSteps, setMaxSteps] = useState(0);\n const [pictures, setPictures] = useState([]);\n \n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n \n const mobileTemplate: string = \"000-000-0000\";\n \n const handlerSwipe = useSwipeable({\n onSwipedLeft: () => nextImage(),\n onSwipedRight: () => previousImage(),\n onSwipedUp: () => setIsCarouselOpen(false),\n preventDefaultTouchmoveEvent: true,\n trackMouse: true\n });\n \n const keyDownImage = (event: any) => {\n if (event.key === \"ArrowLeft\") {\n previousImage();\n }\n \n if (event.key === \"ArrowRight\") {\n nextImage();\n }\n \n if (event.key === \"Escape\") {\n setIsCarouselOpen(false);\n }\n }\n \n const previousImage = () => {\n setActiveStep((prevActiveStep) =>\n prevActiveStep <= 0 ? maxSteps - 1 : prevActiveStep - 1\n );\n }\n const nextImage = () => {\n setActiveStep((prevActiveStep) =>\n prevActiveStep >= maxSteps - 1 ? 0 : prevActiveStep + 1\n );\n }\n \n const openImage = (index: number) => {\n setActiveStep(index);\n setIsCarouselOpen(true);\n }\n \n useEffect(() => {\n if (account && account.pictures && account.pictures.length) {\n setPictures([...account.pictures]);\n setMaxSteps(account.pictures.length);\n }\n }, [account]);\n \n return (\n
\n {!isUpdate && account.enterpriseBusinessNameUrl && }\n
\n
\n
\n \n \n {t(\"WhatsApp\")}\n \n
\n
\n
\n \n
\n
\n {account?.phoneCode !== undefined ? `+${account?.phoneCode}` : \"+52\"}\n
\n
\n {account?.phoneNumber ? conformToMask(account?.phoneNumber, GetMobileMaskByTemp(account.phoneTemplate || mobileTemplate)).conformedValue : \"\"}\n
\n
\n
\n \n {t(\"Address\")}\n
\n \n {account?.address || \"\"}\n \n {account?.addressReferences &&\n <>\n
\n \n {t(\"Establishment references\")}\n \n
\n \n {account?.addressReferences || \"\"}\n \n \n }\n
\n {account?.showCancellationPolicies && account?.cancellationPolicies &&\n <>\n
\n \n {t(\"Cancellation policies\")}\n \n
\n\n
\n \n
\n \n }\n
\n
\n
\n
\n \n {t(\"Photographs\")}\n \n
\n
\n {account && account.pictures && account.pictures.length\n ? account.pictures.slice(0, 3).map((picture: string, index: number) => (\n openImage(index)}\n />\n ))\n : null}\n
\n
\n
\n
\n \n {t(\"Payment methods\")}\n \n
\n {account?.isPaymentCash ? (\n
\n \n {t(\"Cash\")}\n
\n ) : null}\n {account?.isPaymentCard ? (\n
\n \n \n {t(\"Credit / debit cards\")}\n \n
\n ) : null}\n {account?.isPaymentMercadoPago ? (\n
\n \n \n {t(\"Mercado Pago\")}\n \n
\n ) : null}\n {account?.isPaymentOxxo ? (\n
\n \n \n {t(\"Oxxo\")}\n \n
\n ) : null}\n {account?.isPaymentBankTransfer ? (\n
\n \n \n {t(\"Bank transfers\")}\n \n
\n ) : null}\n
\n
\n \n {t(\"Opening hours\")}\n \n
\n {account?.workDays?.map((workDay: AccountWorkDayModel, index: number) => (\n
\n
\n \n {t(DayOfWeekEnum[workDay.dayNumber as number])}\n \n
\n
\n \n {`${workDay.opening} - ${workDay.closing}hrs`}\n \n
\n
\n ))}\n
\n {\n setIsPersonalizedAttentionOpen(false)\n }}/>\n
\n setIsCarouselOpen(!isCarouselOpen)}\n className={classes.modal}\n BackdropComponent={Backdrop}\n aria-labelledby=\"simple-modal-title\"\n aria-describedby=\"simple-modal-description\"\n onKeyDown={keyDownImage}\n >\n \n
\n 1 ? \"20px 20px 0px 0px\" : \"20px\"}`,\n backgroundImage: `url(\"${pictures[activeStep]}\")`,\n }}\n >\n
\n {\n setIsCarouselOpen(false);\n }}\n >\n \n \n
\n
\n 1 ? \"flex\" : \"none\"}`,\n justifyContent: \"flex-start\",\n width: \"50%\",\n }}\n >\n \n \n \n
\n 1 ? \"flex\" : \"none\"}`,\n justifyContent: \"flex-end\",\n width: \"50%\",\n }}\n >\n \n \n \n
\n
\n
\n 1 ? \"flex\" : \"none\"}` }}\n classes={{ root: classes.stepper, dot: `${pictures.length > 1 ? classes.dot : classes.dotNone}` }}\n />\n
\n \n \n
\n );\n}","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n servicesRoot: {\n display: 'flex',\n justifyContent: \"center\",\n flexDirection: \"column\",\n alignItems: \"center\",\n\n [theme.breakpoints.down(\"sm\")]: {\n backgroundColor: \"#FAFAFA\",\n },\n },\n servicesContainer: {\n display: 'flex',\n flexWrap: 'wrap',\n gap: 10,\n paddingBottom: 85,\n },\n serviceFlexContainer: {\n width: 950,\n\n [theme.breakpoints.down(\"sm\")]: {\n width: 272\n },\n },\n modalDelete: {\n height: \"auto\",\n maxHeight: 600,\n\n [theme.breakpoints.down(\"sm\")]: {\n width: \"97vw!important\"\n },\n },\n modalCenter: {\n display: \"flex\",\n justifyContent: \"center\",\n },\n modalTitleSpace: {\n margin: \"24px 0px 8px 0px\",\n },\n subtitle: {\n fontFamily: \"Inter\",\n fontStyle: \"normal\",\n fontWeight: 700,\n fontSize: 14,\n textAlign: \"center\",\n color: theme.colors.grey5\n },\n modalContentText: {\n fontStyle: \"normal\",\n fontWeight: \"bold\",\n fontSize: \"18px\",\n lineHeight: \"17px\",\n textAlign: \"center\",\n color: \"#4A4D51\",\n },\n scheduleButtonContainer: {\n display: \"flex\",\n alignItems: \"center\",\n gap: 16,\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n width: 272,\n gap: 8\n },\n },\n servicesText: {\n ...theme.typography.header4,\n fontWeight: 700,\n color: theme.colors.grey6\n },\n totalText: {\n ...theme.typography.txtBody1,\n display: \"flex\",\n gap: 6,\n color: theme.colors.grey6,\n\n [theme.breakpoints.down(\"sm\")]: {\n\n justifyContent: \"space-between\",\n alignItems: \"flex-start\",\n width: \"100%\"\n },\n },\n footerText: {\n ...theme.typography.txtBody1,\n fontWeight: 700,\n color: theme.colors.grey6,\n\n [theme.breakpoints.down(\"sm\")]: {\n ...theme.typography.txtBody2,\n fontWeight: 700,\n width: 272\n },\n },\n divider: {\n height: 1,\n width: 272,\n borderTop: \"1px solid #ACB7C0\",\n margin: \"9px 0 7px 0\",\n\n [theme.breakpoints.up(\"md\")]: {\n display: \"none\"\n },\n },\n selectSearchContainer: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n marginTop: 30,\n marginBottom: 30,\n gap: 5,\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: 16,\n marginTop: 16,\n marginBottom: 16,\n },\n },\n searchContainer: {\n display: \"flex\",\n alignItems: \"center\",\n width: 755,\n height: 35,\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: 16,\n width: \"100%\"\n },\n },\n categorySelectContainer: {\n width: 190,\n height: 35,\n display: \"flex\",\n alignItems: \"center\",\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: 16\n },\n },\n footerContainer: {\n position: 'fixed',\n padding: \"0 40px 0 40px\",\n height: 64,\n bottom: 0,\n width: \"100%\",\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n backgroundColor: \"#FAFAFA\",\n\n [theme.breakpoints.down(\"sm\")]: {\n flexDirection: \"column\",\n height: \"auto\",\n backgroundColor: \"#FFFFFF\",\n padding: \"16px 0 16px 0\"\n },\n },\n serviceWindow: {\n width: 230,\n height: 276,\n border: '1px solid #ccc',\n borderRadius: 10,\n },\n servicePrice: {\n fontSize: 14,\n fontFamily: \"Roboto\",\n },\n marginTopZero: {\n marginTop: 0\n },\n tooltipBlock: {\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n },\n buttonContainer: {\n textAlign: \"right\"\n },\n serviceDescription: {\n overflow: \"hidden\",\n wordWrap: \"break-word\",\n ...theme.typography.txtBody2,\n display: \"-webkit-box\",\n WebkitBoxOrient: \"vertical\",\n WebkitLineClamp: 4,\n height: 67,\n marginBottom: -5,\n },\n descriptionContainer: {\n height: 190,\n padding: 16,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16\n },\n serviceName: {\n overflow: \"hidden\",\n fontSize: 14,\n fontWeight: 700,\n fontFamily: \"Inter\",\n display: \"-webkit-box\",\n WebkitBoxOrient: \"vertical\",\n WebkitLineClamp: 1\n },\n servicePhoto: {\n width: 230,\n height: 89,\n objectFit: \"cover\",\n borderTopLeftRadius: 10,\n borderTopRightRadius: 10,\n [theme.breakpoints.down(\"sm\")]: {\n height: 89,\n },\n },\n servicePhotoEmpty: {\n height: 89,\n borderTopLeftRadius: 10,\n borderTopRightRadius: 10,\n backgroundColor: \"#FAFAFA\",\n },\n addButton: {\n ...theme.typography.buttons,\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n padding: \"11px 16px\",\n border: `1px solid ${theme.colors.clearMain}`,\n justifyContent: \"space-around\",\n \"&:disabled\": {\n color: theme.colors.grey4,\n borderColor: theme.colors.grey4,\n opacity: 0.3\n },\n '& .MuiTouchRipple-root': {\n display: 'none',\n },\n [theme.breakpoints.down(\"sm\")]: {\n marginTop: 0\n },\n },\n scheduleButton: {\n ...theme.typography.buttons,\n color: theme.colors.grey1,\n fontWeight: 700,\n whiteSpace: \"nowrap\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: 163,\n height: 32,\n backgroundColor: theme.colors.clearGreen,\n borderRadius: 5,\n \"&:disabled\": {\n opacity: 0.3,\n color: theme.colors.grey1,\n },\n \"&:hover\": {\n backgroundColor: theme.colors.clearGreen + \"!important\",\n color: theme.colors.grey1 + \"!important\",\n },\n [`& .MuiButton-label`]: {\n paddingLeft: 25,\n paddingRight: 25\n },\n\n [theme.breakpoints.down(\"sm\")]: {\n width: \"100%\"\n },\n },\n addButtonItems: {\n width: '100%',\n display: 'flex',\n justifyContent: 'space-around'\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n ...theme.typography.txtBody2,\n borderRadius: 6,\n background: \"#FFF\",\n border: `1px solid ${theme.colors.grey2}`,\n height: 40,\n backgroundColor: \"#FFF\",\n paddingLeft: 16,\n \"&:focus\": {\n border: \"solid 1px #6462F3\",\n },\n },\n rootNoBorder: {\n ...theme.typography.txtBody2,\n borderRadius: \"100px\",\n background: \"#F6F6F6\",\n height: 40,\n paddingLeft: 16,\n },\n autocomplete: {\n height: 40,\n },\n inputFocused: {\n border: \"solid 1px #6462F3\",\n },\n}));\n\nexport default useStyles;\n","import React from \"react\";\n\nimport TextField from \"@material-ui/core/TextField\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport InputAdornment from \"@material-ui/core/InputAdornment\";\nimport SearchIcon from \"./../../../assets/icons/SearchIcon\";\n\nimport { InputSearchProps } from \"./props\";\nimport useStyles from \"./css\";\n\nconst InputSearch = (props: InputSearchProps) => {\n const classes = useStyles();\n const { placeholder, noBorder, onKeyPress, handleSearch, ...params } = props;\n return (\n { if (onKeyPress) onKeyPress(e); }}\n InputProps={{\n ...params.InputProps,\n disableUnderline: true,\n className: noBorder ? classes.rootNoBorder : classes.root,\n classes: { focused: !noBorder ? classes.inputFocused : undefined },\n type: \"text\",\n endAdornment: (\n \n { if (handleSearch) handleSearch();}}>\n \n \n \n ),\n }}\n />\n );\n};\n\nexport default InputSearch;\n","import React, { useState, useEffect } from \"react\";\n\nimport MuiAutocomplete from \"@material-ui/lab/Autocomplete\";\n\nimport InputSearch from \"./../InputSearch\";\nimport useDebounce from \"./../../../hooks/useDebounce\";\n\nimport { AutocompleteProps } from \"./props\";\n\nconst Autocomplete = (props: AutocompleteProps) => {\n const {\n id,\n style,\n items,\n placeholder,\n noBorder,\n getOptionSelected,\n getOptionLabel,\n renderOption,\n filterOptions,\n cleanInput,\n onChange,\n onSelected,\n } = props;\n\n const [open, setOpen] = useState(false);\n const [inputValue, setInputValue] = useState(\"\");\n const [changeReason, setChangeReason] = useState<\n \"input\" | \"reset\" | \"clear\" | \"\"\n >(\"\");\n\n const debouncedInputValue = useDebounce(inputValue, 400);\n\n useEffect(() => {\n if (onChange) {\n onChange(debouncedInputValue, changeReason);\n }\n if (inputValue) {\n setOpen(true);\n }\n\n if (changeReason === \"reset\") {\n setOpen(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [debouncedInputValue]);\n\n useEffect(() => {\n setInputValue(\"\");\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [cleanInput]);\n\n return (\n {\n if (inputValue) {\n setOpen(true);\n }\n }}\n inputValue={inputValue}\n onInputChange={(e, value, reason) => {\n setChangeReason(reason);\n setInputValue(value);\n if (!value) {\n setOpen(false);\n }\n }}\n onClose={() => {\n setOpen(false);\n }}\n onChange={(e, value) => {\n if (onSelected) {\n onSelected(value);\n }\n }}\n getOptionSelected={getOptionSelected}\n getOptionLabel={getOptionLabel}\n options={items}\n renderOption={renderOption}\n filterOptions={filterOptions}\n renderInput={(params) => (\n \n )}\n />\n );\n};\n\nexport default Autocomplete;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n modalContainer: {\n position: 'fixed',\n top: 65,\n right: 20,\n width: 343,\n borderRadius: 10,\n backgroundColor: theme.colors.white,\n boxShadow: '0px 4px 4px 0px rgba(0, 0, 0, 0.10)',\n zIndex: 1200,\n overflowY: 'auto',\n maxHeight: 660,\n\n [theme.breakpoints.down(\"sm\")]: {\n position: 'fixed',\n top: 'auto',\n bottom: 0,\n right: 0,\n width: '100%',\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0,\n },\n },\n overlay: {\n [theme.breakpoints.down(\"sm\")]: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgba(50, 57, 71, 0.76)',\n zIndex: 999,\n },\n },\n modalLeftPanel: {\n width: 5,\n background: theme.colors.clearMain,\n borderTopLeftRadius: 10,\n borderBottomLeftRadius: 10,\n },\n modalLeftPanelContainer: {\n display: 'flex',\n flexDirection: 'row'\n },\n modalContentWrapper: {\n width: '100%',\n },\n modalClosePanel: {\n background: theme.colors.grey1,\n height: 18,\n borderTopRightRadius: 10,\n display: 'flex',\n justifyContent: 'space-between',\n paddingLeft: 12,\n paddingRight: 12,\n alignItems: 'center',\n },\n modalDragContainer: {\n width: 290,\n display: 'flex',\n alignItems: 'center',\n cursor: 'move',\n [theme.breakpoints.down(\"sm\")]: {\n display: 'none', \n },\n },\n closeIcon: {\n color: theme.colors.grey4,\n cursor: 'pointer',\n [theme.breakpoints.down(\"sm\")]: {\n marginLeft: '97%',\n },\n },\n modalHeader: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n marginBottom: 14,\n },\n headerTitle: {\n display: 'flex',\n alignItems: 'center',\n color: theme.colors.grey6,\n fontFamily: 'Roboto',\n fontSize: '14px',\n fontWeight: 700,\n lineHeight: '16px',\n },\n cartIcon: {\n marginRight: 12,\n },\n modalContentContainer: {\n padding: 10\n },\n modalContent: {\n display: 'flex',\n flexDirection: 'column',\n gap: 10,\n marginBottom: 24,\n },\n serviceInfo: {\n display: 'flex',\n alignItems: 'center',\n backgroundColor: theme.colors.white,\n },\n serviceInfoText: {\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n },\n serviceName: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n fontWeight: 700,\n },\n serviceDuration: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5\n },\n servicePrice: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n position: 'absolute',\n right: 12\n },\n totalContent: {\n display: 'flex',\n justifyContent: 'flex-end',\n alignItems: 'center',\n marginBottom: 24,\n color: theme.colors.grey6,\n fontFamily: 'Roboto',\n fontSize: 14,\n fontWeight: 700,\n lineHeight: '16px',\n },\n totalPrice: {\n color: theme.colors.grey6,\n fontFamily: 'Roboto',\n fontSize: '14px',\n fontWeight: 700,\n lineHeight: '16px',\n },\n modalActions: {\n display: 'flex',\n justifyContent: 'center',\n },\n scheduleButton: {\n ...theme.typography.buttons,\n fontWeight: 700,\n backgroundColor: theme.colors.clearMain,\n color: theme.colors.white,\n width: 186,\n height: 32,\n borderRadius: 10,\n '&:hover': {\n backgroundColor: theme.colors.clear2,\n },\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n draggableHandle: {\n cursor: 'move',\n },\n })\n);\n\nexport default useStyles;\n","import React, { useEffect } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\nimport Draggable from 'react-draggable';\n\nimport { useAppSelector } from \"../../../redux/hooks\";\n\nimport Typography from \"@material-ui/core/Typography\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { CartModalProps } from \"./props\";\nimport useStyles from \"./css\";\nimport CartIcon from \"../../../assets/icons/CartIcon\";\nimport ModalDragIcon from \"../../../assets/icons/ModalDragIcon\";\nimport ModalCloseIcon from \"../../../assets/icons/ModalCloseIcon\";\n\n\nexport default function CartModal(props: CartModalProps) {\n\n const { t } = useTranslation([\"general\"]);\n const classes = useStyles();\n\n const { onClose, services, sheduleAppt } = props;\n\n const totalPrice = services.reduce((total, x) => total + (x.service?.price || 0), 0);\n\n const account = useAppSelector((state) => state.scheduler.account);\n\n let timer: any;\n\n useEffect(() => {\n timer = window.setTimeout(onClose, 3000);\n return () => clearTimeout(timer);\n }, [onClose]);\n\n function handleDragStart() {\n if (timer) {\n clearTimeout(timer);\n }\n };\n\n return (\n <>\n
\n \n \n
\n
\n
\n
\n
\n \n
\n \n
\n
\n
\n \n {`${services.length} ${t(\"service added\")}`}\n \n
\n
\n {services.map((serviceUser, index) => (\n
\n \n
\n {serviceUser.service?.name}\n {`${serviceUser.service?.duration} ${t(\"minutes\")}`}\n
\n {account.showPrices &&\n {`$${serviceUser.service?.price}`}\n }\n
\n ))}\n
\n {account.showPrices &&\n
\n \n {`${t(\"Total\")}: $${totalPrice}`}\n \n
\n }\n
\n \n
\n
\n
\n
\n \n \n \n );\n};\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStyles = (width?: number | string) =>\n makeStyles((theme) => ({\n select: {\n ...theme.typography.txtBody2,\n backgroundColor: theme.colors.grey1,\n height: 40,\n border: \"solid 1px rgba(0, 0, 0, 0.1)\",\n borderRadius: 5,\n cursor: \"default\",\n width: width || 370,\n \"& ::-webkit-scrollbar\": {\n width: \"6px\",\n cursor: \"default\",\n },\n \"& ::-webkit-scrollbar-track\": {\n borderRadius: \"10px\",\n background: \"#EFEFEF\",\n marginTop: \"11px\",\n marginBottom: \"11px\"\n },\n \"& ::-webkit-scrollbar-thumb\": {\n borderRadius: \"10px\",\n background: theme.colors.grey3,\n },\n \"& ::-webkit-scrollbar-thumb:hover\": {\n background: theme.colors.grey4\n },\n },\n menuPaper: {\n maxHeight: 300,\n marginTop: 6\n },\n tooltipBlock: {\n backgroundColor: theme.colors.grey1,\n ...theme.typography.txtBody2,\n color: theme.colors.grey5,\n },\n menuPaperDisableScroll: {\n maxHeight: 300,\n marginTop: 6,\n top: \"38px!important\",\n left: \"0!important\",\n maxWidth: \"fit-content!important\"\n },\n selected: {\n fontWeight: \"bold\",\n padding: \"11px 0px 12px 12px\",\n },\n placeholder: {\n color: \"#676767\",\n // opacity: \"0.42\",\n padding: \"13px 0px 13px 12px\",\n \"&.Mui-disabled\": {\n opacity: \"0.42\",\n },\n },\n focused: {\n color: theme.colors.grey5,\n \"&:focus\": {\n backgroundColor: theme.colors.grey1,\n },\n \"&.MuiSelect-select\": {\n \"&:focus\": {\n borderRadius: 5,\n },\n },\n },\n itemRoot: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey5,\n height: 40,\n display: \"flex\",\n alignItems: \"center\",\n },\n itemSelected: {\n fontWeight: \"bold\",\n color: theme.colors.clearMain,\n },\n inputError: {\n color: theme.colors.clearRed,\n border: `solid 1px ${theme.colors.clearRed}`,\n borderRadius: 5,\n },\n group: {\n ...theme.typography.txtBody2,\n fontWeight: \"bold\",\n color: theme.colors.grey4,\n height: 40,\n display: \"flex\",\n alignItems: \"center\",\n \"&.Mui-disabled\": {\n opacity: 1,\n },\n },\n }));\n\nexport default useStyles;\n","import React, { useState, useRef } from \"react\";\n\nimport Input from \"@material-ui/core/Input\";\nimport MuiSelect from \"@material-ui/core/Select\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport Tooltip from \"@material-ui/core/Tooltip\";\n\nimport useStyles from \"./css\";\nimport { SelectProps, SelectItem } from \"./props\";\nimport { ArrowDownIcon } from \"../../../assets/icons\";\n\n\nconst Select = (props: SelectProps) => {\n const {\n value,\n placeholder,\n name,\n items,\n width,\n onChange,\n onBlur,\n disabled,\n disableScrollLock,\n styleClass,\n itemRootClass,\n classes,\n onRender,\n isValid,\n colorArrowIcon,\n showTooltip\n } = props;\n const useClasses = useStyles(width)();\n\n const selectRef = useRef(null);\n\n const [isTooltipOpen, setTooltipOpen] = useState(false);\n const [isSelectOpen, setIsSelectOpen] = useState(false);\n const [tooltipText, setTooltipText] = useState(\"\");\n\n const isError = (): boolean => {\n if (!isValid) {\n return false;\n }\n\n if (isValid() === undefined) {\n return false;\n }\n\n return !isValid();\n };\n\n const handleOnChange = (event: React.ChangeEvent<{ value: unknown }>) => {\n if (onChange) {\n onChange(event);\n }\n };\n\n const ArrowIcon = (props: any) => (\n \n );\n\n const onMouseEnterItem = () => {\n let offsetWidth = (selectRef.current?.firstChild as HTMLElement | null)?.offsetWidth ?? 0;\n let scrollWidth = (selectRef.current?.firstChild as HTMLElement | null)?.scrollWidth ?? 0;\n\n if (offsetWidth < scrollWidth && !isSelectOpen && showTooltip) {\n setTooltipText(selectRef.current?.innerText ?? \"\");\n setTooltipOpen(true);\n }\n }\n\n function onRenderHandler(key: any) {\n if (onRender) {\n let renderedValue = onRender(key);\n return renderedValue;\n }\n }\n\n return (\n \n }\n MenuProps={{\n classes: disableScrollLock\n ? { paper: useClasses.menuPaperDisableScroll }\n : { paper: useClasses.menuPaper },\n getContentAnchorEl: null,\n style: disableScrollLock ? { position: \"absolute\" } : {},\n disableScrollLock: disableScrollLock,\n //disablePortal: true,\n anchorOrigin: {\n vertical: \"bottom\",\n horizontal: \"left\",\n },\n }}\n displayEmpty\n disabled={disabled ?? false}\n onChange={handleOnChange}\n onBlur={(e) => {\n if (onBlur) onBlur(e)\n }}\n value={value || \"\"}\n {...(onRender && { renderValue: (selected) => onRenderHandler(selected) })}\n IconComponent={ArrowIcon}\n onOpen={() => setIsSelectOpen(true)}\n onClose={() => setIsSelectOpen(false)}\n onMouseEnter={() => onMouseEnterItem()}\n onMouseLeave={() => setTooltipOpen(false)}\n onClick={() => setTooltipOpen(false)}\n >\n {placeholder ? (\n \n {placeholder}\n \n ) : null}\n {items.map((item: SelectItem | string | number, index) =>\n typeof item === \"object\" ? (\n item.isGroup ? (\n \n {item.value}\n \n ) : (\n \n {item.value}\n \n )\n ) : (\n \n {item}\n \n )\n )}\n \n \n );\n};\n\nexport default Select;\n","import React, { useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\nimport { useParams } from \"react-router-dom\";\n\nimport { useAppDispatch, useAppSelector } from \"../../../redux/hooks\";\nimport { schedulerActions } from \"../../../redux/scheduler-slice\";\n\nimport { useTheme } from \"@material-ui/core/styles\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport { CircularProgress, Button, Tooltip } from \"@material-ui/core\";\n\nimport { AppointmentService } from \"../../../api\";\nimport { ServiceModel } from \"../../../models/service\";\nimport { ServiceUserModel } from \"../../../models/service/service-user.model\";\nimport useStyles from \"./css\";\nimport { ScheduleTime } from \"../../../models/schedule\";\nimport Autocomplete from \"../../common/Autocomplete\";\nimport CartModal from \"../../common/CartModal\";\nimport BackToEstablishmentsButton from \"../BackToEstablishmentsButton\";\nimport { ServiceWithUsersModel } from \"../../../models/service/service-with-users-model\";\nimport Select from \"../../common/Select\";\nimport { PlusIcon } from \"../../../assets/icons\";\n\n\nexport default function Services() {\n\n const { t } = useTranslation([\"general\"]);\n const theme = useTheme();\n const isMdMedia = useMediaQuery(theme.breakpoints.up(\"md\"));\n const classes = useStyles();\n const dispatch = useAppDispatch();\n\n const servicesWithUsers = useAppSelector((state) => state.scheduler.servicesWithUsers);\n const refreshAvailableHours = useAppSelector((state) => state.scheduler.refreshAvailableHours);\n const maxServiceIndex = useAppSelector((state) => state.scheduler.maxServiceIndex);\n const account = useAppSelector((state) => state.scheduler.account);\n\n const {\n setServiceUser,\n setSchedule,\n setIsValidSelection,\n setIsValidUser,\n setRefreshAvailableHours,\n setAvailableHours,\n setMaxServiceIndex,\n setServicesWithUsers,\n setScheduleTime,\n setShowLoader\n } = schedulerActions;\n\n const { accountBusinessName } = useParams();\n const history = useHistory();\n\n const [servicesList, setServicesList] = useState([]);\n const [selectedServices, setSelectedServices] = useState([]);\n const [loadingServiceId, setLoadingServiceId] = useState(null);\n const [selectedCategory, setSelectedCategory] = useState(t('All'));\n const [serviceSearch, setServiceSearch] = useState([]);\n const [search, setSearch] = useState();\n\n const [openCartModal, setOpenCartModal] = useState(false);\n\n const categories = servicesList\n .map(service => service.categoryName)\n .filter((category): category is string => category !== null);\n\n const uniqueCategories: string[] = [\n t('All'),\n ...Array.from(new Set(categories)).sort((a, b) => a.localeCompare(b))\n ];\n\n const filteredServicesList = selectedCategory === t('All')\n ? servicesList\n : servicesList.filter(service => service.categoryName === selectedCategory);\n\n useEffect(() => {\n if (account.id) {\n loadServices();\n }\n }, [account.id]);\n\n useEffect(() => {\n if (search && search.length > 2) {\n (async () => {\n await loadSearchData();\n })();\n }\n }, [search]);\n\n useEffect(() => {\n if (selectedServices.length > 0) {\n setOpenCartModal(true);\n } else {\n setOpenCartModal(false);\n }\n }, [selectedServices]);\n\n async function loadServices() {\n dispatch(setShowLoader(true));\n const servicesResponse = await AppointmentService.getServices(account.id || \"\");\n dispatch(setShowLoader(false));\n const serviceIds = servicesResponse.map(service => service.id);\n let filteredServicesIds: string[] = [];\n\n serviceIds.forEach(s => {\n if (s !== null && s !== undefined) {\n filteredServicesIds.push(s);\n }\n })\n dispatch(setShowLoader(true));\n const servicesWithUsers = await AppointmentService.getUsersForServices(account.id, filteredServicesIds)\n dispatch(setShowLoader(false));\n dispatch(setServicesWithUsers(servicesWithUsers));\n\n setServicesList(servicesResponse);\n }\n\n async function loadSearchData() {\n dispatch(setShowLoader(true));\n const data = await AppointmentService.getServices(account.id!, search, [\"Name\", \"Category\"]);\n dispatch(setShowLoader(false));\n // avoid names duplicated\n const list: ServiceModel[] = data ?? [];\n const names = list.map((o) => o.name);\n const groupByName = list.filter(\n ({ name }, index) => !names.includes(name, index + 1)\n );\n\n setServiceSearch(groupByName || []);\n }\n\n function searchServicesOnSelected(service: ServiceModel) {\n if (service === undefined || !service.name) {\n loadServices();\n return;\n }\n const serviceName = removeAccents(service.name).toLowerCase();\n\n const filteredServices = servicesList.filter(s => \n removeAccents(s.name ?? \"\").toLowerCase() === serviceName\n );\n setServicesList(filteredServices);\n }\n\n function removeAccents(value: string) {\n return value.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\");\n }\n\n function handleAddService(serviceId: string | null) {\n setLoadingServiceId(serviceId);\n\n const services: ServiceUserModel[] = [...selectedServices];\n\n if (selectedServices.length && selectedServices[0].serviceId === null) {\n services.length = 0;\n }\n\n const newIndex = maxServiceIndex + 1;\n dispatch(setMaxServiceIndex(newIndex));\n\n\n let serviceWithUser = servicesWithUsers.find((x: ServiceWithUsersModel) => x.serviceId == serviceId);\n\n let newService = new ServiceUserModel({\n service: servicesList.find(x => x.id === serviceId) ?? null,\n serviceId: serviceId,\n userId: account.showAnySpecialistFromSite ? \"All\" : null,\n users: serviceWithUser?.users ?? [],\n index: maxServiceIndex\n });\n\n services.push(newService);\n setSelectedServices(services);\n\n setLoadingServiceId(null);\n }\n\n function onScheduleAppointmentClick() {\n dispatch(setServiceUser([...selectedServices]));\n dispatch(setSchedule(undefined));\n dispatch(setIsValidSelection(true));\n dispatch(setIsValidUser(account.showAnySpecialistFromSite));\n dispatch(setScheduleTime(undefined));\n dispatch(setAvailableHours([new ScheduleTime()]));\n dispatch(setRefreshAvailableHours(refreshAvailableHours + 1));\n history.push(`/${accountBusinessName}/appointment`);\n }\n function handleCategoryChange(e: any) {\n setSelectedCategory(e.target.value);\n }\n\n function formatPrice(price: number, currencySymbol: string, valueTemplate: string) {\n return valueTemplate.includes(\"{0}\")\n ? valueTemplate.replace(\"{0}\", price.toString())\n : `${currencySymbol}${price}`;\n }\n\n return (\n
\n {account.enterpriseBusinessNameUrl && }\n
\n
\n {t(\"Services\")}\n
\n
\n
\n \n
\n
\n `${option.name}`}\n getOptionSelected={(option, value) => option.name === value.name}\n getOptionLabel={(option) => option.name}\n onChange={(value: any, reason) => {\n if (reason === \"input\" && value.length >= 3)\n setSearch(value);\n else\n setServiceSearch([]);\n }}\n onSelected={(service: any) => {\n searchServicesOnSelected(service);\n }}\n />\n
\n
\n
\n {filteredServicesList.map((service, index) => (\n
\n {service.photo ? (\n \n ) : (\n
\n )}\n
\n
\n
\n {service.name}\n
\n
\n {account.showPrices\n ? service.price && account.currencySymbol && account.currencyTemplate &&\n `${formatPrice(service.price, account.currencySymbol, account.currencyTemplate)} | ${service.duration} ${t(\"minutes\")}`\n : `${service.duration} ${t(\"minutes\")}`\n }\n
\n
\n \n
\n {service.description}\n
\n \n\n
\n { handleAddService(service.id)}\n disabled={selectedServices.some(x => x.serviceId === service.id)}\n style={{ width: 163 }}\n >\n
\n {loadingServiceId === service.id\n ?\n ()\n :\n ()\n }\n {t(\"Add Service\")}\n
\n \n }\n\n
\n
\n\n
\n ))}\n\n
\n
\n {openCartModal &&\n setOpenCartModal(false)}\n services={selectedServices}\n sheduleAppt={() => onScheduleAppointmentClick()}\n />\n }\n
\n );\n};","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n root: {\n marginTop: 25,\n margin: 18,\n paddingTop: 28,\n paddingLeft: 22,\n paddingRight: 30,\n borderRadius: 6,\n background: theme.colors.white,\n boxShadow: '2px 2px 12px 5px rgba(235, 235, 235, 0.46)',\n },\n certsTitle: {\n ...theme.typography.header4,\n color: theme.colors.grey6,\n fontWeight: 700\n },\n overlay: {\n [theme.breakpoints.down(\"sm\")]: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgba(50, 57, 71, 0.76)',\n zIndex: 999,\n },\n },\n stepper: {\n justifyContent: \"center\",\n height: 48,\n borderRadius: \"0px 0px 20px 20px\",\n position: \"relative\",\n zIndex: 1000\n },\n dot: {\n marginLeft: 22,\n \"&:first-child\": {\n marginLeft: 0,\n },\n },\n dotNone: {\n display: \"none !important\"\n },\n imageModalContainer: {\n backgroundSize: \"cover\",\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n minHeight: \"65vh\",\n\n [theme.breakpoints.down(\"sm\")]: {\n minHeight: \"40vh\",\n },\n },\n modal: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n\n },\n paper: {\n flexBasis: \"50%\",\n \"&:focus:not(:focus-visible)\": {\n outline: \"none\",\n },\n \"&:focus-visible\": {\n outline: \"none\",\n },\n\n [theme.breakpoints.down(\"sm\")]: {\n flexBasis: \"98%\",\n },\n },\n closeButtonContainer: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"flex-end\",\n },\n iconButton: {\n width: 32,\n height: 32,\n background: \"rgba(29, 32, 39, 0.15)\",\n borderRadius: 30,\n marginRight: 10,\n marginLeft: 10,\n marginTop: 10,\n \"&:hover\": {\n background: \"rgba(29, 32, 39, 0.15)\",\n }\n\n },\n navigationButtonsContainer: {\n display: \"flex\",\n width: \"100%\",\n marginTop: \"23.5%\",\n justifyContent: \"space-between\",\n },\n backButtonContainer: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n width: \"50%\",\n },\n nextButtonContainer: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n width: \"50%\",\n },\n nextArrowIcon: {\n transform: \"rotate(180deg)\",\n },\n imageModalContainerWithPictures: {\n borderRadius: \"20px 20px 0px 0px\",\n position: \"relative\",\n zIndex: 1000,\n },\n imageModalContainerWithPicture: {\n borderRadius: \"20px\",\n position: \"relative\",\n zIndex: 1000,\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n establishmentCertsContainer: {\n maxWidth: '100%',\n minWidth: 270,\n maxHeight: 270,\n display: 'flex',\n flexWrap: 'wrap',\n overflowY: 'auto',\n gap: 14,\n padding: 7,\n marginTop: 14,\n marginBottom: 24,\n },\n establishmentCert: {\n width: 256,\n height: 120,\n borderRadius: 12,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n cursor: \"pointer\"\n },\n })\n);\n\nexport default useStyles;\n","import React from \"react\";\n\nimport useStyles from \"./css\";\nimport { EstablishmentCertificaitionsProps } from \"./props\";\n\nexport default function EstablishmentCertifications(props: EstablishmentCertificaitionsProps) {\n\n const classes = useStyles();\n\n const { certifications, handleCaruselOpen } = props;\n\n return (\n
\n {certifications.map((certURL: string, index: number) =>\n handleCaruselOpen(certifications, index)}\n />\n )\n }\n
\n );\n}","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n userCardsContainer: {\n maxWidth: '100%',\n minWidth: 270,\n height: 720,\n display: 'flex',\n flexWrap: 'wrap',\n overflowY: 'auto',\n gap: 14,\n padding: 7,\n marginTop: 14,\n marginBottom: 24,\n },\n userCard: {\n width: 256,\n height: 'fit-content',\n paddingTop: 10,\n paddingBottom: 10,\n borderRadius: 12,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n borderWidth: 1,\n border: 'solid',\n borderColor: '#CAC4D0',\n display: 'flex',\n flexDirection: 'column',\n },\n userPhotoContainer: {\n height: 120,\n display: 'flex',\n justifyContent: 'center'\n },\n userPhoto: {\n width: 120,\n height: 120,\n borderRadius: 120,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n },\n userInfoContainer: {\n minHeight: 201,\n padding: 16,\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n userFullName: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey6,\n fontWeight: 700\n },\n userJobPosition: {\n ...theme.typography.txtBody1,\n color: '#49454F',\n lineHeight: '20px',\n letterSpacing: '0.25px'\n },\n servicesList: {\n marginTop: 16,\n marginBottom: 16,\n },\n serviceName: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n lineHeight: '18px'\n },\n moreServicesButton: {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n fontWeight: 700,\n cursor: 'pointer'\n },\n viewButtonContainer: {\n width: '100%',\n height: 32,\n display: 'flex',\n justifyContent: 'flex-end',\n marginTop: 'auto',\n },\n viewButton: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n paddingTop: 11,\n paddingBottom: 11,\n paddingLeft: 16,\n paddingRight: 16,\n border: 'solid',\n borderWidth: 1,\n borderColor: theme.colors.clearMain,\n justifyContent: 'space-around',\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 163\n },\n },\n photoInitials: {\n ...theme.typography.header1,\n color: theme.colors.clear2,\n fontWeight: 700,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: 120,\n height: 120,\n border: \"solid\",\n borderWidth: 1,\n borderColor: theme.colors.clear2,\n borderRadius: \"50%\",\n },\n })\n);\n\nexport default useStyles;\n","import { makeStyles, createStyles, Theme } from \"@material-ui/core/styles\";\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n userCardsContainer: {\n maxWidth: '100%',\n minWidth: 270,\n height: 720,\n display: 'flex',\n flexWrap: 'wrap',\n overflowY: 'auto',\n gap: 14,\n padding: 7,\n marginTop: 14,\n marginBottom: 24,\n },\n userCard: {\n width: 256,\n height: 'fit-content',\n paddingTop: 10,\n paddingBottom: 10,\n borderRadius: 12,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n borderWidth: 1,\n border: 'solid',\n borderColor: '#CAC4D0',\n display: 'flex',\n flexDirection: 'column',\n },\n userPhotoContainer: {\n height: 120,\n display: 'flex',\n justifyContent: 'center'\n },\n userPhoto: {\n width: 120,\n height: 120,\n borderRadius: 120,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n },\n userInfoContainer: {\n minHeight: 201,\n padding: 16,\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n userFullName: {\n ...theme.typography.txtBody1,\n color: theme.colors.grey6,\n fontWeight: 700\n },\n userJobPosition: {\n ...theme.typography.txtBody1,\n color: '#49454F',\n lineHeight: '20px',\n letterSpacing: '0.25px'\n },\n servicesList: {\n marginTop: 16,\n marginBottom: 16,\n },\n serviceName: {\n ...theme.typography.txtBody2,\n color: theme.colors.grey6,\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n lineHeight: '18px'\n },\n moreServicesButton: {\n ...theme.typography.txtBody2,\n color: theme.colors.clearMain,\n fontWeight: 700,\n cursor: 'pointer'\n },\n viewButtonContainer: {\n width: '100%',\n height: 32,\n display: 'flex',\n justifyContent: 'flex-end',\n marginTop: 'auto',\n },\n viewButton: {\n ...theme.typography.buttons,\n fontWeight: 700,\n color: theme.colors.clearMain,\n width: 168,\n height: 32,\n borderRadius: 5,\n paddingTop: 11,\n paddingBottom: 11,\n paddingLeft: 16,\n paddingRight: 16,\n border: 'solid',\n borderWidth: 1,\n borderColor: theme.colors.clearMain,\n justifyContent: 'space-around',\n \"&.Mui-disabled\": {\n color: theme.colors.clearMain,\n },\n [theme.breakpoints.down(\"sm\")]: {\n width: 163\n },\n },\n photoInitials: {\n ...theme.typography.header1,\n color: theme.colors.clear2,\n fontWeight: 700,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: 120,\n height: 120,\n border: \"solid\",\n borderWidth: 1,\n borderColor: theme.colors.clear2,\n borderRadius: \"50%\",\n },\n })\n);\n\nexport default useStyles;\n","import React, { useState } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport useTerminology from \"../../../../hooks/useTerminology\";\n\nimport { Button, Tooltip, Typography } from \"@material-ui/core\";\n\nimport useStyles from \"./css\";\nimport { UserCardProps } from \"./props\";\nimport { UserModel } from \"../../../../models/user\";\nimport { TerminologyType } from \"../../../../models/enum/terminology-type\";\nimport { TerminologyForm } from \"../../../../models/enum/terminology-form\";\n\n\nexport default function UserCard(props: UserCardProps) {\n\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const certsTerminology: string = useTerminology({ type: TerminologyType.Certification, form: TerminologyForm.Plural });\n\n const { userWithCertifications, handleCaruselOpen } = props;\n\n const [showAllServices, setShowAllServices] = useState(false);\n\n function getInitials(user: UserModel) {\n if (user.firstName && user.lastName) {\n const firstInitial = user.firstName[0].toUpperCase();\n const lastInitial = user.lastName[0].toUpperCase();\n return `${firstInitial}${lastInitial}`;\n }\n };\n\n const UserPhoto = (user: UserModel) => {\n if (!user) return null;\n\n if (!user.photoURL) return (\n
\n {getInitials(user)}\n
\n );\n\n return (\n \n );\n }\n\n function renderServicesList(services: string[]) {\n if (!services) return;\n\n const sortedServices = services.sort((a, b) => (a).localeCompare(b));\n\n const displayedServices = showAllServices\n ? sortedServices\n : sortedServices.slice(0, 3);\n\n return (\n
\n {displayedServices.map((serviceName, index) => (\n serviceName &&\n \n
  • \n {serviceName}\n
  • \n
    \n ))}\n {sortedServices.length > 3 && (\n setShowAllServices(prev => !prev)}\n >\n {showAllServices\n ? t('See less')\n : t('See more')\n }\n \n )}\n
    \n );\n }\n\n if (!userWithCertifications || !userWithCertifications.user) {\n return null;\n }\n\n return (\n
    \n
    \n \n
    \n
    \n \n {`${userWithCertifications.user.firstName} ${userWithCertifications.user.lastName}`}\n \n \n {t(userWithCertifications.user.jobPosition!)}\n \n {\n renderServicesList(userWithCertifications.serviceNames)\n }\n
    \n handleCaruselOpen(userWithCertifications.certifications, 0)}\n >\n {t(\"View certifications\", { terminology: certsTerminology.toLowerCase() })}\n \n
    \n
    \n
    \n );\n}","import React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport useStyles from \"./css\";\nimport { UserCertificaitionsProps } from \"./props\";\nimport { UserWithServiceCertifications } from \"../../../../models/user/user-with-services-certifications\";\nimport UserCard from \"../UserCard\";\n\n\nexport default function UserCertifications(props: UserCertificaitionsProps) {\n\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const { usersWithCertifications, handleCaruselOpen } = props;\n\n function renderUserCard(userWithCerts: UserWithServiceCertifications) {\n if (!userWithCerts) return;\n\n return (\n \n );\n }\n\n return (\n <>\n
    \n {usersWithCertifications && usersWithCertifications.map(userWithCerts =>\n renderUserCard(userWithCerts)\n )}\n
    \n \n );\n}","import { ApiClient } from \"./api-client\";\nimport { AccountCertifications } from \"../models/account/account-certifications\";\n\n\nexport class AccountService {\n private static baseUrl: string = \"/CustomerSite\";\n\n static async getCertificationsForAccount(accountId: string | null): Promise {\n return await ApiClient.get(\n `${this.baseUrl}/GetCertificationsForAccount?accountId=${accountId}`)\n .then(data => data);\n }\n}\n","import React, { useEffect, useMemo, useState } from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\nimport { useSwipeable } from \"react-swipeable\";\n\nimport useTerminology from \"../../../../hooks/useTerminology\";\n\nimport { useAppSelector } from \"../../../../redux/hooks\";\nimport Backdrop from \"@material-ui/core/Backdrop\";\nimport { Fade, IconButton, MobileStepper, Modal, Typography } from \"@material-ui/core\";\n\nimport useStyles from \"./css\";\nimport EstablishmentCertifications from \"../EstablishmentCertifications\";\nimport UserCertifications from \"../UserCertifications\";\nimport { ArrowIcon, CloseIcon } from \"../../../../assets/icons\";\nimport { AccountService } from \"../../../../api/account-service\";\nimport { AccountCertifications } from \"../../../../models/account/account-certifications\";\nimport { TerminologyType } from \"../../../../models/enum/terminology-type\";\nimport { TerminologyForm } from \"../../../../models/enum/terminology-form\";\n\n\nexport default function Certifications() {\n\n const classes = useStyles();\n const { t } = useTranslation([\"general\"]);\n\n const account = useAppSelector((state) => state.scheduler.account);\n const [certifications, setCertifications] = useState();\n\n const [isCarouselOpen, setIsCarouselOpen] = useState(false);\n const [activeStep, setActiveStep] = useState(0);\n const [maxSteps, setMaxSteps] = useState(0);\n const [pictures, setPictures] = useState([]);\n\n const certsTerminology: string = useTerminology({ type: TerminologyType.Certification, form: TerminologyForm.Plural });\n const formattedCertsTerminology = (account.languageCode === \"en\")\n ? certsTerminology.toLowerCase()\n : certsTerminology;\n\n useEffect(() => {\n async function fetchUserCertifications() {\n if (account.id) {\n const certs = await AccountService.getCertificationsForAccount(account.id);\n setCertifications(certs);\n }\n }\n fetchUserCertifications();\n }, [account]);\n\n const handlerSwipe = useSwipeable({\n onSwipedLeft: () => nextImage(),\n onSwipedRight: () => previousImage(),\n onSwipedUp: () => setIsCarouselOpen(false),\n preventDefaultTouchmoveEvent: true,\n trackMouse: true\n });\n\n function keyDownImage(event: React.KeyboardEvent) {\n if (event.key === \"ArrowLeft\") {\n previousImage();\n }\n\n if (event.key === \"ArrowRight\") {\n nextImage();\n }\n\n if (event.key === \"Escape\") {\n setIsCarouselOpen(false);\n }\n }\n\n function previousImage() {\n setActiveStep((prevActiveStep) =>\n prevActiveStep <= 0 ? maxSteps - 1 : prevActiveStep - 1\n );\n }\n\n function nextImage() {\n setActiveStep((prevActiveStep) =>\n prevActiveStep >= maxSteps - 1 ? 0 : prevActiveStep + 1\n );\n }\n\n function handleCaruselOpen(certs: string[], index: number) {\n setPictures(certs);\n setActiveStep(index);\n setMaxSteps(certs.length);\n setIsCarouselOpen(true);\n }\n\n const renderCarouselModal = useMemo(() => {\n return (\n setIsCarouselOpen(!isCarouselOpen)}\n className={classes.modal}\n BackdropComponent={Backdrop}\n aria-labelledby=\"simple-modal-title\"\n aria-describedby=\"simple-modal-description\"\n onKeyDown={keyDownImage}\n >\n \n
    \n {isCarouselOpen &&\n setIsCarouselOpen(false)}\n />\n }\n 1\n ? classes.imageModalContainerWithPictures\n : classes.imageModalContainerWithPicture\n }`}\n style={{\n backgroundImage: `url(\"${pictures[activeStep]}\")`,\n }}\n >\n
    \n setIsCarouselOpen(false)}>\n \n \n
    \n {pictures.length > 1 &&\n
    \n
    \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n }\n
    \n 1 ? \"flex\" : \"none\" }}\n classes={{ root: classes.stepper, dot: pictures.length > 1 ? classes.dot : classes.dotNone }}\n />\n
    \n \n \n );\n }, [isCarouselOpen, pictures, activeStep, maxSteps, handlerSwipe, keyDownImage, previousImage, nextImage, classes]);\n\n return (\n <>\n {renderCarouselModal}\n {certifications &&\n
    \n {account.showEstablishmentCertifications && certifications.establishmentCertifications && certifications.establishmentCertifications.length > 0 &&\n <>\n \n {t(\"Establishment certifications\", { terminology: formattedCertsTerminology })}\n \n \n \n }\n {account.showSpecialistCertifications && certifications.userCertifications && certifications.userCertifications.length > 0 &&\n <>\n \n {t(\"Specialist certifications\", { terminology: formattedCertsTerminology })}\n \n \n \n }\n
    \n }\n \n );\n}","import React from \"react\";\nimport { HelmetProvider } from 'react-helmet-async';\n\nimport { Redirect, Route, Switch, useLocation } from \"react-router-dom\";\n\nimport { Url } from \"./constants\";\nimport AppointmentRouter from \"./pages/appointments/AppointmentRouter\";\nimport CancelConfirmationRouter from \"./pages/confirmation/CancelConfirmationRouter\";\nimport PatientFormPage from \"./components/patientform/PatientFormPage\";\nimport PrivacyNoticePage from \"./components/patientform/PrivacyNoticePage\";\nimport InformedConsentLetterPage from \"./components/patientform/InformedConsentLetterPage\";\nimport { useAlert } from \"./components/common/notifications/AlertProvider\";\n\nimport \"./custom.css\";\nimport Layout from \"./components/layout/Layout\";\nimport AccountInfo from \"./components/account/AccountInfo\";\nimport Services from \"./components/account/Services\";\nimport Certifications from \"./components/account/Certifications/Certifications\";\n\n\nexport default function () {\n \n const location = useLocation();\n \n const tryRedirectToUat = () => {\n if (!window.location.hostname.toLowerCase().startsWith(\"uat\") && location.pathname.toLowerCase().startsWith(\"/uat\")) {\n window.location.href = Url.UATHost + location.pathname + location.search;\n return true;\n }\n return false;\n }\n \n useAlert();\n \n return (\n <>\n \n {tryRedirectToUat() ? <> :\n \n {/* removing trailing slash first */}\n \n \n (\n \n \n \n )}/>\n (\n \n \n \n )}/>\n (\n \n \n \n )} />\n (\n \n \n \n )}\n />\n (\n \n \n \n )}/>\n (\n \n \n \n )}/>\n \n \n \n \n \n {\n window.location.href = Url.NotFound;\n return null;\n }}/>\n \n }\n \n \n );\n}","import i18n from \"i18next\";\nimport { initReactI18next } from \"react-i18next\";\n\nimport enGeneral from './assets/locales/en/general.json';\nimport esGeneral from './assets/locales/es/general.json';\nimport enPatientFormSection from './assets/locales/en/patient-form-sections.json';\nimport esPatientFormSection from './assets/locales/es/patient-form-sections.json';\nimport enPatientForm from './assets/locales/en/patient-form.json';\nimport esPatientForm from './assets/locales/es/patient-form.json';\n\ni18n\n .use(initReactI18next)\n .init({\n lng: process.env.REACT_APP_DEFAULT_LANGUAGE ?? 'es',\n fallbackLng: process.env.REACT_APP_FALLBACK_LANGUAGE ?? 'en', // use en if detected lng is not available\n resources: {},\n react: {\n defaultTransParent: 'div', // a valid react element - required before react 16\n transEmptyNodeValue: '', // what to return for empty Trans\n transSupportBasicHtmlNodes: true, // allow
    and simple html elements in translations\n transKeepBasicHtmlNodesFor: ['br', 'strong', 'i'], // don't convert to <1> if simple react elements\n transWrapTextNodes: ''\n }\n });\n\n// General\ni18n.addResourceBundle('en', 'general', enGeneral, true, true);\ni18n.addResourceBundle('es', 'general', esGeneral, true, true);\n\n// patient form sections\ni18n.addResourceBundle('en', 'patient-form-sections', enPatientFormSection, true, true);\ni18n.addResourceBundle('es', 'patient-form-sections', esPatientFormSection, true, true);\n\n// patient form\ni18n.addResourceBundle('en', 'patient-form', enPatientForm, true, true);\ni18n.addResourceBundle('es', 'patient-form', esPatientForm, true, true);\n\n\nexport default i18n;","import \"bootstrap/dist/css/bootstrap.css\";\n\nimport React, { Suspense } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { Provider } from \"react-redux\";\nimport {unregister} from \"./registerServiceWorker\";\n\nimport { ThemeProvider } from \"@material-ui/core/styles\";\n\nimport store from \"./redux/store\";\nimport clearTheme from \"./theme\";\nimport App from \"./App\";\nimport AlertProvider from \"./components/common/notifications/AlertProvider\";\n\nimport \"./i18n\";\n\n// Create browser history to use in the Redux store\nconst baseUrl = document\n .getElementsByTagName(\"base\")[0]\n .getAttribute(\"href\") as string;\n\n// Get the application-wide store instance, prepopulating with state from the server where available.\n// const store = configureStore(history);\n\nReactDOM.render(\n \n \n \n \n \n \n \n \n \n \n ,\n document.getElementById(\"root\")\n);\n\nunregister();\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAEtCAYAAABqCK7zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAyjSURBVHgB7d1Zexu3GYbhDyIlLtpsR0naND3pWf//D+lZj3NdbRzH8aJ9JxF8gxmScrzI8rzkgHzuVpVju7Fb6wkwGAwm/OeX+N8wtX9ZsIF1Xaz+bSGY/fPI7PluTN8OBnRVP0T7txXyNRrr3+f+yGy4HS23VSVnQBf1rRAx5s+e0t7QbLDt3yIudFsxgTUzwdG22ThNZreqvyYudFsxgVk9go2HPj2cBwd0WTmBBZ8Wmh2MovW26u8AOq6YwHxKuDv0j8DohWJsWYfFelneP/u08HDUXHsBZeh0YA2fEh6me157o8johaJ0PjDvyaeG3+03o1e02YoH0HGdD8xHr6MqLq9rcfgiMnRf5xY5Fm8d93pmPz5LK4fjxZ/BHBHl6NwINssnlfbdbvrYq/8CKFCnRrBmO1Rzz+uHNHptcc8LBevkfTDfDvXzd+k31zOgaCsNLH5k5jfcMfvpRbTxgFEL5evUNZhPC78/yLvlud+FddCZwDwuv9d1OCYurI+VTBHj7D+ynX4euZ7vsRUK62XpgX143bWdFjKODmIdV7ORl8qwHla2yOEhVSPXoZ+tkUcupoZYN0sPLNRP+m/381L83jAyamFtyQNbnBI2p2iM0lL8z0dmuwPO1MB6kwfmo1OzqBG28jNdf3+eVw2JC+tuaSOYX2PtDcz+8SJPD4FNsJQvdZ8SPtvN97nY/oRNIgnswag1ys9z7Y+ibXGTCxum9cCauHwa6Ndbz/Z8McO43MJGaj0wfwLZDwZ9sRttf+x/zSlQ2FxPCmzxua1qdTDUJz+la63v9/O00EewhzNCKsPm+bYRbOFa68VB3qjrCxp5VwZBAU8KrBmx/PPRQV4d3O7Fhb2EANyTAvOldp8Keli92bI7ZQEfmgXWnKBbHY4WFl4XFPKUz8/G8OmfL7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