{"version":3,"sources":["common/api/interceptors/responseErrorInterceptor/responseErrorInterceptor.ts","common/utils/env-variables.ts","common/context/client/clientContextController/ClientContextController.tsx","common/api/interceptors/requestHostInterceptor/requestHostInterceptor.ts","common/context/form/formContext/FormContext.tsx","common/context/form/formContext/FormContext.types.ts","common/context/form/formStorage/FormStorage.ts","common/context/form/formReducer/formReducer.types.ts","common/context/form/formReducer/formReducer.ts","common/context/form/formContextController/FormContextController.tsx","common/app/errorBoundary/errorBoundaryFallback/ErrorBoundaryFallback.styles.ts","common/app/errorBoundary/errorBoundaryFallback/ErrorBoundaryFallback.tsx","common/app/errorBoundary/ErrorBoundary.tsx","common/hooks/useFormState/useFormState.tsx","common/utils/getCookies.ts","common/api/actions/account/accountActions.utils.ts","common/api/actions/account/accountActions.ts","common/context/form/formActionCreators/formActionCreators.ts","common/hooks/useFormDispatch/useFormDispatch.tsx","common/context/labor/LaborContext.ts","common/hooks/useLabor/useLabor.ts","common/context/labor/LaborContextStorage.ts","common/context/labor/LaborContextContextSlice.tsx","common/context/junkRemoval/JunkRemovalContextSlice.utils.ts","common/context/junkRemoval/JunkRemovalContextStorage.ts","common/context/junkRemoval/JunkRemovalContextSlice.tsx","common/context/junkRemoval/JunkRemovalContext.ts","common/hooks/useJunkRemoval/useJunkRemoval.ts","common/context/version/VersionContext.ts","common/hooks/useVersion/useVersion.ts","aMove/context/moving/MovingContext.ts","aMove/hooks/useMoving/useMoving.ts","aMove/context/moving/MovingContextStorage.ts","aMove/context/moving/MovingContextSlice.tsx","bMove/context/moving/MovingContext.ts","bMove/hooks/useMoving/useMoving.ts","common/utils/dateTime.ts","bMove/context/moving/MovingContextStorage.ts","bMove/context/moving/MovingContextSlice.tsx","common/hooks/useResetState/useResetState.ts","common/ui/pingController/PingController.tsx","common/config/googleApi.ts","common/ui/googleScriptsController/GoogleScriptsController.styles.ts","common/ui/googleScriptsController/GoogleScriptsController.tsx","common/api/actions/booking/bookingActions.ts","common/api/types/index.ts","common/context/junkRemoval/JunkRemovalContextController.tsx","common/context/labor/LaborContextContextController.tsx","common/routing/AppRoute.ts","common/api/actions/partner/partnerActions.ts","common/utils/findNearestLocationId.ts","common/hooks/useCheckPostalCode/useCheckPostalCode.ts","common/utils/rudderanalytics.ts","common/hooks/use-feature-flags/use-feature-flags.ts","common/api/actions/account/accountActions.types.ts","common/hooks/useAccount/useAccount.utils.ts","common/hooks/useAccount/useAccount.ts","common/assets/icons/StairsIcon.tsx","common/assets/icons/ElevatorIcon.tsx","common/assets/icons/Bedroom1Icon.tsx","common/assets/icons/Bedroom2Icon.tsx","common/assets/icons/Bedroom3Icon.tsx","common/assets/icons/Bedroom4Icon.tsx","aMove/app/moving/MovingData.tsx","common/utils/form.ts","common/context/version/VersionStorage.ts","common/context/version/VersionContextController.utils.ts","common/context/version/VersionContextController.tsx","aMove/context/moving/MovingContextController.tsx","bMove/context/moving/MovingContextController.utils.ts","bMove/context/moving/MovingContextController.tsx","common/providers/MovingProviderController.tsx","common/providers/SplitProvider.tsx","common/providers/AppProviders.tsx","common/app/home/container/Container.styles.ts","common/app/home/container/Container.tsx","common/assets/icons/MovingIcon.tsx","common/assets/icons/JunkRemovalIcon.tsx","common/assets/icons/LaborIcon.tsx","common/app/home/Home.styles.ts","common/app/home/serviceCard/ServiceCard.styles.ts","common/app/home/serviceCard/ServiceCard.tsx","common/assets/images/aboutHunks.jpg","common/ui/loadedImage/LoadedImage.tsx","common/app/home/aboutHunks/AboutHunks.styles.ts","common/app/home/aboutHunks/AboutHunks.tsx","common/assets/icons/ArrowRightIcon.tsx","common/assets/icons/ArrowLeftIcon.tsx","common/ui/carouselSlider/CarouselSlider.tsx","common/app/home/whyHunks/WhyHunks.styles.ts","common/app/home/whyHunks/WhyHunks.utils.ts","common/assets/icons/HappyClientsIcon.tsx","common/assets/icons/MealsDonatedIcon.tsx","common/assets/icons/ReviewsIcon.tsx","common/app/home/whyHunks/WhyHunks.tsx","common/assets/images/happyCustomers.jpg","common/app/home/happyCustomers/HappyCustomers.styles.ts","common/app/home/happyCustomers/HappyCustomers.tsx","common/assets/images/inTheCommunity.jpg","common/app/home/inTheCommunity/InTheCommunity.styles.ts","common/app/home/inTheCommunity/InTheCommunity.tsx","common/assets/icons/HeroImgDecorationSmall.tsx","common/assets/icons/HeroImgDecorationBig.tsx","common/app/home/partnerHero/PartnerHero.styles.ts","common/app/home/partnerHero/PartnerHero.tsx","common/app/home/Home.tsx","common/utils/serviceBoxesData.tsx","common/ui/asideNavbar/AsideNavbar.styles.ts","common/assets/icons/CheckIcon.tsx","common/ui/asideNavbar/asideNavbarItem/AsideNavbarItem.styles.ts","common/ui/asideNavbar/asideNavbarItem/AsideNavbarItem.tsx","common/ui/asideNavbar/AsideNavbar.utils.ts","bMove/routing/AppRoute.ts","common/ui/asideNavbar/AsideNavbar.data.ts","common/ui/asideNavbar/AsideNavbar.tsx","common/ui/breadcrumbs/Breadcrumbs.styles.ts","common/ui/breadcrumbs/Breadcrumbs.tsx","common/ui/breadcrumbs/Breadcrumbs.data.ts","common/ui/mainLayout/MainLayout.styles.ts","common/ui/mainLayout/MainLayout.tsx","common/hooks/useScrollBehavior/useScrollBehavior.tsx","common/ui/layoutRoute/LayoutRoute.tsx","common/ui/addressAutocomplete/AddressAutocomplete.styles.ts","common/ui/addressAutocomplete/AddressAutocomplete.tsx","common/ui/googleMaps/GoogleMaps.styles.ts","common/ui/googleMaps/GoogleMaps.tsx","common/ui/tipBox/TipBox.styles.ts","common/ui/tipBox/TipBox.tsx","common/assets/icons/EcoFriendlyIcon.tsx","common/assets/icons/RecyclingIcon.tsx","common/assets/icons/ThreeStarsIcon.tsx","common/assets/icons/HIcon.tsx","common/assets/icons/DiamondIcon.tsx","common/assets/icons/MuscleIcon.tsx","common/assets/icons/MoveLaborIcon.tsx","common/ui/buttonsGroup/ButtonsGroup.styles.ts","common/ui/buttonsGroup/ButtonsGroup.tsx","common/utils/validations.ts","common/hooks/useComparePostalCode/useComparePostalCode.ts","common/app/junkRemoval/pages/junkRemovalStep1/JunkRemovalStep1.styles.ts","common/app/junkRemoval/pages/junkRemovalStep1/JunkRemovalStep1.tsx","common/assets/icons/CloseIcon.tsx","common/ui/corporateCodeModal/CorporateCodeModal.styles.ts","common/ui/corporateCodeModal/CorporateCodeModal.tsx","common/ui/corporateCodeModal/CorporateCodeModalContainer.tsx","common/app/contactInformationForm/contactInformationInput/ContactInformationInput.styles.ts","common/app/contactInformationForm/contactInformationInput/ContactInformationInput.tsx","common/app/contactInformationForm/ContactInformationForm.styles.ts","common/ui/uploadAttachmentDialog/UploadAttachmentDialog.styles.ts","common/ui/uploadAttachmentDialog/UploadAttachmentDialog.tsx","common/api/actions/attachments/AttachmentsActions.tsx","common/utils/attachments.ts","common/app/contactInformationForm/attachments/Attachments.styles.ts","common/app/contactInformationForm/attachments/Attachments.tsx","common/hooks/useUploadAttachment.ts","common/app/contactInformationForm/ContactInformationForm.tsx","common/app/junkRemoval/pages/junkRemovalStep2/JunkRemovalStep2.tsx","common/hooks/useAvailability/useAvailability.ts","common/assets/icons/ShortArrowIcon.tsx","common/ui/sliderSchedulePicker/SliderSchedulePicker.styles.ts","common/ui/sliderSchedulePicker/SliderSchedulePicker.tsx","common/assets/icons/DropdownIcon.tsx","common/ui/calendar/Calendar.styles.ts","common/ui/calendar/Calendar.tsx","common/app/junkRemoval/pages/junkRemovalStep3/selectDate/dropdownData.ts","common/app/junkRemoval/pages/junkRemovalStep3/selectDate/SelectDate.styles.ts","common/app/junkRemoval/pages/junkRemovalStep3/selectDate/SelectDate.tsx","common/app/junkRemoval/pages/junkRemovalStep3/JunkRemovalStep3.styles.ts","common/app/junkRemoval/pages/junkRemovalStep3/JunkRemovalStep3.tsx","common/assets/icons/BedroomIcon.tsx","common/assets/icons/FewItemsIcon.tsx","common/assets/icons/RoomOfItemsIcon.tsx","common/assets/icons/HouseCleanupIcon.tsx","common/app/junkRemoval/pages/junkRemovalStep4/JunkRemovalStep4.styles.ts","common/app/junkRemoval/pages/junkRemovalStep4/JunkRemovalStep4Card/JunkRemovalStep4Card.styles.ts","common/app/junkRemoval/pages/junkRemovalStep4/JunkRemovalStep4Card/JunkRemovalStep4Card.tsx","common/app/junkRemoval/pages/junkRemovalStep4/JunkRemovalStep4.tsx","common/ui/modalMobileTransition/ModalMobileTransition.tsx","common/app/junkRemoval/weWillTextModal/WeWillTextModal.styles.ts","common/app/junkRemoval/weWillTextModal/WeWillTextModal.tsx","common/app/junkRemoval/weWillTextModal/WeWillTextModalContainer.tsx","common/app/junkRemoval/pages/junkRemovalStep5/JunkRemovalStep5.styles.ts","common/utils/currencyFormatter.ts","common/app/junkRemoval/pages/junkRemovalStep5/junkRemovalStep5Item/JunkRemovalStep5Item.styles.ts","common/app/junkRemoval/pages/junkRemovalStep5/junkRemovalStep5Item/JunkRemovalStep5Item.tsx","common/assets/images/oneEightTruckload.png","common/assets/images/halfTruckload.png","common/assets/images/fullTruckload.png","common/api/actions/partner/partnerActions.types.ts","common/app/junkRemoval/pages/junkRemovalStep5/JunkRemovalStep5.utils.ts","common/app/junkRemoval/pages/junkRemovalStep5/junkRemovalStep5ItemForPartners/JunkRemovalStep5ItemForPartners.styles.ts","common/app/junkRemoval/pages/junkRemovalStep5/junkRemovalStep5ItemForPartners/JunkRemovalStep5ItemForPartners.tsx","common/app/junkRemoval/pages/junkRemovalStep5/JunkRemovalStep5.tsx","common/assets/icons/TruckIcon.tsx","common/app/processingRequest/ProcessingRequest.styles.ts","common/app/processingRequest/ProcessingRequest.tsx","common/app/junkRemoval/JunkRemovalProcessingRequest.tsx","common/assets/icons/HandsIcon.tsx","common/app/allDone/AllDone.styles.ts","common/app/allDone/AllDone.tsx","common/app/junkRemoval/JunkRemovalAllDone.tsx","common/assets/icons/WeAreNotHereYetIcon.tsx","common/app/unserviced/Unserviced.styles.ts","common/app/unserviced/Unserviced.tsx","common/app/junkRemoval/JunkRemovalUnserviced.tsx","common/app/junkRemoval/JunkRemovalRoutes.tsx","aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.styles.ts","aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.tsx","aMove/app/moving/pages/movingStep1/MovingStep1.tsx","aMove/app/moving/pages/movingStep2/MovingStep2.tsx","aMove/app/moving/pages/movingStep3/MovingStep3.styles.ts","aMove/app/moving/pages/movingStep3/MovingStep3.tsx","aMove/app/moving/pages/movingStep4/MovingStep4.styles.ts","aMove/app/moving/pages/movingStep4/MovingStep4.tsx","aMove/app/moving/pages/movingStep5/MovingStep5.tsx","common/ui/summaryTabs/SummaryTabs.styles.ts","common/assets/icons/EditIcon.tsx","common/ui/summaryTabs/singleTab/SingleTab.styles.ts","common/ui/summaryTabs/singleTab/SingleTab.tsx","common/ui/summaryTabs/SummaryTabs.tsx","aMove/app/moving/pages/movingStep6/MovingStep6.styles.ts","aMove/app/moving/pages/movingStep6/MovingStep6.tsx","aMove/app/moving/MovingProcessingRequest.tsx","aMove/app/moving/MovingAllDone.tsx","aMove/app/moving/MovingUnserviced.tsx","aMove/app/moving/MovingRoutes.tsx","bMove/app/moving/MovingData.tsx","bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.styles.ts","bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.tsx","bMove/app/moving/pages/movingStep1/MovingStep1.tsx","bMove/app/moving/pages/movingStep2/MovingStep2.tsx","bMove/app/moving/pages/movingStep3/MovingStep3.styles.ts","bMove/app/moving/pages/movingStep3/MovingStep3.tsx","bMove/app/moving/pages/movingStep4/MovingStep4.styles.ts","bMove/app/moving/pages/movingStep4/MovingStep4.tsx","bMove/app/moving/pages/movingStep5/MovingStep5.tsx","bMove/app/moving/pages/movingStep6/MovingStep6.styles.ts","bMove/app/moving/pages/movingStep6/MovingStep6.tsx","bMove/app/moving/pages/movingStep7/MovingStep7.styles.ts","bMove/app/moving/pages/movingStep7/pricingTable/PricingTable.styles.ts","bMove/app/moving/pages/movingStep7/pricingTable/PricingTable.tsx","bMove/app/moving/pages/movingStep7/MovingStep7.tsx","bMove/app/moving/pages/movingStep8/MovingStep8.styles.ts","bMove/app/moving/pages/movingStep8/MovingStep8.utils.ts","bMove/app/moving/pages/movingStep8/MovingStep8.tsx","bMove/app/moving/MovingProcessingRequest.tsx","bMove/app/moving/MovingAllDone.tsx","bMove/app/moving/MovingUnserviced.tsx","common/api/actions/payment/paymentActions.ts","bMove/app/moving/pages/prepayment/Prepayment.styles.ts","bMove/app/moving/pages/prepayment/prepaymentSubmitButton/PrepaymentSubmitButton.tsx","bMove/app/moving/pages/prepayment/Prepayment.tsx","bMove/app/moving/pages/prepayment/PrepaymentContainer.tsx","bMove/app/moving/MovingRoutes.tsx","common/app/labor/pages/laborStep1/LaborStep1.styles.ts","common/app/labor/pages/laborStep1/LaborStep1.tsx","common/app/labor/pages/laborStep2/LaborStep2.tsx","common/app/labor/pages/laborStep3/LaborStep3.styles.ts","common/app/labor/pages/laborStep3/LaborStep3.tsx","common/app/labor/LaborProcessingRequest.tsx","common/app/labor/LaborAllDone.tsx","common/app/labor/LaborUnserviced.tsx","common/app/labor/LaborRoutes.tsx","common/routing/AppRoutes.tsx","common/assets/images/Moving and Hauling Logo.svg","common/assets/icons/TelephoneIcon.tsx","common/ui/navigation/Navigation.styles.ts","common/ui/navigation/Navigation.tsx","common/assets/images/logo.png","common/hooks/use-segment-track/use-segment-track.ts","common/app/App.styles.ts","common/app/App.tsx","index.tsx"],"names":["responseErrorInterceptor","showAlert","async","action","response","_action$config","config","disableInterceptErrors","status","_response$payload","_response$payload$met","_response$payload2","_response$payload3","errorMsg","payload","meta","errors","length","message","metaSeries","series","bugsnagMsg","concat","variant","Bugsnag","notify","Error","getEnvVar","key","nonRequired","undefined","process","PARTNER_NAME","API_URL","SPLIT_AUTH_KEY","SPLIT_KEY","ATTACHMENT_MAX_SIZE","Number","SEGMENT_WRITE_KEY","ClientContextController","_ref","children","useAlert","client","useMemo","createClient","requestInterceptors","host","endpoint","startsWith","responseInterceptors","_jsx","ClientContextProvider","FormStateContext","createContext","FormDispatchContext","ReadyForRequestProcessingEnum","FORM_STATE","initialFormState","isPartner","formStorage","constructor","_formState","formStateString","sessionStorage","getItem","this","JSON","parse","formState","value","setItem","stringify","RESET_FORM","SET_READY_FOR_PROCESSING","SET_BOOKING_DONE_AND_CONTACT","SET_GLOBAL_DATA","SET_CALL_ME_NOW","SET_PARTNER_DATA","SET_ACCOUNT_DATA","formReducer","state","type","partnerData","token","accountId","account","readyForRequestProcessing","contactData","CallMeNow","bookingDone","FormContextController","dispatch","useReducer","useEffect","Provider","useStyles","makeStyles","container","textAlign","width","height","ErrorBoundaryFallback","clearError","styles","_jsxs","Grid","className","spacing","alignContent","justify","direction","item","Typography","color","Button","buttonType","onClick","start","apiKey","plugins","BugsnagPluginReact","ErrorBoundary","bugsnagPlugin","getPlugin","BugsnagError","createErrorBoundary","React","_Fragment","FallbackComponent","useFormState","context","useContext","getCookie","name","v","document","cookie","match","createNewAccountAction","values","locationId","tracking","getTrackingData","firstSessionCookie","sessionInfo","decodeURIComponent","replace","source","medium","campaign","content","term","_ga","google","id","CHHJSessionId","website_session","payloadWithTracking","method","body","updateAccountAction","pingAction","booking_complete","createAccountAddressAction","restValues","fullAddress","address","createAppointmentAction","createCallRequestAction","calculateQuoteAction","createNewQuoteAction","setGlobalData","setReadyToProcessing","setBookingDoneAndContact","setPartnerData","useFormDispatch","LaborStateContext","LaborDispatchContext","useLaborStateContext","useLaborDispatchContext","useLaborContext","LABOR_KEY","laborDefaultState","labor","laborStorage","_state","clear","removeItem","actions","laborActions","reducer","laborReducer","createSlice","initialState","reducers","setStep1","step1","setStep2","_ref2","step2","reset","pricingIdMap","JUNK_REMOVAL_KEY","junkRemovalDefaultState","junkRemoval","pricing","junkRemovalStorage","junkRemovalActions","junkRemovalReducer","setPricing","pricingResponse","_pricingResponse$view","viewpricingbyproduct","reduce","acc","curr","price","mapPricingResponse","_ref3","setStep3","_ref4","step3","setStep4","_ref5","step4","resetStep","_ref6","step","JunkRemovalStateContext","JunkRemovalDispatchContext","useJunkRemovalStateContext","useJunkRemovalDispatchContext","useJunkRemovalContext","VersionContext","useVersionContext","MovingStateContext","MovingDispatchContext","useMovingStateContext","useMovingDispatchContext","useMovingContext","MOVING_KEY","movingDefaultState","moving","movingStorage","movingActions","movingReducer","setStep5","step5","USADateFormat","DateFormatForAPI","setPricingValues","pricingTableData","numberOfHunks","quote","hunks","truckAndTravel","truck_and_travel","hourlyRate","hourly_rate","time","labor_hours","totalPrice","total_price","jobDuration","high","setPrepaymentData","isPrepaymentDisabled","pre_payment","collect_online","amount","square_location_id","isRefundDateInPast","moment","refundable_by","isBefore","Date","isRefundable","refundable","prepaymentData","isPrepaymentAvailable","prepaymentRefundable","refundDate","squareLocationId","_ref7","setStep6","_ref8","step6","setStep7","_ref9","step7","setStep8","_ref10","step8","_ref11","useResetState","moveVer","laborDispatch","junkRemovalDispatch","movingDispatchContext","movingVerBDispatchContext","useCallback","movingDispatch","movingVerBActions","PingController","timerId","setTimerId","useState","isReadyToPing","resetState","mutate","abort","useMutation","stopTimer","clearInterval","dropBooking","pause","resume","useIdleTimer","stopOnIdle","timeout","onIdle","makePing","isReadyToSetInterval","intervalId","setInterval","googleApiConfig","libraries","googleMapsApiKey","loader","position","left","top","transform","GoogleScriptsController","isLoaded","loadError","useLoadScript","Loader","checkPostalCodeAction","checkAvailabilityAction","_restValues$duration","duration","number_of_days","getPricingAction","urlParams","queryString","getPostalInfoAction","CategoryIdEnum","AccessTypeEnum","TypeOfDwellingEnum","LongWalksEnum","JunkRemovalContextController","query","queryGetPricing","loading","isGettingPricing","abortGettingPricing","useParameterizedQuery","getPricing","postal","job_date","date","format","category_id","junk","stateValue","dispatchValue","LaborContextController","AppRoute","CommonRoute","JunkRemovalRoute","MovingRoute","LaborRoute","junkRemovalRoutes","unserviced","processing","processingRequest","alldone","allDone","movingRoutes","laborRoutes","getPartnerInfoAction","findNearestLocationId","locations","prev","distance","miles","unservicedRouteForTypeMap","move","useCheckPostalCode","need_postal_info","history","useHistory","checkPostalCodeRequest","isChecking","getPostalInfoRequest","isGettingPostalInfo","checkPostalCode","_payload$locations","job_category_id","arguments","push","Promise","reject","nearestLocationId","zoneId","zone","_postalInfoPayload$po","postalInfoPayload","city","country","resolve","rudderanalytics","flagNames","useFeatureFlags","treatments","useSplitTreatments","names","Array","from","toggles","keys","treatment","AccountTypeEnum","mapStateToAccountPayload","contactInformationData","billingAddress","categoryId","first_name","firstName","last_name","lastName","email","phone","billing_address","category","company","companyName","notes","information","partnerName","subpartnerName","orderNumber","Commercial","Residential","subpartner","subpartnerId","source_id","useAccount","createAccountMutate","isCreatingAccount","updateAccountMutate","isUpdatingAccount","sendPingMutate","isSendingPing","isRecreatingAccount","isCreatingOrUpdatingAccount","feature_flags","flags","OnlineBooking_TrackVersion","createOrUpdateAccount","mapStateToAccountParams","partnerInfo","forceCreate","accountPayload","PartnerManagement_DefaultReferralSource","_payload$accounts","_payload$accounts2","accounts","_payload$tokens","_payload$tokens2","tokens","location","segmentTraits","street","address2","trim","postalCode","mapAccountToSegmentTraits","identify","segmentFormEventTraits","track","recreateAccountWithNewLocationId","newLocationId","_payload$tokens3","pingPayload","code","StairsIcon","SvgIcon","viewBox","fill","d","colors","primary","light","main","secondary","ElevatorIcon","Bedroom1Icon","x","y","stroke","Bedroom2Icon","Bedroom3Icon","Bedroom4Icon","typeOfDwellingOptions","Apartment","label","House","Business","StorageUnit","enUsRules","Intl","PluralRules","suffixes","one","two","few","other","floorOptions","map","floorNo","floorNoLabel","suffix","select","accessTypeTiles","icon","Elevator","Stairs","TruckParkingSelectEnum","truckParkingOptions","Driveway","StreetCloseWalk","StreetSomewhatWalk","ParkingCloseWalk","ParkingSomewhatWalk","ParkingFarWalk","bedroomsTiles","formatPhoneForApi","cleaned","substring","mapTruckParkingToLongWalks","zero","applyPhoneMask","number","isSameSchedule","schedule1","schedule2","end","resourceId","VERSION_KEY","versionsDefaultState","junkVer","versionStorage","Cookies","get","set","expires","mapPartnerResponseToStateData","partnerToken","partner","logoUrl","logo","url","discounts","heroTitle","booking","title","heroImg","image_url","shouldDisplayPartnersFields","disabledCategories","online_booking_disabled_categories","VersionContextController","formDispatch","getPartnerInfoMutate","abortGetPartnerInfo","isGettingPartnerInfo","servicesVersion","setServicesVersion","isLoading","getPartnerInfo","_payload$subpartners","_payload$meta$errors","subpartner_token","subpartners","getService","path","checkUrlParams","some","param","_urlParams$junkVer","_urlParams$moveVer","urlJunkVer","toUpperCase","urlMoveVer","includes","phoneNumber","service","accountParams","hasCorporateCode","specialInstructions","additionalNotes","attachments","qs","stringifyUrl","home","encode","search","Box","MovingContextController","calculateQuoteMutate","abortCalculateQuote","isCalculatingQuote","calculateQuote","_quotePayload$quote","quotePayload","params","isCallRequired","call_required","useDeepCompareEffect","_movingState$step1$fl","_movingState$step2$fl","movingState","email_client","rooms","appliances","assembly_items","assemblyItems","heavy_items","heavyItems","origin","floor","access_type","accessType","long_walks","truckParking","destination","mapMovingStateToCalculateQuotePayload","MovingProviderController","MovingContextControllerVerB","SplitProvider","memo","splitAttributes","attributes","user_id","location_id","core","authorizationKey","SplitFactoryProvider","updateOnSdkTimedout","factory","isReady","isTimedout","lastUpdate","generateClassName","createGenerateClassName","productionPrefix","AppProviders","StylesProvider","CollegeHunksTheme","CalendarPickerProvider","AlertProvider","maxSnack","anchorOrigin","horizontal","vertical","preventDuplicate","DialogContextController","Router","theme","padding","breakpoints","up","maxWidth","margin","Container","restProps","clsx","MovingIcon","style","strokeWidth","strokeLinecap","strokeLinejoin","JunkRemovalIcon","clipPath","basic","white","LaborIcon","grey180","typography","h2","paddingTop","highlightText","serviceBoxesContainer","backgroundColor","serviceBoxes","paddingBottom","marginBottom","display","justifyContent","gap","flex","box","zIndex","borderRadius","flexDirection","cursor","bottom","right","transition","boxShadow","grey100","opacity","pseudoElementContainer","flexGrow","grey190","h3","discount","h5","minHeight","h4","subTitle","titleWithIcon","alignItems","marginRight","iconContainer","fontSize","button","marginTop","ServiceCard","mt","fullWidth","size","LoadedImage","alt","src","imgLoaded","setImgLoaded","onImageLoad","Fade","in","onLoad","imgContainer","img","objectFit","objectPosition","flexContainer","flexBasis","overflowY","AboutHunks","isExactPartner","Hidden","smUp","aboutHunks","xsDown","root","ArrowRightIcon","black","ArrowLeftIcon","CarouselSlider","forwardRef","ref","settings","allSettings","dots","speed","slidesToShow","slidesToScroll","prevArrow","nextArrow","Slider","wrapper","grey10","carouselSlider","down","sliderItem","outline","whyHunksList","Icon","WhyHunks","useTheme","isTablet","useMediaQuery","isDesktop","align","happyCustomerContainer","happyCustomerInnerWrapper","paddingLeft","paddingRight","innerWrapper","card","background","grey40","lineHeight","text","fontWeight","author","textTransform","letterSpacing","sliderData","info","HappyCustomers","smDown","happyCustomersImg","index","containerShadow","order","InTheCommunity","inTheCommunityImg","HeroImgDecorationSmall","HeroImgDecorationBig","marginLeft","border","imgWrapper","imgDecorationSmall","imgDecorationBig","importantTitlePart","minWidth","PartnerHero","isMobile","handleClick","_document$getElementB","serviceBoxesDistanceToTop","window","pageYOffset","getElementById","getBoundingClientRect","scroll","behavior","reactStringReplace","i","Home","serviceBoxesData","isPlaceForMom","route","PartnerManagement_OnlineBooking_ConfigureCategories","handleServiceClick","gridItem","CheckIcon","grey20","textDisabled","grey80","grey140","textDecoration","checkedItem","activeItem","activeIndex","AsideNavbarItem","isDone","isOptional","isDisabled","isActive","pathname","isChecked","isOptionalGreyOut","e","preventDefault","NavLink","to","checkIfNavItemIsDisabled","navItems","currentItem","previousItems","filter","_","find","_navItems$find","navItem","prepayment","alldonePrepayment","alldonePrepaymentError","asideNavbarData","asideNavbarVerBData","movingVerBRoutes","AsideNavbar","mobileVersionType","movingVerBState","asideNavbarDataCorrectVersion","filledStepsNames","Object","mappedData","_data$find","data","serviceType","reduced","navBarItemWithState","getNavItemsWithState","activeItemId","breadcrumbs","Breadcrumbs","breadcrumbsDataCorrectVersion","breadcrumb","breadcrumbsData","MovingRouteVerB","breadcrumbsDataVerB","breadcrumbsItems","items","forEach","crumb","breadcrumbsItemsUnique","Set","MuiBreadcrumbs","leftSpacing","headerWrapper","header","gridContainer","section","aside","MainLayout","useScrollBehavior","useLocation","scrollToElementId","useLayoutEffect","scrollIntoView","headerText","headerTextmap","component","LayoutRoute","routeProps","Route","dropdown","modal","dropdownWidth","dropdownItem","whiteSpace","grey120","overflow","activeDropdownItem","mainText","searchQueryMatch","input","checkIcon","functionals","success","AddressAutocomplete","_anchorRef$current","onSelect","hasError","initialValue","searchAddress","setSearchAddress","isAddressSelected","setIsAddressSelected","anchorRef","useRef","inputRef","current","offsetWidth","handleClose","event","contains","target","getHighlightedText","parts","split","RegExp","highlightIndex","findIndex","part","toLowerCase","secondaryText","handleSelect","geocodeByAddress","selectedAddress","then","results","geometry","address_components","createBillingAddress","lat","lng","inputValue","PlacesAutocomplete","onChange","_inputRef$current","blur","searchOptions","componentRestrictions","types","getInputProps","suggestions","getSuggestionItemProps","Input","endAdornment","error","Popper","open","anchorEl","placement","TransitionProps","ClickAwayListener","onClickAway","Paper","elevation","MenuItem","suggestion","_createElement","placeId","active","formattedSuggestion","addressComponents","short_name","Boolean","join","GoogleMaps","Collapse","GoogleMap","center","zoom","options","fullscreenControl","zoomControl","mapTypeControl","streetViewControl","mapContainerClassName","Marker","grey30","iconList","ecoFriendly","strokeMiterlimit","recycling","threeStars","fillRule","clipRule","h","diamond","muscle","moveLabor","TipBox","iconName","ButtonsGroup","validateAddress","fullAddr","useComparePostalCode","onFail","openConfirmation","closeConfirmation","useConfirmationDialog","confirmButtonText","hideCancelButton","hideDialogCloseButton","comparePostal","newPostal","newZoneId","tipBox","errorText","JunkRemovalStep1","_junkRemoval$step","_junkRemoval$step2","_junkRemoval$step3","_junkRemoval$step4","_junkRemoval$step5","googleMapsLocation","setGoogleMapsLocation","register","handleSubmit","control","setValue","watch","useForm","defaultValues","apartment","mode","isDirty","isValid","shortAddress","handleSubmitCallback","addressForApi","onSubmit","FormControl","Controller","rules","validate","render","field","onBlur","FormHelperText","msg","disabled","Redirect","CloseIcon","dialog","inputError","headerAndCloseWrapper","closeButton","buttonsGroup","CorporateCodeModalRaw","_errors$corporateCode","onClose","corporateCode","Dialog","mb","required","mask","placeholder","CorporateCodeModal","CorporateCodeModalContainer","subpartnerToken","replaceAll","ContactInformationInput","inputMode","rows","requiredText","hasPrefilledData","fieldState","isTouched","useController","touched","helperText","multiline","inputProps","form","divider","borderBottom","attachmentBox","borderTop","fileTypes","confirmButton","buttonsContainer","UploadAttachmentDialog","uploadAttachment","limit","description","setDescription","selectedFiles","setSelectedFiles","uploading","setUploading","onAdd","file","getTime","URL","createObjectURL","removeFile","obj","onUpload","formAttachments","fileObj","UploadAttachment","amountLimit","changeDescription","selectedFile","changeSelectedFile","File","acceptFormats","fileSizeValidation","maxFileSizeKb","onDeleteAttachment","uploadAttachmentAction","appointmentId","uploadAction","fileToBase64","reader","FileReader","readAsDataURL","onload","result","onerror","fileBeLost","alert","list","descriptionLabel","Attachments","setDialog","useDialogDispatch","upload","useUploadAttachemnt","uploadQuery","PartnerPortal_AddAttachments","files","newAttachments","extension","pop","bucket_url","closeAttachmentForm","onDelete","attachment","openAttachmentForm","disableBackdropClick","dialogContent","AttachmentItem","ContactInformationForm","onBackClick","tipBoxData","partnersSectionRef","isCorporateCodeModalOpen","setCorporateCodeModalOpen","trigger","isHasCorporateCodeChecked","scrollOnNewFieldsAppear","setTimeout","scrollHeight","onSubmitCallback","correctedValues","handleCheckboxChange","maxLength","validateEmail","validatePhone","isUSAPostal","isCanadaPostal","Checkbox","checked","PartnerPortal_HideTypeOfItemsForMoving","JunkRemovalStep2","_junkRemoval$step6","_junkRemoval$step7","_junkRemoval$step8","_junkRemoval$step9","_junkRemoval$step10","_junkRemoval$step11","accountRes","locationOfJunk","useAvailability","checkAvailabilityMutate","abortCheckAbailability","isCheckingAvailability","schedules","setSchedules","morning","afternoon","evening","createSchedule","availability","createdSchedule","timePeriod","schedule","resource","period","getAvailabilitySchedule","jobDate","view_date","zone_id","getTheSameOrSimilarSchedule","availabilityParams","currentSchedule","redirectionRoute","foundSameSchedule","ShortArrowIcon","timePickerContainer","sliderContainer","sliderArrow","sliderArrowRight","transformOrigin","slidesMap","initialSchedules","SliderSchedulePicker","initialPeriod","sliderRef","findSelectedPeriod","selected","initialSlide","_sliderRef$current","slickPrev","_sliderRef$current2","slickNext","arrows","entries","schedulePeriod","TimePicker","onTimeSelected","alwaysShowScrollbar","DropdownIcon","buttons","Calendar","minDate","onDateChange","currentDate","setCurrentState","handleCalendarChange","toDate","DialogTitle","disableTypography","DialogContent","CalendarPicker","DialogActions","createDateAndText","newDate","dropdownData","add","inactive","readOnly","pointerEvents","inputEndAdornment","dark","rotateAdornment","timeMap","SelectDate","setOpen","listRef","calendarOpen","setCalendarOpen","formattedDate","momentDate","formattedDay","day","nextDayFromToday","isSame","filteredDropdownData","prevState","buttonsWrapper","body1","JunkRemovalStep3","defaultValue","BedroomIcon","FewItemsIcon","RoomOfItemsIcon","HouseCleanupIcon","boxesContainer","flexWrap","grey60","superlight","borderColor","grey170","JunkRemovalStep4Card","isSelected","RadioButtonIcon","JunkRemovalStep4","_junkRemoval$step4$se","bookBtnRef","selectedCardIndex","setSelectedCardIndex","handleNextStep","handleCardSelection","cardIndex","_bookBtnRef$current","ModalMobileTransition","props","Slide","WeWillTextModal","_errors$phone","fullScreen","TransitionComponent","WeWillTextModalContainer","formattedPhone","loaderContainer","itemsContainer","itemsForPartnerContainer","baseIntlOptions","currency","minimumFractionDigits","maximumFractionDigits","currencyFormatter","NumberFormat","formatCurrency","formatCurrencyWithoutSymbol","getPriceRange","price1","price2","borderRight","grey160","JunkRemovalStep5Item","imgSrc","DiscountTypeEnum","pricingsData","oneEightTruckloadImg","halfTruckloadImg","fullTruckloadImg","pricingsDataForPartners","imgAndTitleWrapper","crossedText","stickToRight","JunkRemovalStep5ItemForPartners","_discountData$discoun","_discountData$discoun2","discountData","newPrice","applyDiscountToPrice","oldPrice","Percent","toFixed","DollarAmount","ml","discountDetails","Link","rel","href","details","dangerouslySetInnerHTML","__html","JunkRemovalStep5","dialogIsOpen","openDialog","closeDialog","filteredDiscounts","PricingOverride","isWebUri","getDiscountData","openNextStep","JunkRemoval","handleNextClick","TruckIcon","truckHeight","truckRoadLength","bgWrapper","truckContainer","truck","animation","serviceRouteForTypeMap","Moving","Labor","ProcessingRequest","onProcess","JunkRemovalProcessingRequest","createAddressMutate","abortCreateAddress","createAppointmentMutate","abortCreateAppointment","checkAvailability","uploadAttachmentMutate","checkAgainAvailability","_payload$availability","createAppointment","_junkRemoval$step2$at","addresses","originId","appointmentPayload","start_date","end_date","create_schedule","special_instructions","type_of_junk","location_of_junk","purchase_order","urls","appointments","appointment","appointmentType","startDate","endDate","contact","HandsIcon","link","AllDone","subtitle","reschedule","altTitle","isAnotherServiceBtnVisible","formattedContact","JunkRemovalAllDone","WeAreNotHereYetIcon","flexWrapper","bolderText","Unserviced","_partnerData$type2","btnLink","isNationalAccount","_partnerData$type","JunkRemovalUnserviced","JunkRemovalRoutes","Switch","exact","tile","labelError","tipbox","MovingFormStep1Step2","_errors$apartment","_errors$typeOfDwellin","_errors$floor","_errors$accessType","_errors$truckParking","_errors$rooms","withRooms","typeOfDwelling","renderAccessType","renderFloorAndAccessType","handleFloorChange","option","shouldDirty","handleDwellingChange","_typeOfDwellingOption","NewSelect","isSearchable","_floorOptions$find","TileToggle","val","classes","md","tiles","_truckParkingOptions$","_option$value","MovingStep1","_moving$step","_moving$step2","_moving$step3","_moving$step4","_moving$step1$typeOfD","_moving$step5","_moving$step1$floor","_moving$step6","_moving$step1$accessT","_moving$step7","_moving$step1$truckPa","_moving$step8","_moving$step9","MovingStep2","_moving$step2$typeOfD","_moving$step2$floor","_moving$step2$accessT","_moving$step2$truckPa","boxBgc","fields","enableBgc","MovingStep3","_moving$step3$applian","_moving$step3$heavyIt","_moving$step3$assembl","IncrementInput","min","max","calendar","MovingStep4","MovingStep5","_moving$step10","EditIcon","row","cell","wideKeyField","contentWrapper","SingleTab","TableContainer","Table","TableBody","TableRow","TableCell","scope","SummaryTabs","tab","summaryContent","textContent","MovingStep6","pagePath","gtag","page_path","findLabelForSelectOptions","_options$find","summaryTabsData","MovingProcessingRequest","createCallRequestMutate","abortCallRequest","calculateQuoteAbort","createQuoteMutate","createQuoteAbort","_calculatePayload$quo","calculatePayload","createQuote","createCallRequest","callPayload","MovingAllDone","MovingUnserviced","MovingRoutes","isWaitingForQuote","setWaitingForQuote","redirectToNextStep","listItemsContainer","lastRow","cellTitle","rightCell","yourEstimatePrice","PricingTable","tableContent","low","approxPrice","colSpan","listItems","MovingStep7","prepaymentValue","MovingStep8","historyPush","friendly","getMovingSummaryTabsData","visited","abortCreateCallRequest","handleError","autoHideDuration","_moving$step1$floor2","createQuotePayload","getSchedule","_appointmentPayload$a","chosenSchedule","handleCallRequired","requests","redirectAfterProcess","MovingAllDoneError","MovingAllDonePrepayment","createNewPayment","fontFamily","fontStyle","bold","palette","linkText","squareInputStyles","placeholderColor","placeholderFontWeight","PrepaymentSubmitButton","squareContext","SquarePaymentContext","onCreateNonce","squareApplicationId","isSandbox","Prepayment","cardNonceResponseReceived","createVerificationDetails","handleContinueWithoutPrepayment","paymentLoading","hasApiFailed","isSquareLoaded","setIsSquareLoaded","cardNumberError","postalError","cvvError","expDateError","SquarePaymentForm","sandbox","applicationId","formId","apiWrapper","placeholderPostal","noonce","paymentFormLoaded","inputStyles","CreditCardNumberInput","CreditCardExpirationDateInput","CreditCardPostalCodeInput","CreditCardCVVInput","PrepaymentContainer","isSquareProcessing","setIsSquareProcessing","setHasApiFailed","setErrors","createPaymentMutate","isCreatingNewPayment","createPaymentAbort","submitCallback","toString","currencyCode","intent","billingContact","familyName","givenName","addressLines","nonce","payloadData","LaborStep1","_labor$step","_labor$step2","_labor$step3","_labor$step4","_labor$step5","LaborStep2","_labor$step6","_labor$step7","_labor$step8","_labor$step9","LaborStep3","LaborProcessingRequest","callRequestPayload","LaborAllDone","LaborUnserviced","LaborRoutes","AppRoutes","MovingRoutesVerB","TelephoneIcon","navbar","partnerLogo","partnerPhoneNumber","Navigation","tel","AppBar","Toolbar","MovingAndHaulingLogo","app","App","trackVersion","useSegmentTrack","analytics","OnlineBooking_TwilioSegmentTracking","AnalyticsBrowser","load","writeKey","cdnURL","integrations","apiHost","protocol","version","page","smoothscroll","polyfill","ReactDOM"],"mappings":"2TAQO,MAAMA,EAAsDC,GAAc,IAAMC,MACrFC,EACAC,KACI,IAADC,EACH,IAAkB,QAAdA,EAACF,EAAOG,cAAM,IAAAD,IAAbA,EAAeE,yBAA8C,MAApBH,EAASI,OAAgB,CAAC,IAADC,EAAAC,EAAAC,EAAAC,EACrE,MAAMC,EAA2B,QAAhBJ,EAAAL,EAASU,eAAO,IAAAL,GAAa,QAAbC,EAAhBD,EAAkBM,KAAKC,cAAM,IAAAN,GAA7BA,EAA+BO,OAAyB,QAAnBN,EAAGP,EAASU,eAAO,IAAAH,OAAA,EAAhBA,EAAkBI,KAAKC,OAAO,GAAGE,QAAU,GAC9FC,GAA6B,QAAhBP,EAAAR,EAASU,eAAO,IAAAF,OAAA,EAAhBA,EAAkBG,KAAKK,SAAU,GAC9CC,EAAU,GAAAC,OAAMT,EAAQ,oBAAAS,OAAmBH,GAEjDlB,EAAU,iDAAkD,CAAEsB,QAAS,UACvEC,IAAQC,OAAO,IAAIC,MAAML,GAC3B,CAEA,OAAOjB,CAAQ,ECjBXuB,EAAYA,CAACC,EAAaC,KAC9B,IAAKA,QAAoCC,IAArBC,22BAAYH,GAC9B,MAAM,IAAIF,MAAM,gBAADJ,OAAiBM,EAAG,oBAErC,OAAOG,22BAAYH,IAAQ,EAAE,EAIlBI,EAAeL,EAAU,0BAA0B,GAGnDM,EAAUN,EAAU,qBAepBO,GAZiBP,EAAU,wBAGTA,EAAU,6BAGXA,EAAU,4BAGXA,EAAU,2BAGTA,EAAU,6BAG3BQ,EAAYR,EAAU,uBAQtBS,GALST,EAAU,oBAGFA,EAAU,4BAELU,OAAOV,EAAU,mCAEvCW,EAAoBX,EAAU,+B,WCjCpC,MAAMY,EAA0BC,IAAwC,IAA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AwBpB,MAAM+5C,EFlCuBC,MAC7B,MAAM,QAAEtuC,GAAYN,KAmBd6uC,EAAYhmD,mBAAQ,KACxB,GAAIyX,EAAQwuC,oCACV,OAAOC,KAAiBC,KACtB,CACEC,SAAU1mD,EACV2mD,OAAQ,iDAEV,CACEC,aAAc,CACZ,aAAc,CAGZC,QAAS,uCACTC,SAAU,WAKpB,GACC,CAAC/uC,EAAQwuC,sCAWZ,OATqBh2C,uBAClB0S,IACKqjC,GACFA,EAAU1qC,MAAM,oCAAqC,CAAEqH,UAAS8jC,QAAS,KAC3E,GAEF,CAACT,GAGgB,EEhBED,GA0BrB,OAxBA7iD,qBAAU,KACyC,CAE/C,MAAM85C,EAAWnsB,OAAOhW,SAAS+J,OAAS8N,EAE1CuqB,KAAK,SAAU99C,eAAsC,CAAE+9C,UAAWF,GACpE,CAGA,IAAIr6B,EAFJ1L,GAAgByvC,OAIZh0B,EAASjQ,SAAS,UACpBE,EAAU,SACD+P,EAASjQ,SAAS,SAC3BE,EAAU,QACD+P,EAASjQ,SAAS,kBAC3BE,EAAU,gBAGRA,GACFmjC,EAAanjC,EACf,GACC,CAAC+P,IAGF7uB,eAAA,OAAKE,UAAWH,EAAOgiD,IAAK7+C,GAAG,MAAKlH,SAAA,CAClCU,cAACglD,GAAU,IAEXhlD,cAAA,OAAKwD,UAAWH,EAAO+C,QAAQ9G,SAC7BU,cAAC0kD,GAAS,QAER,EC7DV0B,IAAaC,WAQbC,IAAStmB,OACPhgC,cAACgmB,GAAY,CAAA1mB,SACXU,cAACslD,GAAG,MAENjgD,SAASmrB,eAAe,Q","file":"static/js/main.d7f523c5.chunk.js","sourcesContent":["import { QueryResponse, ResponseInterceptor } from 'react-fetching-library';\nimport { ShowAlert } from '@chhjit/react-components';\nimport Bugsnag from '@bugsnag/browser';\n\nimport { Action, BasicResponseStructure } from 'common/api/types';\n\ntype ResponseErrorInterceptor = (showAlert: ShowAlert) => ResponseInterceptor;\n\nexport const responseErrorInterceptor: ResponseErrorInterceptor = (showAlert) => () => async (\n action: Action,\n response: QueryResponse,\n) => {\n if (!action.config?.disableInterceptErrors && response.status !== 200) {\n const errorMsg = response.payload?.meta.errors?.length ? response.payload?.meta.errors[0].message : '';\n const metaSeries = response.payload?.meta.series || '';\n const bugsnagMsg = `${errorMsg} - Meta series: ${metaSeries}`;\n\n showAlert('Something went wrong, please, refresh the page', { variant: 'error' });\n Bugsnag.notify(new Error(bugsnagMsg));\n }\n\n return response;\n};\n","/**\n * Getting env variable\n * @throwable\n */\nconst getEnvVar = (key: string, nonRequired?: boolean) => {\n if (!nonRequired && process.env[key] === undefined) {\n throw new Error(`Env variable ${key} is not defined`);\n }\n return process.env[key] || '';\n};\n\n/** PARTNER_NAME ENV **/\nexport const PARTNER_NAME = getEnvVar('REACT_APP_PARTNER_NAME', true);\n\n/** API entrypoint */\nexport const API_URL = getEnvVar('REACT_APP_API_URL');\n\n/** Old App link */\nexport const hunkwareAppURL = getEnvVar('REACT_APP_DOMAIN_URL');\n\n/** BugSnag Application ID **/\nexport const BUGSNAG_API_KEY = getEnvVar('REACT_APP_BUGSNAG_API_KEY');\n\n/** Google Application ID **/\nexport const GOOGLE_API_KEY = getEnvVar('REACT_APP_GOOGLE_API_KEY');\n\n/** Square Application ID **/\nexport const SQUARE_APP_ID = getEnvVar('REACT_APP_SQUARE_APP_ID');\n\n/** Split.io Auth Key **/\nexport const SPLIT_AUTH_KEY = getEnvVar('REACT_APP_SPLIT_AUTH_KEY');\n\n/** Split.io Key **/\nexport const SPLIT_KEY = getEnvVar('REACT_APP_SPLIT_KEY');\n\n/** Google analytics ID **/\nexport const GTM_ID = getEnvVar('REACT_APP_GTM_ID');\n\n/** Google analytics tracking ID **/\nexport const GA_TRACKING_ID = getEnvVar('REACT_APP_GA_TRACKING_ID');\n\nexport const ATTACHMENT_MAX_SIZE = Number(getEnvVar('REACT_APP_ATTACHMENT_MAX_SIZE'));\n\nexport const SEGMENT_WRITE_KEY = getEnvVar('REACT_APP_SEGMENT_WRITE_KEY');\n","import React, { useMemo } from 'react';\nimport { ClientContextProvider, createClient } from 'react-fetching-library';\nimport { useAlert } from '@chhjit/react-components';\n\nimport { requestHostInterceptor } from 'common/api/interceptors/requestHostInterceptor/requestHostInterceptor';\nimport { responseErrorInterceptor } from 'common/api/interceptors/responseErrorInterceptor/responseErrorInterceptor';\nimport { API_URL } from 'common/utils/env-variables';\n\nimport { ClientProviderProps } from './ClientContextController.types';\n\nexport const ClientContextController = ({ children }: ClientProviderProps) => {\n const { showAlert } = useAlert();\n\n const client = useMemo(() => {\n return createClient({\n requestInterceptors: [requestHostInterceptor(API_URL)],\n responseInterceptors: [responseErrorInterceptor(showAlert)],\n });\n }, [showAlert]);\n\n return {children};\n};\n","import { RequestInterceptor } from 'react-fetching-library';\n\nimport { Action } from 'common/api/types';\n\nexport const requestHostInterceptor: (host: string) => RequestInterceptor = (host) => () => async (\n action: Action,\n) => {\n if (action.endpoint.startsWith('http') || action.endpoint.startsWith('//')) {\n return action;\n }\n\n return {\n ...action,\n endpoint: `${host}${action.endpoint}`,\n };\n};\n","import { createContext } from 'react';\n\nimport { FormStateContextType, FormDispatchContextType } from './FormContext.types';\n\nexport const FormStateContext = createContext(undefined);\nexport const FormDispatchContext = createContext(undefined);\n","import { Dispatch } from 'react';\n\nimport { GetPartnerInfoAction } from 'common/api/actions/partner/partnerActions.types';\nimport { FormAction } from '../formReducer/formReducer.types';\n\nexport enum ReadyForRequestProcessingEnum {\n JunkRemoval = 'junkRemoval',\n Moving = 'moving',\n Labor = 'labor',\n CallMeNow = 'callMeNow',\n}\n\nexport type UrlParamsUser = {\n firstName?: string;\n lastName?: string;\n email?: string;\n phone?: string;\n postal?: string;\n};\n\nexport type PartnerDataContextType = {\n partnerName: string;\n subpartnerId: number;\n subpartnerName: string;\n token: string;\n name: string;\n logoUrl: string;\n heroTitle: string;\n heroImg: string;\n discounts: GetPartnerInfoAction.Discount[];\n shouldDisplayPartnersFields: boolean;\n disabledCategories: number[];\n type: {\n id: number;\n name: string;\n };\n source_id?: number;\n};\n\nexport type FormStateContextType = {\n token?: string;\n locationId?: number;\n accountId?: number;\n zoneId?: number;\n isReadyToPing?: boolean;\n readyForRequestProcessing?: ReadyForRequestProcessingEnum;\n bookingDone?: boolean;\n contactData?: {\n type: 'email' | 'phone';\n contact: string;\n };\n appointmentId?: number; // B: for bMove\n isCallRequired?: boolean; // B: for bMove\n isPartner: boolean;\n partnerData?: PartnerDataContextType;\n account?: UrlParamsUser & { id?: number; locationId?: number };\n};\n\nexport type FormDispatchContextType = Dispatch;\n","import { FormStateContextType } from '../formContext/FormContext.types';\n\nconst FORM_STATE = 'OBT/FORM_STATE';\n\nexport const initialFormState: FormStateContextType = {\n isPartner: false,\n};\n\nclass FormStorage {\n private _formState: FormStateContextType = initialFormState;\n\n constructor() {\n try {\n const formStateString = sessionStorage.getItem(FORM_STATE);\n\n if (formStateString) {\n this._formState = JSON.parse(formStateString);\n }\n } catch {\n this._formState = initialFormState;\n }\n }\n\n get formState(): FormStateContextType {\n return this._formState;\n }\n\n set formState(value: FormStateContextType) {\n this._formState = value;\n\n try {\n sessionStorage.setItem(FORM_STATE, JSON.stringify(value));\n } catch {}\n }\n}\n\nexport const formStorage = new FormStorage();\n","import { FormStateContextType } from '../formContext/FormContext.types';\n\nexport const RESET_FORM = 'RESET_FORM';\nexport const SET_READY_FOR_PROCESSING = 'SET_READY_FOR_PROCESSING';\nexport const SET_BOOKING_DONE_AND_CONTACT = 'SET_BOOKING_DONE_AND_CONTACT';\nexport const SET_GLOBAL_DATA = 'SET_GLOBAL_DATA';\nexport const SET_CALL_ME_NOW = 'SET_CALL_ME_NOW';\nexport const SET_CONTACT = 'SET_CONTACT';\nexport const SET_PARTNER_DATA = 'SET_PARTNER_DATA';\nexport const SET_ACCOUNT_DATA = 'SET_ACCOUNT_DATA';\n\ntype ReducerAction = {\n type: Type;\n payload: Payload;\n};\n\nexport type FormStatereadyForRequestProcessingType = {\n readyForRequestProcessing: FormStateContextType['readyForRequestProcessing'];\n};\n\nexport type FormStateContact = NonNullable;\n\nexport type FormStateGlobalDataType = {\n token?: FormStateContextType['token'];\n locationId?: FormStateContextType['locationId'];\n accountId?: FormStateContextType['accountId'];\n appointmentId?: FormStateContextType['appointmentId']; // B: for bMove\n zoneId?: FormStateContextType['zoneId'];\n isReadyToPing?: FormStateContextType['isReadyToPing'];\n isCallRequired?: FormStateContextType['isCallRequired'];\n account?: FormStateContextType['account'];\n};\n\nexport type FormStatePartnerData = NonNullable;\n\nexport type FormStateUserData = NonNullable;\n\nexport type FormAction =\n | ReducerAction\n | ReducerAction\n | ReducerAction\n | ReducerAction\n | ReducerAction\n | ReducerAction\n | ReducerAction;\n\nexport type FormReducerType = (state: FormStateContextType, action: FormAction) => FormStateContextType;\n","import { ReadyForRequestProcessingEnum } from '../formContext/FormContext.types';\nimport { initialFormState } from '../formStorage/FormStorage';\n\nimport {\n FormReducerType,\n RESET_FORM,\n SET_READY_FOR_PROCESSING,\n SET_BOOKING_DONE_AND_CONTACT,\n SET_GLOBAL_DATA,\n SET_CALL_ME_NOW,\n SET_PARTNER_DATA,\n SET_ACCOUNT_DATA,\n} from './formReducer.types';\n\nexport const formReducer: FormReducerType = (state, action) => {\n switch (action.type) {\n case SET_GLOBAL_DATA:\n return {\n ...state,\n ...action.payload,\n };\n\n case RESET_FORM:\n return {\n ...initialFormState,\n isPartner: state.isPartner,\n partnerData: state.partnerData,\n token: state.token,\n accountId: state.accountId,\n account: state.account,\n };\n\n case SET_READY_FOR_PROCESSING:\n return {\n ...state,\n readyForRequestProcessing: action.payload.readyForRequestProcessing,\n };\n\n case SET_CALL_ME_NOW:\n return {\n ...state,\n contactData: action.payload,\n readyForRequestProcessing: ReadyForRequestProcessingEnum.CallMeNow,\n bookingDone: true,\n };\n\n case SET_BOOKING_DONE_AND_CONTACT:\n return {\n ...state,\n contactData: action.payload,\n bookingDone: true,\n };\n\n case SET_PARTNER_DATA:\n return {\n ...state,\n partnerData: action.payload,\n isPartner: true,\n };\n\n case SET_ACCOUNT_DATA:\n return {\n ...state,\n account: action.payload,\n };\n\n default:\n throw new Error(`Unhandled action type in FormReducer: ${JSON.stringify(action)}`);\n }\n};\n","import React, { useReducer, useEffect } from 'react';\n\nimport { FormDispatchContext, FormStateContext } from '../formContext/FormContext';\nimport { formReducer } from 'common/context/form/formReducer/formReducer';\nimport { formStorage } from '../formStorage/FormStorage';\n\nimport { FormContextControllerProps } from './FormContextController.types';\n\nexport const FormContextController = ({ children }: FormContextControllerProps) => {\n const [state, dispatch] = useReducer(formReducer, formStorage.formState);\n\n useEffect(() => {\n formStorage.formState = state;\n }, [state]);\n\n return (\n \n {children}\n \n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles({\n container: {\n textAlign: 'center',\n width: '100%',\n height: '100%',\n },\n});\n","import React from 'react';\nimport { Button } from '@chhjit/react-components';\nimport { Grid, Typography } from '@material-ui/core';\n\nimport { useStyles } from './ErrorBoundaryFallback.styles';\nimport { ErrorBoundaryFallbackProps } from './ErrorBoundaryFallback.types';\n\nexport const ErrorBoundaryFallback = ({ clearError }: ErrorBoundaryFallbackProps) => {\n const styles = useStyles();\n return (\n \n \n \n Error\n \n \n \n \n Opps! Something went wrong!\n \n We are working on the problem. Please try to reload or try again later!\n \n \n \n \n \n );\n};\n","import React from 'react';\nimport Bugsnag from '@bugsnag/browser';\nimport BugsnagPluginReact from '@bugsnag/plugin-react';\n\nimport { ErrorBoundaryProps } from './ErrorBoundary.types';\nimport { ErrorBoundaryFallback } from './errorBoundaryFallback/ErrorBoundaryFallback';\n\nBugsnag.start({\n apiKey: process.env.REACT_APP_BUGSNAG_API_KEY,\n plugins: [new BugsnagPluginReact()],\n});\n\nexport const ErrorBoundary = ({ children }: ErrorBoundaryProps) => {\n const bugsnagPlugin = Bugsnag.getPlugin('react');\n\n const BugsnagError = bugsnagPlugin?.createErrorBoundary(React);\n\n return (\n <>{!!BugsnagError ? {children} : children}\n );\n};\n","import { useContext } from 'react';\n\nimport { FormStateContextType } from 'common/context/form/formContext/FormContext.types';\nimport { FormStateContext } from 'common/context/form/formContext/FormContext';\n\ntype UseFormState = () => FormStateContextType;\n\nexport const useFormState: UseFormState = () => {\n const context = useContext(FormStateContext);\n\n if (context === undefined) {\n throw new Error('useFormState must be used within an FormContextController');\n }\n\n return context;\n};\n","export function getCookie(name: string) {\n const v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\n return v ? v[2] : null;\n}\n","import { getCookie } from 'common/utils/getCookies';\n\nimport { TrackingData } from './accountActions.types';\n\nexport const getTrackingData: () => TrackingData | undefined = () => {\n const payload: { [key: string]: unknown } = {};\n\n const firstSessionCookie = getCookie('FirstSession');\n if (firstSessionCookie !== null) {\n const sessionInfo = JSON.parse(\n '{\"' + decodeURIComponent(firstSessionCookie).replace(/&/g, '\",\"').replace(/=/g, '\":\"') + '\"}',\n (key, value) => {\n return key === '' ? value : decodeURIComponent(value);\n },\n );\n\n payload.tracking = {\n source: sessionInfo.source,\n medium: sessionInfo.medium,\n campaign: sessionInfo.campaign,\n content: sessionInfo.content,\n term: sessionInfo.term,\n };\n }\n\n const _ga = getCookie('_ga');\n if (_ga !== null) {\n payload.google = {\n id: _ga,\n };\n }\n\n const CHHJSessionId = getCookie('CHHJSessionId');\n if (CHHJSessionId !== null) {\n payload.website_session = {\n id: CHHJSessionId,\n };\n }\n\n return payload;\n};\n","import { Action } from 'common/api/types';\n\nimport {\n PingPayload,\n PingResponse,\n CreateAccountAddressPayload,\n CreateAccountAddressResponse,\n CreateNewAppointmentPayload,\n CreateNewAppointmentResponse,\n CreateCallRequestPayload,\n CreateCallRequestResponse,\n QuoteRequestParams,\n QuoteRequestResponse,\n CreateAccountAction,\n UpdateAccountAction,\n} from './accountActions.types';\nimport { getTrackingData } from './accountActions.utils';\n\nexport const createNewAccountAction = (values: CreateAccountAction.Params): Action => {\n const { locationId, payload } = values;\n\n const tracking = getTrackingData();\n\n const payloadWithTracking = {\n ...payload,\n ...tracking,\n };\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/tokens/generate`,\n body: payloadWithTracking,\n };\n};\n\nexport const updateAccountAction = (values: UpdateAccountAction.Params): Action => {\n const { locationId, accountId, token, payload } = values;\n\n return {\n method: 'PUT',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/?token=${token}`,\n body: payload,\n };\n};\n\nexport const pingAction = (values: PingPayload): Action => {\n const { locationId, accountId, token, booking_complete } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/ping?token=${token}`,\n body: { booking_complete },\n config: {\n disableInterceptErrors: true,\n },\n };\n};\n\nexport const createAccountAddressAction = (\n values: CreateAccountAddressPayload,\n): Action => {\n const { locationId, accountId, token, ...restValues } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/addresses/?token=${token}`,\n body: { ...restValues.fullAddress, name: restValues.fullAddress.address },\n };\n};\n\nexport const createAppointmentAction = (values: CreateNewAppointmentPayload): Action => {\n const { locationId, token, ...restValues } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${restValues.account.id}/appointments/?token=${token}`,\n body: { ...restValues, type: 'JOB' },\n };\n};\n\nexport const createCallRequestAction = (values: CreateCallRequestPayload): Action => {\n const { locationId, accountId, token, ...restValues } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/calls/requests?token=${token}`,\n body: { ...restValues },\n };\n};\n\nexport const calculateQuoteAction = (values: QuoteRequestParams): Action => {\n const { locationId, accountId, token, payload } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/quotes/calculate?token=${token}`,\n body: payload,\n config: {\n disableInterceptErrors: true,\n },\n };\n};\n\nexport const createNewQuoteAction = (values: QuoteRequestParams): Action => {\n const { locationId, accountId, token, payload } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/quotes?token=${token}`,\n body: payload,\n };\n};\n","import {\n FormAction,\n RESET_FORM,\n SET_READY_FOR_PROCESSING,\n SET_BOOKING_DONE_AND_CONTACT,\n SET_GLOBAL_DATA,\n FormStatereadyForRequestProcessingType,\n FormStateGlobalDataType,\n SET_CALL_ME_NOW,\n FormStateContact,\n FormStatePartnerData,\n SET_PARTNER_DATA,\n FormStateUserData,\n SET_ACCOUNT_DATA,\n} from '../formReducer/formReducer.types';\n\ntype ResetFormType = () => FormAction;\ntype SetReadyToProcessing = (payload: FormStatereadyForRequestProcessingType) => FormAction;\ntype SetCallMeNow = (payload: FormStateContact) => FormAction;\ntype SetGlobalData = (payload: FormStateGlobalDataType) => FormAction;\ntype SetBookingDoneAndContact = (payload: FormStateContact) => FormAction;\ntype SetPartnerData = (payload: FormStatePartnerData) => FormAction;\ntype SetUserData = (payload?: FormStateUserData) => FormAction;\n\nexport const setGlobalData: SetGlobalData = (payload) => ({\n type: SET_GLOBAL_DATA,\n payload,\n});\n\nexport const setReadyToProcessing: SetReadyToProcessing = (payload) => ({\n type: SET_READY_FOR_PROCESSING,\n payload,\n});\n\nexport const setCallMeNowPhone: SetCallMeNow = (payload) => ({\n type: SET_CALL_ME_NOW,\n payload,\n});\n\nexport const setBookingDoneAndContact: SetBookingDoneAndContact = (payload) => ({\n type: SET_BOOKING_DONE_AND_CONTACT,\n payload,\n});\n\nexport const setPartnerData: SetPartnerData = (payload) => ({\n type: SET_PARTNER_DATA,\n payload,\n});\n\nexport const resetForm: ResetFormType = () => ({\n type: RESET_FORM,\n payload: undefined,\n});\n\nexport const setAccountData: SetUserData = (payload) => ({\n type: SET_ACCOUNT_DATA,\n payload,\n});\n","import { useContext } from 'react';\n\nimport { FormDispatchContextType } from 'common/context/form/formContext/FormContext.types';\nimport { FormDispatchContext } from 'common/context/form/formContext/FormContext';\n\ntype UseFormDispatch = () => FormDispatchContextType;\n\nexport const useFormDispatch: UseFormDispatch = () => {\n const context = useContext(FormDispatchContext);\n\n if (context === undefined) {\n throw new Error('useFormDispatch must be used within an FormContextController');\n }\n\n return context;\n};\n","import { createContext } from 'react';\n\nimport { LaborStateContextValue, LaborDispatchContextValue } from './LaborContext.types';\n\nexport const LaborStateContext = createContext(undefined);\nexport const LaborDispatchContext = createContext(undefined);\n","import { useContext } from 'react';\n\nimport { LaborDispatchContext, LaborStateContext } from 'common/context/labor/LaborContext';\nimport { LaborDispatchContextValue, LaborStateContextValue } from 'common/context/labor/LaborContext.types';\n\nexport const useLaborStateContext = () => {\n const context = useContext(LaborStateContext);\n\n if (context === undefined) {\n throw new Error('useLaborStateContext must be used within a LaborContextController');\n }\n\n return context;\n};\n\nexport const useLaborDispatchContext = () => {\n const context = useContext(LaborDispatchContext);\n\n if (context === undefined) {\n throw new Error('useLaborDispatchContext must be used within a LaborContextController');\n }\n\n return context;\n};\n\nexport const useLaborContext: () => [LaborStateContextValue, LaborDispatchContextValue] = () => [\n useLaborStateContext(),\n useLaborDispatchContext(),\n];\n","import { LaborStateContextValue } from './LaborContext.types';\n\nexport const LABOR_KEY = 'OBT/LABOR_STATE';\n\nexport const laborDefaultState: LaborStateContextValue = {\n labor: {},\n};\n\nclass LaborStorageClass {\n private _state: LaborStateContextValue = laborDefaultState;\n\n constructor() {\n try {\n const formStateString = sessionStorage.getItem(LABOR_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n } catch {\n this._state = laborDefaultState;\n }\n }\n\n get state(): LaborStateContextValue {\n const formStateString = sessionStorage.getItem(LABOR_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n\n return this._state;\n }\n\n set state(value: LaborStateContextValue) {\n this._state = value;\n\n try {\n sessionStorage.setItem(LABOR_KEY, JSON.stringify(value));\n } catch {}\n }\n\n clear() {\n this._state = laborDefaultState;\n sessionStorage.removeItem(LABOR_KEY);\n }\n}\n\nexport const laborStorage = new LaborStorageClass();\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { SetLaborStep1, SetLaborStep2 } from './LaborContext.types';\nimport { laborDefaultState, laborStorage } from './LaborContextStorage';\n\nexport const { actions: laborActions, reducer: laborReducer } = createSlice({\n name: 'laborSlice',\n initialState: laborDefaultState,\n reducers: {\n setStep1: (state, { payload }: PayloadAction) => {\n state.labor.step1 = payload;\n },\n setStep2: (state, { payload }: PayloadAction) => {\n state.labor.step2 = payload;\n },\n reset: () => {\n laborStorage.clear();\n return laborDefaultState;\n },\n },\n});\n","import { GetPricingResponse } from 'common/api/actions/booking/bookingActions.types';\n\nimport { JunkRemovalPricing } from './JunkRemovalContext.types';\n\nconst pricingIdMap: Record = {\n 3: 'Less than 1/8th truckload',\n 4: '1/6 truckload',\n 2: '1/4 truckload',\n 36: '1/3 truckload',\n 19: '3/8 truckload',\n 20: '1/2 truckload',\n 17: '5/8 truckload',\n 32: '2/3 truckload',\n 33: '5/6 truckload',\n 6: '7/8 truckload',\n 46: 'Full truckload',\n};\n\nexport const mapPricingResponse = (pricingResponse: GetPricingResponse | undefined) => {\n /* API return a lot of pricing possibilities, but in design\n * only some of them are used. In pricingIdMap there are listed id's as keys that are used\n */\n if (!pricingResponse?.viewpricingbyproduct?.length) {\n return {};\n }\n\n const pricing = pricingResponse.viewpricingbyproduct.reduce((acc, curr) => {\n if (pricingIdMap[curr.id]) {\n const keyName = pricingIdMap[curr.id];\n\n acc[keyName] = curr.price;\n }\n\n return acc;\n }, {} as JunkRemovalPricing);\n\n return pricing;\n};\n","import { JunkRemovalContextReducerState } from './JunkRemovalContext.types';\n\nexport const JUNK_REMOVAL_KEY = 'OBT/JUNK_REMOVAL_STATE';\n\nexport const junkRemovalDefaultState: JunkRemovalContextReducerState = {\n junkRemoval: {},\n pricing: {},\n};\n\nclass JunkRemovalStorageClass {\n private _state: JunkRemovalContextReducerState = junkRemovalDefaultState;\n\n constructor() {\n try {\n const formStateString = sessionStorage.getItem(JUNK_REMOVAL_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n } catch {\n this._state = junkRemovalDefaultState;\n }\n }\n\n get state(): JunkRemovalContextReducerState {\n const formStateString = sessionStorage.getItem(JUNK_REMOVAL_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n\n return this._state;\n }\n\n set state(value: JunkRemovalContextReducerState) {\n this._state = value;\n\n try {\n sessionStorage.setItem(JUNK_REMOVAL_KEY, JSON.stringify(value));\n } catch {}\n }\n\n clear() {\n this._state = junkRemovalDefaultState;\n sessionStorage.removeItem(JUNK_REMOVAL_KEY);\n }\n}\n\nexport const junkRemovalStorage = new JunkRemovalStorageClass();\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport {\n SetPricing,\n SetJunkRemovalStep1,\n SetJunkRemovalStep2,\n SetJunkRemovalStep3,\n SetJunkRemovalStep4,\n ResetStep,\n} from './JunkRemovalContext.types';\nimport { mapPricingResponse } from './JunkRemovalContextSlice.utils';\nimport { junkRemovalDefaultState, junkRemovalStorage } from './JunkRemovalContextStorage';\n\nexport const { actions: junkRemovalActions, reducer: junkRemovalReducer } = createSlice({\n name: 'junkRemovalSlice',\n initialState: junkRemovalDefaultState,\n reducers: {\n setPricing: (state, { payload }: PayloadAction) => {\n state.pricing = mapPricingResponse(payload);\n },\n setStep1: (state, { payload }: PayloadAction) => {\n state.junkRemoval.step1 = payload;\n },\n setStep2: (state, { payload }: PayloadAction) => {\n state.junkRemoval.step2 = payload;\n },\n setStep3: (state, { payload }: PayloadAction) => {\n state.junkRemoval.step3 = payload;\n },\n setStep4: (state, { payload }: PayloadAction) => {\n state.junkRemoval.step4 = payload;\n },\n resetStep: (state, { payload }: PayloadAction) => {\n delete state.junkRemoval[payload.step];\n },\n reset: () => {\n junkRemovalStorage.clear();\n return junkRemovalDefaultState;\n },\n },\n});\n","import { createContext } from 'react';\n\nimport { JunkRemovalStateContextValue, JunkRemovalDispatchContextValue } from './JunkRemovalContext.types';\n\nexport const JunkRemovalStateContext = createContext(undefined);\nexport const JunkRemovalDispatchContext = createContext(undefined);\n","import { useContext } from 'react';\n\nimport { JunkRemovalDispatchContext, JunkRemovalStateContext } from 'common/context/junkRemoval/JunkRemovalContext';\nimport {\n JunkRemovalDispatchContextValue,\n JunkRemovalStateContextValue,\n} from 'common/context/junkRemoval/JunkRemovalContext.types';\n\nexport const useJunkRemovalStateContext = () => {\n const context = useContext(JunkRemovalStateContext);\n\n if (context === undefined) {\n throw new Error('useJunkRemovalStateContext must be used within a JunkRemovalContextController');\n }\n\n return context;\n};\n\nexport const useJunkRemovalDispatchContext = () => {\n const context = useContext(JunkRemovalDispatchContext);\n\n if (context === undefined) {\n throw new Error('useJunkRemovalDispatchContext must be used within a JunkRemovalContextController');\n }\n\n return context;\n};\n\nexport const useJunkRemovalContext: () => [JunkRemovalStateContextValue, JunkRemovalDispatchContextValue] = () => [\n useJunkRemovalStateContext(),\n useJunkRemovalDispatchContext(),\n];\n","import { createContext } from 'react';\n\nimport { VersionContextValue } from './VersionContext.types';\n\nexport const VersionContext = createContext(undefined);\n","import { useContext } from 'react';\n\nimport { VersionContext } from 'common/context/version/VersionContext';\n\nexport const useVersionContext = () => {\n const context = useContext(VersionContext);\n\n if (context === undefined) {\n throw new Error('useVersionContext must be used within a VersionContextController');\n }\n\n return context;\n};\n","import { createContext } from 'react';\n\nimport { MovingStateContextValue, MovingDispatchContextValue } from './MovingContext.types';\n\nexport const MovingStateContext = createContext(undefined);\nexport const MovingDispatchContext = createContext(undefined);\n","import { useContext } from 'react';\n\nimport { MovingDispatchContext, MovingStateContext } from 'aMove/context/moving/MovingContext';\nimport { MovingDispatchContextValue, MovingStateContextValue } from 'aMove/context/moving/MovingContext.types';\n\nexport const useMovingStateContext = () => {\n const context = useContext(MovingStateContext);\n\n if (context === undefined) {\n throw new Error('useMovingStateContext must be used within a MovingContextController');\n }\n\n return context;\n};\n\nexport const useMovingOptionalStateContext = () => {\n return useContext(MovingStateContext);\n};\n\nexport const useMovingOptionalDispatchContext = () => {\n return useContext(MovingDispatchContext);\n};\n\nexport const useMovingDispatchContext = () => {\n const context = useContext(MovingDispatchContext);\n\n if (context === undefined) {\n throw new Error('useMovingDispatchContext must be used within a MovingContextController');\n }\n\n return context;\n};\n\nexport const useMovingContext: () => [MovingStateContextValue, MovingDispatchContextValue] = () => [\n useMovingStateContext(),\n useMovingDispatchContext(),\n];\n","import { MovingContextReducerState } from './MovingContext.types';\n\nexport const MOVING_KEY = 'OBT/MOVING_STATE';\n\nexport const movingDefaultState: MovingContextReducerState = {\n moving: {},\n};\n\nclass MovingStorageClass {\n private _state: MovingContextReducerState = movingDefaultState;\n\n constructor() {\n try {\n const formStateString = sessionStorage.getItem(MOVING_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n } catch {\n this._state = movingDefaultState;\n }\n }\n\n get state(): MovingContextReducerState {\n const formStateString = sessionStorage.getItem(MOVING_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n\n return this._state;\n }\n\n set state(value: MovingContextReducerState) {\n this._state = value;\n\n try {\n sessionStorage.setItem(MOVING_KEY, JSON.stringify(value));\n } catch {}\n }\n\n clear() {\n this._state = movingDefaultState;\n sessionStorage.removeItem(MOVING_KEY);\n }\n}\n\nexport const movingStorage = new MovingStorageClass();\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { movingDefaultState, movingStorage } from './MovingContextStorage';\nimport { SetMovingStep1, SetMovingStep2, SetMovingStep3, SetMovingStep4, SetMovingStep5 } from './MovingContext.types';\n\nexport const { actions: movingActions, reducer: movingReducer } = createSlice({\n name: 'movingSlice',\n initialState: movingDefaultState,\n reducers: {\n setStep1: (state, { payload }: PayloadAction) => {\n state.moving.step1 = payload;\n },\n setStep2: (state, { payload }: PayloadAction) => {\n state.moving.step2 = payload;\n },\n setStep3: (state, { payload }: PayloadAction) => {\n state.moving.step3 = payload;\n },\n setStep4: (state, { payload }: PayloadAction) => {\n state.moving.step4 = payload;\n },\n setStep5: (state, { payload }: PayloadAction) => {\n state.moving.step5 = payload;\n },\n reset: () => {\n movingStorage.clear();\n return movingDefaultState;\n },\n },\n});\n","import { createContext } from 'react';\n\nimport { MovingStateContextValue, MovingDispatchContextValue } from './MovingContext.types';\n\nexport const MovingStateContext = createContext(undefined);\nexport const MovingDispatchContext = createContext(undefined);\n","import { useContext } from 'react';\n\nimport { MovingDispatchContext, MovingStateContext } from 'bMove/context/moving/MovingContext';\nimport { MovingDispatchContextValue, MovingStateContextValue } from 'bMove/context/moving/MovingContext.types';\n\nexport const useMovingStateContext = () => {\n const context = useContext(MovingStateContext);\n\n if (context === undefined) {\n throw new Error('useMovingStateContext must be used within a MovingContextController');\n }\n\n return context;\n};\n\nexport const useMovingVerBOptionalStateContext = () => {\n return useContext(MovingStateContext);\n};\n\nexport const useMovingVerBOptionalDispatchContext = () => {\n return useContext(MovingDispatchContext);\n};\n\nexport const useMovingDispatchContext = () => {\n const context = useContext(MovingDispatchContext);\n\n if (context === undefined) {\n throw new Error('useMovingDispatchContext must be used within a MovingContextController');\n }\n\n return context;\n};\n\nexport const useMovingContext: () => [MovingStateContextValue, MovingDispatchContextValue] = () => [\n useMovingStateContext(),\n useMovingDispatchContext(),\n];\n","export const USADateFormat = 'MM/DD/YYYY';\nexport const DateFormatForAPI = 'YYYY-MM-DD';\n","import { MovingContextReducerState } from './MovingContext.types';\n\nexport const MOVING_KEY = 'OBT/MOVING_STATE';\n\nexport const movingDefaultState: MovingContextReducerState = {\n moving: {},\n};\n\nclass MovingStorageClass {\n private _state: MovingContextReducerState = movingDefaultState;\n\n constructor() {\n try {\n const formStateString = sessionStorage.getItem(MOVING_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n } catch {\n this._state = movingDefaultState;\n }\n }\n\n get state(): MovingContextReducerState {\n const formStateString = sessionStorage.getItem(MOVING_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n\n return this._state;\n }\n\n set state(value: MovingContextReducerState) {\n this._state = value;\n\n try {\n sessionStorage.setItem(MOVING_KEY, JSON.stringify(value));\n } catch {}\n }\n\n clear() {\n this._state = movingDefaultState;\n sessionStorage.removeItem(MOVING_KEY);\n }\n}\n\nexport const movingStorage = new MovingStorageClass();\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport moment from 'moment';\n\nimport { USADateFormat } from 'common/utils/dateTime';\n\nimport {\n SetPricingValues,\n SetMovingStep1,\n SetMovingStep2,\n SetMovingStep3,\n SetMovingStep4,\n SetMovingStep5,\n SetMovingStep6,\n SetMovingStep7,\n SetMovingStep8,\n ResetStep,\n} from './MovingContext.types';\nimport { movingDefaultState, movingStorage } from './MovingContextStorage';\n\nexport const { actions: movingActions, reducer: movingReducer } = createSlice({\n name: 'movingSlice',\n initialState: movingDefaultState,\n reducers: {\n setPricingValues: (state, { payload }: PayloadAction) => {\n state.pricingTableData = {\n numberOfHunks: payload.quote.hunks,\n truckAndTravel: payload.quote.truck_and_travel,\n hourlyRate: payload.quote.hourly_rate,\n time: payload.quote.labor_hours,\n totalPrice: payload.quote.total_price,\n };\n\n state.jobDuration = payload.quote.labor_hours.high;\n },\n setPrepaymentData: (state, { payload: { quote } }: PayloadAction) => {\n const isPrepaymentDisabled =\n quote.pre_payment.collect_online <= 0 ||\n quote.pre_payment.amount <= 0 ||\n quote.pre_payment.square_location_id === '';\n\n const isRefundDateInPast = moment(quote.pre_payment.refundable_by, USADateFormat).isBefore(new Date());\n const isRefundable = quote.pre_payment.refundable || !isRefundDateInPast;\n\n state.prepaymentData = {\n isPrepaymentAvailable: !isPrepaymentDisabled,\n prepaymentRefundable: isRefundable,\n amount: quote.pre_payment.amount,\n refundDate: quote.pre_payment.refundable_by,\n squareLocationId: quote.pre_payment.square_location_id,\n };\n },\n setStep1: (state, { payload }: PayloadAction) => {\n state.moving.step1 = payload;\n },\n setStep2: (state, { payload }: PayloadAction) => {\n state.moving.step2 = payload;\n },\n setStep3: (state, { payload }: PayloadAction) => {\n state.moving.step3 = payload;\n },\n setStep4: (state, { payload }: PayloadAction) => {\n state.moving.step4 = payload;\n },\n setStep5: (state, { payload }: PayloadAction) => {\n state.moving.step5 = payload;\n },\n setStep6: (state, { payload }: PayloadAction) => {\n state.moving.step6 = payload;\n },\n setStep7: (state, { payload }: PayloadAction) => {\n state.moving.step7 = payload;\n },\n setStep8: (state, { payload }: PayloadAction) => {\n state.moving.step8 = payload;\n },\n resetStep: (state, { payload }: PayloadAction) => {\n delete state.moving[payload.step];\n },\n reset: () => {\n movingStorage.clear();\n return movingDefaultState;\n },\n },\n});\n","import { useCallback } from 'react';\n\nimport { resetForm } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { useLaborDispatchContext } from 'common/hooks/useLabor/useLabor';\nimport { laborActions } from 'common/context/labor/LaborContextContextSlice';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { useJunkRemovalDispatchContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { useMovingOptionalDispatchContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\nimport { useMovingVerBOptionalDispatchContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions as movingVerBActions } from 'bMove/context/moving/MovingContextSlice';\n\nexport const useResetState = () => {\n const dispatch = useFormDispatch();\n const { moveVer } = useVersionContext();\n const { laborDispatch } = useLaborDispatchContext();\n const { junkRemovalDispatch } = useJunkRemovalDispatchContext();\n const movingDispatchContext = useMovingOptionalDispatchContext();\n const movingVerBDispatchContext = useMovingVerBOptionalDispatchContext();\n\n return useCallback(() => {\n dispatch(resetForm());\n\n laborDispatch(laborActions.reset());\n junkRemovalDispatch(junkRemovalActions.reset());\n if (moveVer === 'A' && movingDispatchContext) {\n movingDispatchContext.movingDispatch(movingActions.reset());\n }\n if (moveVer === 'B' && movingVerBDispatchContext) {\n movingVerBDispatchContext.movingDispatch(movingVerBActions.reset());\n }\n }, [dispatch, moveVer, laborDispatch, junkRemovalDispatch, movingDispatchContext, movingVerBDispatchContext]);\n};\n","import React, { useCallback, useEffect, useState, useMemo } from 'react';\nimport { useMutation } from 'react-fetching-library';\nimport { useIdleTimer } from 'react-idle-timer';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { pingAction } from 'common/api/actions/account/accountActions';\nimport { useResetState } from 'common/hooks/useResetState/useResetState';\n\nimport { PingControllerProps } from './PingController.types';\n\nconst pingInterval = 60000; // 60 seconds (1 minute)\nconst idleInterval = 299000; // 299 seconds (almost 5 minutes)\n\nexport const PingController = ({ children }: PingControllerProps) => {\n const [timerId, setTimerId] = useState(null);\n const { isReadyToPing, bookingDone, token, locationId, accountId, isPartner } = useFormState();\n const resetState = useResetState();\n const { mutate, abort } = useMutation(pingAction);\n\n const stopTimer = useCallback(() => {\n if (timerId) {\n clearInterval(timerId);\n setTimerId(null);\n }\n }, [timerId]);\n\n const dropBooking = useCallback(() => {\n if (!isReadyToPing) {\n return;\n }\n\n resetState();\n stopTimer();\n }, [resetState, stopTimer, isReadyToPing]);\n\n const { pause, resume, reset } = useIdleTimer({ stopOnIdle: true, timeout: idleInterval, onIdle: dropBooking });\n\n useEffect(() => {\n if (isReadyToPing) resume();\n else {\n reset();\n pause();\n }\n }, [isReadyToPing, pause, resume, reset]);\n\n const makePing = useCallback(async () => {\n if (!token || !locationId || !accountId) return;\n\n abort();\n await mutate({\n locationId,\n accountId,\n token,\n booking_complete: bookingDone ?? false,\n });\n }, [mutate, abort, locationId, accountId, token, bookingDone]);\n\n /**\n * if booking is done (user created appointment during processingRequest view)\n * then stop the timer and ping last one time with booking_complete: true\n */\n useEffect(() => {\n if (!bookingDone || !timerId || !isReadyToPing) return;\n\n makePing();\n stopTimer();\n }, [bookingDone, makePing, stopTimer, timerId, isReadyToPing]);\n\n const isReadyToSetInterval = useMemo(() => {\n // On partner version ping should NOT be runned\n if (isPartner) return false;\n\n return isReadyToPing && timerId === null && !bookingDone;\n }, [isReadyToPing, bookingDone, timerId, isPartner]);\n\n /**\n * when user finished filling CONTACT INFORMATION step and account created\n * then start pinging\n */\n useEffect(() => {\n if (!isReadyToSetInterval) return;\n\n makePing(); // first ping without delay\n const intervalId = setInterval(makePing, pingInterval);\n setTimerId(intervalId);\n }, [makePing, isReadyToSetInterval]);\n\n /**\n * On partner version ping should NOT be runned.\n * Stop it if interval was set before\n */\n useEffect(() => {\n if (isPartner && timerId !== null) {\n stopTimer();\n }\n }, [isPartner, timerId, stopTimer]);\n\n /**\n * if pinging should be stopped, pause is not enough\n * interval also should be stopped\n */\n useEffect(() => {\n if (!isReadyToPing) {\n stopTimer();\n }\n }, [isReadyToPing, stopTimer]);\n\n useEffect(() => {\n return () => stopTimer();\n }, [stopTimer]);\n\n return <>{children};\n};\n","type GoogleApiConfig = {\n googleMapsApiKey: string;\n libraries?: ['drawing' | 'geometry' | 'localContext' | 'places' | 'visualization'];\n};\n\nconst GOOGLE_API_KEY = process.env.REACT_APP_GOOGLE_API_KEY;\n\n/*\n * @react-google-maps/api requires that have config outside of any component,\n * thanks that it prevent the google script from being attached multiple times\n */\nexport const googleApiConfig: GoogleApiConfig = {\n libraries: ['places'],\n googleMapsApiKey: GOOGLE_API_KEY,\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles({\n loader: {\n position: 'absolute',\n left: '50%',\n top: '50%',\n transform: 'translate(-50%,-50%)',\n },\n});\n","import React from 'react';\nimport { Loader } from '@chhjit/react-components';\nimport { useLoadScript } from '@react-google-maps/api';\n\nimport { googleApiConfig } from 'common/config/googleApi';\n\nimport { GoogleScriptsControllerProps } from './GoogleScriptsController.types';\nimport { useStyles } from './GoogleScriptsController.styles';\n\nexport const GoogleScriptsController = ({ children }: GoogleScriptsControllerProps) => {\n const styles = useStyles();\n const { isLoaded, loadError } = useLoadScript(googleApiConfig);\n\n if (loadError) {\n throw new Error('Google scripts not loaded correctly in GoogleScriptsController');\n }\n\n return isLoaded ? (\n <>{children}\n ) : (\n
\n \n
\n );\n};\n","import queryString from 'query-string';\n\nimport { Action } from 'common/api/types';\n\nimport {\n CheckPostalCodePayload,\n CheckPostalCodeResponse,\n CheckAvailabilityPayload,\n CheckAvailabilityResponse,\n GetPricingPayload,\n GetPricingResponse,\n GetPostalInfoPayload,\n GetPostalInfoResponse,\n} from './bookingActions.types';\n\nexport const checkPostalCodeAction = (values: CheckPostalCodePayload): Action => {\n return {\n method: 'POST',\n endpoint: '/public/website/servicecheck',\n body: values,\n config: {\n disableInterceptErrors: true,\n },\n };\n};\n\nexport const checkAvailabilityAction = (values: CheckAvailabilityPayload): Action => {\n const { locationId, ...restValues } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/availability`,\n body: { ...restValues, type: 'JOB', duration: restValues.duration ?? 2, number_of_days: 1 }, // added values are constant\n };\n};\n\nexport const getPricingAction = (values: GetPricingPayload): Action => {\n const { locationId, ...restValues } = values;\n\n const urlParams = queryString.stringify({ ...restValues });\n\n return {\n method: 'GET',\n endpoint: `/public/website/locations/${locationId}/viewpricingbyproduct?${urlParams}`,\n };\n};\n\nexport const getPostalInfoAction = (values: GetPostalInfoPayload): Action => {\n return {\n method: 'POST',\n endpoint: '/public/website/getpostalinfo',\n body: values,\n };\n};\n","import { Action as BaseAction } from 'react-fetching-library';\n\nexport type AdditionalProperties = {\n disableInterceptErrors?: boolean;\n};\n\nexport type Action = BaseAction;\n\nexport type BasicResponseStructure = {\n meta: {\n series: string;\n instance: string;\n run_time: number;\n status: {\n id: number;\n code: number;\n name: string;\n description: string;\n };\n errors?: Array<{\n message: string;\n }>;\n };\n};\n\nexport enum CategoryIdEnum {\n junk = 1,\n labor = 4,\n move = 5,\n}\n\nexport enum AccessTypeEnum {\n Unset = 0,\n 'Front door' = 1,\n Stairs = 2,\n Elevator = 3,\n}\n\nexport enum TypeOfDwellingEnum {\n Unknown = 0,\n House = 1,\n Apartment = 2,\n Condo = 3,\n Townhome = 4,\n StorageUnit = 5,\n Business = 6,\n}\n\nexport enum LongWalksEnum {\n zero = 0,\n one = 1,\n two = 2,\n}\n","import React, { ReactNode, useReducer, useMemo, useEffect, useCallback } from 'react';\nimport { useParameterizedQuery } from 'react-fetching-library';\nimport moment from 'moment';\n\nimport { getPricingAction } from 'common/api/actions/booking/bookingActions';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\n\nimport { JunkRemovalDispatchContext, JunkRemovalStateContext } from './JunkRemovalContext';\nimport { JunkRemovalStateContextValue, JunkRemovalDispatchContextValue } from './JunkRemovalContext.types';\nimport { junkRemovalActions, junkRemovalReducer } from './JunkRemovalContextSlice';\nimport { junkRemovalStorage } from './JunkRemovalContextStorage';\n\nexport const JunkRemovalContextController = ({ children }: { children: ReactNode }) => {\n const [state, dispatch] = useReducer(junkRemovalReducer, junkRemovalStorage.state);\n const { junkRemoval } = state;\n const { locationId, token } = useFormState();\n const { query: queryGetPricing, loading: isGettingPricing, abort: abortGettingPricing } = useParameterizedQuery(\n getPricingAction,\n );\n\n const getPricing = useCallback(async () => {\n if (!junkRemoval?.step1 || !junkRemoval?.step3 || !locationId || !token) return;\n\n abortGettingPricing();\n const { payload } = await queryGetPricing({\n token,\n locationId,\n postal: junkRemoval.step1.fullAddress.postal,\n job_date: moment(junkRemoval.step3.date).format(DateFormatForAPI),\n category_id: CategoryIdEnum.junk,\n });\n\n dispatch(junkRemovalActions.setPricing(payload));\n }, [junkRemoval?.step1, junkRemoval?.step3, locationId, token, queryGetPricing, abortGettingPricing]);\n\n useEffect(() => {\n (async () => {\n await getPricing();\n })();\n }, [getPricing]);\n\n useEffect(() => {\n junkRemovalStorage.state = state;\n }, [state]);\n\n useEffect(() => {\n return () => junkRemovalStorage.clear();\n }, []);\n\n const stateValue = useMemo(\n () => ({\n ...state,\n isGettingPricing,\n }),\n [state, isGettingPricing],\n );\n const dispatchValue = useMemo(\n () => ({\n junkRemovalDispatch: dispatch,\n }),\n [dispatch],\n );\n\n return (\n \n {children}\n \n );\n};\n","import React, { ReactNode, useReducer, useMemo, useEffect } from 'react';\n\nimport { LaborDispatchContext, LaborStateContext } from './LaborContext';\nimport { LaborStateContextValue, LaborDispatchContextValue } from './LaborContext.types';\nimport { laborReducer } from './LaborContextContextSlice';\nimport { laborStorage } from './LaborContextStorage';\n\nexport const LaborContextController = ({ children }: { children: ReactNode }) => {\n const [state, dispatch] = useReducer(laborReducer, laborStorage.state);\n\n useEffect(() => {\n laborStorage.state = state;\n }, [state]);\n\n useEffect(() => {\n return () => laborStorage.clear();\n }, []);\n\n const stateValue = useMemo(() => state, [state]);\n const dispatchValue = useMemo(\n () => ({\n laborDispatch: dispatch,\n }),\n [dispatch],\n );\n\n return (\n \n {children}\n \n );\n};\n","export enum AppRoute {\n home = '/get-started/',\n junkRemoval = '/get-started/junk-removal',\n moving = '/get-started/moving',\n labor = '/get-started/labor',\n callMe = '/get-started/call-me',\n}\n\nexport enum CommonRoute {\n unserviced = '/not-serviced/',\n processingRequest = '/processing/',\n allDone = '/confirmation/',\n}\n\nexport enum JunkRemovalRoute {\n step1 = '/your-pick-up-location/',\n step2 = '/your-contact-information/',\n step3 = '/calendar-windows/',\n step4 = '/kind-of-items/',\n step5 = '/truck-loads/',\n step6 = '/summary/',\n}\n\nexport enum MovingRoute {\n step1 = '/starting-address/',\n step2 = '/ending-address/',\n step3 = '/special-items/',\n step4 = '/calendar-windows/',\n step5 = '/your-contact-information/',\n step6 = '/summary/',\n}\n\nexport enum LaborRoute {\n step1 = '/your-pick-up-location/',\n step2 = '/your-contact-information/',\n step3 = '/summary/',\n}\n\nexport const junkRemovalRoutes = {\n step1: `${AppRoute.junkRemoval}${JunkRemovalRoute.step1}`,\n step2: `${AppRoute.junkRemoval}${JunkRemovalRoute.step2}`,\n step3: `${AppRoute.junkRemoval}${JunkRemovalRoute.step3}`,\n step4: `${AppRoute.junkRemoval}${JunkRemovalRoute.step4}`,\n step5: `${AppRoute.junkRemoval}${JunkRemovalRoute.step5}`,\n step6: `${AppRoute.junkRemoval}${JunkRemovalRoute.step6}`,\n unserviced: `${AppRoute.junkRemoval}${CommonRoute.unserviced}`,\n processing: `${AppRoute.junkRemoval}${CommonRoute.processingRequest}`,\n alldone: `${AppRoute.junkRemoval}${CommonRoute.allDone}`,\n};\n\nexport const movingRoutes = {\n step1: `${AppRoute.moving}${MovingRoute.step1}`,\n step2: `${AppRoute.moving}${MovingRoute.step2}`,\n step3: `${AppRoute.moving}${MovingRoute.step3}`,\n step4: `${AppRoute.moving}${MovingRoute.step4}`,\n step5: `${AppRoute.moving}${MovingRoute.step5}`,\n step6: `${AppRoute.moving}${MovingRoute.step6}`,\n unserviced: `${AppRoute.moving}${CommonRoute.unserviced}`,\n processing: `${AppRoute.moving}${CommonRoute.processingRequest}`,\n alldone: `${AppRoute.moving}${CommonRoute.allDone}`,\n};\n\nexport const laborRoutes = {\n step1: `${AppRoute.labor}${LaborRoute.step1}`,\n step2: `${AppRoute.labor}${LaborRoute.step2}`,\n step3: `${AppRoute.labor}${LaborRoute.step3}`,\n unserviced: `${AppRoute.labor}${CommonRoute.unserviced}`,\n processing: `${AppRoute.labor}${CommonRoute.processingRequest}`,\n alldone: `${AppRoute.labor}${CommonRoute.allDone}`,\n};\n","import { Action } from 'common/api/types';\n\nimport { GetPartnerInfoAction } from './partnerActions.types';\n\nexport const getPartnerInfoAction = (values: GetPartnerInfoAction.Payload): Action => {\n return {\n method: 'POST',\n endpoint: `/public/website/subpartners/lookup`,\n body: values,\n config: {\n disableInterceptErrors: true,\n },\n };\n};\n","import { Location } from 'common/api/actions/booking/bookingActions.types';\n\nexport const findNearestLocationId = (locations: Location[]) => {\n return locations.reduce((prev, curr) => {\n return prev.distance.miles < curr.distance.miles ? prev : curr;\n }).id;\n};\n","import { useMutation } from 'react-fetching-library';\nimport { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { checkPostalCodeAction, getPostalInfoAction } from 'common/api/actions/booking/bookingActions';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { junkRemovalRoutes, laborRoutes, movingRoutes } from 'common/routing/AppRoute';\nimport { findNearestLocationId } from 'common/utils/findNearestLocationId';\nimport { useFormDispatch } from '../useFormDispatch/useFormDispatch';\nimport { setGlobalData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { BillingAddress } from 'common/api/actions/account/accountActions.types';\n\nconst unservicedRouteForTypeMap: Record = {\n [CategoryIdEnum.junk]: junkRemovalRoutes.unserviced,\n [CategoryIdEnum.move]: movingRoutes.unserviced,\n [CategoryIdEnum.labor]: laborRoutes.unserviced,\n};\n\nexport const useCheckPostalCode = ({\n category_id,\n need_postal_info,\n}: {\n category_id: CategoryIdEnum;\n need_postal_info?: boolean;\n}) => {\n const history = useHistory();\n const dispatch = useFormDispatch();\n const { mutate: checkPostalCodeRequest, loading: isChecking } = useMutation(checkPostalCodeAction);\n const { mutate: getPostalInfoRequest, loading: isGettingPostalInfo } = useMutation(getPostalInfoAction);\n\n const checkPostalCode = useCallback(\n async (postal: string, job_category_id: CategoryIdEnum = category_id) => {\n const { payload } = await checkPostalCodeRequest({ postal, job_category_id });\n\n if (!payload?.locations?.length) {\n history.push(unservicedRouteForTypeMap[job_category_id]);\n return Promise.reject();\n }\n\n const nearestLocationId = findNearestLocationId(payload?.locations);\n const zoneId = payload.locations[0].zone.id;\n let address: BillingAddress | undefined = undefined;\n\n dispatch(setGlobalData({ locationId: nearestLocationId, zoneId }));\n\n if (need_postal_info) {\n const { payload: postalInfoPayload } = await getPostalInfoRequest({ postal });\n\n if (!postalInfoPayload?.postal?.length) {\n history.push(unservicedRouteForTypeMap[job_category_id]);\n return Promise.reject();\n }\n\n address = {\n city: postalInfoPayload.postal[0].city,\n country: postalInfoPayload.postal[0].country,\n postal,\n state: postalInfoPayload.postal[0].state,\n };\n }\n\n return Promise.resolve({ address, nearestLocationId, zoneId });\n },\n [category_id, checkPostalCodeRequest, dispatch, need_postal_info, history, getPostalInfoRequest],\n );\n\n return { checkPostalCode, isChecking: isChecking || isGettingPostalInfo };\n};\n","import * as rudderanalytics from 'rudder-sdk-js';\n\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\n\nrudderanalytics.load('1oMRILB1RD2ENmXXIj3W5pZQckc', 'https://analytics.collegehunkshaulingjunk.com');\n// rudderanalytics.ready(() => {console.log(\"we are all set!!!\")})\nexport { rudderanalytics };\n\nexport const mapAccountToSegmentTraits = (account: AccountResponse) => ({\n firstName: account.first_name,\n lastName: account.last_name,\n address: {\n street: `${account.billing_address.address} ${account.billing_address.address2}`.trim(),\n city: account.billing_address.city,\n postalCode: account.billing_address.postal,\n state: account.billing_address.state,\n country: account.billing_address.country,\n },\n email: account.email,\n id: account.id,\n phone: account.phone,\n locationId: account.location.id,\n categoryId: account.category.id,\n});\n","import { useMemo } from 'react';\nimport { useSplitTreatments } from '@splitsoftware/splitio-react';\n\nconst flagNames = [\n 'OnlineBooking_TrackVersion',\n 'OnlineBooking_TwilioSegmentTracking',\n 'PartnerManagement_DefaultReferralSource',\n 'PartnerManagement_OnlineBooking_ConfigureCategories',\n 'PartnerPortal_AddAttachments',\n 'PartnerPortal_HideTypeOfItemsForMoving',\n] as const;\n\ntype Key = typeof flagNames[number];\n\ntype Toggles = {\n [key in Key]: boolean;\n};\n\nexport const useFeatureFlags = () => {\n const { treatments } = useSplitTreatments({\n names: Array.from(flagNames),\n });\n\n const toggles = useMemo(\n () => flagNames.reduce((keys, key) => ({ ...keys, [key]: treatments[key].treatment === 'on' }), {} as Toggles),\n [treatments],\n );\n\n return { toggles, treatments };\n};\n","import { BasicResponseStructure, CategoryIdEnum } from 'common/api/types';\n\n/**\n * INFO for devs:\n * when providing address when creating account ex. for junkRemoval step3, all values should be provided\n * (except address2 which is always optional).\n * Address, city, and state is also optional only in account creation in \"CallMeNowModal\"\n */\nexport type BillingAddress = {\n address?: string; //Proper US order of address should be ${street_number} ${route} ex. 123 Main Street\n address2?: string; // address2 is value from Apartment/suite field\n city?: string;\n state?: string;\n postal: string;\n country: string;\n};\n\nexport type AccountResponse = {\n id: number;\n first_name: string;\n last_name: string;\n company: {\n name: string;\n };\n phone: string;\n work: string;\n cell: string;\n email: string;\n billing_address: BillingAddress;\n type: {\n id: AccountTypeEnum;\n name: 'Commercial' | 'Residential';\n };\n notes?: {\n information?: string;\n special_instructions?: string;\n };\n source: {\n id: number;\n name: string;\n };\n category: {\n id: CategoryIdEnum;\n name: string;\n };\n location: {\n id: number;\n name: string;\n };\n created: {\n by: string;\n date: Date;\n };\n};\n\nexport type TrackingData = {\n source?: string;\n medium?: string;\n campaign?: string;\n content?: string;\n term?: string;\n};\n\nexport enum AccountTypeEnum {\n Commercial = 3,\n Residential = 5,\n}\n\nexport type AccountPayload = {\n first_name: string;\n last_name: string;\n phone: string;\n email?: string; // not required in callMeModal\n billing_address?: BillingAddress;\n category: {\n id: CategoryIdEnum;\n };\n tracking?: TrackingData;\n notes?: {\n information?: string;\n special_instructions?: string;\n };\n company?: {\n name: string;\n };\n type?: {\n id: AccountTypeEnum;\n };\n subpartner?: {\n id: number;\n };\n source?: {\n id: number;\n };\n feature_flags?: { [key: string]: number | string }[];\n};\n\nexport declare namespace CreateAccountAction {\n export type Params = {\n locationId: number;\n payload: AccountPayload;\n };\n\n export type TokenData = {\n token: string;\n account: AccountResponse;\n };\n\n export type Response = {\n tokens?: TokenData[];\n } & BasicResponseStructure;\n}\n\nexport declare namespace UpdateAccountAction {\n export type Params = {\n locationId: number;\n accountId: number;\n token: string;\n payload: Partial;\n };\n\n export type Response = {\n accounts?: AccountResponse[];\n } & BasicResponseStructure;\n}\n\nexport type PingPayload = {\n locationId: number;\n accountId: number;\n booking_complete: boolean;\n token: string;\n};\n\nexport type PingResponse = {\n accounts?: Array<{\n id: number;\n booking_complete: boolean;\n }>;\n} & BasicResponseStructure;\n\nexport type CreateAccountAddressPayload = {\n locationId: number;\n accountId: number;\n token: string;\n fullAddress: BillingAddress;\n};\n\ntype AddressWithOrigin = {\n id: number;\n} & BillingAddress;\n\nexport type CreateAccountAddressResponse = {\n addresses?: AddressWithOrigin[];\n} & BasicResponseStructure;\n\nexport type CreateNewAppointmentPayload = {\n locationId: number;\n token: string;\n\n start_date: Date;\n end_date: Date;\n account: {\n id: number;\n };\n category: {\n id: CategoryIdEnum;\n };\n origin: {\n id: number;\n };\n create_schedule: boolean; // if true, resource->id required\n resource?: {\n id: number;\n };\n notes?: {\n special_instructions: string;\n type_of_junk: string;\n location_of_junk: string;\n };\n purchase_order?: string;\n partner?: {\n id: number;\n };\n source?: {\n id: number;\n };\n attachments?: { urls: string[] };\n};\n\ntype AppointmentData = {\n id: number;\n type: string;\n start_date: string;\n end_date: string;\n category: {\n id: CategoryIdEnum;\n };\n account: {\n id: number;\n };\n location: {\n id: number;\n };\n};\n\nexport type CreateNewAppointmentResponse = {\n appointments?: AppointmentData[];\n} & BasicResponseStructure;\n\nexport type CreateCallRequestPayload = {\n locationId: number;\n accountId: number;\n token: string;\n category: {\n id: CategoryIdEnum;\n };\n subpartner?: {\n id: number;\n };\n};\n\nexport type CreateCallRequestResponse = {\n requests?: Array<{ scheduled: boolean }>;\n} & BasicResponseStructure;\n\nexport type QuoteAddress = BillingAddress & {\n floor: number | null; // floor is not required, null === undefined\n access_type: number;\n long_walks: number;\n};\n\nexport type QuoteRequestParams = {\n locationId: number;\n accountId: number;\n token: string;\n payload: {\n email_client: boolean;\n rooms: string;\n hunks: number;\n appliances: number;\n assembly_items: number;\n heavy_items: number;\n date: string;\n location: {\n id: number;\n };\n category: {\n id: number;\n };\n account: {\n id: number;\n first_name: string;\n last_name: string;\n phone: string;\n email: string;\n };\n type: {\n id: number;\n };\n origin: QuoteAddress;\n destination: QuoteAddress;\n };\n};\n\nexport type CalculatedQuote = {\n call_required: boolean;\n hourly_rate: number;\n hunks: number;\n total_price: {\n low: number;\n high: number;\n };\n labor_hours: {\n low: number;\n high: number;\n };\n truck_and_travel: number;\n pre_payment: {\n amount: number;\n collect_online: number;\n refund_days: number;\n refundable: boolean;\n refundable_by: string;\n square_location_id: string;\n };\n // There is more properties, but no need to type them\n};\n\nexport type QuoteRequestResponse = {\n quote?: CalculatedQuote[];\n} & BasicResponseStructure;\n","import { CategoryIdEnum } from 'common/api/types';\nimport { ContactInformationFormValues } from 'common/app/contactInformationForm/ContactInformationForm.types';\nimport { AccountPayload, AccountTypeEnum, BillingAddress } from 'common/api/actions/account/accountActions.types';\nimport { PartnerDataContextType } from 'common/context/form/formContext/FormContext.types';\n\nexport type MapStateToAccountParams = {\n contactInformationData: ContactInformationFormValues;\n billingAddress?: BillingAddress;\n categoryId: CategoryIdEnum;\n};\n\nexport type MapStateToAccountPayload = {\n partnerData?: PartnerDataContextType;\n} & MapStateToAccountParams;\n\nexport const mapStateToAccountPayload = ({\n contactInformationData,\n billingAddress,\n categoryId,\n partnerData,\n}: MapStateToAccountPayload): AccountPayload => {\n return {\n first_name: contactInformationData.firstName,\n last_name: contactInformationData.lastName,\n email: contactInformationData.email,\n phone: contactInformationData.phone,\n billing_address: billingAddress,\n category: { id: categoryId },\n company: {\n name: contactInformationData.companyName,\n },\n notes: {\n information: `${\n partnerData\n ? `Partner: ${partnerData.partnerName} - ${partnerData.subpartnerName}${\n contactInformationData.orderNumber\n ? `. \\nPurchase order number: ${contactInformationData.orderNumber}`\n : ''\n }`\n : ''\n }`,\n },\n type: {\n id: contactInformationData.companyName ? AccountTypeEnum.Commercial : AccountTypeEnum.Residential,\n },\n ...(partnerData && {\n subpartner: { id: partnerData.subpartnerId },\n ...(partnerData.source_id && { source: { id: partnerData.source_id } }),\n }),\n };\n};\n","import { useCallback, useMemo } from 'react';\nimport { useMutation } from 'react-fetching-library';\n\nimport { mapAccountToSegmentTraits, rudderanalytics } from 'common/utils/rudderanalytics';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { setGlobalData, setAccountData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { createNewAccountAction, pingAction, updateAccountAction } from 'common/api/actions/account/accountActions';\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\nimport { useFeatureFlags } from '../use-feature-flags/use-feature-flags';\n\nimport { MapStateToAccountParams, mapStateToAccountPayload } from './useAccount.utils';\n\nexport const useAccount = () => {\n const { locationId, accountId, token, partnerData } = useFormState();\n\n const dispatch = useFormDispatch();\n\n const { mutate: createAccountMutate, loading: isCreatingAccount } = useMutation(createNewAccountAction);\n const { mutate: updateAccountMutate, loading: isUpdatingAccount } = useMutation(updateAccountAction);\n const { mutate: sendPingMutate, loading: isSendingPing } = useMutation(pingAction);\n\n const { toggles } = useFeatureFlags();\n\n const isRecreatingAccount = useMemo(() => isCreatingAccount || isSendingPing, [isCreatingAccount, isSendingPing]);\n\n const isCreatingOrUpdatingAccount = useMemo(() => isCreatingAccount || isUpdatingAccount, [\n isCreatingAccount,\n isUpdatingAccount,\n ]);\n\n const feature_flags = useMemo(() => {\n const flags = [];\n\n if (toggles.OnlineBooking_TrackVersion) {\n flags.push({\n key: 'OnlineBooking_TrackVersion',\n value: 'v2',\n });\n }\n\n return flags;\n }, [toggles.OnlineBooking_TrackVersion]);\n\n const createOrUpdateAccount = useCallback(\n async (\n mapStateToAccountParams: MapStateToAccountParams,\n nearestLocationId = locationId,\n partnerInfo = partnerData,\n forceCreate?: boolean,\n ) => {\n if (!nearestLocationId) {\n return;\n }\n\n const accountPayload = mapStateToAccountPayload({\n ...mapStateToAccountParams,\n partnerData: partnerInfo && {\n ...partnerInfo,\n source_id: toggles.PartnerManagement_DefaultReferralSource ? partnerInfo?.source_id : undefined,\n },\n });\n\n let account: AccountResponse | undefined;\n\n if (!forceCreate && accountId && token) {\n const { payload } = await updateAccountMutate({\n accountId,\n token,\n locationId: nearestLocationId,\n payload: accountPayload,\n });\n\n if (!payload?.accounts?.length) {\n return;\n }\n\n account = payload?.accounts?.[0];\n } else {\n const { payload } = await createAccountMutate({\n locationId: nearestLocationId,\n payload: { ...accountPayload, feature_flags },\n });\n\n if (!payload?.tokens?.length) {\n return;\n }\n\n account = payload?.tokens?.[0].account;\n\n dispatch(\n setGlobalData({\n token: payload.tokens[0].token,\n accountId: account.id,\n isReadyToPing: true,\n }),\n );\n }\n\n if (!account) {\n return;\n }\n\n dispatch(\n setAccountData({\n id: account.id,\n firstName: account.first_name,\n lastName: account.last_name,\n email: account.email,\n phone: account.phone,\n locationId: account.location.id,\n postal: account.billing_address.postal,\n }),\n );\n\n const segmentTraits = mapAccountToSegmentTraits(account);\n rudderanalytics.identify(`account-${account.id}`, segmentTraits);\n\n const segmentFormEventTraits = {\n firstName: account.first_name,\n lastName: account.last_name,\n email: account.email,\n phone: account.phone,\n };\n rudderanalytics.track(`Contact Form Fill`, segmentFormEventTraits);\n\n return account;\n },\n [\n locationId,\n accountId,\n token,\n partnerData,\n feature_flags,\n toggles.PartnerManagement_DefaultReferralSource,\n createAccountMutate,\n updateAccountMutate,\n dispatch,\n ],\n );\n\n const recreateAccountWithNewLocationId = useCallback(\n async (mapStateToAccountParams: MapStateToAccountParams, newLocationId: number) => {\n if (!token || !accountId || !locationId) return;\n\n const accountPayload = mapStateToAccountPayload({\n ...mapStateToAccountParams,\n partnerData: partnerData && {\n ...partnerData,\n source_id: toggles.PartnerManagement_DefaultReferralSource ? partnerData?.source_id : undefined,\n },\n });\n\n const { payload: pingPayload } = await sendPingMutate({\n locationId,\n accountId,\n token,\n booking_complete: true,\n });\n\n if (pingPayload?.meta.status.code !== 200) return;\n\n dispatch(setGlobalData({ isReadyToPing: false }));\n\n const { payload } = await createAccountMutate({\n locationId: newLocationId,\n payload: { ...accountPayload, feature_flags },\n });\n\n if (!payload?.tokens?.length) return;\n\n const account = payload.tokens[0].account;\n\n dispatch(\n setGlobalData({\n token: payload.tokens[0].token,\n accountId: account.id,\n locationId: newLocationId,\n isReadyToPing: true,\n account: {\n id: account.id,\n firstName: account.first_name,\n lastName: account.last_name,\n email: account.email,\n phone: account.phone,\n locationId: account.location.id,\n postal: account.billing_address.postal,\n },\n }),\n );\n\n return account;\n },\n [\n token,\n accountId,\n locationId,\n partnerData,\n feature_flags,\n toggles.PartnerManagement_DefaultReferralSource,\n dispatch,\n sendPingMutate,\n createAccountMutate,\n ],\n );\n\n return {\n isCreatingOrUpdatingAccount,\n isRecreatingAccount,\n createOrUpdateAccount,\n recreateAccountWithNewLocationId,\n };\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const StairsIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const ElevatorIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const Bedroom1Icon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const Bedroom2Icon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const Bedroom3Icon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const Bedroom4Icon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SelectOptionType, TileToggleItem } from '@chhjit/react-components';\n\nimport { TypeOfDwellingEnum, AccessTypeEnum } from 'common/api/types/index';\nimport { StairsIcon } from 'common/assets/icons/StairsIcon';\nimport { ElevatorIcon } from 'common/assets/icons/ElevatorIcon';\nimport { Bedroom1Icon } from 'common/assets/icons/Bedroom1Icon';\nimport { Bedroom2Icon } from 'common/assets/icons/Bedroom2Icon';\nimport { Bedroom3Icon } from 'common/assets/icons/Bedroom3Icon';\nimport { Bedroom4Icon } from 'common/assets/icons/Bedroom4Icon';\n\n// Note: type of dweeling is not used in API for this moment.\n// But select should still exist.\nexport const typeOfDwellingOptions: SelectOptionType[] = [\n { value: TypeOfDwellingEnum.Apartment, label: 'Apartment / Condo' },\n { value: TypeOfDwellingEnum.House, label: 'House' },\n { value: TypeOfDwellingEnum.Business, label: 'Business' },\n { value: TypeOfDwellingEnum.StorageUnit, label: 'Storage Unit' },\n];\n\nconst enUsRules = new Intl.PluralRules('en-US', { type: 'ordinal' });\nconst suffixes: Record = {\n one: 'st',\n two: 'nd',\n few: 'rd',\n other: 'th',\n};\n\nexport const floorOptions: SelectOptionType[] = Array.from(Array(99).keys()).map((floorNo) => {\n const floorNoLabel = floorNo + 1;\n const suffix = suffixes[enUsRules.select(floorNoLabel)];\n\n return {\n value: floorNo,\n label: `${floorNoLabel}${suffix} floor`,\n };\n});\n\nexport const accessTypeTiles: TileToggleItem[] = [\n { icon: , label: 'Elevator', value: AccessTypeEnum.Elevator },\n { icon: , label: 'Stairs', value: AccessTypeEnum.Stairs },\n];\n\nexport enum TruckParkingSelectEnum {\n Driveway = 0,\n StreetCloseWalk = 1,\n StreetSomewhatWalk = 2,\n ParkingCloseWalk = 3,\n ParkingSomewhatWalk = 4,\n ParkingFarWalk = 5,\n}\n\nexport const truckParkingOptions: SelectOptionType[] = [\n { value: TruckParkingSelectEnum.Driveway, label: 'Driveway' },\n { value: TruckParkingSelectEnum.StreetCloseWalk, label: 'On the Street - Close walk' },\n { value: TruckParkingSelectEnum.StreetSomewhatWalk, label: 'On the Street - Somewhat close walk' },\n { value: TruckParkingSelectEnum.ParkingCloseWalk, label: 'Parking Lot / Loading Dock - Close walk' },\n { value: TruckParkingSelectEnum.ParkingSomewhatWalk, label: 'Parking Lot / Loading Dock - Somewhat close walk' },\n { value: TruckParkingSelectEnum.ParkingFarWalk, label: 'Parking Lot / Loading Dock - Far walk' },\n];\n\nexport const bedroomsTiles: TileToggleItem[] = [\n { icon: , label: '1 bedroom', value: '1' },\n { icon: , label: '2 bedrooms', value: '2' },\n { icon: , label: '3 bedrooms', value: '3' },\n { icon: , label: '4+ bedrooms', value: '4+' },\n];\n","import { LongWalksEnum } from 'common/api/types';\nimport { TruckParkingSelectEnum } from 'aMove/app/moving/MovingData';\nimport { Schedule } from 'common/api/actions/booking/bookingActions.types';\n\nexport const formatPhoneForApi = (phone: string) => {\n // Remove all non-digit characters\n let cleaned = phone.replace(/\\D/g, '');\n\n // Remove the leading '1' if it's a US country code\n if (cleaned.startsWith('1') && cleaned.length === 11) {\n cleaned = cleaned.substring(1);\n }\n\n return cleaned;\n};\n\n// id is values from truckParkingSelect (in MovingData.tsx)\nexport const mapTruckParkingToLongWalks = (id: TruckParkingSelectEnum) => {\n switch (id) {\n case TruckParkingSelectEnum.Driveway:\n return LongWalksEnum.zero;\n case TruckParkingSelectEnum.StreetCloseWalk:\n return LongWalksEnum.zero;\n case TruckParkingSelectEnum.StreetSomewhatWalk:\n return LongWalksEnum.one;\n case TruckParkingSelectEnum.ParkingCloseWalk:\n return LongWalksEnum.one;\n case TruckParkingSelectEnum.ParkingSomewhatWalk:\n return LongWalksEnum.two;\n case TruckParkingSelectEnum.ParkingFarWalk:\n return LongWalksEnum.two;\n }\n};\n\nexport const applyPhoneMask = (number: string) => {\n const numberWithMask = number.replace(/\\D+/g, '').replace(/(\\d{3})(\\d{3})(\\d{4})/, '($1) $2-$3');\n return numberWithMask;\n};\n\nexport const isSameSchedule = (\n schedule1: Schedule & { resourceId: number },\n schedule2: Schedule & { resourceId: number },\n) => {\n return (\n schedule1.start === schedule2.start &&\n schedule1.end === schedule2.end &&\n schedule1.resourceId === schedule2.resourceId\n );\n};\n","import Cookies from 'js-cookie';\n\nimport { VersionContextValue } from './VersionContext.types';\n\nconst VERSION_KEY = 'OBT_VERSION';\nconst EXP_DAYS = 10;\n\nexport const versionsDefaultState: VersionContextValue = {\n junkVer: 'A',\n moveVer: 'A',\n};\n\nexport class VersionStorageClass {\n private _state: VersionContextValue = versionsDefaultState;\n\n constructor() {\n try {\n const formStateString = Cookies.get(VERSION_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n } else {\n this._state = versionsDefaultState;\n Cookies.set(VERSION_KEY, JSON.stringify(versionsDefaultState), { expires: EXP_DAYS });\n }\n } catch {\n this._state = versionsDefaultState;\n }\n }\n\n get state(): VersionContextValue {\n const formStateString = Cookies.get(VERSION_KEY);\n\n if (formStateString) {\n this._state = JSON.parse(formStateString);\n }\n\n return this._state;\n }\n\n set state(value: VersionContextValue) {\n this._state = value;\n\n try {\n Cookies.set(VERSION_KEY, JSON.stringify(value), { expires: EXP_DAYS });\n } catch {}\n }\n}\n\nexport const versionStorage = new VersionStorageClass();\n","import { GetPartnerInfoAction } from 'common/api/actions/partner/partnerActions.types';\nimport { FormStatePartnerData } from '../form/formReducer/formReducer.types';\n\nexport const mapPartnerResponseToStateData = (\n response: GetPartnerInfoAction.Partner,\n partnerToken: string,\n): FormStatePartnerData => {\n return {\n token: partnerToken,\n subpartnerId: response.id,\n subpartnerName: response.name,\n partnerName: response.partner.name,\n name: response.name,\n logoUrl: response.logo.url,\n discounts: response.discounts,\n heroTitle: response.booking.title,\n heroImg: response.booking.image_url,\n shouldDisplayPartnersFields: response.type.id !== 2,\n disabledCategories: response.online_booking_disabled_categories,\n type: response.type,\n source_id: Number(response.source_id),\n /** BUSINESS LOGIC WARNING\n * If the type->id for the subpartner response is 2 (strategic alliance),\n * then hide partnersFields (with cordporateCode checkbox) on the\n * contact information page.\n */\n };\n};\n","import React, { ReactNode, useEffect, useState, useCallback, useMemo } from 'react';\nimport { useHistory } from 'react-router';\nimport qs from 'query-string';\nimport { useMutation } from 'react-fetching-library';\nimport { Loader } from '@chhjit/react-components';\nimport { Box } from '@material-ui/core';\n\nimport { AppRoute } from 'common/routing/AppRoute';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setPartnerData } from '../form/formActionCreators/formActionCreators';\nimport { getPartnerInfoAction } from 'common/api/actions/partner/partnerActions';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useCheckPostalCode } from 'common/hooks/useCheckPostalCode/useCheckPostalCode';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { PartnerDataContextType } from '../form/formContext/FormContext.types';\nimport { MapStateToAccountParams } from 'common/hooks/useAccount/useAccount.utils';\nimport { formatPhoneForApi } from 'common/utils/form';\n\nimport { VersionContext } from './VersionContext';\nimport { VersionContextValue, UrlParams, Version } from './VersionContext.types';\nimport { versionStorage, versionsDefaultState } from './VersionStorage';\nimport { mapPartnerResponseToStateData } from './VersionContextController.utils';\n\nexport const VersionContextController = ({ children }: { children: ReactNode }) => {\n const { location, push } = useHistory();\n\n const formDispatch = useFormDispatch();\n\n const { mutate: getPartnerInfoMutate, abort: abortGetPartnerInfo, loading: isGettingPartnerInfo } = useMutation(\n getPartnerInfoAction,\n );\n\n const [servicesVersion, setServicesVersion] = useState(versionStorage.state);\n\n const { isCreatingOrUpdatingAccount, createOrUpdateAccount } = useAccount();\n const { isChecking, checkPostalCode } = useCheckPostalCode({\n category_id: CategoryIdEnum.move,\n need_postal_info: true,\n });\n\n const isLoading = useMemo(() => isGettingPartnerInfo || isCreatingOrUpdatingAccount || isChecking, [\n isGettingPartnerInfo,\n isCreatingOrUpdatingAccount,\n isChecking,\n ]);\n\n const getPartnerInfo = useCallback(\n async (partnerToken: string) => {\n abortGetPartnerInfo();\n\n const { payload } = await getPartnerInfoMutate({ subpartner_token: partnerToken });\n\n if (!payload?.subpartners?.length || payload.meta.errors?.length) {\n return;\n }\n\n const partnerData = mapPartnerResponseToStateData(payload.subpartners[0], partnerToken);\n\n formDispatch(setPartnerData(partnerData));\n\n return partnerData;\n },\n [getPartnerInfoMutate, abortGetPartnerInfo, formDispatch],\n );\n\n const getService = useCallback((categoryId?: string) => {\n if (Number(categoryId) === CategoryIdEnum.junk) {\n return { categoryId: CategoryIdEnum.junk, path: AppRoute.junkRemoval };\n }\n\n if (Number(categoryId) === CategoryIdEnum.labor) {\n return { categoryId: CategoryIdEnum.labor, path: AppRoute.labor };\n }\n\n return { categoryId: CategoryIdEnum.move, path: AppRoute.moving };\n }, []);\n\n const checkUrlParams = useCallback(\n async (urlParams: Partial) => {\n const hasNecessaryParam = ([\n 'junkVer',\n 'moveVer',\n 'partnerToken',\n 'firstName',\n 'lastName',\n 'email',\n 'phoneNumber',\n 'postal',\n ] as (keyof UrlParams)[]).some((param) => urlParams[param]);\n\n if (hasNecessaryParam) {\n let partnerData: PartnerDataContextType | undefined;\n\n if (urlParams.junkVer || urlParams.moveVer) {\n const urlJunkVer = urlParams.junkVer?.toUpperCase() || '';\n const urlMoveVer = urlParams.moveVer?.toUpperCase() || '';\n\n const servicesVersion: VersionContextValue = {\n junkVer: ['A', 'B'].includes(urlJunkVer) ? (urlJunkVer as Version) : versionsDefaultState.junkVer,\n moveVer: ['A', 'B'].includes(urlMoveVer) ? (urlMoveVer as Version) : versionsDefaultState.moveVer,\n };\n\n setServicesVersion(servicesVersion);\n versionStorage.state = servicesVersion;\n }\n\n if (urlParams.partnerToken) {\n partnerData = await getPartnerInfo(urlParams.partnerToken);\n }\n\n if (urlParams.firstName && urlParams.lastName && urlParams.phoneNumber && urlParams.postal) {\n const service = getService(urlParams.categoryId);\n\n const { address, nearestLocationId } = await checkPostalCode(urlParams.postal, service.categoryId);\n\n const accountParams: MapStateToAccountParams = {\n contactInformationData: {\n firstName: urlParams.firstName || '',\n lastName: urlParams.lastName || '',\n email: urlParams.email || '',\n phone: urlParams.phoneNumber ? formatPhoneForApi(urlParams.phoneNumber) : '',\n postal: urlParams.postal || '',\n hasCorporateCode: !!partnerData,\n companyName: '',\n orderNumber: '',\n specialInstructions: '',\n additionalNotes: '',\n attachments: [],\n },\n billingAddress: address,\n categoryId: service.categoryId,\n };\n\n const account = await createOrUpdateAccount(accountParams, nearestLocationId, partnerData, true);\n\n if (account && urlParams.categoryId) {\n return push(service.path);\n }\n }\n\n const url = qs.stringifyUrl(\n { url: AppRoute.home, query: urlParams },\n {\n encode: false,\n },\n );\n\n return push(url);\n }\n },\n [checkPostalCode, createOrUpdateAccount, getPartnerInfo, getService, push],\n );\n\n useEffect(() => {\n const urlParams = qs.parse(location.search) as Partial;\n\n checkUrlParams(urlParams);\n }, [location.search]);\n\n if (isLoading) {\n return (\n \n \n \n );\n }\n\n return {children};\n};\n","import React, { ReactNode, useReducer, useMemo, useEffect } from 'react';\n\nimport { MovingDispatchContext, MovingStateContext } from './MovingContext';\nimport { MovingStateContextValue, MovingDispatchContextValue } from './MovingContext.types';\nimport { movingReducer } from './MovingContextSlice';\nimport { movingStorage } from './MovingContextStorage';\n\nexport const MovingContextController = ({ children }: { children: ReactNode }) => {\n const [state, dispatch] = useReducer(movingReducer, movingStorage.state);\n\n useEffect(() => {\n movingStorage.state = state;\n }, [state]);\n\n useEffect(() => {\n return () => movingStorage.clear();\n }, []);\n\n const stateValue = useMemo(() => state, [state]);\n const dispatchValue = useMemo(\n () => ({\n movingDispatch: dispatch,\n }),\n [dispatch],\n );\n\n return (\n \n {children}\n \n );\n};\n","import moment from 'moment';\n\nimport { QuoteRequestParams } from 'common/api/actions/account/accountActions.types';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { FormStateContextType } from 'common/context/form/formContext/FormContext.types';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\nimport { mapTruckParkingToLongWalks } from 'common/utils/form';\n\nimport { MovingState } from './MovingContext.types';\n\ntype MapMovingStateToCalculateQuotePayload = {\n movingState: {\n step1: MovingState['step1'];\n step2: MovingState['step2'];\n step3: MovingState['step3'];\n step4: MovingState['step4'];\n step5: MovingState['step5'];\n };\n locationId: FormStateContextType['locationId'];\n accountId: FormStateContextType['accountId'];\n token: FormStateContextType['token'];\n};\n\nexport const mapMovingStateToCalculateQuotePayload = ({\n movingState,\n locationId,\n accountId,\n token,\n}: MapMovingStateToCalculateQuotePayload): QuoteRequestParams | null => {\n if (\n !movingState?.step1 ||\n !movingState?.step2 ||\n !movingState?.step3 ||\n !movingState?.step4 ||\n !movingState?.step5 ||\n !locationId ||\n !accountId ||\n !token\n ) {\n return null;\n }\n\n return {\n locationId,\n accountId,\n token,\n payload: {\n hunks: 2, // default value 2\n email_client: false,\n rooms: movingState.step1.rooms,\n appliances: movingState.step3.appliances,\n assembly_items: movingState.step3.assemblyItems,\n heavy_items: movingState.step3.heavyItems,\n date: moment(movingState.step4.date).format(DateFormatForAPI),\n location: {\n id: locationId,\n },\n account: {\n id: accountId,\n first_name: movingState.step5.firstName,\n last_name: movingState.step5.lastName,\n email: movingState.step5.email,\n phone: movingState.step5.phone,\n },\n origin: {\n ...movingState.step1.fullAddress,\n floor: movingState.step1.floor ?? 0,\n access_type: movingState.step1.accessType,\n long_walks: mapTruckParkingToLongWalks(movingState.step1.truckParking),\n },\n destination: {\n ...movingState.step2.fullAddress,\n floor: movingState.step2.floor ?? 0,\n access_type: movingState.step2.accessType,\n long_walks: mapTruckParkingToLongWalks(movingState.step2.truckParking),\n },\n category: {\n id: CategoryIdEnum.move,\n },\n type: {\n id: 1,\n },\n },\n };\n};\n","import React, { ReactNode, useReducer, useMemo, useEffect, useCallback } from 'react';\nimport { useMutation } from 'react-fetching-library';\nimport useDeepCompareEffect from 'use-deep-compare-effect';\n\nimport { calculateQuoteAction } from 'common/api/actions/account/accountActions';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setGlobalData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { QuoteRequestParams } from 'common/api/actions/account/accountActions.types';\n\nimport { MovingDispatchContext, MovingStateContext } from './MovingContext';\nimport { MovingStateContextValue, MovingDispatchContextValue } from './MovingContext.types';\nimport { movingActions, movingReducer } from './MovingContextSlice';\nimport { movingStorage } from './MovingContextStorage';\nimport { mapMovingStateToCalculateQuotePayload } from './MovingContextController.utils';\n\nexport const MovingContextController = ({ children }: { children: ReactNode }) => {\n const [state, dispatch] = useReducer(movingReducer, movingStorage.state);\n const { moving } = state;\n const { locationId, accountId, token, bookingDone } = useFormState();\n const formDispatch = useFormDispatch();\n const { mutate: calculateQuoteMutate, abort: abortCalculateQuote, loading: isCalculatingQuote } = useMutation(\n calculateQuoteAction,\n );\n\n const calculateQuote = useCallback(\n async (params: QuoteRequestParams) => {\n abortCalculateQuote();\n const { payload: quotePayload } = await calculateQuoteMutate(params);\n\n if (quotePayload?.quote?.length) {\n dispatch(movingActions.setPricingValues({ quote: quotePayload.quote[0] }));\n dispatch(movingActions.setPrepaymentData({ quote: quotePayload.quote[0] }));\n\n formDispatch(setGlobalData({ isCallRequired: quotePayload.quote[0].call_required }));\n\n return quotePayload?.quote[0];\n } else {\n // if calculate a quote fails (because ex. no road connection)\n // then just setCallRequired\n formDispatch(setGlobalData({ isCallRequired: true }));\n }\n },\n [abortCalculateQuote, calculateQuoteMutate, formDispatch],\n );\n\n useDeepCompareEffect(() => {\n if (bookingDone) return;\n\n (async () => {\n const params = mapMovingStateToCalculateQuotePayload({\n movingState: {\n step1: moving?.step1,\n step2: moving?.step2,\n step3: moving?.step3,\n step4: moving?.step4,\n step5: moving?.step5,\n },\n locationId,\n accountId,\n token,\n });\n if (!params) return;\n\n await calculateQuote(params);\n })();\n }, [\n calculateQuote,\n locationId,\n accountId,\n token,\n moving?.step1,\n moving?.step2,\n moving?.step3,\n moving?.step4,\n moving?.step5,\n bookingDone,\n ]);\n\n useEffect(() => {\n movingStorage.state = state;\n }, [state]);\n\n useEffect(() => {\n return () => movingStorage.clear();\n }, []);\n\n const stateValue = useMemo(\n () => ({\n ...state,\n isCalculatingQuote,\n }),\n [state, isCalculatingQuote],\n );\n const dispatchValue = useMemo(\n () => ({\n movingDispatch: dispatch,\n calculateQuote,\n }),\n [calculateQuote, dispatch],\n );\n\n return (\n \n {children}\n \n );\n};\n","import React, { ReactNode } from 'react';\n\nimport { MovingContextController } from 'aMove/context/moving/MovingContextController';\nimport { MovingContextController as MovingContextControllerVerB } from 'bMove/context/moving/MovingContextController';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\n\nexport const MovingProviderController = ({ children }: { children: ReactNode }) => {\n const { moveVer } = useVersionContext();\n\n return moveVer === 'A' ? (\n {children}\n ) : (\n {children}\n );\n};\n","import React, { memo, useMemo } from 'react';\nimport { ISplitFactoryChildProps, SplitFactoryProvider } from '@splitsoftware/splitio-react';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { SPLIT_AUTH_KEY, SPLIT_KEY } from 'common/utils/env-variables';\n\nexport const SplitProvider = memo(({ children }) => {\n const { account } = useFormState();\n\n const splitAttributes = useMemo(() => {\n const attributes: {\n user_id?: number;\n location_id?: number;\n location_name?: string;\n location_timezone_name?: string;\n } = {};\n\n if (account?.id) {\n attributes.user_id = account.id;\n attributes.location_id = account.locationId;\n }\n\n return attributes;\n }, [account?.id, account?.locationId]);\n\n const config: SplitIO.IBrowserSettings = useMemo(\n () => ({\n core: {\n authorizationKey: SPLIT_AUTH_KEY,\n key: SPLIT_KEY,\n },\n }),\n [],\n );\n\n return (\n \n {({ factory, isReady, isTimedout, lastUpdate }: ISplitFactoryChildProps) => {\n if (!isReady) return <>;\n\n return children;\n }}\n \n );\n});\n","import React from 'react';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport { createGenerateClassName, StylesProvider } from '@material-ui/core';\nimport {\n CollegeHunksTheme,\n CalendarPickerProvider,\n AlertProvider,\n DialogContextController,\n} from '@chhjit/react-components';\n\nimport { ClientContextController } from 'common/context/client/clientContextController/ClientContextController';\nimport { FormContextController } from 'common/context/form/formContextController/FormContextController';\nimport { ErrorBoundary } from 'common/app/errorBoundary/ErrorBoundary';\nimport { PingController } from 'common/ui/pingController/PingController';\nimport { GoogleScriptsController } from 'common/ui/googleScriptsController/GoogleScriptsController';\nimport { JunkRemovalContextController } from 'common/context/junkRemoval/JunkRemovalContextController';\nimport { LaborContextController } from 'common/context/labor/LaborContextContextController';\nimport { VersionContextController } from 'common/context/version/VersionContextController';\n\nimport { AppProvidersProps } from './AppProviders.types';\nimport { MovingProviderController } from './MovingProviderController';\nimport { SplitProvider } from './SplitProvider';\n\nconst generateClassName = createGenerateClassName({\n productionPrefix: 'app',\n});\n\nexport const AppProviders = ({ children }: AppProvidersProps) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {children}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n","import { makeStyles } from '@material-ui/core';\n\nexport const pageMaxWidth = '1024px';\n\nexport const useStyles = makeStyles((theme) => ({\n container: {\n padding: '0 16px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '0 24px',\n },\n\n [theme.breakpoints.up('md')]: {\n padding: '0 40px',\n\n maxWidth: `calc(${pageMaxWidth} + 80px)`, // +80px cause of paddings\n margin: '0 auto',\n },\n },\n}));\n","import React, { HTMLAttributes } from 'react';\nimport clsx from 'clsx';\n\nimport { useStyles } from './Container.styles';\n\nexport const Container = ({ children, className, ...restProps }: HTMLAttributes) => {\n const styles = useStyles();\n\n return (\n
\n {children}\n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const MovingIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const JunkRemovalIcon = ({ className }: { className?: string }) => {\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","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const LaborIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { createStyles, makeStyles, Theme } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme: Theme) => ({\n title: {\n color: colors.grey180,\n padding: '24px 8px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '48px 0',\n textAlign: 'center',\n\n ...theme.typography.h2,\n },\n\n [theme.breakpoints.up('md')]: {\n paddingTop: 60,\n },\n },\n highlightText: {\n color: colors.secondary.main,\n },\n serviceBoxesContainer: {\n backgroundColor: colors.basic.white,\n },\n serviceBoxes: {\n paddingBottom: 16,\n\n '& > *': {\n marginBottom: 16,\n },\n\n [theme.breakpoints.up('sm')]: {\n display: 'flex',\n justifyContent: 'space-around',\n gap: 24,\n marginBottom: 48,\n\n '& > *': {\n flex: 1,\n marginBottom: 0,\n maxWidth: 558,\n },\n },\n\n [theme.breakpoints.up('md')]: {\n gap: 48,\n },\n },\n}));\n","import { colors } from '@chhjit/react-components';\nimport { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n box: {\n position: 'relative',\n zIndex: 1,\n\n borderRadius: 4,\n padding: 16,\n display: 'flex',\n flexDirection: 'column',\n cursor: 'pointer',\n\n '&::after': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n backgroundColor: 'transparent',\n transition: 'box-shadow .2s ease-in-out',\n boxShadow: `0 0 0 1px ${colors.grey100}`,\n borderRadius: 4,\n },\n\n [theme.breakpoints.up('sm')]: {\n padding: 24,\n },\n\n [theme.breakpoints.up('md')]: {\n '&:hover::after': {\n boxShadow: `0 0 0 2px ${colors.secondary.main}`,\n },\n\n '&:hover $pseudoElementContainer::before': {\n opacity: 1,\n },\n '&:hover $iconContainer': {\n backgroundColor: colors.basic.white,\n },\n\n '&:hover $button button': {\n backgroundColor: colors.primary.light,\n },\n },\n },\n pseudoElementContainer: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n\n position: 'relative',\n '&::before': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n zIndex: -1,\n top: -8,\n left: -8,\n bottom: -40,\n right: -40,\n\n backgroundColor: colors.secondary.light,\n transition: 'opacity .2s ease-in-out',\n borderRadius: 4,\n opacity: 0,\n },\n },\n title: {\n color: colors.grey190,\n\n [theme.breakpoints.up('sm')]: {\n textAlign: 'center',\n },\n\n [theme.breakpoints.up('md')]: {\n ...theme.typography.h3,\n color: colors.grey190,\n },\n },\n discount: {\n ...theme.typography.h5,\n color: colors.secondary.main,\n\n [theme.breakpoints.up('sm')]: {\n textAlign: 'center',\n minHeight: 58,\n },\n\n [theme.breakpoints.up('md')]: {\n ...theme.typography.h4,\n color: colors.secondary.main,\n },\n },\n subTitle: {\n [theme.breakpoints.up('sm')]: {\n textAlign: 'center',\n maxWidth: 214,\n margin: '0 auto',\n },\n },\n titleWithIcon: {\n display: 'flex',\n alignItems: 'center',\n\n '& > *:first-child': {\n marginRight: 16,\n },\n\n [theme.breakpoints.up('sm')]: {\n flexDirection: 'column',\n\n '& > *:first-child': {\n marginRight: 0,\n marginBottom: 16,\n },\n },\n },\n iconContainer: {\n backgroundColor: colors.secondary.light,\n borderRadius: '50%',\n width: 40,\n height: 40,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n transition: 'background-color .2s ease-in-out',\n\n '& svg': {\n fontSize: '32px',\n },\n\n [theme.breakpoints.up('sm')]: {\n width: 92,\n height: 92,\n\n '& svg': {\n fontSize: '80px',\n },\n },\n },\n\n button: {\n marginTop: 16,\n\n [theme.breakpoints.up('md')]: {\n marginTop: 32,\n },\n },\n}));\n","import { Button } from '@chhjit/react-components';\nimport { Typography, Box } from '@material-ui/core';\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { useStyles } from './ServiceCard.styles';\nimport { ServiceCardProps } from './ServiceCard.types';\n\nexport const ServiceCard = ({ icon, title, subTitle, discount, onClick }: ServiceCardProps) => {\n const styles = useStyles();\n\n return (\n
\n
\n
\n
{icon}
\n
\n \n {title}\n \n\n {discount &&
{discount}
}\n
\n
\n\n \n {subTitle}\n\n \n \n \n
\n
\n );\n};\n","export default __webpack_public_path__ + \"static/media/aboutHunks.3963aa05.jpg\";","import React, { useState, useCallback } from 'react';\nimport { Fade } from '@material-ui/core';\n\nimport { LoadedImageProps } from './LoadedImage.types';\n\nexport const LoadedImage = ({ alt, src, className }: LoadedImageProps) => {\n const [imgLoaded, setImgLoaded] = useState(false);\n\n const onImageLoad = useCallback(() => setImgLoaded(true), []);\n\n return (\n \n {alt\n \n );\n};\n","import { colors } from '@chhjit/react-components';\nimport { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n container: {\n backgroundColor: colors.basic.white,\n paddingTop: 24,\n paddingBottom: 24,\n [theme.breakpoints.up('sm')]: {\n paddingTop: 48,\n paddingBottom: 48,\n },\n },\n title: {\n marginBottom: 24,\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 37,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 30,\n ...theme.typography.h2,\n },\n },\n imgContainer: {\n marginBottom: 24,\n\n [theme.breakpoints.up('sm')]: {\n marginRight: 24,\n marginBottom: 0,\n },\n\n [theme.breakpoints.up('md')]: {\n marginRight: 48,\n },\n },\n img: {\n width: '100%',\n objectFit: 'cover',\n objectPosition: '90% center',\n },\n flexContainer: {\n display: 'flex',\n flexDirection: 'column',\n\n [theme.breakpoints.up('sm')]: {\n flexDirection: 'row',\n\n '& > *': {\n width: 'calc(50% - 12px)', // 12px from img marginRight 24px/2\n\n display: 'flex',\n flexDirection: 'column',\n },\n\n '& > *:nth-child(1) > img': {\n flexBasis: 0,\n flexGrow: 1,\n overflowY: 'auto',\n },\n },\n\n [theme.breakpoints.up('md')]: {\n '& > *': {\n width: 'calc(50% - 24px)',\n },\n },\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Typography, Hidden } from '@material-ui/core';\n\nimport aboutHunks from 'common/assets/images/aboutHunks.jpg';\nimport { Container } from 'common/app/home/container/Container';\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { PARTNER_NAME } from 'common/utils/env-variables';\n\nimport { useStyles } from './AboutHunks.styles';\n\nexport const AboutHunks = () => {\n const styles = useStyles();\n const { partnerData } = useFormState();\n\n const isExactPartner = useMemo(() => partnerData?.partnerName === PARTNER_NAME, [partnerData?.partnerName]);\n\n return (\n \n \n \n About the H.U.N.K.S\n \n \n\n
\n
\n \n
\n\n
\n \n \n About the H.U.N.K.S\n \n \n\n \n Is the hassle of moving weighing you down? Let our friendly HUNKS take care of the heavy lifting for you.\n {isExactPartner ? ' College HUNKS Moving & Hauling' : ' College HUNKS Hauling Junk & Moving'}® is proud to\n offer stress-free moving and\n {isExactPartner ? ' downsizing support ' : ' junk removal services '}\n that will give you peace of mind.\n
\n
\n Our hard-working HUNKS have the lowest damage claim rate in the business and can take care of the entire\n process for you, from packing to unpacking. Our expert service is specially designed to make your move a\n fun, pleasant experience.\n
\n
\n
\n
\n );\n};\n","import React from 'react';\nimport clsx from 'clsx';\nimport { SvgIcon, makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nconst useStyles = makeStyles({\n root: {\n fontSize: 24,\n },\n});\n\nexport const ArrowRightIcon = ({ className, onClick }: { className?: string; onClick?: () => void }) => {\n const styles = useStyles();\n\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport clsx from 'clsx';\nimport { SvgIcon, makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nconst useStyles = makeStyles({\n root: {\n fontSize: 24,\n },\n});\n\nexport const ArrowLeftIcon = ({ className, onClick }: { className?: string; onClick?: () => void }) => {\n const styles = useStyles();\n\n return (\n \n \n \n );\n};\n","import React, { useMemo, forwardRef } from 'react';\nimport Slider, { Settings } from 'react-slick';\n\nimport { ArrowRightIcon } from 'common/assets/icons/ArrowRightIcon';\nimport { ArrowLeftIcon } from 'common/assets/icons/ArrowLeftIcon';\n\nimport { CarouselSliderProps } from './CarouselSlider.types';\n\nexport const CarouselSlider = forwardRef(({ children, settings }, ref) => {\n const allSettings: Settings = useMemo(\n () => ({\n dots: false,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n prevArrow: ,\n nextArrow: ,\n ...settings,\n }),\n [settings],\n );\n\n return (\n \n {children}\n \n );\n});\n","import { colors } from '@chhjit/react-components';\nimport { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n backgroundColor: colors.grey10,\n paddingTop: 40,\n paddingBottom: 60,\n\n [theme.breakpoints.up('sm')]: {\n paddingTop: 60,\n },\n\n [theme.breakpoints.up('md')]: {\n paddingTop: 48,\n paddingBottom: 48,\n },\n },\n container: {\n maxWidth: 'calc(2000px + 80px)',\n },\n carouselSlider: {\n [theme.breakpoints.down('sm')]: {\n margin: '0 22px',\n },\n },\n sliderItem: {\n padding: '0 8px',\n outline: 'none',\n },\n icon: {\n fontSize: 80,\n display: 'block',\n margin: '0 auto 7px',\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 16,\n },\n },\n title: {\n textAlign: 'center',\n marginBottom: 6,\n [theme.breakpoints.up('sm')]: {\n marginBottom: 16,\n },\n },\n subTitle: {\n color: colors.black,\n },\n}));\n","import { LaborIcon } from 'common/assets/icons/LaborIcon';\nimport { HappyClientsIcon } from 'common/assets/icons/HappyClientsIcon';\nimport { MealsDonatedIcon } from 'common/assets/icons/MealsDonatedIcon';\nimport { ReviewsIcon } from 'common/assets/icons/ReviewsIcon';\n\nexport const whyHunksList = [\n {\n Icon: LaborIcon,\n title: '15+',\n subTitle: 'Years in Business',\n },\n {\n Icon: HappyClientsIcon,\n title: '10+ Million',\n subTitle: 'Happy Clients Served',\n },\n {\n Icon: MealsDonatedIcon,\n title: '5+ Million',\n subTitle: 'Meals Donated',\n },\n {\n Icon: ReviewsIcon,\n title: '1+ Million',\n subTitle: 'Reviews, Avg 4.8 Stars (Most 5-Star Reviews in the Industry)',\n },\n];\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const HappyClientsIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const MealsDonatedIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const ReviewsIcon = ({ className }: { className?: string }) => {\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","import React, { useMemo } from 'react';\nimport { Typography, useMediaQuery, useTheme } from '@material-ui/core';\n\nimport { Container } from 'common/app/home/container/Container';\nimport { CarouselSlider } from 'common/ui/carouselSlider/CarouselSlider';\n\nimport { useStyles } from './WhyHunks.styles';\nimport { whyHunksList } from './WhyHunks.utils';\n\nexport const WhyHunks = () => {\n const styles = useStyles();\n const theme = useTheme();\n const isTablet = useMediaQuery(theme.breakpoints.up('sm'));\n const isDesktop = useMediaQuery(theme.breakpoints.up('md'));\n\n const slidesToShow = useMemo(() => {\n if (isDesktop) {\n return 4;\n } else if (isTablet) {\n return 3;\n }\n\n return 1;\n }, [isTablet, isDesktop]);\n\n return (\n
\n \n \n {whyHunksList.map(({ Icon, title, subTitle }) => (\n
\n \n\n \n {title}\n \n\n \n {subTitle}\n \n
\n ))}\n \n
\n
\n );\n};\n","export default __webpack_public_path__ + \"static/media/happyCustomers.a0c0aebc.jpg\";","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nconst imageTranslationLenght = 170;\n\nexport const useStyles = makeStyles((theme) => ({\n happyCustomerContainer: {\n backgroundColor: colors.grey10,\n },\n happyCustomerInnerWrapper: {\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n justifyContent: 'space-between',\n paddingLeft: 0, // remove padding left from \n\n '& > *:nth-child(1)': {\n width: '45%',\n },\n '& > *:nth-child(2)': {\n width: '50%',\n },\n\n '& > *': {\n display: 'flex',\n flexDirection: 'column',\n },\n\n '& > *:nth-child(1) > img': {\n flexBasis: 0,\n flexGrow: 1,\n overflowY: 'auto',\n objectFit: 'cover',\n boxShadow: '0px 0px 4px rgba(0, 0, 0, 0.08)',\n\n [theme.breakpoints.up('md')]: {\n objectPosition: '30% 50%',\n },\n },\n },\n\n // custom breakpoint for custom functionality (image in desktop resolution up to 1366px have to be translated left)\n '@media (min-width:1367px)': {\n paddingLeft: 40, // restore padding left from \n maxWidth: `calc(1024px + 80px + ${imageTranslationLenght}px)`, // width from + 2x 170px cause of image translation\n paddingRight: `calc(40px + ${imageTranslationLenght}px)`, // cover 170px from one side to center the component\n\n '& > *:nth-child(1)': {\n width: '50%',\n },\n '& > *:nth-child(2)': {\n width: '45%',\n },\n },\n },\n wrapper: {\n padding: '24px 0 40px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '32px 0 32px',\n },\n },\n innerWrapper: {\n margin: '0 19px',\n\n '& .slick-track': {\n display: 'flex',\n alignItems: 'center',\n },\n\n [theme.breakpoints.up('sm')]: {\n maxWidth: 525,\n margin: '0 auto',\n },\n },\n title: {\n marginBottom: 20,\n color: colors.grey190,\n\n '& > span': {\n color: colors.secondary.main,\n },\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 24,\n textAlign: 'center',\n },\n },\n sliderItem: {\n outline: 'none',\n },\n card: {\n backgroundColor: colors.basic.white,\n display: 'flex',\n flexDirection: 'column',\n padding: '24px 36px',\n\n position: 'relative',\n margin: '0 calc(20px + 9px) 20px 9px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '24px 48px',\n\n margin: '0 calc(20px + 16px) 20px 16px',\n },\n\n '&::before': {\n content: '\"\"',\n position: 'absolute',\n bottom: -20,\n right: -20,\n width: '100%',\n height: '100%',\n background: colors.grey40,\n zIndex: -1,\n },\n },\n\n quote: {\n position: 'absolute',\n top: 24,\n left: 18,\n transform: 'translateX(-50%)',\n lineHeight: '48px',\n\n [theme.breakpoints.up('sm')]: {\n left: 24,\n },\n },\n text: {\n fontWeight: 'bold',\n marginBottom: 20,\n color: colors.grey190,\n },\n author: {\n fontWeight: 'bold',\n textTransform: 'uppercase',\n letterSpacing: '1.5px',\n },\n}));\n","import React from 'react';\nimport { Typography, Hidden } from '@material-ui/core';\n\nimport { CarouselSlider } from 'common/ui/carouselSlider/CarouselSlider';\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport happyCustomersImg from 'common/assets/images/happyCustomers.jpg';\nimport { Container } from '../container/Container';\n\nimport { useStyles } from './HappyCustomers.styles';\n\nconst sliderData = [\n {\n text:\n 'The HUNKS were so helpful ensuring everything was packed well and secured for the trip to Arkansas. It was so helpful having the furniture unpacked and put into place, sometimes twice when I changed my mind and wanted something in a different place or room. Thank u for your diligence!',\n author: 'Mark L.',\n info: 'Colorado Springs, CO',\n },\n {\n text:\n \"Wished we'd done it sooner! Everyone was fantastic, did their jobs and did them well. Very helpful. Not a thing to complain about. Thanks for the perfect service.\",\n author: 'Pamela D.',\n info: 'South Haven, MI',\n },\n {\n text: 'The team was flexible when needed and effective in getting the job done. They were very professional.',\n author: 'Jakki B.',\n info: 'Avondale, PA',\n },\n {\n text:\n \"The whole team was EXTREMELY courteous, professional and efficient! Our family has moved multiple times and this was THE BEST moving experience we've ever had.\",\n author: 'Andre B.',\n info: 'Warrington, PA',\n },\n {\n text:\n \"Your guys really helped us out! Got us completely out of our large 3500 sq ft in one day. It was a huge job and they did it with a smile! Can't thank them enough!\",\n author: 'Randee B.',\n info: 'Belfair, WA',\n },\n];\n\nexport const HappyCustomers = () => {\n const styles = useStyles();\n\n return (\n
\n \n \n
\n \n
\n
\n\n
\n \n Almost 100,000 happy customers\n \n\n
\n \n {sliderData.map(({ text, author, info }, index) => (\n
\n
\n \n “\n \n {text}\n \n {author}\n \n {info}\n
\n
\n ))}\n
\n
\n
\n
\n
\n );\n};\n","export default __webpack_public_path__ + \"static/media/inTheCommunity.3747a324.jpg\";","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n container: {\n backgroundColor: colors.basic.white,\n paddingTop: 40,\n\n [theme.breakpoints.up('sm')]: {\n paddingTop: 48,\n },\n\n [theme.breakpoints.up('md')]: {\n paddingTop: 96,\n },\n },\n\n containerShadow: {\n [theme.breakpoints.up('sm')]: {\n boxShadow: '0px 0px 16px rgba(134, 145, 166, 0.16)',\n },\n },\n title: {\n marginBottom: 32,\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 8,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 11,\n },\n },\n img: {\n width: '100%',\n objectFit: 'cover',\n },\n flexContainer: {\n marginBottom: 64,\n\n [theme.breakpoints.up('sm')]: {\n display: 'flex',\n marginBottom: 48,\n\n '& > *': {\n display: 'flex',\n flexDirection: 'column',\n },\n\n '& > *:nth-child(1)': {\n order: 2,\n width: '54%',\n },\n\n '& > *:nth-child(2)': {\n order: 1,\n width: '46%',\n\n '& > img': {\n flexBasis: 0,\n flexGrow: 1,\n overflowY: 'auto',\n },\n },\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 96,\n\n '& > *:nth-child(1)': {\n width: '42%',\n },\n\n '& > *:nth-child(2)': {\n width: '58%',\n },\n },\n },\n content: {\n [theme.breakpoints.up('sm')]: {\n padding: '48px 54.5px 68px',\n },\n\n [theme.breakpoints.up('md')]: {\n padding: '48px 109px 27px 49px',\n },\n },\n}));\n","import React from 'react';\nimport { Typography, Hidden } from '@material-ui/core';\n\nimport { Container } from 'common/app/home/container/Container';\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport inTheCommunityImg from 'common/assets/images/inTheCommunity.jpg';\n\nimport { useStyles } from './InTheCommunity.styles';\n\nexport const InTheCommunity = () => {\n const styles = useStyles();\n\n return (\n \n
\n \n \n College HUNKS: In the Community\n \n \n\n
\n
\n \n \n College HUNKS: In the Community\n \n \n \n Part of our company mission is to become a values-based, socially conscious brand. To support this\n mission, we're partnered with local charities to donate or recycle your unwanted items, provide meals to\n the hungry, and safely move domestic violence victims at a discounted rate. We strive to Move the World -\n not just physically but emotionally too.\n \n
\n
\n \n
\n
\n
\n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const HeroImgDecorationSmall = ({ className }: { className?: string }) => {\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const HeroImgDecorationBig = ({ className }: { className?: string }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n maxWidth: 1244,\n margin: '0 auto',\n paddingBottom: 72,\n backgroundColor: colors.basic.white,\n\n [theme.breakpoints.up('sm')]: {\n paddingTop: 56,\n paddingBottom: 80,\n },\n\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexDirection: 'row-reverse',\n justifyContent: 'space-between',\n paddingLeft: 16,\n paddingRight: 16,\n },\n },\n imgContainer: {\n width: '100%',\n position: 'relative',\n height: 295,\n\n [theme.breakpoints.up('sm')]: {\n width: 'calc(100vw - 80px - 16px)', // -80px of margins and 16 is additional space\n maxWidth: 616,\n height: 592,\n marginLeft: 50,\n\n marginRight: 30, // cover translate() in ::after\n\n '&::after': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n top: 0,\n left: 0,\n bottom: 0,\n right: 0,\n transform: 'translate(30px, 30px)',\n backgroundColor: 'transparent',\n border: `3px solid ${colors.primary.main}`,\n\n [theme.breakpoints.up('md')]: {\n transform: 'translate(64px, 48px)',\n },\n },\n },\n\n [theme.breakpoints.up('md')]: {\n maxWidth: 'auto',\n width: 608,\n height: 496,\n marginRight: 64, // cover translate() in ::after\n marginLeft: 40, // cover half of width \"imgDecorationBig\"\n },\n },\n imgWrapper: {\n height: '100%',\n width: '100%',\n opacity: 0.7,\n\n '& img': {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n },\n },\n imgDecorationSmall: {\n position: 'absolute',\n left: 0,\n bottom: 0,\n transform: 'translateY(50%)',\n },\n imgDecorationBig: {\n display: 'block',\n position: 'absolute',\n left: 0,\n top: 0,\n transform: 'translateX(-50%)',\n },\n title: {\n color: colors.grey190,\n padding: '0 24px',\n margin: '96px 0 48px',\n\n [theme.breakpoints.up('sm')]: {\n ...theme.typography.h2,\n maxWidth: 480,\n margin: '64px 0 32px 56px',\n padding: 0,\n },\n\n [theme.breakpoints.up('md')]: {\n marginTop: 80,\n maxWidth: 376,\n },\n },\n importantTitlePart: {\n color: colors.primary.main,\n },\n button: {\n margin: '0 16px',\n minWidth: 150,\n\n [theme.breakpoints.up('sm')]: {\n margin: 0,\n marginLeft: 48,\n\n '& button': {\n maxWidth: 248,\n },\n },\n\n [theme.breakpoints.up('md')]: {\n marginLeft: 56,\n },\n },\n}));\n","import React, { useCallback, useMemo } from 'react';\nimport { Typography, useTheme, useMediaQuery } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\nimport reactStringReplace from 'react-string-replace';\n\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport { HeroImgDecorationSmall } from 'common/assets/icons/HeroImgDecorationSmall';\nimport { HeroImgDecorationBig } from 'common/assets/icons/HeroImgDecorationBig';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\n\nimport { useStyles } from './PartnerHero.styles';\n\nexport const PartnerHero = () => {\n const styles = useStyles();\n const theme = useTheme();\n const isMobile = useMediaQuery(theme.breakpoints.down('xs'));\n const isDesktop = useMediaQuery(theme.breakpoints.up('md'));\n const { partnerData } = useFormState();\n\n const handleClick = useCallback(() => {\n // had to manually calculate distance to top, because scrollIntoView was not working on safari,\n // that's probably because element has property scrollTop = 0, which is not true.\n const serviceBoxesDistanceToTop =\n window.pageYOffset + (document.getElementById('service-boxes')?.getBoundingClientRect().top || 0);\n\n serviceBoxesDistanceToTop && window.scroll({ top: serviceBoxesDistanceToTop, left: 0, behavior: 'smooth' });\n }, []);\n\n const heroTitle = useMemo(() => {\n return reactStringReplace(partnerData?.heroTitle, /\\*(.*?)\\*/g, (match, i) => (\n \n {match}\n \n ));\n }, [partnerData?.heroTitle, styles.importantTitlePart]);\n\n return (\n
\n
\n
\n \n
\n {isMobile && }\n {isDesktop && }\n
\n\n
\n \n {heroTitle}\n \n\n \n
\n
\n );\n};\n","import React, { useCallback, useMemo } from 'react';\nimport { Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\n\nimport { Container } from 'common/app/home/container/Container';\n// import { CallMeNowModalContainer } from 'common/app/callMeNowModal/CallMeNowModalContainer';\nimport { useResetState } from 'common/hooks/useResetState/useResetState';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { serviceBoxesData } from 'common/utils/serviceBoxesData';\nimport { useFeatureFlags } from 'common/hooks/use-feature-flags/use-feature-flags';\n\nimport { useStyles } from './Home.styles';\nimport { ServiceCard } from './serviceCard/ServiceCard';\nimport { AboutHunks } from './aboutHunks/AboutHunks';\nimport { WhyHunks } from './whyHunks/WhyHunks';\nimport { HappyCustomers } from './happyCustomers/HappyCustomers';\nimport { InTheCommunity } from './inTheCommunity/InTheCommunity';\nimport { PartnerHero } from './partnerHero/PartnerHero';\n\nexport const Home = () => {\n const styles = useStyles();\n\n const { location, push } = useHistory();\n\n const { isPartner, partnerData } = useFormState();\n\n const { toggles } = useFeatureFlags();\n const resetState = useResetState();\n\n const serviceBoxes = useMemo(\n () =>\n serviceBoxesData(\n partnerData?.partnerName,\n toggles.PartnerManagement_OnlineBooking_ConfigureCategories ? partnerData?.disabledCategories : [],\n ),\n [\n partnerData?.partnerName,\n partnerData?.disabledCategories,\n toggles.PartnerManagement_OnlineBooking_ConfigureCategories,\n ],\n );\n\n const handleServiceClick = useCallback(\n (route: string) => {\n resetState();\n\n push(route);\n },\n [location.search, push, resetState],\n );\n\n return (\n
\n {isPartner && }\n\n \n \n {isPartner && 'Select your service below to get started:'}\n {!isPartner && (\n <>\n Select your service below and get a free estimate from{' '}\n college H.U.N.K.S.\n \n )}\n \n\n
\n {serviceBoxes.map(({ icon, title, subTitle, discount, route }) => (\n handleServiceClick(route)}\n />\n ))}\n
\n
\n\n {isPartner && (\n <>\n \n \n \n \n \n )}\n\n {/* TODO CALLMNOW: modal hidden for now */}\n {/* */}\n
\n );\n};\n","import React from 'react';\n\nimport { MovingIcon } from 'common/assets/icons/MovingIcon';\nimport { junkRemovalRoutes, laborRoutes, movingRoutes } from 'common/routing/AppRoute';\nimport { JunkRemovalIcon } from 'common/assets/icons/JunkRemovalIcon';\nimport { LaborIcon } from 'common/assets/icons/LaborIcon';\nimport { CategoryIdEnum } from 'common/api/types';\n\nimport { PARTNER_NAME } from './env-variables';\n\nexport const serviceBoxesData = (\n partnerName?: string,\n disabledCategories?: number[],\n): {\n id: number;\n icon: JSX.Element;\n title: string | JSX.Element;\n discount?: string | JSX.Element;\n subTitle: string;\n route: string;\n}[] => {\n const isPlaceForMom = partnerName === PARTNER_NAME;\n\n return [\n ...(!disabledCategories?.includes(CategoryIdEnum.move)\n ? [\n {\n id: CategoryIdEnum.move,\n icon: ,\n title: isPlaceForMom ? 'Full Service Moving' : 'Moving',\n discount: isPlaceForMom ?
$50 discount
: undefined,\n subTitle: isPlaceForMom\n ? 'Options to meet the needs of each transition; done with a focus on Trust, Care and the utmost in Safety'\n : 'Let us do the heavy lifting so you can move into your home with ease.',\n route: movingRoutes.step5,\n },\n ]\n : []),\n ...(!disabledCategories?.includes(CategoryIdEnum.junk)\n ? [\n {\n id: CategoryIdEnum.junk,\n icon: ,\n title: isPlaceForMom ? (\n 'Downsizing Support'\n ) : (\n <>\n Junk removal /\n
\n donation pickup\n \n ),\n discount: isPlaceForMom ? (\n <>\n
full truck - $50 off
\n
1/2 Truck or more - $25 off
\n \n ) : undefined,\n subTitle: isPlaceForMom\n ? 'Mindful and compassionate donation delivery, storage, repurposing and disposal of furniture and other items that are not to be moved into the new home.'\n : 'Declutter your home in an eco-friendly way with the H.U.N.K.S.',\n route: junkRemovalRoutes.step2,\n },\n ]\n : []),\n ...(!disabledCategories?.includes(CategoryIdEnum.labor)\n ? [\n {\n id: CategoryIdEnum.labor,\n icon: ,\n title: isPlaceForMom ? 'Hourly services' : 'Labor (other)',\n discount: isPlaceForMom ?
$25 discount
: undefined,\n subTitle: isPlaceForMom\n ? \"Need a hand? We're happy to pack or lend some muscle to get fully set up.\"\n : \"Need a hand? We're happy to pack or lend some muscle within your home.\",\n route: laborRoutes.step2,\n },\n ]\n : []),\n ];\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n container: {\n [theme.breakpoints.down('xs')]: {\n marginTop: 16,\n },\n },\n gridItem: {\n padding: 6,\n },\n}));\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const CheckIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles({\n index: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n\n margin: '0 12px 0 4px',\n width: 16,\n height: 16,\n borderRadius: '50%',\n backgroundColor: colors.grey20,\n fontSize: 14,\n lineHeight: '17px',\n },\n text: {\n fontSize: 16,\n },\n textDisabled: {\n color: colors.grey80,\n },\n icon: {\n fontSize: 24,\n marginRight: 8,\n },\n item: {\n fontSize: 16,\n display: 'flex',\n alignItems: 'center',\n color: colors.grey140,\n textDecoration: 'none',\n cursor: 'default',\n },\n checkedItem: {\n color: colors.secondary.main,\n cursor: 'pointer',\n },\n activeItem: {\n color: colors.primary.main,\n },\n activeIndex: {\n marginRight: 12,\n },\n cursor: {\n cursor: 'pointer',\n },\n});\n","import React, { useCallback, useMemo } from 'react';\nimport { Typography } from '@material-ui/core';\nimport { NavLink, useHistory } from 'react-router-dom';\nimport clsx from 'clsx';\n\nimport { CheckIcon } from 'common/assets/icons/CheckIcon';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\n\nimport { AsideNavbarItemProps } from './AsideNavbarItem.types';\nimport { useStyles } from './AsideNavbarItem.styles';\n\nexport const AsideNavbarItem = ({ index, item, isMobile }: AsideNavbarItemProps) => {\n const styles = useStyles();\n const { location } = useHistory();\n const { isCallRequired } = useFormState();\n const { route, title, isDone, isOptional, isDisabled } = item;\n\n const isActive = useMemo(() => location.pathname === route, [location.pathname, route]);\n const isChecked = useMemo(() => !isActive && isDone && !isDisabled, [isActive, isDone, isDisabled]);\n const isOptionalGreyOut = useMemo(() => !!isOptional && isCallRequired !== false, [isOptional, isCallRequired]);\n\n const handleClick = useCallback(\n (e) => {\n if (isDisabled && !isActive) {\n e.preventDefault();\n }\n },\n [isActive, isDisabled],\n );\n\n // do not display current active item on mobiles\n if (isMobile && isActive) return null;\n return (\n \n {isChecked ? (\n \n ) : (\n \n {index + 1}\n \n )}\n\n \n {title}\n {isOptionalGreyOut && '*'}\n \n \n );\n};\n","import { AsideNavBarItem, CheckIfNavItemIsDisabled, GetNavItemsWithState } from './AsideNavbar.types';\n\nconst checkIfNavItemIsDisabled = ({ navItems, currentItem, isDone, isCallRequired }: CheckIfNavItemIsDisabled) => {\n if (navItems.length === 0) return false; // first navbar item -> always NOT disabled\n const previousItems = navItems.filter((_, i) => i < navItems.length);\n\n if (currentItem.isOptional) {\n // CASE FOR OPTIONAL STEPS (step6&7 moving): if call is NOT isCallRequired, then it's normal case,\n // if not, step should be always disabled\n return isCallRequired !== false ? true : !!previousItems.find((item) => !item.isDone) && !isDone;\n } else {\n // EDGE CASE FOR MOVING: for Summary step (id=8) if callRequired is true, then step 6&7 disabled\n // and Summary step is only NOT disabled, if step5 (contact information) isDone\n if (currentItem.id === 8 && isCallRequired !== false) {\n return !navItems.find((navItem) => navItem.id === 5)?.isDone;\n }\n // NORMAL CASE: if previous step is NOT done, then current state is disabled\n return !!previousItems.find((item) => !item.isDone) && !isDone;\n }\n};\n\nexport const getNavItemsWithState = ({\n data,\n serviceType,\n filledStepsNames,\n isCallRequired,\n}: GetNavItemsWithState): AsideNavBarItem[] => {\n return data[serviceType].reduce((reduced, currentItem) => {\n const isDone = filledStepsNames.includes(currentItem.step); // if key is present in formState (ex. formState.junkRemoval?.step1) then it means step is filled correctly\n const navBarItemWithState = {\n ...currentItem,\n isDone: isDone,\n isDisabled: checkIfNavItemIsDisabled({ navItems: reduced, currentItem, isDone, isCallRequired }),\n };\n\n return [...reduced, navBarItemWithState];\n }, [] as AsideNavBarItem[]);\n};\n","import { AppRoute, CommonRoute } from 'common/routing/AppRoute';\n\nexport enum MovingRoute {\n step1 = '/starting-address/',\n step2 = '/ending-address/',\n step3 = '/special-items/',\n step4 = '/calendar-windows/',\n step5 = '/your-contact-information/',\n step6 = '/job-time/',\n step7 = '/pricing/',\n step8 = '/summary/',\n prepayment = '/prepayment/',\n alldonePrepayment = '/prepayment-confirmation/',\n alldonePrepaymentError = '/prepayment-declined/',\n}\n\nexport const movingRoutes = {\n step1: `${AppRoute.moving}${MovingRoute.step1}`,\n step2: `${AppRoute.moving}${MovingRoute.step2}`,\n step3: `${AppRoute.moving}${MovingRoute.step3}`,\n step4: `${AppRoute.moving}${MovingRoute.step4}`,\n step5: `${AppRoute.moving}${MovingRoute.step5}`,\n step6: `${AppRoute.moving}${MovingRoute.step6}`,\n step7: `${AppRoute.moving}${MovingRoute.step7}`,\n step8: `${AppRoute.moving}${MovingRoute.step8}`,\n prepayment: `${AppRoute.moving}${MovingRoute.prepayment}`,\n unserviced: `${AppRoute.moving}${CommonRoute.unserviced}`,\n processing: `${AppRoute.moving}${CommonRoute.processingRequest}`,\n alldone: `${AppRoute.moving}${CommonRoute.allDone}`,\n alldonePrepayment: `${AppRoute.moving}${MovingRoute.alldonePrepayment}`,\n alldonePrepaymentError: `${AppRoute.moving}${MovingRoute.alldonePrepaymentError}`,\n};\n","import { movingRoutes as movingVerBRoutes } from 'bMove/routing/AppRoute';\nimport { junkRemovalRoutes, laborRoutes, movingRoutes } from 'common/routing/AppRoute';\nimport { AsideNavbarData } from 'common/ui/asideNavbar/AsideNavbar.types';\n\n// key \"step\" must be the same as formState.junkRemoval or formState.moving or formState.labor KEYS\nexport const asideNavbarData: AsideNavbarData = {\n junkRemoval: [\n {\n id: 2,\n step: 'step2',\n title: 'contact information',\n route: junkRemovalRoutes.step2,\n },\n {\n id: 1,\n step: 'step1',\n title: 'your location',\n route: junkRemovalRoutes.step1,\n },\n {\n id: 3,\n step: 'step3',\n title: 'job date',\n route: junkRemovalRoutes.step3,\n },\n {\n id: 4,\n step: 'step4',\n title: 'number of items',\n route: junkRemovalRoutes.step4,\n },\n {\n id: 5,\n step: 'step5',\n title: 'pricing',\n route: junkRemovalRoutes.step5,\n },\n // TODO SUMMARY: commented summary step in junk removal for now\n // {\n // id: 6,\n // step: 'step6',\n // title: 'summary',\n // route: junkRemovalRoutes.step6,\n // },\n ],\n moving: [\n {\n id: 5,\n step: 'step5',\n title: 'contact information',\n route: movingRoutes.step5,\n },\n {\n id: 1,\n step: 'step1',\n title: 'moving from',\n route: movingRoutes.step1,\n },\n {\n id: 2,\n step: 'step2',\n title: 'moving to',\n route: movingRoutes.step2,\n },\n {\n id: 3,\n step: 'step3',\n title: 'special items',\n route: movingRoutes.step3,\n },\n {\n id: 4,\n step: 'step4',\n title: 'job date',\n route: movingRoutes.step4,\n },\n {\n id: 6,\n step: 'step6',\n title: 'summary',\n route: movingRoutes.step6,\n },\n ],\n labor: [\n {\n id: 2,\n step: 'step2',\n title: 'contact information',\n route: laborRoutes.step2,\n },\n {\n id: 1,\n step: 'step1',\n title: 'your location',\n route: laborRoutes.step1,\n },\n {\n id: 3,\n step: 'step3',\n title: 'summary',\n route: laborRoutes.step3,\n },\n ],\n};\n\nexport const asideNavbarVerBData: AsideNavbarData = {\n junkRemoval: [\n {\n id: 2,\n step: 'step2',\n title: 'contact information',\n route: junkRemovalRoutes.step2,\n },\n {\n id: 1,\n step: 'step1',\n title: 'your location',\n route: junkRemovalRoutes.step1,\n },\n {\n id: 3,\n step: 'step3',\n title: 'job date',\n route: junkRemovalRoutes.step3,\n },\n {\n id: 4,\n step: 'step4',\n title: 'number of items',\n route: junkRemovalRoutes.step4,\n },\n {\n id: 5,\n step: 'step5',\n title: 'pricing',\n route: junkRemovalRoutes.step5,\n },\n // TODO SUMMARY: commented summary step in junk removal for now\n // {\n // id: 6,\n // step: 'step6',\n // title: 'summary',\n // route: junkRemovalRoutes.step6,\n // },\n ],\n moving: [\n {\n id: 5,\n step: 'step5',\n title: 'contact information',\n route: movingVerBRoutes.step5,\n },\n {\n id: 1,\n step: 'step1',\n title: 'moving from',\n route: movingVerBRoutes.step1,\n },\n {\n id: 2,\n step: 'step2',\n title: 'moving to',\n route: movingVerBRoutes.step2,\n },\n {\n id: 3,\n step: 'step3',\n title: 'special items',\n route: movingVerBRoutes.step3,\n },\n {\n id: 4,\n step: 'step4',\n title: 'job date',\n route: movingVerBRoutes.step4,\n },\n {\n id: 6,\n step: 'step6',\n title: 'job time',\n route: movingVerBRoutes.step6,\n isOptional: true,\n },\n {\n id: 7,\n step: 'step7',\n title: 'pricing',\n route: movingVerBRoutes.step7,\n isOptional: true,\n },\n {\n id: 8,\n step: 'step8',\n title: 'summary',\n route: movingVerBRoutes.step8,\n },\n ],\n labor: [\n {\n id: 2,\n step: 'step2',\n title: 'contact information',\n route: laborRoutes.step2,\n },\n {\n id: 1,\n step: 'step1',\n title: 'your location',\n route: laborRoutes.step1,\n },\n {\n id: 3,\n step: 'step3',\n title: 'summary',\n route: laborRoutes.step3,\n },\n ],\n};\n","import React, { useMemo } from 'react';\nimport { Grid } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\nimport clsx from 'clsx';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { useJunkRemovalStateContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { useLaborStateContext } from 'common/hooks/useLabor/useLabor';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { useMovingOptionalStateContext } from 'aMove/hooks/useMoving/useMoving';\nimport { useMovingVerBOptionalStateContext } from 'bMove/hooks/useMoving/useMoving';\n\nimport { AsideNavBarItem, AsideNavbarProps } from './AsideNavbar.types';\nimport { useStyles } from './AsideNavbar.styles';\nimport { AsideNavbarItem } from './asideNavbarItem/AsideNavbarItem';\nimport { getNavItemsWithState } from './AsideNavbar.utils';\nimport { asideNavbarData, asideNavbarVerBData } from './AsideNavbar.data';\n\nexport const AsideNavbar = ({ type, mobileVersionType }: AsideNavbarProps) => {\n const styles = useStyles();\n const { isCallRequired } = useFormState();\n const { junkRemoval } = useJunkRemovalStateContext();\n const { labor } = useLaborStateContext();\n const movingState = useMovingOptionalStateContext();\n const movingVerBState = useMovingVerBOptionalStateContext();\n const { moveVer } = useVersionContext();\n const { location } = useHistory();\n\n const asideNavbarDataCorrectVersion = useMemo(() => {\n return moveVer === 'A' ? asideNavbarData : asideNavbarVerBData;\n }, [moveVer]);\n\n // if key is present in formState (ex. formState.junkRemoval?.step1) then it means step is filled correctly\n const filledStepsNames = useMemo(() => {\n if (type === 'junkRemoval') return Object.keys(junkRemoval);\n if (type === 'moving' && moveVer === 'A' && movingState) return Object.keys(movingState.moving);\n if (type === 'moving' && moveVer === 'B' && movingVerBState) return Object.keys(movingVerBState.moving);\n if (type === 'labor') return Object.keys(labor);\n return [];\n }, [junkRemoval, movingState, movingVerBState, labor, type, moveVer]);\n\n const mappedData: AsideNavBarItem[] = useMemo(() => {\n const data = getNavItemsWithState({\n data: asideNavbarDataCorrectVersion,\n filledStepsNames,\n serviceType: type,\n isCallRequired,\n });\n\n if (!mobileVersionType) return data;\n\n const activeItemId = data.find((item) => item.route === location.pathname)?.id;\n\n /**\n * partOfNavData explanation:\n * on mobiles AsideNavbar is split to 2 navbars, on first one (mobileVersionType === 'prevItems') should be displayed nav-items before\n * the current-active one, the second one (mobileVersionType === 'nextItems') should display nav-items after the current-active one\n */\n const partOfNavData = data.filter(({ id }) => {\n if (!activeItemId) return false;\n return mobileVersionType === 'prevItems' ? id < activeItemId : id >= activeItemId;\n });\n\n return partOfNavData;\n }, [asideNavbarDataCorrectVersion, isCallRequired, type, mobileVersionType, location.pathname, filledStepsNames]);\n\n return (\n \n {mappedData.map((item, index) => (\n \n \n \n ))}\n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n breadcrumbs: {\n padding: '16px 16.5px 0',\n\n [theme.breakpoints.up('md')]: {\n paddingLeft: 0,\n paddingRight: 0,\n },\n\n '& .MuiBreadcrumbs-separator': {\n margin: '0 3px',\n },\n\n '& .MuiTypography-root': {\n fontSize: 14,\n lineHeight: '17px',\n textTransform: 'lowercase',\n },\n '& p:not(:first-child)': {\n color: colors.grey190,\n },\n },\n home: {\n textDecoration: 'underline',\n color: colors.secondary.main,\n display: 'block',\n '&:hover': {\n cursor: 'pointer',\n },\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Breadcrumbs as MuiBreadcrumbs, Typography } from '@material-ui/core';\nimport { useHistory } from 'react-router-dom';\n\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { AppRoute } from 'common/routing/AppRoute';\n\nimport { useStyles } from './Breadcrumbs.styles';\nimport { breadcrumbsData, breadcrumbsDataVerB } from './Breadcrumbs.data';\n\nexport const Breadcrumbs = () => {\n const styles = useStyles();\n const { moveVer } = useVersionContext();\n const { partnerData } = useFormState();\n\n const {\n push,\n location: { pathname },\n } = useHistory();\n\n const breadcrumbsDataCorrectVersion = useMemo(\n () => (moveVer === 'A' ? breadcrumbsData(partnerData?.partnerName) : breadcrumbsDataVerB(partnerData?.partnerName)),\n [moveVer, partnerData?.partnerName],\n );\n\n const breadcrumbsItems = useMemo(() => {\n const items: string[] = [];\n breadcrumbsDataCorrectVersion.forEach((crumb) => pathname.includes(crumb.path) && items.push(crumb.breadcrumb));\n return items;\n }, [pathname, breadcrumbsDataCorrectVersion]);\n\n const breadcrumbsItemsUnique = useMemo(() => [...new Set(breadcrumbsItems)], [breadcrumbsItems]);\n\n return (\n \n push(AppRoute.home)} className={styles.home}>\n services\n \n\n {breadcrumbsItemsUnique.map((item, index) => (\n {item}\n ))}\n \n );\n};\n","import { AppRoute, JunkRemovalRoute, LaborRoute, MovingRoute } from 'common/routing/AppRoute';\nimport { MovingRoute as MovingRouteVerB } from 'bMove/routing/AppRoute';\nimport { PARTNER_NAME } from 'common/utils/env-variables';\n\n// routes names are listed in [CHHJ-463]\nexport const breadcrumbsData = (partnerName?: string) => {\n const isPlaceForMom = partnerName === PARTNER_NAME;\n\n return [\n {\n path: `${AppRoute.junkRemoval}`,\n breadcrumb: isPlaceForMom ? 'downsizing support' : 'junk removal',\n },\n {\n path: `${AppRoute.moving}`,\n breadcrumb: 'moving',\n },\n {\n path: `${AppRoute.labor}`,\n breadcrumb: 'labor',\n },\n {\n path: `${JunkRemovalRoute.step1}`,\n breadcrumb: 'your location',\n },\n {\n path: `${JunkRemovalRoute.step2}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${JunkRemovalRoute.step3}`,\n breadcrumb: 'job date',\n },\n {\n path: `${JunkRemovalRoute.step4}`,\n breadcrumb: 'number of items',\n },\n {\n path: `${JunkRemovalRoute.step5}`,\n breadcrumb: 'pricing',\n },\n {\n path: `${JunkRemovalRoute.step6}`,\n breadcrumb: 'summary',\n },\n {\n path: `${MovingRoute.step1}`,\n breadcrumb: 'moving from',\n },\n {\n path: `${MovingRoute.step2}`,\n breadcrumb: 'moving to',\n },\n {\n path: `${MovingRoute.step3}`,\n breadcrumb: 'special items',\n },\n {\n path: `${MovingRoute.step4}`,\n breadcrumb: 'job date',\n },\n {\n path: `${MovingRoute.step5}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${MovingRoute.step6}`,\n breadcrumb: 'summary',\n },\n {\n path: `${LaborRoute.step1}`,\n breadcrumb: 'your location',\n },\n {\n path: `${LaborRoute.step2}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${LaborRoute.step3}`,\n breadcrumb: 'summary',\n },\n ];\n};\n\nexport const breadcrumbsDataVerB = (partnerName?: string) => {\n const isPlaceForMom = partnerName === PARTNER_NAME;\n\n return [\n {\n path: `${AppRoute.junkRemoval}`,\n breadcrumb: isPlaceForMom ? 'downsizing support' : 'junk removal',\n },\n {\n path: `${AppRoute.moving}`,\n breadcrumb: 'moving',\n },\n {\n path: `${AppRoute.labor}`,\n breadcrumb: 'labor',\n },\n {\n path: `${JunkRemovalRoute.step1}`,\n breadcrumb: 'your location',\n },\n {\n path: `${JunkRemovalRoute.step2}`,\n breadcrumb: 'job date',\n },\n {\n path: `${JunkRemovalRoute.step3}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${JunkRemovalRoute.step4}`,\n breadcrumb: 'number of items',\n },\n {\n path: `${JunkRemovalRoute.step5}`,\n breadcrumb: 'pricing',\n },\n {\n path: `${JunkRemovalRoute.step6}`,\n breadcrumb: 'summary',\n },\n {\n path: `${MovingRouteVerB.step1}`,\n breadcrumb: 'moving from',\n },\n {\n path: `${MovingRouteVerB.step2}`,\n breadcrumb: 'moving to',\n },\n {\n path: `${MovingRouteVerB.step3}`,\n breadcrumb: 'special items',\n },\n {\n path: `${MovingRouteVerB.step4}`,\n breadcrumb: 'job date',\n },\n {\n path: `${MovingRouteVerB.step5}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${MovingRouteVerB.step6}`,\n breadcrumb: 'job time',\n },\n {\n path: `${MovingRouteVerB.step7}`,\n breadcrumb: 'pricing',\n },\n {\n path: `${MovingRouteVerB.step8}`,\n breadcrumb: 'summary',\n },\n {\n path: `${MovingRouteVerB.prepayment}`,\n breadcrumb: 'prepayment',\n },\n {\n path: `${LaborRoute.step1}`,\n breadcrumb: 'your location',\n },\n {\n path: `${LaborRoute.step2}`,\n breadcrumb: 'contact information',\n },\n {\n path: `${LaborRoute.step3}`,\n breadcrumb: 'summary',\n },\n ];\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nconst leftSpacing = '10vw';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n flexGrow: 1,\n\n display: 'flex',\n flexDirection: 'column',\n },\n headerWrapper: {\n [theme.breakpoints.up('sm')]: {\n boxShadow: '0px 0px 4px rgba(0, 0, 0, 0.08)',\n },\n\n [theme.breakpoints.up('md')]: {\n paddingLeft: leftSpacing,\n },\n [theme.breakpoints.up('lg')]: {\n paddingLeft: `calc(${leftSpacing} + 8vw)`,\n },\n [theme.breakpoints.up('xl')]: {\n paddingLeft: `calc(${leftSpacing} + 16vw)`,\n },\n },\n header: {\n color: colors.basic.black,\n padding: '32px 16.5px 0px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '32px 24px 16px',\n },\n\n [theme.breakpoints.up('md')]: {\n paddingTop: '16px',\n paddingLeft: 0,\n },\n },\n gridContainer: {\n flexGrow: 1,\n\n display: 'flex',\n flexDirection: 'column',\n padding: '0 16.5px',\n\n [theme.breakpoints.up('sm')]: {\n flexDirection: 'row-reverse',\n paddingRight: 0,\n paddingLeft: 24,\n height: 'calc(100% - 120px)',\n\n '& > *:nth-child(1)': {\n width: '71%',\n },\n '& > *:nth-child(2)': {\n width: '29%',\n },\n },\n\n [theme.breakpoints.up('md')]: {\n paddingLeft: leftSpacing,\n height: 'calc(100% - 104px)',\n\n '& > *:nth-child(1)': {\n width: '80%',\n },\n '& > *:nth-child(2)': {\n width: '20%',\n },\n },\n\n [theme.breakpoints.up('lg')]: {\n paddingLeft: `calc(${leftSpacing} + 8vw)`,\n },\n [theme.breakpoints.up('xl')]: {\n paddingLeft: `calc(${leftSpacing} + 16vw)`,\n },\n },\n section: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n padding: '32px 0 16px',\n backgroundColor: colors.grey10,\n\n [theme.breakpoints.up('sm')]: {\n padding: '24px 48px 46px',\n },\n\n [theme.breakpoints.up('md')]: {\n paddingBottom: 42,\n },\n },\n aside: {\n marginBottom: 29,\n paddingTop: 10,\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 0,\n paddingTop: 24,\n paddingLeft: 20,\n },\n\n [theme.breakpoints.up('md')]: {\n paddingLeft: 0,\n },\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Typography, Grid, useTheme, useMediaQuery } from '@material-ui/core';\n\n// import { CallMeNowModalContainer } from 'common/app/callMeNowModal/CallMeNowModalContainer';\nimport { AsideNavbar } from 'common/ui/asideNavbar/AsideNavbar';\nimport { Breadcrumbs } from 'common/ui/breadcrumbs/Breadcrumbs';\nimport { useScrollBehavior } from 'common/hooks/useScrollBehavior/useScrollBehavior';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { PARTNER_NAME } from 'common/utils/env-variables';\n\nimport { MainLayoutProps } from './MainLayout.types';\nimport { useStyles } from './MainLayout.styles';\n\nconst headerTextmap = (partnerName?: string) => ({\n junkRemoval: partnerName === PARTNER_NAME ? 'Downsizing support' : 'Junk removal',\n moving: 'Moving',\n labor: 'Labor',\n});\n\nexport const MainLayout = ({ type, children }: MainLayoutProps) => {\n const styles = useStyles();\n const theme = useTheme();\n const isMobile = useMediaQuery(theme.breakpoints.down('xs'));\n const { partnerData } = useFormState();\n\n useScrollBehavior();\n\n const headerText = useMemo(() => headerTextmap(partnerData?.partnerName)[type], [partnerData?.partnerName, type]);\n\n return (\n
\n
\n \n \n {headerText}\n \n
\n\n \n {isMobile && (\n \n \n \n )}\n\n \n {children}\n \n\n \n \n \n \n
\n\n // {/* TODO CALLMNOW: modal hidden for now */}\n //
\n // {MainLayut code here}\n // {/* */}\n //
\n );\n};\n","import { useLayoutEffect } from 'react';\nimport { useLocation } from 'react-router';\nimport { useTheme, useMediaQuery } from '@material-ui/core';\n\n// Scroll to top (tablet/desktops) or to main section (like to title ex. \"2. job date\") if path changes\nexport const useScrollBehavior = () => {\n const theme = useTheme();\n const { pathname } = useLocation();\n const isMobile = useMediaQuery(theme.breakpoints.down('xs'));\n const scrollToElementId = isMobile ? 'main' : 'header';\n\n useLayoutEffect(() => {\n document.getElementById(scrollToElementId)?.scrollIntoView({ behavior: 'smooth' });\n }, [pathname, scrollToElementId]);\n};\n","import React from 'react';\nimport { Route } from 'react-router';\n\nimport { MainLayout } from 'common/ui/mainLayout/MainLayout';\n\nimport { LayoutRouteProps } from './LayoutRoute.types';\n\nexport const LayoutRoute = ({ type, ...routeProps }: LayoutRouteProps) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n dropdown: {\n zIndex: theme.zIndex.modal,\n width: ({ dropdownWidth }: { dropdownWidth?: number }) => dropdownWidth,\n },\n dropdownItem: {\n paddingRight: 15,\n whiteSpace: 'normal',\n color: colors.grey120,\n fontSize: 14,\n lineHeight: '24px',\n padding: '8px 16px',\n letterSpacing: '0.15px',\n overflow: 'hidden',\n\n '&:nth-child(odd)': {\n backgroundColor: colors.grey10,\n },\n '&:hover': {\n backgroundColor: colors.grey20,\n },\n },\n activeDropdownItem: {\n '&&': {\n backgroundColor: colors.grey20,\n },\n },\n mainText: {\n fontWeight: 'bold',\n fontSize: 16,\n },\n searchQueryMatch: {\n color: colors.grey190,\n },\n input: {\n '& .MuiInputBase-input.MuiInputBase-inputAdornedEnd': {\n paddingRight: 50,\n },\n },\n checkIcon: {\n fontSize: '24px',\n position: 'absolute',\n right: 19,\n top: 0,\n color: colors.functionals.success,\n },\n}));\n","import React, { useState, useRef, useCallback } from 'react';\nimport { Input } from '@chhjit/react-components';\nimport { Paper, MenuItem, Popper, Fade, ClickAwayListener } from '@material-ui/core';\nimport clsx from 'clsx';\nimport PlacesAutocomplete, { geocodeByAddress, Suggestion } from 'react-places-autocomplete';\n\nimport { CheckIcon } from 'common/assets/icons/CheckIcon';\nimport { BillingAddress } from 'common/api/actions/account/accountActions.types';\n\nimport { useStyles } from './AddressAutocomplete.styles';\nimport { AddressAutocompleteProps } from './AddressAutocomplete.types';\n\n/**\n * Must be wrapped wrapped by GoogleScriptsController\n */\nexport const AddressAutocomplete = ({ label, onSelect, hasError, initialValue }: AddressAutocompleteProps) => {\n const [searchAddress, setSearchAddress] = useState(initialValue);\n const [isAddressSelected, setIsAddressSelected] = useState(!!initialValue);\n const anchorRef = useRef(null);\n const inputRef = useRef(null);\n const styles = useStyles({ dropdownWidth: anchorRef.current?.offsetWidth });\n\n const handleClose = useCallback((event: React.MouseEvent) => {\n if (anchorRef.current && anchorRef.current.contains(event.target as HTMLElement)) {\n return;\n }\n }, []);\n\n const getHighlightedText = useCallback(\n (text: Suggestion['formattedSuggestion']) => {\n const parts = text.mainText.split(new RegExp(`(${searchAddress})`, 'gi'));\n const highlightIndex = parts.findIndex((part) => part.toLowerCase() === searchAddress.toLowerCase());\n\n return (\n \n {parts.map((part, i) => (\n \n {part}\n \n ))}\n {', '}\n {text.secondaryText}\n \n );\n },\n [searchAddress, styles],\n );\n\n const handleSelect = useCallback(\n async (selectedAddress: string) => {\n const address = await geocodeByAddress(selectedAddress).then((results) => results[0]);\n const {\n geometry: { location },\n address_components,\n } = address;\n\n const fullAddress = createBillingAddress(address_components);\n setIsAddressSelected(true);\n onSelect({ location: { lat: location.lat(), lng: location.lng() }, fullAddress, inputValue: selectedAddress });\n },\n [onSelect],\n );\n\n return (\n
\n {\n setSearchAddress(address);\n\n if (isAddressSelected) {\n onSelect(null);\n setIsAddressSelected(false);\n }\n }}\n onSelect={(address) => {\n setSearchAddress(address);\n handleSelect(address);\n inputRef.current?.blur();\n }}\n searchOptions={{ componentRestrictions: { country: ['us', 'ca'] }, types: ['address'] }}\n >\n {({ getInputProps, suggestions, getSuggestionItemProps, loading }) => {\n return (\n <>\n }\n variant=\"outlined\"\n size=\"medium\"\n label={label}\n error={hasError}\n inputRef={inputRef}\n {...getInputProps()}\n className={styles.input}\n />\n\n \n {({ TransitionProps }) => (\n \n
\n \n \n {loading && (\n Loading...\n )}\n {suggestions.map((suggestion) => (\n \n {getHighlightedText(suggestion.formattedSuggestion)}\n \n ))}\n \n \n
\n
\n )}\n \n \n );\n }}\n \n
\n );\n};\n\nconst createBillingAddress = (addressComponents: google.maps.GeocoderAddressComponent[]) => {\n const billingAddress = {} as Partial;\n\n billingAddress.city = '';\n\n addressComponents.forEach((component) => {\n if (component.types.includes('country')) {\n billingAddress.country = component.short_name;\n return;\n }\n if (component.types.includes('locality')) {\n billingAddress.city = component.short_name;\n return;\n }\n // Proper US order of address1 should be ${street_number} ${route}\n if (component.types.includes('street_number')) {\n billingAddress.address = [component.short_name, billingAddress.address].filter(Boolean).join(' ');\n return;\n }\n if (component.types.includes('route')) {\n billingAddress.address = [billingAddress.address, component.short_name].filter(Boolean).join(' ');\n return;\n }\n if (component.types.includes('postal_code')) {\n billingAddress.postal = component.short_name;\n return;\n }\n if (component.types.includes('administrative_area_level_1')) {\n billingAddress.state = component.short_name;\n return;\n }\n if (component.types.includes('administrative_area_level_3')) {\n if (!billingAddress.city) {\n billingAddress.city = component.short_name;\n }\n return;\n }\n });\n\n return billingAddress;\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n map: {\n width: '100%',\n height: 90,\n\n [theme.breakpoints.up('md')]: {\n height: 114,\n },\n },\n}));\n","import React from 'react';\nimport { GoogleMap, Marker } from '@react-google-maps/api';\nimport { Collapse } from '@material-ui/core';\n\nimport { GoogleMapsProps } from './GoogleMaps.types';\nimport { useStyles } from './GoogleMaps.styles';\n\n/**\n * Must be wrapped wrapped by GoogleScriptsController\n */\nexport const GoogleMaps = ({ location }: GoogleMapsProps) => {\n const styles = useStyles();\n\n return (\n \n {location && (\n \n \n \n )}\n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n border: `1px solid ${colors.grey30}`,\n backgroundColor: colors.grey20,\n borderRadius: '4px',\n display: 'flex',\n alignItems: 'center',\n padding: 16,\n maxWidth: 343,\n margin: '32px 0 48px 0',\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 56,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 64,\n maxWidth: 376,\n },\n },\n fullWidth: {\n maxWidth: 'none',\n },\n icon: {\n fontSize: 48,\n fill: 'none',\n marginRight: 16,\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Typography } from '@material-ui/core';\nimport clsx from 'clsx';\n\nimport { EcoFriendlyIcon } from 'common/assets/icons/EcoFriendlyIcon';\nimport { ThreeStarsIcon } from 'common/assets/icons/ThreeStarsIcon';\nimport { RecyclingIcon } from 'common/assets/icons/RecyclingIcon';\nimport { HIcon } from 'common/assets/icons/HIcon';\nimport { DiamondIcon } from 'common/assets/icons/DiamondIcon';\nimport { MuscleIcon } from 'common/assets/icons/MuscleIcon';\nimport { LaborIcon } from 'common/assets/icons/LaborIcon';\nimport { MoveLaborIcon } from 'common/assets/icons/MoveLaborIcon';\nimport { JunkRemovalIcon } from 'common/assets/icons/JunkRemovalIcon';\n\nimport { TipBoxProps } from './TipBox.types';\nimport { useStyles } from './TipBox.styles';\n\nconst iconList = {\n ecoFriendly: EcoFriendlyIcon,\n recycling: RecyclingIcon,\n threeStars: ThreeStarsIcon,\n h: HIcon,\n diamond: DiamondIcon,\n muscle: MuscleIcon,\n labor: LaborIcon,\n moveLabor: MoveLaborIcon,\n junkRemoval: JunkRemovalIcon,\n};\n\nexport const TipBox = ({ iconName, className, fullWidth, children }: TipBoxProps) => {\n const styles = useStyles();\n\n const Icon = useMemo(() => iconList[iconName], [iconName]);\n\n return (\n
\n \n {children}\n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const EcoFriendlyIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const RecyclingIcon = ({ className }: { className?: string }) => {\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","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const ThreeStarsIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const HIcon = ({ className }: { className?: string }) => {\n return (\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';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const DiamondIcon = ({ className }: { className?: string }) => {\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","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const MuscleIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { colors } from '@chhjit/react-components';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const MoveLaborIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles({\n wrapper: {\n display: 'flex',\n justifyContent: 'space-between',\n maxWidth: 596, // 2x button width + desktop break between them\n\n '& > *': {\n maxWidth: 274,\n\n '&:nth-child(1)': {\n flexBasis: 'calc(50% - 9px)', // -9px cause right button twoTone is 8px+1px(border) wider\n },\n\n '&:nth-child(2)': {\n flexBasis: 'calc(50%)',\n marginRight: -8,\n\n '& .MuiButton-label div': {\n padding: 11,\n },\n },\n },\n },\n});\n","import React from 'react';\nimport clsx from 'clsx';\n\nimport { ButtonsGroupProps } from './ButtonsGroup.types';\nimport { useStyles } from './ButtonsGroup.styles';\n\nexport const ButtonsGroup = ({ children, className }: ButtonsGroupProps) => {\n const styles = useStyles();\n\n return
{children}
;\n};\n","import { BillingAddress } from 'common/api/actions/account/accountActions.types';\n\nexport const validateAddress = (fullAddr?: Partial | null) => {\n if (!fullAddr) return '*required';\n if (!fullAddr.address) return '*address is missing';\n // if (!fullAddr.city) return '*city is missing';\n if (!fullAddr.state) return '*state is missing';\n if (!fullAddr.country) return '*country is missing';\n if (!fullAddr.postal) return '*postal code is missing';\n return '';\n};\n","import { useCallback } from 'react';\nimport { useConfirmationDialog } from '@chhjit/react-components';\n\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useCheckPostalCode } from '../useCheckPostalCode/useCheckPostalCode';\nimport { useFormState } from '../useFormState/useFormState';\n\nexport const useComparePostalCode = ({\n categoryId,\n postal,\n onFail,\n}: {\n categoryId: CategoryIdEnum;\n postal?: string;\n onFail: (postal: string) => void;\n}) => {\n const { locationId, zoneId } = useFormState();\n\n const { openConfirmation, closeConfirmation } = useConfirmationDialog({\n title: 'zip/postal code mismatch',\n message:\n 'The zip/postal code entered in this step doesn’t match the code previously given. Let’s make sure your zip/postal code is still serviced by entering that code in step 1.',\n confirmButtonText: 'Reenter zip/postal code',\n hideCancelButton: true,\n hideDialogCloseButton: true,\n });\n\n const { checkPostalCode, isChecking } = useCheckPostalCode({\n category_id: categoryId,\n });\n\n const comparePostal = useCallback(\n async (newPostal: string) => {\n if (newPostal && !isChecking) {\n const { nearestLocationId, zoneId: newZoneId } = await checkPostalCode(newPostal);\n\n if (!(locationId === nearestLocationId && zoneId === newZoneId)) {\n openConfirmation(() => {\n onFail(newPostal);\n closeConfirmation();\n });\n }\n }\n },\n [checkPostalCode, closeConfirmation, isChecking, locationId, onFail, openConfirmation, zoneId],\n );\n\n return { comparePostal };\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n height: '100%',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n content: {\n maxWidth: 489,\n marginBottom: 'auto',\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n\n '& > *:not(:last-child)': {\n marginBottom: 16,\n },\n },\n tipBox: {\n marginTop: 'auto',\n },\n errorText: {\n // + default marginTop=3px. sum 24px\n minHeight: 17,\n marginBottom: 4,\n },\n}));\n","import React, { useState, useCallback, useEffect } from 'react';\nimport { Typography, FormControl, FormHelperText } from '@material-ui/core';\nimport { Button, Input } from '@chhjit/react-components';\nimport { useMutation } from 'react-fetching-library';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { useForm, Controller } from 'react-hook-form';\n\nimport { AddressAutocomplete } from 'common/ui/addressAutocomplete/AddressAutocomplete';\nimport { GoogleLocation } from 'common/ui/addressAutocomplete/AddressAutocomplete.types';\nimport { GoogleMaps } from 'common/ui/googleMaps/GoogleMaps';\nimport { BillingAddress } from 'common/api/actions/account/accountActions.types';\nimport { checkPostalCodeAction } from 'common/api/actions/booking/bookingActions';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { validateAddress } from 'common/utils/validations';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { useJunkRemovalContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { useResetState } from 'common/hooks/useResetState/useResetState';\nimport { useComparePostalCode } from 'common/hooks/useComparePostalCode/useComparePostalCode';\n\nimport { useStyles } from './JunkRemovalStep1.styles';\n\nexport const JunkRemovalStep1 = () => {\n const styles = useStyles();\n const history = useHistory();\n const { mutate, loading } = useMutation(checkPostalCodeAction);\n const { isRecreatingAccount } = useAccount();\n const [{ junkRemoval }, { junkRemovalDispatch }] = useJunkRemovalContext();\n const resetState = useResetState();\n const [googleMapsLocation, setGoogleMapsLocation] = useState(\n junkRemoval?.step1?.googleMapsLocation,\n );\n const { register, handleSubmit, control, setValue, watch, formState } = useForm({\n defaultValues: {\n fullAddress: junkRemoval?.step1?.fullAddress || undefined,\n address: junkRemoval?.step1?.address || '',\n apartment: junkRemoval?.step1?.fullAddress.address2 || '',\n },\n mode: 'onBlur',\n });\n const { errors, isDirty, isValid } = formState;\n\n useEffect(() => {\n register('address'); //field without physical input\n }, [register]);\n\n const shortAddress = watch('address');\n const fullAddress = watch('fullAddress');\n\n const { comparePostal } = useComparePostalCode({\n categoryId: CategoryIdEnum.junk,\n postal: junkRemoval.step2?.postal,\n onFail: (newPostal: string) => {\n if (junkRemoval.step2) {\n junkRemovalDispatch(\n junkRemovalActions.setStep2({\n ...junkRemoval.step2,\n postal: newPostal,\n }),\n );\n history.push(junkRemovalRoutes.step2);\n }\n },\n });\n\n useEffect(() => {\n if (comparePostal && fullAddress?.postal && fullAddress.postal !== '') {\n comparePostal(fullAddress.postal);\n }\n }, [fullAddress?.postal]);\n\n const handleSubmitCallback = useCallback(\n async ({\n fullAddress,\n address,\n apartment,\n }: {\n fullAddress?: BillingAddress;\n address: string;\n apartment: string;\n }) => {\n if (!isDirty) {\n history.push(junkRemovalRoutes.step3);\n return;\n }\n\n if (fullAddress) {\n const { payload } = await mutate({ postal: fullAddress.postal, job_category_id: CategoryIdEnum.junk });\n\n if (payload?.locations?.length) {\n const addressForApi = {\n ...fullAddress,\n address2: apartment,\n };\n\n if (googleMapsLocation) {\n junkRemovalDispatch(\n junkRemovalActions.setStep1({\n address,\n googleMapsLocation,\n fullAddress: addressForApi,\n }),\n );\n\n history.push(junkRemovalRoutes.step3);\n }\n } else {\n resetState();\n history.push(junkRemovalRoutes.unserviced);\n return;\n }\n }\n },\n [googleMapsLocation, resetState, junkRemovalDispatch, history, mutate, isDirty],\n );\n\n if (!junkRemoval?.step2) {\n return ;\n }\n\n return (\n
\n
\n 2. Your location\n\n \n Letting us know where you need service helps us provide availability and pricing specific to your location.\n \n\n \n {\n const addressError = validateAddress(fullAddr);\n return addressError || undefined;\n },\n }}\n name=\"fullAddress\"\n render={({ field: { onChange, onBlur } }) => {\n return (\n {\n onChange(values?.fullAddress || null);\n setValue('address', values?.inputValue || '');\n if (values?.location) setGoogleMapsLocation(values?.location);\n onBlur();\n }}\n hasError={!!errors.fullAddress}\n />\n );\n }}\n />\n \n {Object.values(errors?.fullAddress || {}).reduce((msg, item) => item.message || msg, '*required') ||\n '*required'}\n \n \n\n \n \n \n\n {googleMapsLocation && }\n\n \n We’ll do everything we can to give your items a second life. We donate or recycle up to 70%{' '}\n of the items we remove.\n \n
\n\n \n \n \n Next\n \n \n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const CloseIcon = ({ className, onClick }: { className?: string; onClick?: () => void }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n dialog: {\n position: 'relative',\n '& .MuiDialog-paper': {\n width: '100vw',\n margin: 0,\n overflow: 'hidden',\n [theme.breakpoints.up('sm')]: {\n maxWidth: 488,\n },\n },\n },\n content: {\n padding: '8px 16px 16px',\n },\n input: {\n '& input': {\n textTransform: 'uppercase',\n },\n },\n inputError: {\n margin: '4px 0 6px',\n lineHeight: '14px',\n fontSize: 14,\n height: 14,\n },\n headerAndCloseWrapper: {\n display: 'flex',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n },\n closeButton: {\n marginRight: -8,\n padding: 8,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n\n cursor: 'pointer',\n\n '& svg': {\n fontSize: 16,\n },\n },\n buttonsGroup: {\n justifyContent: 'flex-end',\n\n '& > *:nth-child(1)': {\n maxWidth: 80,\n marginRight: 8,\n },\n\n '& > *:nth-child(2)': {\n maxWidth: 144,\n },\n },\n}));\n","import React, { memo } from 'react';\nimport { Dialog, Box, Typography, FormControl, FormHelperText } from '@material-ui/core';\nimport { Input, Button } from '@chhjit/react-components';\nimport { useForm } from 'react-hook-form';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { CloseIcon } from 'common/assets/icons/CloseIcon';\n\nimport { useStyles } from './CorporateCodeModal.styles';\nimport { CorporateCodeModalProps } from './CorporateCodeModal.types';\n\nconst CorporateCodeModalRaw = ({ open, onClose, onSubmit, isLoading }: CorporateCodeModalProps) => {\n const styles = useStyles();\n const {\n handleSubmit,\n register,\n formState: { errors },\n } = useForm({\n mode: 'onBlur',\n defaultValues: { corporateCode: '' },\n });\n\n return (\n \n
\n
\n Provide your corporate code\n\n
\n \n
\n
\n\n \n \n {\n const withoutSpecialChars = value.replace(/_|-/g, '');\n if (withoutSpecialChars.length < 8) {\n return '*invalid corporate code';\n }\n },\n })}\n // name=\"corporateCode\"\n label=\"Your corporate code\"\n size=\"medium\"\n variant=\"outlined\"\n mask=\"corporate-code\"\n placeholder=\"__-__-__-__\"\n error={!!errors.corporateCode}\n className={styles.input}\n />\n {errors.corporateCode?.message}\n \n\n {/* TODO: uncomment this, when description text will be available */}\n {/* \n Where can I find my corporate code?\n \n\n \n Here’s a short description about finding corporate code, but it needs to be updated cause for now I don’t know\n where to find it.\n \n\n */}\n\n \n \n \n \n \n
\n );\n};\n\nexport const CorporateCodeModal = memo(CorporateCodeModalRaw);\n","import React, { useCallback } from 'react';\nimport { useAlert } from '@chhjit/react-components';\nimport { useMutation } from 'react-fetching-library';\n\nimport { mapPartnerResponseToStateData } from 'common/context/version/VersionContextController.utils';\nimport { getPartnerInfoAction } from 'common/api/actions/partner/partnerActions';\nimport { setPartnerData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\n\nimport { CorporateCodeModalContainerProps } from './CorporateCodeModal.types';\nimport { CorporateCodeModal } from './CorporateCodeModal';\n\nexport const CorporateCodeModalContainer = ({ open, onClose }: CorporateCodeModalContainerProps) => {\n const formDispatch = useFormDispatch();\n\n const { mutate: getPartnerInfoMutate, abort: abortGetPartnerInfo, loading: isGettingPartnerInfo } = useMutation(\n getPartnerInfoAction,\n );\n\n const { showAlert } = useAlert();\n\n const getPartnerInfo = useCallback(\n async (partnerToken: string) => {\n abortGetPartnerInfo();\n\n const subpartnerToken = partnerToken.replaceAll('-', '').toUpperCase();\n\n const { payload } = await getPartnerInfoMutate({\n subpartner_token: subpartnerToken,\n });\n\n const isError = !payload?.subpartners?.length || payload.meta.errors?.length;\n\n if (isError) {\n showAlert(`The corporate code \"${partnerToken.toUpperCase()}\" does not exist`, { variant: 'error' });\n\n return;\n }\n\n formDispatch(setPartnerData(mapPartnerResponseToStateData(payload.subpartners[0], partnerToken)));\n },\n [getPartnerInfoMutate, abortGetPartnerInfo, formDispatch, showAlert],\n );\n\n const handleSubmit = useCallback(\n async ({ corporateCode }: { corporateCode: string }) => {\n await getPartnerInfo(corporateCode);\n\n onClose();\n },\n [getPartnerInfo, onClose],\n );\n\n return ;\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles({\n margin: {\n '&:not(:last-child)': {\n marginBottom: 8,\n },\n },\n errorText: {\n fontSize: 12,\n lineHeight: '24px',\n color: colors.grey140,\n },\n input: {\n '& > input.MuiInputBase-input.MuiInputBase-inputAdornedEnd': {\n paddingRight: 50,\n },\n },\n checkIcon: {\n fontSize: '24px',\n position: 'absolute',\n right: 19,\n top: 0,\n color: colors.functionals.success,\n },\n});\n","import React, { useMemo } from 'react';\nimport { FormControl, FormHelperText } from '@material-ui/core';\nimport { Input } from '@chhjit/react-components';\nimport { useController } from 'react-hook-form';\n\nimport { CheckIcon } from 'common/assets/icons/CheckIcon';\n\nimport { useStyles } from './ContactInformationInput.styles';\nimport { ContactInformationInputProps } from './ContactInformationInput.types';\n\nexport const ContactInformationInput = ({\n name,\n label,\n mask,\n inputMode,\n rows,\n control,\n required,\n requiredText,\n rules,\n hasPrefilledData,\n}: ContactInformationInputProps) => {\n const styles = useStyles();\n\n const {\n field,\n fieldState: { error, isTouched },\n } = useController({\n name,\n control,\n rules,\n });\n\n const touched = useMemo(() => required && (hasPrefilledData || isTouched), [hasPrefilledData, isTouched, required]);\n\n const helperText = useMemo(() => {\n if (error) {\n return error.message;\n }\n\n if (required) {\n return requiredText || '*required';\n }\n\n return '';\n }, [error, required, requiredText]);\n\n return (\n \n }\n label={label}\n size=\"medium\"\n variant=\"outlined\"\n error={!!error}\n mask={mask}\n rows={rows}\n multiline={!!rows}\n inputProps={{ inputMode }}\n className={styles.input}\n />\n {helperText}\n \n );\n};\n","import { colors } from '@chhjit/react-components';\nimport { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n flexGrow: 1,\n maxWidth: 489,\n },\n tipBox: {\n maxWidth: 489,\n },\n margin: {\n marginBottom: 16,\n },\n divider: {\n borderBottom: `3px dashed ${colors.grey40}`,\n margin: '16px 0 24px',\n },\n attachmentBox: {\n borderTop: `1px solid ${colors.grey30}`,\n marginTop: 8,\n paddingTop: 32,\n },\n fileTypes: {\n fontSize: 12,\n color: colors.grey140,\n marginTop: 4,\n fontWeight: 500,\n },\n}));\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles(() => ({\n container: {\n maxWidth: '456px',\n },\n wrapper: {\n width: '456px',\n },\n confirmButton: {\n width: '136px',\n '& .MuiButtonBase-root': {\n width: '100%',\n },\n },\n buttonsContainer: {\n marginTop: '32px',\n },\n}));\n","import React, { useState, useCallback, memo, useMemo } from 'react';\nimport { Grid } from '@material-ui/core';\nimport { UploadAttachment, Button } from '@chhjit/react-components';\n\nimport { ATTACHMENT_MAX_SIZE } from 'common/utils/env-variables';\nimport { FileObj } from 'common/utils/types/attachments';\n\nimport { useStyles } from './UploadAttachmentDialog.styles';\nimport { UploadAttachmentDialogProps } from './UploadAttachmentDialog.types';\n\nexport const UploadAttachmentDialog = memo(({ onClose, uploadAttachment, limit }: UploadAttachmentDialogProps) => {\n const styles = useStyles();\n\n const [description, setDescription] = useState('');\n const [selectedFiles, setSelectedFiles] = useState([]);\n const [uploading, setUploading] = useState(false);\n\n const onAdd = useCallback(\n (file: File) => {\n setSelectedFiles(\n selectedFiles.concat({\n id: Number(new Date().getTime()),\n url: URL.createObjectURL(file),\n file,\n name: file.name,\n description,\n }),\n );\n setDescription('');\n },\n [description, selectedFiles],\n );\n\n const removeFile = useCallback(\n (id: number) => {\n setSelectedFiles(selectedFiles.filter((obj) => obj.id !== id));\n },\n [selectedFiles],\n );\n\n const onUpload = useCallback(async () => {\n if (selectedFiles.length) {\n setUploading(true);\n await uploadAttachment(selectedFiles);\n onClose();\n setUploading(false);\n }\n }, [onClose, selectedFiles, uploadAttachment]);\n\n const formAttachments = useMemo(\n () =>\n selectedFiles.map((fileObj) => ({\n id: fileObj.id,\n name: fileObj.file.name,\n description: fileObj.description,\n url: fileObj.url,\n })),\n [selectedFiles],\n );\n\n return (\n
\n \n
\n file && file instanceof File && onAdd(file)}\n acceptFormats=\"image/jpeg, image/jpg, image/png, .pdf, .doc, .docx\"\n fileSizeValidation={{\n maxFileSizeKb: ATTACHMENT_MAX_SIZE,\n showAlert: true,\n }}\n onDeleteAttachment={removeFile}\n />\n\n \n \n \n \n\n \n \n Confirm\n \n \n \n
\n
\n
\n );\n});\n","import { Action } from '../../types';\n\nimport { AttachmentPayload, UploadAttachmentAction, UploadResponse } from './AttachmentsActions.types';\n\nexport const uploadAttachmentAction = ({\n locationId,\n appointmentId,\n payload,\n token,\n}: UploadAttachmentAction.Params): Action => {\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/appointments/${appointmentId}/attachments?token=${token}`,\n body: payload,\n };\n};\n\nexport const uploadAction = (body: AttachmentPayload): Action => {\n return {\n method: 'POST',\n endpoint: `/public/website/upload`,\n body,\n };\n};\n","export const fileToBase64 = async (file: File) =>\n new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve((reader.result as string).replace('data:', '').replace(/^.+,/, ''));\n reader.onerror = (e) => reject(e);\n });\n\nexport const toDataURL = async (url: string) => {\n return fetch(url)\n .then((response) => {\n return response.blob();\n })\n .then((blob) => {\n return URL.createObjectURL(blob);\n });\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles({\n attachmentBox: {\n borderTop: `1px solid ${colors.grey30}`,\n marginTop: 8,\n paddingTop: 32,\n },\n fileTypes: {\n fontSize: 12,\n color: colors.grey140,\n marginTop: 4,\n fontWeight: 500,\n },\n fileBeLost: {\n color: colors.functionals.alert,\n fontSize: 12,\n marginTop: 4,\n fontWeight: 500,\n },\n list: {\n marginTop: 24,\n display: 'flex',\n flexDirection: 'column',\n gap: 24,\n },\n description: {\n border: `1px solid ${colors.grey20}`,\n borderRadius: 4,\n backgroundColor: colors.basic.white,\n padding: '6px 12px',\n },\n descriptionLabel: {\n fontSize: 12,\n color: colors.grey140,\n },\n});\n","import React, { useCallback } from 'react';\nimport { Typography } from '@material-ui/core';\nimport { AttachmentItem, Button, useConfirmationDialog, useDialogDispatch } from '@chhjit/react-components';\nimport { useController } from 'react-hook-form';\n\nimport { UploadAttachmentDialog } from 'common/ui/uploadAttachmentDialog/UploadAttachmentDialog';\nimport { useUploadAttachemnt } from 'common/hooks/useUploadAttachment';\n\nimport { useStyles } from './Attachments.styles';\nimport { AttachmentsProps } from './Attachments.types';\n\nexport const Attachments = ({ control }: AttachmentsProps) => {\n const styles = useStyles();\n const setDialog = useDialogDispatch();\n const { openConfirmation, closeConfirmation } = useConfirmationDialog({\n confirmButtonText: 'Delete',\n title: 'Delete attachment',\n message: 'Are you sure you want to delete attachment?',\n });\n\n const {\n field: { onChange, value },\n } = useController({\n name: 'attachments',\n control,\n });\n\n const { upload } = useUploadAttachemnt(value, onChange);\n\n const closeAttachmentForm = useCallback(() => {\n setDialog({ open: false });\n }, [setDialog]);\n\n const onDelete = useCallback(\n (id: number) => {\n onChange(value.filter((attachment) => attachment.id !== id));\n closeConfirmation();\n },\n [closeConfirmation, onChange, value],\n );\n\n const openAttachmentForm = useCallback(() => {\n setDialog({\n open: true,\n variant: 'basic',\n title: 'Upload Attachment',\n disableBackdropClick: true,\n dialogContent: (\n \n ),\n onClose: closeAttachmentForm,\n });\n }, [closeAttachmentForm, setDialog, upload, value.length]);\n\n return (\n
\n \n \n {value.length >= 10 ? 'File limit reached' : '*File types accepted: DOCX, DOC, PDF, JPEG, PNG'}\n \n\n {!!value.length &&\n value.map((attachment) => (\n
\n openConfirmation(() => onDelete(attachment.id))} />\n\n {!!attachment.description && attachment.description !== '' && (\n
\n Description\n \n {attachment.description}\n \n
\n )}\n
\n ))}\n
\n );\n};\n","import { useMutation } from 'react-fetching-library';\nimport { useCallback } from 'react';\nimport { useAlert } from '@chhjit/react-components';\n\nimport { uploadAction } from 'common/api/actions/attachments/AttachmentsActions';\nimport { Attachment, FileObj } from 'common/utils/types/attachments';\nimport { fileToBase64 } from 'common/utils/attachments';\n\nimport { useFeatureFlags } from './use-feature-flags/use-feature-flags';\n\nexport const useUploadAttachemnt = (attachments: Attachment[], onUpload: (attachments: Attachment[]) => void) => {\n const { showAlert } = useAlert();\n const { toggles } = useFeatureFlags();\n const { mutate: uploadQuery } = useMutation(uploadAction);\n\n const upload = useCallback(\n async (files: FileObj[]) => {\n if (toggles.PartnerPortal_AddAttachments && files.length) {\n const newAttachments: Attachment[] = attachments;\n\n for (const { file, description } of files) {\n try {\n const { payload } = await uploadQuery({\n type: {\n id: 3,\n },\n description,\n content: (await fileToBase64(file)) as string,\n extension: file.name.split('.').pop() || '',\n });\n\n if (payload) {\n newAttachments.push({\n id: Number(new Date().getTime()),\n name: file.name,\n description,\n url: payload.bucket_url,\n });\n }\n } catch (error) {\n showAlert(`Falied to attach file: \"${file.name}\"`, {\n variant: 'error',\n });\n }\n }\n\n onUpload(newAttachments);\n }\n },\n [attachments, onUpload, showAlert, toggles.PartnerPortal_AddAttachments, uploadQuery],\n );\n\n return { upload };\n};\n","import React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { Box, Typography, FormControl, Collapse } from '@material-ui/core';\nimport { Checkbox, Button, validateEmail, validatePhone, isUSAPostal, isCanadaPostal } from '@chhjit/react-components';\nimport { useForm, Controller } from 'react-hook-form';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { formatPhoneForApi } from 'common/utils/form';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { CorporateCodeModalContainer } from 'common/ui/corporateCodeModal/CorporateCodeModalContainer';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useFeatureFlags } from 'common/hooks/use-feature-flags/use-feature-flags';\n\nimport { ContactInformationInput } from './contactInformationInput/ContactInformationInput';\nimport { useStyles } from './ContactInformationForm.styles';\nimport { ContactInformationFormValues, ContactInformationFormProps } from './ContactInformationForm.types';\nimport { Attachments } from './attachments/Attachments';\n\nexport const ContactInformationForm = ({\n onBackClick,\n defaultValues,\n loading,\n title,\n tipBoxData,\n hasPrefilledData,\n onSubmit,\n categoryId,\n}: ContactInformationFormProps) => {\n const styles = useStyles();\n const partnersSectionRef = useRef(null);\n const { isPartner, partnerData } = useFormState();\n const [isCorporateCodeModalOpen, setCorporateCodeModalOpen] = useState(false);\n const {\n handleSubmit,\n formState: { isValid, isDirty },\n trigger,\n control,\n watch,\n setValue,\n register,\n } = useForm({\n defaultValues: {\n ...defaultValues,\n hasCorporateCode: isPartner,\n },\n mode: 'onBlur',\n });\n\n const isHasCorporateCodeChecked = watch('hasCorporateCode');\n\n const scrollOnNewFieldsAppear = () => {\n setTimeout(() => {\n window.scroll({ top: document.body.scrollHeight, left: 0, behavior: 'smooth' });\n // timeout=201, because it must be runned after animation\n }, 201);\n };\n\n const onSubmitCallback = useCallback(\n (values: ContactInformationFormValues) => {\n const correctedValues: ContactInformationFormValues = {\n ...values,\n phone: formatPhoneForApi(values?.phone || ''), // phone optional in ver B\n companyName: values.companyName || '',\n orderNumber: values.orderNumber || '',\n specialInstructions: values.specialInstructions || '',\n additionalNotes: values.additionalNotes || '',\n };\n onSubmit(correctedValues, isDirty || isValid);\n },\n [isDirty, onSubmit, isValid],\n );\n\n const handleCheckboxChange = useCallback(\n (value: boolean) => {\n if (!isPartner) {\n setCorporateCodeModalOpen(true);\n return;\n }\n\n if (value) {\n scrollOnNewFieldsAppear();\n }\n },\n [isPartner],\n );\n\n useEffect(() => {\n if (hasPrefilledData) trigger();\n }, [trigger, hasPrefilledData]);\n\n useEffect(() => {\n if (isPartner && !isHasCorporateCodeChecked) {\n setValue('hasCorporateCode', true);\n scrollOnNewFieldsAppear();\n }\n }, [setValue, isPartner, isHasCorporateCodeChecked]);\n\n const { toggles } = useFeatureFlags();\n\n useEffect(() => {\n register('attachments');\n }, []);\n\n return (\n <>\n
\n
\n \n {title}\n \n\n \n Please provide your contact information so we can get in touch on the day of your service. We will also\n follow up to confirm availability and lock-in your appointment!\n
\n
\n \n *We respect your privacy and will never sell, rent, lease or give away your information (name, address,\n email, etc.) to any third party.\n \n
\n\n \n\n \n\n \n validateEmail(value) || 'Please provide proper e-mail format, like: example@domain.com',\n }}\n control={control}\n hasPrefilledData={hasPrefilledData}\n required\n />\n\n {/* without phone input on junkRemoval (so when phone defaultValue is not provided) */}\n {defaultValues.phone !== undefined && (\n validatePhone(value) || 'Please provide proper phone number',\n }}\n control={control}\n hasPrefilledData={hasPrefilledData}\n required\n />\n )}\n\n \n isUSAPostal(value) || isCanadaPostal(value) || 'Please provide valid zip/postal code',\n }}\n control={control}\n required\n />\n\n {(!isPartner || (isPartner && partnerData?.shouldDisplayPartnersFields)) && (\n \n (\n {\n onChange(value);\n handleCheckboxChange(value);\n }}\n inputRef={ref}\n value={value}\n checked={value}\n name={name}\n disabled={isPartner}\n variant=\"outline\"\n label=\"I have a corporate code\"\n />\n )}\n />\n \n )}\n\n {isPartner && partnerData?.shouldDisplayPartnersFields && (\n \n
\n
\n \n \n \n \n \n\n {(!toggles.PartnerPortal_HideTypeOfItemsForMoving || categoryId !== CategoryIdEnum.move) && (\n \n )}\n\n {categoryId === CategoryIdEnum.junk && (\n <>\n \n \n \n )}\n\n {toggles.PartnerPortal_AddAttachments && categoryId === CategoryIdEnum.junk && (\n \n )}\n
\n \n )}\n
\n\n \n \n {tipBoxData.text}\n \n\n \n \n \n \n \n \n\n setCorporateCodeModalOpen(false)} />\n \n );\n};\n","import React, { useCallback, useMemo } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { AppRoute, junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { useJunkRemovalContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { ContactInformationForm } from 'common/app/contactInformationForm/ContactInformationForm';\nimport { ContactInformationFormValues } from 'common/app/contactInformationForm/ContactInformationForm.types';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { useCheckPostalCode } from 'common/hooks/useCheckPostalCode/useCheckPostalCode';\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\n\nexport const JunkRemovalStep2 = () => {\n const history = useHistory();\n const [{ junkRemoval }, { junkRemovalDispatch }] = useJunkRemovalContext();\n const { createOrUpdateAccount, isCreatingOrUpdatingAccount, recreateAccountWithNewLocationId } = useAccount();\n const { junkVer } = useVersionContext();\n const { account } = useFormState();\n\n const { checkPostalCode, isChecking } = useCheckPostalCode({\n category_id: CategoryIdEnum.junk,\n need_postal_info: true,\n });\n\n const handleSubmit = useCallback(\n async (values: ContactInformationFormValues, isDirty) => {\n if (!isDirty) {\n history.push(junkRemovalRoutes.step1);\n return;\n }\n\n const { address, nearestLocationId } = await checkPostalCode(values.postal);\n\n let accountRes: AccountResponse | undefined;\n const payload = {\n contactInformationData: values,\n billingAddress: address,\n categoryId: CategoryIdEnum.junk,\n };\n\n if (account?.locationId && account.locationId !== nearestLocationId) {\n accountRes = await recreateAccountWithNewLocationId(payload, nearestLocationId);\n } else {\n accountRes = await createOrUpdateAccount(payload, nearestLocationId);\n }\n\n if (!accountRes) {\n return;\n }\n\n junkRemovalDispatch(junkRemovalActions.setStep2(values));\n history.push(junkRemovalRoutes.step1);\n },\n [\n checkPostalCode,\n account?.locationId,\n junkRemovalDispatch,\n history,\n recreateAccountWithNewLocationId,\n createOrUpdateAccount,\n ],\n );\n\n return (\n history.push(AppRoute.home)}\n defaultValues={{\n firstName: junkRemoval?.step2?.firstName || account?.firstName || '',\n lastName: junkRemoval?.step2?.lastName || account?.lastName || '',\n email: junkRemoval?.step2?.email || account?.email || '',\n phone: junkVer === 'A' ? junkRemoval?.step2?.phone || account?.phone || '' : undefined,\n postal: junkRemoval?.step2?.postal || account?.postal,\n companyName: junkRemoval?.step2?.companyName || '',\n orderNumber: junkRemoval?.step2?.orderNumber || '',\n specialInstructions: junkRemoval?.step2?.specialInstructions || '',\n additionalNotes: junkRemoval?.step2?.additionalNotes || '',\n locationOfJunk: junkRemoval?.step2?.locationOfJunk || '',\n attachments: junkRemoval?.step2?.attachments || [],\n }}\n hasPrefilledData={!!junkRemoval?.step2}\n tipBoxData={{\n icon: 'threeStars',\n text: <>Our team will text/call you on the day of your service to let you know we are on the way.,\n }}\n categoryId={CategoryIdEnum.junk}\n />\n );\n};\n","import { useCallback, useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useMutation } from 'react-fetching-library';\nimport moment from 'moment';\nimport { TimePickerSchedule, useAlert } from '@chhjit/react-components';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { checkAvailabilityAction } from 'common/api/actions/booking/bookingActions';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\nimport { isSameSchedule } from 'common/utils/form';\nimport { CheckAvailabilityResponse } from 'common/api/actions/booking/bookingActions.types';\n\nimport { CheckAvailabilityParams, GetTheSameOrSimilarSchedule, Schedules } from './useAvailability.types';\n\nexport const useAvailability = () => {\n const history = useHistory();\n const { locationId, zoneId } = useFormState();\n const { showAlert } = useAlert();\n const {\n mutate: checkAvailabilityMutate,\n abort: abortCheckAbailability,\n loading: isCheckingAvailability,\n } = useMutation(checkAvailabilityAction);\n const [schedules, setSchedules] = useState({\n morning: [],\n afternoon: [],\n evening: [],\n });\n\n const createSchedule = useCallback((availability?: CheckAvailabilityResponse['availability']) => {\n const createdSchedule = {\n morning: [],\n afternoon: [],\n evening: [],\n } as Schedules;\n\n availability?.forEach((item) => {\n const timePeriod = { ...item.schedule, resourceId: item.resource.id } as TimePickerSchedule;\n createdSchedule[item.schedule.period].push(timePeriod);\n });\n\n setSchedules(createdSchedule);\n return createdSchedule;\n }, []);\n\n const getAvailabilitySchedule = useCallback(\n async ({ postal, jobDate, jobDuration, categoryId }: CheckAvailabilityParams) => {\n if (!locationId || zoneId === undefined) {\n return null;\n }\n\n abortCheckAbailability();\n const { payload } = await checkAvailabilityMutate({\n locationId,\n postal,\n category_id: categoryId,\n view_date: moment(jobDate).format(DateFormatForAPI),\n duration: jobDuration,\n zone_id: zoneId,\n });\n\n return createSchedule(payload?.availability);\n },\n [checkAvailabilityMutate, abortCheckAbailability, createSchedule, locationId, zoneId],\n );\n\n const getTheSameOrSimilarSchedule = useCallback(\n async ({ availabilityParams, currentSchedule, redirectionRoute }: GetTheSameOrSimilarSchedule) => {\n const schedules = await getAvailabilitySchedule(availabilityParams);\n if (!schedules) return;\n\n const foundSameSchedule = schedules[currentSchedule.period].find((schedule) =>\n isSameSchedule(schedule, currentSchedule),\n );\n\n if (!foundSameSchedule && redirectionRoute) {\n showAlert('The selected time is not available, please select another time.', {\n variant: 'error',\n });\n\n history.push(redirectionRoute);\n return;\n }\n return foundSameSchedule;\n },\n [getAvailabilitySchedule, history, showAlert],\n );\n\n return {\n getAvailabilitySchedule,\n schedules,\n isCheckingAvailability,\n getTheSameOrSimilarSchedule,\n };\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const ShortArrowIcon = ({ className, onClick }: { className?: string; onClick: () => void }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n timePickerContainer: {\n height: 300,\n },\n wrapper: {\n maxWidth: 432,\n [theme.breakpoints.up('md')]: {\n maxWidth: 651,\n },\n },\n sliderContainer: {\n position: 'relative',\n maxWidth: 'calc(100vw - 32px)', //-32px sides paddings\n\n [theme.breakpoints.up('sm')]: {\n maxWidth: '100%',\n },\n },\n sliderItem: {\n outline: 'none',\n },\n sliderArrow: {\n position: 'absolute',\n left: 'calc(50% - 92px)',\n top: 3,\n transform: 'translateX(-50%)',\n\n color: colors.primary.main,\n fontSize: 16,\n cursor: 'pointer',\n zIndex: 1,\n },\n sliderArrowRight: {\n left: 'auto',\n right: 'calc(50% - 100px)',\n transform: 'translateX(-50%) rotate(180deg)',\n transformOrigin: 'center center',\n },\n}));\n","import React, { useCallback, useMemo, useRef } from 'react';\nimport { useTheme, useMediaQuery } from '@material-ui/core';\nimport { TimePicker, TimePickerSchedule, Loader } from '@chhjit/react-components';\nimport Slider from 'react-slick';\nimport clsx from 'clsx';\n\nimport { CarouselSlider } from 'common/ui/carouselSlider/CarouselSlider';\nimport { ShortArrowIcon } from 'common/assets/icons/ShortArrowIcon';\nimport { isSameSchedule } from 'common/utils/form';\nimport { Schedules } from 'common/hooks/useAvailability/useAvailability.types';\n\nimport { useStyles } from './SliderSchedulePicker.styles';\nimport { SliderSchedulePickerProps } from './SliderSchedulePicker.types';\n\nconst slidesMap = {\n morning: 0,\n afternoon: 1,\n evening: 2,\n};\n\nconst initialSchedules = {\n morning: [],\n afternoon: [],\n evening: [],\n} as Schedules;\n\nexport const SliderSchedulePicker = ({\n isLoading,\n schedules = initialSchedules,\n value,\n onChange,\n initialPeriod,\n}: SliderSchedulePickerProps) => {\n const styles = useStyles();\n const sliderRef = useRef(null);\n const theme = useTheme();\n const isDesktop = useMediaQuery(theme.breakpoints.up('md'));\n\n const findSelectedPeriod = useCallback((schedule: TimePickerSchedule[], value: TimePickerSchedule | null) => {\n if (!value) return schedule;\n\n const newSchedule = schedule.map((period) => ({\n ...period,\n selected: isSameSchedule(period, value),\n }));\n return newSchedule;\n }, []);\n\n const initialSlide = useMemo(() => (initialPeriod ? slidesMap[initialPeriod] : slidesMap.morning), [initialPeriod]);\n\n return (\n
\n
\n {!isDesktop && !isLoading && (\n <>\n sliderRef.current?.slickPrev()} className={styles.sliderArrow} />\n sliderRef.current?.slickNext()}\n className={clsx([styles.sliderArrowRight, styles.sliderArrow])}\n />\n \n )}\n\n {isLoading ? (\n
\n \n
\n ) : (\n \n {Object.entries(schedules).map(([key, schedulePeriod]) => (\n
\n \n
\n ))}\n
\n )}\n
\n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const DropdownIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n '& .MuiDialog-paper': {\n width: '100vw',\n margin: 0,\n\n [theme.breakpoints.up('sm')]: {\n maxWidth: 443,\n },\n },\n },\n title: {\n padding: '29px 16px 35px',\n display: 'flex',\n justifyContent: 'space-between',\n\n [theme.breakpoints.up('sm')]: {\n paddingLeft: 50,\n paddingRight: 50,\n },\n\n '& > *': {\n maxWidth: 300,\n },\n },\n icon: {\n color: colors.secondary.main,\n fontSize: 16,\n marginTop: 8,\n marginRight: 8,\n cursor: 'pointer',\n },\n buttons: {\n marginTop: 80,\n marginBottom: 48,\n padding: '0 16px',\n\n [theme.breakpoints.up('sm')]: {\n padding: '0 50px',\n\n '&.MuiDialogActions-spacing > :not(:first-child)': {\n marginLeft: 16,\n },\n },\n\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'stretch',\n\n '& > *': {\n flexGrow: 1,\n },\n },\n}));\n","import React, { useCallback, useState, useEffect } from 'react';\nimport { Dialog, DialogTitle, DialogContent, DialogActions, Typography } from '@material-ui/core';\nimport moment, { Moment } from 'moment';\nimport { CalendarPicker, Button } from '@chhjit/react-components';\n\nimport { CloseIcon } from 'common/assets/icons/CloseIcon';\n\nimport { CalendarProps } from './Calendar.types';\nimport { useStyles } from './Calendar.styles';\n\nexport const Calendar = ({ open, onClose, date, minDate, onDateChange }: CalendarProps) => {\n const styles = useStyles();\n\n const [currentDate, setCurrentState] = useState(moment(date));\n\n useEffect(() => {\n setCurrentState(moment(date));\n }, [date]);\n\n const handleCalendarChange = useCallback((date: Moment) => {\n setCurrentState(date);\n }, []);\n\n const handleSelect = useCallback(() => {\n onDateChange(currentDate.toDate());\n onClose();\n }, [currentDate, onDateChange, onClose]);\n\n return (\n \n \n select date from the calendar\n \n \n \n \n \n\n \n \n \n \n \n );\n};\n","import moment, { Moment } from 'moment';\n\nimport { USADateFormat } from 'common/utils/dateTime';\n\nconst createDateAndText = (text: string, newDate: Moment) => {\n return {\n date: newDate.toDate(),\n text: `${text} (${newDate.format(USADateFormat)})`,\n };\n};\n\nexport const dropdownData = [\n {\n key: 'today',\n data: createDateAndText('today', moment()),\n },\n {\n key: 'tomorrow',\n data: createDateAndText('tomorrow', moment().add(1, 'day')),\n },\n {\n key: '2 days',\n data: createDateAndText('in 2 days', moment().add(2, 'day')),\n },\n {\n key: 'calendar',\n data: {\n date: null,\n text: 'pick date from the calendar',\n },\n },\n];\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n cursor: 'pointer',\n\n '& label': {\n cursor: 'pointer',\n },\n },\n dropdown: {\n zIndex: theme.zIndex.modal,\n width: ({ dropdownWidth }: { dropdownWidth?: number }) => dropdownWidth,\n },\n dropdownItem: {\n paddingRight: 15,\n whiteSpace: 'normal',\n fontWeight: 'bold',\n fontSize: 14,\n lineHeight: '24px',\n padding: '8px 16px',\n letterSpacing: '0.15px',\n overflow: 'hidden',\n\n '&:nth-child(even)': {\n backgroundColor: colors.grey10,\n },\n\n '&:hover': {\n backgroundColor: colors.grey20,\n },\n },\n inactive: {\n display: 'none',\n },\n readOnly: {\n pointerEvents: 'none',\n },\n inputEndAdornment: {\n fontSize: 16,\n color: colors.secondary.dark,\n marginRight: 16,\n marginLeft: 4,\n\n transformOrigin: 'center center',\n transform: 'translateY(-6px)',\n },\n rotateAdornment: {\n transform: 'translateY(-6px) rotate(180deg)',\n },\n}));\n","import React, { useState, useCallback, useRef, useMemo } from 'react';\nimport { Paper, MenuItem, Popper, Fade, ClickAwayListener } from '@material-ui/core';\nimport { Input } from '@chhjit/react-components';\nimport moment from 'moment';\nimport clsx from 'clsx';\n\nimport { DropdownIcon } from 'common/assets/icons/DropdownIcon';\nimport { USADateFormat } from 'common/utils/dateTime';\nimport { Calendar } from 'common/ui/calendar/Calendar';\n\nimport { dropdownData } from './dropdownData';\nimport { SelectDateProps } from './SelectDate.types';\nimport { useStyles } from './SelectDate.styles';\n\nconst timeMap: Record = {\n 0: 'today',\n 1: 'tomorrow',\n 2: 'in 2 days',\n};\n\nexport const SelectDate = ({ name, value, onSelect }: SelectDateProps) => {\n const [open, setOpen] = useState(false);\n const anchorRef = useRef(null);\n const listRef = useRef(null);\n const [calendarOpen, setCalendarOpen] = useState(false);\n const styles = useStyles({ dropdownWidth: anchorRef.current?.offsetWidth });\n\n const formattedDate = useMemo(() => {\n const momentDate = moment(value);\n const formattedDay = momentDate.format(USADateFormat);\n\n for (const day of [0, 1, 2]) {\n //create day: today/tomorrow/in 2 days\n const nextDayFromToday = moment().add(day, 'day');\n // then check if date chosen from calendar is equal to one of three options\n if (momentDate.isSame(nextDayFromToday, 'day')) {\n return `${timeMap[day]} (${formattedDay})`;\n }\n }\n return formattedDay;\n }, [value]);\n\n const handleClose = useCallback((event: React.MouseEvent) => {\n if (anchorRef.current && anchorRef.current.contains(event.target as HTMLElement)) {\n return;\n } else {\n setOpen(false);\n }\n }, []);\n\n const handleSelect = useCallback(\n (date: Date) => {\n onSelect(date);\n setOpen(false);\n },\n [onSelect],\n );\n\n const filteredDropdownData = useMemo(() => dropdownData.filter((item) => !formattedDate.includes(item.key)), [\n formattedDate,\n ]);\n\n return (\n <>\n setOpen((prevState) => !prevState)}\n className={styles.wrapper}\n data-testid=\"select-date\"\n >\n }\n label=\"Select job date\"\n size=\"medium\"\n variant=\"outlined\"\n value={formattedDate}\n inputProps={{\n readOnly: true,\n }}\n className={styles.readOnly}\n />\n
\n\n \n {({ TransitionProps }) => (\n \n
\n \n \n {filteredDropdownData.map(({ key, data }) => (\n {\n if (key === 'calendar') {\n setOpen(false);\n setCalendarOpen(true);\n } else if (data.date) {\n handleSelect(data.date);\n }\n }}\n className={styles.dropdownItem}\n >\n {data.text}\n \n ))}\n \n \n
\n
\n )}\n \n\n setCalendarOpen(false)}\n onDateChange={handleSelect}\n date={value}\n minDate={moment().toDate()}\n />\n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n height: '100%',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n },\n margin: {\n marginBottom: 16,\n },\n field: {\n maxWidth: 343,\n marginBottom: 24,\n },\n content: {\n maxWidth: 432,\n\n [theme.breakpoints.up('md')]: {\n maxWidth: 651,\n },\n },\n buttonsWrapper: {\n marginTop: 32,\n\n [theme.breakpoints.up('md')]: {\n marginTop: 56,\n },\n },\n h5: {\n textTransform: 'uppercase',\n marginBottom: 24,\n },\n body1: {\n textAlign: 'center',\n marginBottom: 24,\n\n [theme.breakpoints.up('sm')]: {\n textAlign: 'left',\n },\n },\n error: {\n color: colors.functionals.alert,\n fontWeight: 'bold',\n },\n}));\n","import React, { useCallback, useEffect } from 'react';\nimport { Typography, FormControl, useTheme, useMediaQuery } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\nimport { useHistory, Redirect } from 'react-router-dom';\nimport { useForm, Controller } from 'react-hook-form';\nimport moment from 'moment';\nimport clsx from 'clsx';\n\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useJunkRemovalContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { useAvailability } from 'common/hooks/useAvailability/useAvailability';\nimport { SliderSchedulePicker } from 'common/ui/sliderSchedulePicker/SliderSchedulePicker';\n\nimport { SelectDate } from './selectDate/SelectDate';\nimport { useStyles } from './JunkRemovalStep3.styles';\n\nexport const JunkRemovalStep3 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ junkRemoval }, { junkRemovalDispatch }] = useJunkRemovalContext();\n const { schedules, isCheckingAvailability, getAvailabilitySchedule } = useAvailability();\n const theme = useTheme();\n const isDesktop = useMediaQuery(theme.breakpoints.up('md'));\n const {\n handleSubmit,\n control,\n watch,\n reset,\n formState: { errors, isValid },\n } = useForm({\n mode: 'onChange',\n defaultValues: {\n date: junkRemoval?.step3?.date || moment().toDate(),\n schedule: junkRemoval?.step3?.schedule || null,\n },\n });\n const currentDate = watch('date');\n\n useEffect(() => {\n (async () => {\n if (!junkRemoval?.step1) return;\n\n await getAvailabilitySchedule({\n postal: junkRemoval.step1.fullAddress.postal,\n categoryId: CategoryIdEnum.junk,\n jobDate: currentDate,\n });\n })();\n }, [junkRemoval?.step1, currentDate, getAvailabilitySchedule]);\n\n const handleSubmitCallback = useCallback(\n (values) => {\n junkRemovalDispatch(junkRemovalActions.setStep3({ date: values.date, schedule: values.schedule }));\n history.push(junkRemovalRoutes.step4);\n },\n [junkRemovalDispatch, history],\n );\n\n if (!junkRemoval?.step2) {\n return ;\n }\n\n return (\n
\n
\n \n 3. Job date\n \n\n \n Select a date to check our availability\n \n\n \n {\n return (\n {\n onChange(date);\n reset({ schedule: null });\n onBlur();\n }}\n />\n );\n }}\n />\n \n\n {isDesktop && (\n \n We can be at your place between:\n \n )}\n\n \n Select the arrival window that works best for you for our HUNKS to arrive\n \n\n (\n \n )}\n />\n
\n\n \n \n \n \n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const BedroomIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const FewItemsIcon = ({ className }: { className?: string }) => {\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","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const RoomOfItemsIcon = ({ className }: { className?: string }) => {\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","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const HouseCleanupIcon = ({ className }: { className?: string }) => {\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","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n maxWidth: 702,\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n boxesContainer: {\n marginBottom: -24,\n '& > *': {\n marginBottom: 24,\n },\n\n [theme.breakpoints.up('md')]: {\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'space-between',\n\n '& > *': {\n flexBasis: 'calc(50% - 12px)', // minus half of space 24px/2\n },\n },\n },\n}));\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n borderRadius: 4,\n padding: '8px 16px',\n cursor: 'pointer',\n border: `2px solid ${colors.grey60}`,\n backgroundColor: colors.basic.white,\n transition: 'background-color .2s ease-in-out, border-color .2s ease-in-out',\n\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n\n '& > *:nth-child(1)': {\n flexBasis: '70%',\n },\n\n [theme.breakpoints.up('md')]: {\n '&:hover': {\n backgroundColor: colors.primary.superlight,\n borderColor: colors.primary.main,\n },\n },\n },\n selected: {\n borderColor: colors.primary.main,\n\n '& $title': {\n color: colors.secondary.main,\n },\n },\n title: {\n marginLeft: 16,\n color: colors.grey170,\n },\n iconContainer: {\n display: 'flex',\n\n '& svg': {\n fontSize: 80,\n },\n },\n}));\n","import { Box, Typography } from '@material-ui/core';\nimport { RadioButtonIcon } from '@chhjit/react-components';\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { useStyles } from './JunkRemovalStep4Card.styles';\nimport { JunkRemovalStep4CardProps } from './JunkRemovalStep4Card.types';\n\nexport const JunkRemovalStep4Card = ({ onClick, isSelected, title, icon }: JunkRemovalStep4CardProps) => {\n const styles = useStyles();\n\n return (\n
\n \n \n \n {title}\n \n \n
{icon}
\n
\n );\n};\n","import React, { useCallback, useState, useRef } from 'react';\nimport { Typography, Box } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\nimport { useHistory, Redirect } from 'react-router-dom';\n\nimport { BedroomIcon } from 'common/assets/icons/BedroomIcon';\nimport { FewItemsIcon } from 'common/assets/icons/FewItemsIcon';\nimport { RoomOfItemsIcon } from 'common/assets/icons/RoomOfItemsIcon';\nimport { HouseCleanupIcon } from 'common/assets/icons/HouseCleanupIcon';\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { useJunkRemovalContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\n\nimport { useStyles } from './JunkRemovalStep4.styles';\nimport { JunkRemovalStep4Card } from './JunkRemovalStep4Card/JunkRemovalStep4Card';\n\nconst serviceBoxesData = [\n {\n icon: ,\n title: 'Single item',\n },\n {\n icon: ,\n title: 'A few items',\n },\n {\n icon: ,\n title: 'Room full of items',\n },\n {\n icon: ,\n title: 'Full house / office cleanup',\n },\n];\n\nexport const JunkRemovalStep4 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ junkRemoval }, { junkRemovalDispatch }] = useJunkRemovalContext();\n const bookBtnRef = useRef(null);\n const [selectedCardIndex, setSelectedCardIndex] = useState(\n junkRemoval?.step4?.selectedCardIndex ?? null,\n );\n\n const handleNextStep = useCallback(() => {\n if (selectedCardIndex === null) return;\n\n junkRemovalDispatch(\n junkRemovalActions.setStep4({\n selectedCardIndex,\n title: serviceBoxesData[selectedCardIndex].title,\n }),\n );\n\n history.push(junkRemovalRoutes.step5);\n }, [junkRemovalDispatch, history, selectedCardIndex]);\n\n const handleCardSelection = useCallback(\n (cardIndex: number) => {\n if (cardIndex === selectedCardIndex) {\n setSelectedCardIndex(null);\n } else {\n setSelectedCardIndex(cardIndex);\n bookBtnRef.current?.scrollIntoView({ behavior: 'smooth' });\n }\n },\n [selectedCardIndex],\n );\n\n if (!junkRemoval.step4 && !junkRemoval?.step3) {\n return ;\n }\n\n return (\n
\n
\n 4. Number of items\n\n \n \n Estimate the size of the items you would like to be removed. We will give you a personalized\n estimate once we arrive on-site.\n \n\n \n
\n {serviceBoxesData.map(({ title, icon }, index) => (\n handleCardSelection(index)}\n />\n ))}\n
\n\n \n Our eco-friendly cleanup experts will remove all non-hazardous items from{' '}\n anywhere on your property, and properly dispose of all unwanted clutter.\n \n
\n\n \n \n \n Next\n \n \n
\n );\n};\n","import React from 'react';\nimport { Slide, DialogProps } from '@material-ui/core';\n\n// component based on MaterialUi Dialog#Transition example\nexport const ModalMobileTransition: DialogProps['TransitionComponent'] = React.forwardRef((props, ref) => {\n return ;\n});\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n dialog: {\n position: 'relative',\n\n '& .MuiDialog-paper': {\n width: '100vw',\n margin: 0,\n overflow: 'hidden',\n\n [theme.breakpoints.up('sm')]: {\n maxWidth: 376,\n },\n },\n },\n form: {\n padding: 24,\n overflow: 'hidden',\n },\n inputError: {\n margin: '4px 0 6px',\n lineHeight: '14px',\n fontSize: 14,\n height: 14,\n },\n buttonsGroup: {\n [theme.breakpoints.up('sm')]: {\n justifyContent: 'space-between',\n\n '& > *:nth-child(1)': {\n flexBasis: 'calc(50%) - 4px', // minus 4px: half of 8px space\n },\n '& > *:nth-child(2)': {\n flexBasis: 'calc(50% + 9px - 4px)', // 9px cause of primary button shadow (7px) + border(2x1px),\n // minus 4px: half of 8px space\n },\n },\n },\n}));\n","import React from 'react';\nimport { Dialog, Box, Typography, Grid, FormControl, FormHelperText, useTheme, useMediaQuery } from '@material-ui/core';\nimport { Input, Button, validatePhone } from '@chhjit/react-components';\nimport { useForm } from 'react-hook-form';\n\nimport { ModalMobileTransition } from 'common/ui/modalMobileTransition/ModalMobileTransition';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useJunkRemovalStateContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\n\nimport { useStyles } from './WeWillTextModal.styles';\nimport { WeWillTextModalProps } from './WeWillTextModal.types';\n\n// B: Junk Removal version B component\nexport const WeWillTextModal = ({ onSubmit, open, onClose, isLoading }: WeWillTextModalProps) => {\n const styles = useStyles();\n const { junkRemoval } = useJunkRemovalStateContext();\n const theme = useTheme();\n const isMobile = useMediaQuery(theme.breakpoints.down('xs'));\n const {\n handleSubmit,\n register,\n formState: { errors },\n } = useForm({\n mode: 'onBlur',\n defaultValues: { phone: junkRemoval?.step2?.phone || '' },\n });\n\n return (\n \n \n \n \n We'll text/call\n
you when we are
on our way\n
\n
\n \n \n We need a way to contact you in order to do our job. We respect your privacy and will never sell or share\n your data.\n \n \n\n \n\n \n \n validatePhone(value) || '*please provide proper phone number',\n })}\n />\n {errors.phone?.message}\n \n \n\n \n \n \n \n \n \n \n \n );\n};\n","import React, { useCallback } from 'react';\nimport { useMutation } from 'react-fetching-library';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { formatPhoneForApi } from 'common/utils/form';\nimport { updateAccountAction } from 'common/api/actions/account/accountActions';\nimport { useJunkRemovalContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { useFeatureFlags } from 'common/hooks/use-feature-flags/use-feature-flags';\n\nimport { WeWillTextModal } from './WeWillTextModal';\nimport { WeWillTextModalContainerProps } from './WeWillTextModal.types';\n\nexport const WeWillTextModalContainer = ({ open, onSubmit, onClose }: WeWillTextModalContainerProps) => {\n const { accountId, token, locationId, partnerData } = useFormState();\n const [{ junkRemoval }, { junkRemovalDispatch }] = useJunkRemovalContext();\n\n const { loading, mutate, abort } = useMutation(updateAccountAction);\n\n const { toggles } = useFeatureFlags();\n\n const handleSubmit = useCallback(\n async ({ phone }: { phone: string }) => {\n if (!junkRemoval?.step2 || !accountId || !token || !locationId) {\n return;\n }\n\n const formattedPhone = formatPhoneForApi(phone);\n\n junkRemovalDispatch(junkRemovalActions.setStep2({ ...junkRemoval.step2, phone: formattedPhone }));\n\n abort();\n\n const { payload } = await mutate({\n locationId,\n accountId,\n token,\n payload: {\n phone: formattedPhone,\n ...(toggles.PartnerManagement_DefaultReferralSource &&\n partnerData?.source_id && { source: { id: partnerData.source_id } }),\n },\n });\n\n if (!payload?.meta.errors?.length) {\n onClose();\n onSubmit();\n }\n },\n [\n junkRemoval,\n accountId,\n token,\n locationId,\n partnerData?.source_id,\n toggles.PartnerManagement_DefaultReferralSource,\n mutate,\n onClose,\n onSubmit,\n abort,\n junkRemovalDispatch,\n ],\n );\n\n return ;\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n maxWidth: 702,\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n loaderContainer: {\n minHeight: 252,\n\n [theme.breakpoints.up('sm')]: {\n minHeight: 284,\n },\n\n [theme.breakpoints.up('md')]: {\n minHeight: 216, //placeholder container\n },\n\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n },\n itemsContainer: {\n margin: '16px 16px 0',\n\n [theme.breakpoints.up('sm')]: {\n margin: '32px 24px 0',\n },\n\n [theme.breakpoints.up('md')]: {\n margin: '40px 0 0',\n display: 'flex',\n\n '& > *': {\n flexBasis: '33.3%',\n },\n },\n },\n itemsForPartnerContainer: {\n marginTop: 16,\n\n [theme.breakpoints.up('sm')]: {\n marginTop: 32,\n margin: '32px 24px 0',\n },\n\n [theme.breakpoints.up('md')]: {\n marginTop: 40,\n },\n },\n}));\n","const baseIntlOptions: Intl.NumberFormatOptions = {\n style: 'currency',\n currency: 'USD',\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n};\n\nexport const currencyFormatter = (options?: Intl.NumberFormatOptions) => {\n return new Intl.NumberFormat('en-US', {\n ...baseIntlOptions,\n ...options,\n });\n};\n\nexport const formatCurrency = currencyFormatter();\nexport const formatCurrencyWithoutSymbol = currencyFormatter({\n style: undefined,\n currency: undefined,\n});\n\n// it returns price like: $10.50-13.15\nexport const getPriceRange = (price1: number, price2: number) => {\n return `${formatCurrency.format(price1)}-${formatCurrencyWithoutSymbol.format(price2)}`;\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n padding: '24px 8px',\n display: 'flex',\n alignItems: 'center',\n\n '&:not(:last-child)': {\n borderBottom: `1px dashed ${colors.grey60}`,\n },\n\n [theme.breakpoints.up('sm')]: {\n padding: '24px 8px',\n },\n\n [theme.breakpoints.up('md')]: {\n flexDirection: 'column',\n justifyContent: 'space-between',\n paddingLeft: 0,\n paddingRight: 0,\n\n '&:not(:last-child)': {\n borderBottom: 'none',\n borderRight: `1px dashed ${colors.grey60}`,\n },\n },\n },\n\n title: {\n marginLeft: 16,\n color: colors.grey160,\n fontWeight: 'bold',\n fontSize: 14,\n\n maxWidth: 120,\n\n [theme.breakpoints.up('md')]: {\n marginLeft: 0,\n marginTop: 16,\n textAlign: 'center',\n },\n },\n img: {\n width: 60,\n\n [theme.breakpoints.up('sm')]: {\n width: 80,\n },\n [theme.breakpoints.up('md')]: {\n width: 100,\n },\n },\n price: {\n marginLeft: 'auto',\n\n [theme.breakpoints.up('md')]: {\n marginLeft: 0,\n marginTop: 16,\n },\n },\n}));\n","import { Typography } from '@material-ui/core';\nimport React from 'react';\n\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport { currencyFormatter } from 'common/utils/currencyFormatter';\n\nimport { useStyles } from './JunkRemovalStep5Item.styles';\nimport { JunkRemovalStep5ItemProps } from './JunkRemovalStep5Item.types';\n\nconst formatCurrency = currencyFormatter({ minimumFractionDigits: 0 });\n\nexport const JunkRemovalStep5Item = ({ price, title, imgSrc }: JunkRemovalStep5ItemProps) => {\n const styles = useStyles();\n\n return (\n
\n {imgSrc && }\n\n {title}\n\n \n {`Approx. ${price ? formatCurrency.format(price) : '-'}`}\n \n
\n );\n};\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQUAAACNCAYAAAC+Am+QAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABBaADAAQAAAABAAAAjQAAAAARblFDAAAeD0lEQVR4Ae2dB7xVxbXGIYAK2I1iDyb2igRrUK+IGmvswf5ieT55Jhr1vVgjovHFJJYkzxKfT40NjTURFLFwQURFMQgasUewYcEuiiD5f5ezL3vPmTlnn3NP2+eu9ft9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RAbOJr849Ik4n8YYbOtLLFeHPc1AJoM9Azb0SPr9QFrTqlO3phCNBAOqi38SCDk+LfTJeVyHpy/7WZB6umPjeKApru+RAXXHdw565tSKuUmZDMD1phR9AvQJmNDjmXYqzofrfwfyJFJT1ygy/hZoQdMnWqzcm3p0jqVKUusUNEoM7Hc4XFpkxKaSfhbQnnli54DtVsocCk4DnwMh0cmpD6zuDWUwfXIG4F3OXtP1VQuU+jtpWrvR/3JcUiBfXhL290B5Ctg5LzFXcSy2L85VpSOWaqegIWKQ/4fDOQmGS9tJ1wNdvI8z4B+5ZbClO9RQoOnk4WAAKCRyCCOxpWdSkwoxwDjsj6mbQSHHoNr0CHkjkBN5hHHQVnOOYGt1FNqtkjMYCTYBxeREbP2yWKZmTU+9U9DAMPBHcdCMQXf3JKIZw1ywECwCa4K1wTogqXxARv2kmc0QkjJWQj7GVDMGOds+JRTTdrQchcZ0DdAPaG0p6XWgR4ZjGNPLOKZWkpLR9ARwEu1EJ24A69WgM1oQ0wzh2RrU1WWrYEw3pfM3ga1rQMLr1HE4Y/pQDeqqaxVJ75x1bWQlKudts1d5s+1KbGnhqKKr1LH2LSZ8DtA3EbormVSRAcZ0IWM6jip0c9N2c7XO5yuwfUhXcfJdZqbAoGaFO8z2RLQQFdpqyuZNGFhKPt2xxnDiaJHLpMYMZGYNWvTVukClnMNEbOnn6R6ucXfqWl2XdAoR45xImjGMBjqR+kf6Eo6vkfdq8EdOHC1UmtSZAcb0szThaHAEKOddFK0jaXFS/+5c259dTrq0U4hGmxOpO2HNHnYBchSbgQ2AFrHEkba1FoE5QOsEj4PJYBYnjhafTBqMAcZU46a1hjagsR0EBgKNqcZbi8ka07ngOfAkmAKmM6Ya7y4r/wHePzWKlVBYEQAAAABJRU5ErkJggg==\"","import { BasicResponseStructure, CategoryIdEnum } from 'common/api/types';\n\nexport enum DiscountTypeEnum {\n Percent = 2,\n DollarAmount = 3,\n PricingOverride = 4, // this case, ignore amount value\n}\n\nexport declare namespace GetPartnerInfoAction {\n export type Payload = {\n subpartner_token: string;\n };\n\n export type Discount = {\n amount: number;\n category: {\n id: CategoryIdEnum;\n name: string;\n };\n details: string;\n type: {\n id: DiscountTypeEnum;\n name: string;\n };\n };\n\n export type Partner = {\n id: number;\n name: string;\n partner: {\n id: number;\n name: string;\n };\n type: {\n id: number;\n name: string;\n };\n logo: {\n url: string;\n };\n booking: {\n title: string;\n image_url: string;\n };\n notes: {\n type_of_junk: string;\n location_of_junk: string;\n special_instructions: string;\n moving_factors: string;\n };\n discounts: Discount[];\n online_booking_disabled_categories: number[];\n source_id?: number;\n };\n\n export type Response = {\n subpartners: Partner[];\n } & BasicResponseStructure;\n}\n","import { isWebUri } from 'valid-url';\n\nimport oneEightTruckloadImg from 'common/assets/images/oneEightTruckload.png';\nimport halfTruckloadImg from 'common/assets/images/halfTruckload.png';\nimport fullTruckloadImg from 'common/assets/images/fullTruckload.png';\nimport { JunkRemovalPricing } from 'common/context/junkRemoval/JunkRemovalContext.types';\nimport { DiscountTypeEnum, GetPartnerInfoAction } from 'common/api/actions/partner/partnerActions.types';\nimport { CategoryIdEnum } from 'common/api/types';\n\nimport { JunkRemovalDiscount } from './junkRemovalStep5ItemForPartners/JunkRemovalStep5ItemForPartners.types';\n\ntype PricingData = {\n title: keyof JunkRemovalPricing;\n imgSrc?: string;\n};\n\nexport const pricingsData: PricingData[] = [\n {\n title: 'Less than 1/8th truckload',\n imgSrc: oneEightTruckloadImg,\n },\n {\n title: '1/2 truckload',\n imgSrc: halfTruckloadImg,\n },\n {\n title: 'Full truckload',\n imgSrc: fullTruckloadImg,\n },\n];\n\nexport const pricingsDataForPartners: PricingData[] = [\n {\n title: 'Less than 1/8th truckload',\n imgSrc: oneEightTruckloadImg,\n },\n { title: '1/6 truckload' },\n { title: '1/4 truckload' },\n { title: '1/3 truckload' },\n { title: '3/8 truckload' },\n {\n title: '1/2 truckload',\n imgSrc: halfTruckloadImg,\n },\n { title: '5/8 truckload' },\n { title: '2/3 truckload' },\n { title: '5/6 truckload' },\n { title: '7/8 truckload' },\n {\n title: 'Full truckload',\n imgSrc: fullTruckloadImg,\n },\n];\n\nexport const applyDiscountToPrice = (oldPrice: number, discount: GetPartnerInfoAction.Discount) => {\n if (discount.type.id === DiscountTypeEnum.Percent) {\n return Number((oldPrice * (1 - discount.amount / 100)).toFixed(0));\n }\n\n if (discount.type.id === DiscountTypeEnum.DollarAmount) {\n return Number((oldPrice - discount.amount).toFixed(0));\n }\n};\n\nexport const getDiscountData = (discounts: GetPartnerInfoAction.Discount[]): JunkRemovalDiscount | undefined => {\n const filteredDiscounts = discounts.filter((discount) => discount.category.id === CategoryIdEnum.junk); // there should be one\n const discount = filteredDiscounts.length ? filteredDiscounts[0] : undefined;\n\n if (!discount) {\n return;\n }\n\n let discountDetails: JunkRemovalDiscount['discountDetails'];\n\n if (discount?.type.id === DiscountTypeEnum.PricingOverride && discount?.details) {\n if (isWebUri(discount.details)) {\n discountDetails = {\n type: 'url',\n details: discount.details,\n };\n } else {\n discountDetails = {\n type: 'html',\n details: discount.details,\n };\n }\n }\n\n return {\n discount,\n discountDetails,\n };\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n padding: '8px',\n display: 'flex',\n alignItems: 'center',\n\n '&:nth-child(even)': {\n backgroundColor: colors.basic.white,\n },\n },\n\n title: {\n marginLeft: 8,\n color: colors.grey160,\n fontWeight: 'bold',\n fontSize: 14,\n\n maxWidth: 120,\n },\n img: {\n width: 60,\n\n [theme.breakpoints.down('xs')]: {\n marginLeft: 8,\n },\n },\n imgAndTitleWrapper: {\n display: 'flex',\n flexDirection: 'column',\n\n [theme.breakpoints.up('sm')]: {\n flexDirection: 'row',\n alignItems: 'center',\n },\n },\n price: {\n marginLeft: 16,\n },\n crossedText: {\n fontWeight: 'normal',\n textDecoration: 'line-through',\n color: colors.grey80,\n },\n stickToRight: {\n marginLeft: 'auto',\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Typography, Box, Link } from '@material-ui/core';\n\nimport { LoadedImage } from 'common/ui/loadedImage/LoadedImage';\nimport { currencyFormatter } from 'common/utils/currencyFormatter';\nimport { applyDiscountToPrice } from '../JunkRemovalStep5.utils';\n\nimport { useStyles } from './JunkRemovalStep5ItemForPartners.styles';\nimport { JunkRemovalStep5ItemForPartnersProps } from './JunkRemovalStep5ItemForPartners.types';\n\nconst formatCurrency = currencyFormatter({ minimumFractionDigits: 0 });\n\nexport const JunkRemovalStep5ItemForPartners = ({\n price,\n title,\n imgSrc,\n discountData,\n}: JunkRemovalStep5ItemForPartnersProps) => {\n const styles = useStyles();\n\n const newPrice = useMemo(() => {\n if (!discountData || !price) {\n return;\n }\n\n return applyDiscountToPrice(price, discountData.discount);\n }, [discountData, price]);\n\n return (\n
\n
\n {imgSrc && }\n\n {title}\n
\n \n\n {newPrice && (\n <>\n {`Approx. ${\n price ? formatCurrency.format(price) : '-'\n }`}\n\n \n {formatCurrency.format(newPrice)}\n \n \n )}\n {!newPrice && discountData?.discountDetails?.type === 'url' && (\n \n \n Check price\n \n \n )}\n\n {!newPrice && discountData?.discountDetails?.type === 'html' && (\n \n \n \n )}\n\n {!newPrice && !discountData?.discountDetails && (\n \n {`Approx. ${price ? formatCurrency.format(price) : '-'}`}\n \n )}\n
\n );\n};\n","import React, { useMemo, useState, useCallback } from 'react';\nimport { Typography, Box } from '@material-ui/core';\nimport { Button, Loader } from '@chhjit/react-components';\nimport { useHistory, Redirect } from 'react-router-dom';\n\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setReadyToProcessing } from 'common/context/form/formActionCreators/formActionCreators';\nimport { ReadyForRequestProcessingEnum } from 'common/context/form/formContext/FormContext.types';\nimport { useJunkRemovalStateContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { WeWillTextModalContainer } from 'common/app/junkRemoval/weWillTextModal/WeWillTextModalContainer';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { PARTNER_NAME } from 'common/utils/env-variables';\n\nimport { useStyles } from './JunkRemovalStep5.styles';\nimport { JunkRemovalStep5Item } from './junkRemovalStep5Item/JunkRemovalStep5Item';\nimport { pricingsData, pricingsDataForPartners, getDiscountData } from './JunkRemovalStep5.utils';\nimport { JunkRemovalStep5ItemForPartners } from './junkRemovalStep5ItemForPartners/JunkRemovalStep5ItemForPartners';\n\nexport const JunkRemovalStep5 = () => {\n const styles = useStyles();\n const history = useHistory();\n const { junkRemoval, pricing, isGettingPricing } = useJunkRemovalStateContext();\n const { isPartner, partnerData } = useFormState();\n const dispatch = useFormDispatch();\n const { junkVer } = useVersionContext();\n const [dialogIsOpen, setDialog] = useState(false);\n\n const openDialog = useCallback(() => setDialog(true), []);\n const closeDialog = useCallback(() => setDialog(false), []);\n\n const discount = useMemo(() => {\n if (!isPartner || !partnerData?.discounts) {\n return;\n }\n\n return getDiscountData(partnerData.discounts);\n }, [partnerData?.discounts, isPartner]);\n\n const openNextStep = useCallback(() => {\n dispatch(setReadyToProcessing({ readyForRequestProcessing: ReadyForRequestProcessingEnum.JunkRemoval }));\n history.push(junkRemovalRoutes.processing);\n }, [dispatch, history]);\n\n const handleNextClick = useCallback(() => {\n if (junkVer === 'A') {\n openNextStep();\n } else {\n openDialog();\n }\n }, [openNextStep, junkVer, openDialog]);\n\n const isPlaceForMom = useMemo(() => partnerData?.partnerName === PARTNER_NAME, [partnerData?.partnerName]);\n\n if (!junkRemoval?.step4) {\n return ;\n }\n\n return (\n
\n
\n 5. Pricing\n\n \n \n We have 13 different price points, however, everyone's junk is unique! Below are 3 of our 13 different price\n points to give you an idea of what the {isPlaceForMom ? 'downsizing support' : 'junk removal'} will cost you.\n Once on-site, our team will provide you a free no-obligation price quote on your exact items.\n See below for 3 example price points for our locally owned and operated location servicing your area.\n \n\n {isGettingPricing && (\n
\n \n
\n )}\n {!isGettingPricing && !isPartner && (\n
\n {pricingsData.map(({ title, imgSrc }) => (\n \n ))}\n
\n )}\n\n {!isGettingPricing && isPartner && (\n
\n {pricingsDataForPartners.map(({ title, imgSrc }) => (\n \n ))}\n
\n )}\n\n \n Did you know that our trucks are 10% larger on average than our competitors?\n \n
\n\n \n \n \n \n\n {junkVer === 'B' && (\n \n )}\n
\n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const TruckIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nconst truckHeight = '128px';\nconst truckRoadLength = '472px';\n\nexport const useStyles = makeStyles((theme) => ({\n '@keyframes drive': {\n from: {\n transform: 'translateX(-100%)',\n },\n to: {\n transform: `translateX(${truckRoadLength})`,\n },\n },\n bgWrapper: {\n backgroundColor: colors.basic.white,\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n wrapper: {\n flexGrow: 1,\n padding: '33px 24px',\n\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-end',\n alignItems: 'center',\n\n [theme.breakpoints.up('md')]: {\n justifyContent: 'center',\n },\n },\n truckContainer: {\n width: '100%',\n maxWidth: truckRoadLength,\n margin: '0 auto',\n overflow: 'hidden',\n\n height: truckHeight,\n borderBottom: `2px solid ${colors.grey30}`,\n },\n truck: {\n animation: `$drive 2s infinite ease-out`,\n fontSize: truckHeight,\n },\n text: {\n marginTop: '18vh',\n\n [theme.breakpoints.up('sm')]: {\n margin: '17vh 0',\n },\n\n [theme.breakpoints.up('md')]: {\n margin: '55px 0 0',\n },\n },\n}));\n","import React, { useMemo, useEffect } from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { Typography } from '@material-ui/core';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { AppRoute, laborRoutes } from 'common/routing/AppRoute';\nimport { TruckIcon } from 'common/assets/icons/TruckIcon';\nimport { junkRemovalRoutes, movingRoutes } from 'common/routing/AppRoute';\nimport { ReadyForRequestProcessingEnum } from 'common/context/form/formContext/FormContext.types';\n\nimport { useStyles } from './ProcessingRequest.styles';\nimport { ProcessingRequestProps } from './ProcessingRequest.types';\n\nconst serviceRouteForTypeMap: Record = {\n [ReadyForRequestProcessingEnum.JunkRemoval]: junkRemovalRoutes.alldone,\n [ReadyForRequestProcessingEnum.Moving]: movingRoutes.alldone,\n [ReadyForRequestProcessingEnum.Labor]: laborRoutes.alldone,\n [ReadyForRequestProcessingEnum.CallMeNow]: '', // no processing for callMeModal\n};\n\nexport const ProcessingRequest = ({ onProcess }: ProcessingRequestProps) => {\n const styles = useStyles();\n const formState = useFormState();\n\n const redirectionRoute = useMemo(() => {\n if (formState.readyForRequestProcessing === undefined) return AppRoute.home;\n return serviceRouteForTypeMap[formState.readyForRequestProcessing];\n }, [formState.readyForRequestProcessing]);\n\n useEffect(() => {\n formState.readyForRequestProcessing && onProcess();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!formState.readyForRequestProcessing) {\n return ;\n }\n\n if (formState.bookingDone) {\n return ;\n }\n\n return (\n
\n
\n
\n \n
\n \n Processing the request...\n \n
\n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useMutation } from 'react-fetching-library';\nimport moment from 'moment';\nimport { useAlert } from '@chhjit/react-components';\n\nimport { rudderanalytics } from 'common/utils/rudderanalytics';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { createAccountAddressAction, createAppointmentAction } from 'common/api/actions/account/accountActions';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setBookingDoneAndContact } from 'common/context/form/formActionCreators/formActionCreators';\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { ProcessingRequest } from 'common/app/processingRequest/ProcessingRequest';\nimport { checkAvailabilityAction } from 'common/api/actions/booking/bookingActions';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\nimport { isSameSchedule } from 'common/utils/form';\nimport { useJunkRemovalDispatchContext, useJunkRemovalStateContext } from 'common/hooks/useJunkRemoval/useJunkRemoval';\nimport { junkRemovalActions } from 'common/context/junkRemoval/JunkRemovalContextSlice';\nimport { useFeatureFlags } from 'common/hooks/use-feature-flags/use-feature-flags';\nimport { uploadAttachmentAction } from 'common/api/actions/attachments/AttachmentsActions';\n\nexport const JunkRemovalProcessingRequest = () => {\n const history = useHistory();\n\n const { locationId, zoneId, accountId, token, partnerData } = useFormState();\n const { junkRemoval } = useJunkRemovalStateContext();\n\n const { junkRemovalDispatch } = useJunkRemovalDispatchContext();\n const dispatch = useFormDispatch();\n\n const { mutate: createAddressMutate, abort: abortCreateAddress } = useMutation(createAccountAddressAction);\n const { mutate: createAppointmentMutate, abort: abortCreateAppointment } = useMutation(createAppointmentAction);\n const { mutate: checkAvailability, abort: abortCheckAbailability } = useMutation(checkAvailabilityAction);\n const { mutate: uploadAttachmentMutate } = useMutation(uploadAttachmentAction);\n\n const { toggles } = useFeatureFlags();\n const { showAlert } = useAlert();\n\n const checkAgainAvailability = useCallback(async () => {\n abortCheckAbailability();\n\n if (!junkRemoval?.step1 || !junkRemoval?.step3 || locationId === undefined || zoneId === undefined) return;\n\n const { payload } = await checkAvailability({\n locationId,\n postal: junkRemoval.step1.fullAddress.postal,\n category_id: CategoryIdEnum.junk,\n view_date: moment(junkRemoval.step3.date).format(DateFormatForAPI),\n zone_id: zoneId,\n });\n\n if (!payload) return;\n\n const availability = payload.availability?.find((item) => {\n if (!junkRemoval.step3?.schedule) {\n return false;\n }\n\n return isSameSchedule({ ...item.schedule, resourceId: item.resource.id }, junkRemoval.step3.schedule);\n });\n\n if (!availability) {\n showAlert('The selected time is not available, please select another time.', {\n variant: 'error',\n });\n\n junkRemovalDispatch(junkRemovalActions.resetStep({ step: 'step3' }));\n\n history.push(junkRemovalRoutes.step3);\n\n return;\n }\n\n // return resourceId from new fetch, cause it sometimes change during booking\n return availability.resource.id;\n }, [\n locationId,\n zoneId,\n junkRemoval,\n history,\n checkAvailability,\n abortCheckAbailability,\n junkRemovalDispatch,\n showAlert,\n ]);\n\n const createAppointment = useCallback(async () => {\n if (\n !junkRemoval?.step1 ||\n !junkRemoval?.step2 ||\n !junkRemoval?.step3 ||\n !junkRemoval?.step4 ||\n !token ||\n !locationId ||\n !accountId\n ) {\n return;\n }\n\n const resourceId = await checkAgainAvailability();\n\n abortCreateAddress();\n const { payload } = await createAddressMutate({\n locationId,\n accountId,\n token,\n fullAddress: junkRemoval.step1.fullAddress,\n });\n\n if (!payload?.addresses) return;\n\n const originId = payload.addresses[0].id;\n\n abortCreateAppointment();\n\n /**\n * about resourceId:\n * because availability should be checked once again just before creatingAppointment\n * (because during booking some other user can reserve term)\n * then sometimes during second check it returns new resourceID\n * (ex. when user change address, then resourceId will be also changed)\n * so if it exist use new one, if not use provided before from step3 junk removal\n */\n const { payload: appointmentPayload } = await createAppointmentMutate({\n locationId,\n token,\n start_date: junkRemoval.step3.schedule.start,\n end_date: junkRemoval.step3.schedule.end,\n category: { id: CategoryIdEnum.junk },\n account: { id: accountId },\n origin: { id: originId },\n create_schedule: true,\n resource: { id: resourceId !== undefined ? resourceId : junkRemoval.step3.schedule.resourceId },\n notes: {\n special_instructions: junkRemoval.step2.specialInstructions,\n type_of_junk: `${junkRemoval.step4.title}${\n junkRemoval.step2.additionalNotes ? `. \\nAdditional notes: ${junkRemoval.step2.additionalNotes}` : ''\n }`,\n location_of_junk: junkRemoval.step2.locationOfJunk || '',\n },\n purchase_order: junkRemoval.step2.orderNumber,\n attachments:\n toggles.PartnerPortal_AddAttachments && junkRemoval.step2.attachments?.length\n ? { urls: junkRemoval.step2.attachments.map(({ url }) => url) }\n : undefined,\n ...(toggles.PartnerManagement_DefaultReferralSource &&\n partnerData?.source_id && {\n source: {\n id: partnerData.source_id,\n },\n }),\n ...(partnerData?.subpartnerId !== undefined && { partner: { id: partnerData.subpartnerId } }),\n });\n\n if (appointmentPayload?.meta.status.code === 200 && appointmentPayload?.appointments) {\n const appointment = appointmentPayload?.appointments[0];\n\n const segmentTraits = {\n appointmentType: appointment.type,\n startDate: appointment.start_date,\n endDate: appointment.end_date,\n appointmentId: appointment.id,\n accountId: appointment.account.id,\n categoryId: appointment.category.id,\n locationId: appointment.location.id,\n };\n\n rudderanalytics.track('Booked Appointment', segmentTraits);\n\n dispatch(\n setBookingDoneAndContact({\n type: 'email',\n contact: junkRemoval.step2.email,\n }),\n );\n history.push(junkRemovalRoutes.alldone);\n }\n }, [\n junkRemoval.step1,\n junkRemoval.step2,\n junkRemoval.step3,\n junkRemoval.step4,\n token,\n locationId,\n accountId,\n checkAgainAvailability,\n abortCreateAddress,\n createAddressMutate,\n abortCreateAppointment,\n createAppointmentMutate,\n toggles.PartnerManagement_DefaultReferralSource,\n partnerData?.source_id,\n partnerData?.subpartnerId,\n dispatch,\n history,\n uploadAttachmentMutate,\n showAlert,\n ]);\n\n return createAppointment()} />;\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const HandsIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n bgWrapper: {\n backgroundColor: colors.basic.white,\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n wrapper: {\n flexGrow: 1,\n padding: '20px 24px 32px',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n\n [theme.breakpoints.up('md')]: {\n height: 'auto',\n padding: '13vh 0 32vh',\n },\n },\n icon: {\n fontSize: 128,\n },\n title: {\n textAlign: 'center',\n },\n contact: {\n fontWeight: 'bold',\n },\n link: {\n textDecoration: 'underline',\n },\n text: {\n textAlign: 'center',\n },\n buttonsWrapper: {\n width: '100%',\n marginTop: 'auto',\n\n '& > *:nth-child(1)': {\n marginBottom: 17,\n marginRight: -9,\n },\n\n [theme.breakpoints.up('sm')]: {\n display: 'flex',\n justifyContent: 'center',\n marginTop: 50,\n\n '& > *:nth-child(1)': {\n order: 2,\n marginBottom: 0,\n width: 229, //+9px cause of twoTune button before element\n },\n '& > *:nth-child(2)': {\n order: 1,\n marginRight: 17,\n width: 220,\n },\n },\n },\n}));\n","import React, { useEffect, useRef, useMemo } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { Typography, Link, Grid, Hidden } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { AppRoute } from 'common/routing/AppRoute';\nimport { HandsIcon } from 'common/assets/icons/HandsIcon';\nimport { applyPhoneMask } from 'common/utils/form';\nimport { useResetState } from 'common/hooks/useResetState/useResetState';\n\nimport { useStyles } from './AllDone.styles';\nimport { AllDoneProps } from './AllDone.types';\n\nexport const AllDone = ({ title, subtitle, reschedule, altTitle, isAnotherServiceBtnVisible }: AllDoneProps) => {\n const styles = useStyles();\n const history = useHistory();\n const formState = useFormState();\n const resetState = useResetState();\n const { contactData, bookingDone } = useRef(formState).current;\n\n useEffect(() => {\n resetState();\n }, [resetState]);\n\n const formattedContact = useMemo(() => {\n if (!contactData) {\n return '';\n }\n if (contactData.type === 'phone') {\n return applyPhoneMask(contactData.contact);\n }\n return contactData.contact;\n }, [contactData]);\n\n if (!bookingDone) {\n return ;\n }\n\n return (\n
\n \n \n \n \n\n \n \n {altTitle ? 'Almost Done!' : 'All done!'}{' '}\n \n
\n
\n {title}\n
\n
\n\n \n {subtitle}\n \n\n \n \n {formattedContact}\n \n \n\n {reschedule && (\n \n \n If your plans have changed, you can reschedule the appointment{' '}\n \n here\n \n \n \n )}\n\n \n {isAnotherServiceBtnVisible && (\n \n )}\n\n \n back to main site\n \n \n
\n
\n );\n};\n","import React from 'react';\n\nimport { AllDone } from 'common/app/allDone/AllDone';\n\nexport const JunkRemovalAllDone = () => {\n return (\n \n );\n};\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const WeAreNotHereYetIcon = ({ className }: { className?: string }) => {\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","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n bgWrapper: {\n backgroundColor: colors.basic.white,\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n wrapper: {\n flexGrow: 1,\n padding: '58px 16px 40px',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n\n [theme.breakpoints.up('sm')]: {\n maxWidth: 513,\n margin: '0 auto',\n },\n\n [theme.breakpoints.up('md')]: {\n maxWidth: 771,\n },\n },\n flexWrapper: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n marginBottom: 41,\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 123,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 169,\n flexDirection: 'row',\n alignItems: 'stretch',\n },\n },\n title: {\n marginBottom: 35,\n textAlign: 'center',\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 31,\n },\n\n [theme.breakpoints.up('md')]: {\n textAlign: 'left',\n },\n },\n icon: {\n fontSize: 160,\n marginBottom: 35,\n\n [theme.breakpoints.up('sm')]: {\n fontSize: 226,\n marginBottom: 143,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 0,\n marginRight: 48,\n },\n },\n bolderText: {\n marginBottom: 16,\n textAlign: 'center',\n color: colors.grey160,\n fontWeight: 'bold',\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 24,\n },\n\n [theme.breakpoints.up('md')]: {\n textAlign: 'left',\n },\n },\n text: {\n textAlign: 'center',\n [theme.breakpoints.up('md')]: {\n textAlign: 'left',\n },\n },\n buttonsWrapper: {\n width: '100%',\n '& > *': {\n textDecoration: 'none',\n },\n\n '& > *:nth-child(1)': {\n marginBottom: 17,\n marginRight: -9,\n },\n\n [theme.breakpoints.up('sm')]: {\n display: 'flex',\n justifyContent: 'center',\n\n '& > *:nth-child(1)': {\n order: 2,\n marginBottom: 0,\n width: 229, //+9px cause of twoTune button before element\n },\n '& > *:nth-child(2)': {\n order: 1,\n marginRight: 17,\n width: 220,\n },\n },\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Hidden, Typography } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\n\nimport { WeAreNotHereYetIcon } from 'common/assets/icons/WeAreNotHereYetIcon';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\n\nimport { useStyles } from './Unserviced.styles';\nimport { UnservicedProps } from './Unserviced.types';\n\nexport const Unserviced = ({ type }: UnservicedProps) => {\n const styles = useStyles();\n const { partnerData } = useFormState();\n\n const name = useMemo(() => {\n return type === 'junkHaulers' ? 'Junk Haulers' : 'Movers';\n }, [type]);\n\n const btnLink = useMemo(() => {\n return type === 'junkHaulers' ? 'http://www.homeadvisor.com/ext/32014119' : 'http://t.chhj.com/VendorMoveQuote';\n }, [type]);\n\n const isNationalAccount = useMemo(() => partnerData?.type?.id === 1, [partnerData?.type?.id]);\n\n const content = useMemo(\n () =>\n !isNationalAccount\n ? {\n title: 'Sorry, We are not here yet',\n subtitle: 'We don’t service your neighborhood yet',\n text: `Click the links below to find qualified ${name} in your area, or to learn more about our other services.`,\n }\n : {\n title: 'Please contact us',\n subtitle: 'This request cannot be completed online',\n text: (\n <>\n Please email nabooking@chhj.com or call{' '}\n 813-853-4623 so that we may assist you with your service.\n \n ),\n },\n [isNationalAccount, name],\n );\n\n return (\n
\n
\n \n \n {content.title}\n \n \n\n
\n \n
\n \n \n {content.title}\n \n \n\n {content.subtitle}\n {content.text}\n
\n
\n\n {!isNationalAccount && (\n
\n \n\n \n
\n )}\n
\n
\n );\n};\n","import React from 'react';\n\nimport { Unserviced } from 'common/app/unserviced/Unserviced';\n\nexport const JunkRemovalUnserviced = () => {\n return ;\n};\n","import React from 'react';\nimport { Route, Switch, Redirect } from 'react-router-dom';\n\nimport { junkRemovalRoutes } from 'common/routing/AppRoute';\nimport { LayoutRoute } from 'common/ui/layoutRoute/LayoutRoute';\n\nimport { JunkRemovalStep1 } from './pages/junkRemovalStep1/JunkRemovalStep1';\nimport { JunkRemovalStep2 } from './pages/junkRemovalStep2/JunkRemovalStep2';\nimport { JunkRemovalStep3 } from './pages/junkRemovalStep3/JunkRemovalStep3';\nimport { JunkRemovalStep4 } from './pages/junkRemovalStep4/JunkRemovalStep4';\nimport { JunkRemovalStep5 } from './pages/junkRemovalStep5/JunkRemovalStep5';\n// import { JunkRemovalStep6 } from './pages/junkRemovalStep5/JunkRemovalStep6';\nimport { JunkRemovalProcessingRequest } from './JunkRemovalProcessingRequest';\nimport { JunkRemovalAllDone } from './JunkRemovalAllDone';\nimport { JunkRemovalUnserviced } from './JunkRemovalUnserviced';\n\n// TODO SUMMARY: commented summary step in junk removal for now\nexport const JunkRemovalRoutes = () => {\n return (\n \n \n \n \n \n \n {/* */}\n \n \n \n\n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n maxWidth: 489,\n },\n inputError: {\n margin: '4px 0 6px',\n lineHeight: '14px',\n fontSize: 14,\n height: 14,\n },\n label: {\n marginBottom: 8,\n opacity: 0.8,\n },\n tile: {\n [theme.breakpoints.up('md')]: {\n marginRight: 16,\n },\n },\n labelError: {\n color: colors.functionals.alert,\n opacity: 1,\n },\n tipbox: {\n maxWidth: 432,\n },\n}));\n","import React, { useCallback, useEffect, useMemo } from 'react';\nimport { Box, Typography, Grid, FormControl, FormHelperText, Collapse } from '@material-ui/core';\nimport { Input, Button, TileToggle, NewSelect, SelectOptionType } from '@chhjit/react-components';\nimport { useForm, Controller } from 'react-hook-form';\nimport clsx from 'clsx';\n\nimport { AccessTypeEnum, TypeOfDwellingEnum } from 'common/api/types';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport {\n accessTypeTiles,\n floorOptions,\n typeOfDwellingOptions,\n truckParkingOptions,\n bedroomsTiles,\n} from 'aMove/app/moving/MovingData';\nimport { AddressAutocomplete } from 'common/ui/addressAutocomplete/AddressAutocomplete';\nimport { validateAddress } from 'common/utils/validations';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\n\nimport { useStyles } from './MovingFormStep1Step2.styles';\nimport { MovingFormStep1Step2Props, MovingStep1Step2FormValues } from './MovingFormStep1Step2.types';\n\nexport const MovingFormStep1Step2 = ({\n withRooms,\n defaultValues,\n title,\n isLoading,\n tipBoxData,\n onSubmit,\n onBackClick,\n comparePostal,\n}: MovingFormStep1Step2Props) => {\n const styles = useStyles();\n const { handleSubmit, register, control, formState, watch, setValue } = useForm({\n mode: 'onBlur',\n defaultValues,\n });\n const { errors, isDirty } = formState;\n\n useEffect(() => {\n register('shortAddress'); //field without physical input\n }, [register]);\n\n const shortAddress = watch('shortAddress');\n const floor = watch('floor');\n const typeOfDwelling = watch('typeOfDwelling');\n const fullAddress = watch('fullAddress');\n\n useEffect(() => {\n if (comparePostal && fullAddress?.postal && fullAddress.postal !== '') {\n comparePostal(fullAddress.postal);\n }\n }, [fullAddress?.postal]);\n\n const onSubmitCallback = useCallback(\n (values: MovingStep1Step2FormValues) => {\n onSubmit(values, isDirty);\n },\n [onSubmit, isDirty],\n );\n\n const renderAccessType = useMemo(() => floor !== 0, [floor]);\n const renderFloorAndAccessType = useMemo(() => typeOfDwelling !== TypeOfDwellingEnum.House, [typeOfDwelling]);\n\n const handleFloorChange = useCallback(\n (onChange: (val: unknown) => void) => (option: SelectOptionType | null) => {\n const value = option ? option.value : null;\n\n if (value === 0) {\n setValue('accessType', AccessTypeEnum['Front door'], { shouldDirty: true });\n } else {\n setValue('accessType', null, { shouldDirty: true });\n }\n\n onChange(value);\n },\n [setValue],\n );\n\n const handleDwellingChange = useCallback(\n (onChange: (val: unknown) => void) => (option: SelectOptionType | null) => {\n const value = option ? option.value : null;\n\n if (value === TypeOfDwellingEnum.House) {\n setValue('floor', null, { shouldDirty: true });\n setValue('accessType', AccessTypeEnum['Front door'], { shouldDirty: true });\n } else {\n setValue('accessType', null, { shouldDirty: true });\n }\n\n onChange(value);\n },\n [setValue],\n );\n\n return (\n
\n \n \n {title}\n \n\n \n\n \n \n Your estimate is based on your exact location, so we need to know where you need help\n \n \n\n \n\n \n \n {\n const addressError = validateAddress(fullAddr);\n return addressError || undefined;\n },\n }}\n name=\"fullAddress\"\n render={({ field: { onChange, onBlur } }) => {\n return (\n {\n onChange(values?.fullAddress || null);\n setValue('shortAddress', values?.inputValue || '');\n onBlur();\n }}\n hasError={!!errors?.fullAddress}\n />\n );\n }}\n />\n\n \n {Object.values(errors?.fullAddress || {}).reduce((msg, item) => item.message || msg, '*required') ||\n '*required'}\n \n \n \n\n \n \n \n {errors.apartment?.message}\n \n \n\n \n \n (\n \n isSearchable={false}\n onChange={handleDwellingChange(onChange)}\n onBlur={onBlur}\n value={typeOfDwellingOptions.find((option) => option.value === value) ?? null}\n inputRef={ref}\n name={name}\n error={!!errors.typeOfDwelling}\n label=\"Type of dwelling\"\n options={typeOfDwellingOptions}\n />\n )}\n />\n\n {errors.typeOfDwelling?.message}\n \n \n\n \n \n \n (\n \n isSearchable={false}\n onChange={handleFloorChange(onChange)}\n onBlur={onBlur}\n inputRef={ref}\n name={name}\n error={!!errors.floor}\n label=\"Which floor?\"\n value={floorOptions.find((option) => option.value === value) ?? null}\n options={floorOptions}\n />\n )}\n />\n {errors.floor?.message}\n \n \n\n \n \n\n \n \n Access type\n \n \n (\n \n onChange={(val) => {\n onChange(val);\n onBlur();\n }}\n value={value || undefined}\n onBlur={onBlur}\n classes={{ tile: styles.tile }}\n spacing={3}\n md={5}\n tiles={accessTypeTiles}\n />\n )}\n />\n\n {errors.accessType?.message}\n \n \n \n \n\n \n \n (\n \n isSearchable={false}\n onChange={(option: SelectOptionType | null) => onChange(option?.value ?? null)}\n onBlur={onBlur}\n inputRef={ref}\n name={name}\n value={truckParkingOptions.find((option) => option.value === value) ?? null}\n error={!!errors.truckParking}\n label=\"Where should we park the truck?\"\n options={truckParkingOptions}\n />\n )}\n />\n\n {errors.truckParking?.message}\n \n \n\n {withRooms && (\n \n \n Number of bedrooms:\n \n \n (\n \n onChange={(val) => {\n onChange(val);\n onBlur();\n }}\n value={value || undefined}\n classes={{ tile: styles.tile }}\n spacing={3}\n md={5}\n tiles={bedroomsTiles}\n />\n )}\n />\n\n {errors.rooms?.message}\n \n \n )}\n \n\n \n \n {tipBoxData.text}\n \n\n \n \n\n \n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\n\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { MovingFormStep1Step2 } from 'aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2';\nimport { MovingStep1Step2FormValues } from 'aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.types';\nimport { useMovingContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\nimport { useComparePostalCode } from 'common/hooks/useComparePostalCode/useComparePostalCode';\n\nexport const MovingStep1 = () => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n\n const handleSubmit = useCallback(\n async (values: MovingStep1Step2FormValues, isDirty) => {\n if (!isDirty) history.push(movingRoutes.step2);\n const { apartment, ...restValues } = values;\n\n const addressForApi = {\n ...restValues.fullAddress,\n address2: apartment,\n };\n\n movingDispatch(\n movingActions.setStep1({\n ...restValues,\n rooms: restValues.rooms as string,\n fullAddress: addressForApi,\n }),\n );\n\n history.push(movingRoutes.step2);\n },\n [history, movingDispatch],\n );\n\n const { comparePostal } = useComparePostalCode({\n categoryId: CategoryIdEnum.move,\n postal: moving.step5?.postal,\n onFail: (newPostal: string) => {\n if (moving?.step5) {\n movingDispatch(\n movingActions.setStep5({\n ...moving.step5,\n postal: newPostal,\n }),\n );\n history.push(movingRoutes.step5);\n }\n },\n });\n\n if (!moving?.step5) {\n return ;\n }\n\n return (\n history.push(movingRoutes.step5)}\n defaultValues={{\n shortAddress: moving?.step1?.shortAddress || '',\n fullAddress: moving?.step1?.fullAddress || null,\n apartment: moving?.step1?.fullAddress.address2 || '',\n typeOfDwelling: moving?.step1?.typeOfDwelling ?? null,\n floor: moving?.step1?.floor ?? null,\n accessType: moving?.step1?.accessType ?? null,\n truckParking: moving?.step1?.truckParking ?? null,\n rooms: moving?.step1?.rooms || null,\n }}\n tipBoxData={{\n icon: 'h',\n text: (\n <>\n Did you know? HUNKS stands for Honest, Uniformed, Nice,{' '}\n Knowledgeable Service – our promise to you!\n \n ),\n }}\n comparePostal={comparePostal}\n />\n );\n};\n","import React, { useCallback } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\n\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { MovingFormStep1Step2 } from 'aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2';\nimport { MovingStep1Step2FormValues } from 'aMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.types';\nimport { useMovingContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\n\nexport const MovingStep2 = () => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n\n const handleSubmit = useCallback(\n (values: MovingStep1Step2FormValues, isDirty) => {\n if (!isDirty) history.push(movingRoutes.step3);\n\n const { apartment, rooms, ...restValues } = values;\n\n movingDispatch(\n movingActions.setStep2({\n ...restValues,\n fullAddress: { ...restValues.fullAddress, address2: apartment },\n }),\n );\n history.push(movingRoutes.step3);\n },\n [movingDispatch, history],\n );\n\n if (!moving?.step1) {\n return ;\n }\n\n return (\n history.push(movingRoutes.step1)}\n defaultValues={{\n shortAddress: moving?.step2?.shortAddress || '',\n fullAddress: moving?.step2?.fullAddress || null,\n apartment: moving?.step2?.fullAddress.address2 || '',\n typeOfDwelling: moving?.step2?.typeOfDwelling ?? null,\n floor: moving?.step2?.floor ?? null,\n accessType: moving?.step2?.accessType ?? null,\n truckParking: moving?.step2?.truckParking ?? null,\n }}\n tipBoxData={{\n icon: 'diamond',\n text:\n 'Our HUNKS are background checked, licensed and insured. You can rest easy knowing your valuables are kept safe.',\n }}\n />\n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n boxBgc: {\n backgroundColor: colors.grey20,\n },\n form: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n },\n box: {\n padding: '16px 0 16px 16px',\n marginLeft: -16,\n marginRight: -16,\n\n [theme.breakpoints.up('sm')]: {\n paddingLeft: 48,\n\n marginLeft: -48,\n marginRight: -48,\n },\n },\n label: {\n color: colors.grey140,\n marginBottom: 11,\n },\n}));\n","import React, { useCallback } from 'react';\nimport { Box, Typography, Grid } from '@material-ui/core';\nimport { Button, IncrementInput } from '@chhjit/react-components';\nimport { Controller, useForm } from 'react-hook-form';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport clsx from 'clsx';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { useMovingContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\n\nimport { MovingStep3Field, MovingStep3FormValues } from './MovingStep3.types';\nimport { useStyles } from './MovingStep3.styles';\n\nconst fields: MovingStep3Field[] = [\n {\n title: 'Appliances larger than a dishwasher',\n name: 'appliances',\n enableBgc: true,\n },\n {\n title: 'Items that require more than 2 people to lift',\n name: 'heavyItems',\n },\n {\n title: 'Items that need to be assembled',\n name: 'assemblyItems',\n enableBgc: true,\n },\n];\n\nexport const MovingStep3 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { handleSubmit, control } = useForm({\n defaultValues: {\n appliances: moving?.step3?.appliances ?? 0,\n heavyItems: moving?.step3?.heavyItems ?? 0,\n assemblyItems: moving?.step3?.assemblyItems ?? 0,\n },\n });\n\n const handleSubmitCallback = useCallback(\n (values: MovingStep3FormValues) => {\n movingDispatch(movingActions.setStep3(values));\n history.push(movingRoutes.step4);\n },\n [movingDispatch, history],\n );\n\n if (!moving?.step2) {\n return ;\n }\n\n return (\n
\n \n \n 4. Special items\n \n\n \n\n \n \n These types of items require special handling and may take additional time to move.\n \n \n\n \n\n {fields.map(({ title, name, enableBgc }) => (\n \n \n {title}\n \n\n (\n onChange(typeof value === 'number' ? value : 0)}\n min={0}\n max={99}\n />\n )}\n />\n \n ))}\n \n\n \n The HUNKS are specially trained to handle heavy and special items.\n\n \n \n\n \n \n \n
\n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n flexGrow: 1,\n maxWidth: 489,\n },\n calendar: {\n [theme.breakpoints.up('sm')]: {\n margin: '16px 0 53px',\n backgroundColor: colors.basic.white,\n boxShadow: '0 0 16px rgba(134, 145, 166, 0.16)',\n },\n\n [theme.breakpoints.up('md')]: {\n marginTop: 48,\n marginBottom: 25,\n },\n },\n}));\n","import React, { useCallback } from 'react';\nimport { Box, Typography, Grid } from '@material-ui/core';\nimport { Button, CalendarPicker } from '@chhjit/react-components';\nimport { useForm, Controller } from 'react-hook-form';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport moment, { Moment } from 'moment';\nimport { MaterialUiPickersDate } from '@material-ui/pickers/typings/date';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { useMovingContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\n\nimport { useStyles } from './MovingStep4.styles';\n\nexport const MovingStep4 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { handleSubmit, control } = useForm({\n defaultValues: { date: moment(moving?.step4?.date) as MaterialUiPickersDate },\n });\n\n const handleSubmitCallback = useCallback(\n (values: { date: Moment }) => {\n movingDispatch(movingActions.setStep4({ date: values.date.toDate() }));\n history.push(movingRoutes.step6);\n },\n [movingDispatch, history],\n );\n\n if (!moving?.step3) {\n return ;\n }\n\n return (\n
\n \n \n 5. job date\n \n\n \n\n \n Select the day that works best for you for our HUNKS to arrive\n \n\n \n (\n \n )}\n />\n \n \n\n No job is too big or too small for College HUNKS Hauling Junk & Moving.\n\n \n \n\n \n \n
\n );\n};\n","import React, { memo, useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { AppRoute, movingRoutes } from 'common/routing/AppRoute';\nimport { ContactInformationForm } from 'common/app/contactInformationForm/ContactInformationForm';\nimport { ContactInformationFormValues } from 'common/app/contactInformationForm/ContactInformationForm.types';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useMovingContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'aMove/context/moving/MovingContextSlice';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { useCheckPostalCode } from 'common/hooks/useCheckPostalCode/useCheckPostalCode';\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\n\nexport const MovingStep5 = memo(() => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { createOrUpdateAccount, isCreatingOrUpdatingAccount, recreateAccountWithNewLocationId } = useAccount();\n const { account } = useFormState();\n const { checkPostalCode, isChecking } = useCheckPostalCode({\n category_id: CategoryIdEnum.move,\n need_postal_info: true,\n });\n\n const handleSubmit = useCallback(\n async (values: ContactInformationFormValues, isDirty: boolean) => {\n if (!isDirty) {\n history.push(movingRoutes.step1);\n return;\n }\n\n const { address, nearestLocationId } = await checkPostalCode(values.postal);\n\n if (address && nearestLocationId) {\n let accountRes: AccountResponse | undefined;\n const payload = {\n contactInformationData: values,\n billingAddress: address,\n categoryId: CategoryIdEnum.move,\n };\n\n if (account?.locationId && account.locationId !== nearestLocationId) {\n accountRes = await recreateAccountWithNewLocationId(payload, nearestLocationId);\n } else {\n accountRes = await createOrUpdateAccount(payload, nearestLocationId);\n }\n\n if (!accountRes) {\n return;\n }\n\n movingDispatch(movingActions.setStep5(values));\n history.push(movingRoutes.step1);\n }\n },\n [\n checkPostalCode,\n history,\n account?.locationId,\n movingDispatch,\n recreateAccountWithNewLocationId,\n createOrUpdateAccount,\n ],\n );\n\n return (\n history.push(AppRoute.home)}\n defaultValues={{\n firstName: moving?.step5?.firstName || account?.firstName || '',\n lastName: moving?.step5?.lastName || account?.lastName || '',\n email: moving?.step5?.email || account?.email || '',\n phone: moving?.step5?.phone || account?.phone || '',\n postal: moving?.step5?.postal || account?.postal,\n companyName: moving?.step5?.companyName || '',\n orderNumber: moving?.step5?.orderNumber || '',\n specialInstructions: moving?.step5?.specialInstructions || '',\n additionalNotes: moving?.step5?.additionalNotes || '',\n locationOfJunk: moving?.step5?.locationOfJunk || '',\n }}\n hasPrefilledData={!!moving?.step5}\n tipBoxData={{\n icon: 'threeStars',\n text: (\n <>\n 100,000+ 5-Star Reviews
We always strive to deliver 100% client satisfaction with every job.\n \n ),\n }}\n categoryId={CategoryIdEnum.move}\n />\n );\n});\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n maxWidth: 702,\n\n '& > *:not(:last-child)': {\n marginBottom: 16,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 24,\n },\n },\n },\n}));\n","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const EditIcon = ({ className, onClick }: { className?: string; onClick?: () => void }) => {\n return (\n \n \n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n position: 'relative',\n padding: '16px 36px 24px 36px',\n backgroundColor: colors.basic.white,\n borderRadius: '4px',\n boxShadow: '0px 0px 16px rgba(134, 145, 166, 0.16)',\n },\n row: {\n display: 'flex',\n flexDirection: 'column',\n\n [theme.breakpoints.up('sm')]: {\n flexDirection: 'row',\n },\n\n '&:not(:last-child)': {\n marginBottom: 20,\n },\n },\n cell: {\n border: 'none',\n padding: 0,\n },\n title: {\n marginBottom: 19,\n },\n icon: {\n position: 'absolute',\n right: 16,\n top: 22,\n\n fontSize: 16,\n color: colors.secondary.main,\n fill: 'none',\n cursor: 'pointer',\n },\n key: {\n color: colors.grey120,\n fontWeight: 'bold',\n width: ({ wideKeyField }: { wideKeyField?: boolean }) => (wideKeyField ? 270 : 126),\n\n [theme.breakpoints.up('sm')]: {\n width: ({ wideKeyField }: { wideKeyField?: boolean }) => (wideKeyField ? 300 : 126),\n marginRight: ({ wideKeyField }: { wideKeyField?: boolean }) => (wideKeyField ? 20 : 0),\n },\n [theme.breakpoints.up('md')]: {\n width: ({ wideKeyField }: { wideKeyField?: boolean }) => (wideKeyField ? 519 : 126),\n },\n\n '&::first-letter': {\n textTransform: 'uppercase',\n },\n },\n contentWrapper: {\n '&:not(:last-child)': {\n marginBottom: 20,\n\n [theme.breakpoints.up('sm')]: {\n marginBottom: 16,\n },\n },\n },\n}));\n","import React from 'react';\nimport { Typography, TableContainer, Table, TableBody, TableRow, TableCell } from '@material-ui/core';\n\nimport { EditIcon } from 'common/assets/icons/EditIcon';\n\nimport { SingleTabProps } from './SingleTab.types';\nimport { useStyles } from './SingleTab.styles';\n\nexport const SingleTab = ({ data }: SingleTabProps) => {\n const styles = useStyles({ wideKeyField: data.wideKeyField });\n\n return (\n
\n \n {data.title}\n \n \n\n \n \n \n {data.content.map(({ key, value }, index) => (\n \n \n {key}:\n \n \n {value}\n \n \n ))}\n \n
\n
\n
\n );\n};\n","import React from 'react';\n\nimport { SummaryTabsProps } from './SummaryTabs.types';\nimport { useStyles } from './SummaryTabs.styles';\nimport { SingleTab } from './singleTab/SingleTab';\n\nexport const SummaryTabs = ({ data }: SummaryTabsProps) => {\n const styles = useStyles();\n\n return (\n
\n {data.map((tab) => (\n \n ))}\n
\n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n summaryContent: {\n flexGrow: 1,\n },\n textContent: {\n maxWidth: 489,\n },\n title: {\n marginBottom: 16,\n },\n subtitle: {\n marginBottom: 32,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 40,\n },\n },\n buttonsGroup: {\n marginTop: 48,\n },\n}));\n","import React, { useCallback, useMemo, useEffect } from 'react';\nimport { Typography } from '@material-ui/core';\nimport { Button, SelectOptionType } from '@chhjit/react-components';\nimport { useHistory, Redirect } from 'react-router-dom';\nimport moment from 'moment';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useMovingStateContext } from 'aMove/hooks/useMoving/useMoving';\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { SummaryTabs } from 'common/ui/summaryTabs/SummaryTabs';\nimport { USADateFormat } from 'common/utils/dateTime';\nimport { AccessTypeEnum } from 'common/api/types';\nimport { truckParkingOptions, typeOfDwellingOptions } from 'aMove/app/moving/MovingData';\nimport { SingleTab } from 'common/ui/summaryTabs/singleTab/SingleTab.types';\nimport { setReadyToProcessing } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { applyPhoneMask } from 'common/utils/form';\nimport { ReadyForRequestProcessingEnum } from 'common/context/form/formContext/FormContext.types';\n\nimport { useStyles } from './MovingStep6.styles';\n\nexport const MovingStep6 = () => {\n const styles = useStyles();\n const history = useHistory();\n const dispatch = useFormDispatch();\n const { moving } = useMovingStateContext();\n\n useEffect(() => {\n if (process.env.REACT_APP_IS_SANDBOX !== 'true') {\n const pagePath = window.location.origin + '/get-started/moving/provide-more-details/';\n gtag('config', 'UA-1180362-2', { page_path: pagePath });\n }\n }, []);\n\n const findLabelForSelectOptions = useCallback((options: SelectOptionType[], id: number) => {\n return options.find(({ value }) => value === id)?.label || '';\n }, []);\n\n const summaryTabsData: SingleTab[] = useMemo(() => {\n if (!moving?.step1 || !moving?.step2 || !moving?.step3 || !moving?.step4 || !moving?.step5) {\n return [];\n }\n\n return [\n {\n title: 'Contact information',\n onClick: () => history.push(movingRoutes.step5),\n content: [\n { key: 'First name', value: moving.step5.firstName },\n { key: 'Last name', value: moving.step5.lastName },\n { key: 'E-mail', value: moving.step5.email },\n { key: 'Phone number', value: applyPhoneMask(moving.step5.phone) },\n ],\n },\n {\n title: 'Moving from',\n onClick: () => history.push(movingRoutes.step1),\n content: [\n { key: 'Address', value: moving.step1.shortAddress },\n { key: 'Apt/suite', value: moving.step1.fullAddress.address2 || '-' },\n { key: 'Dwelling', value: findLabelForSelectOptions(typeOfDwellingOptions, moving.step1.typeOfDwelling) },\n ...(typeof moving.step1.floor === 'number' ? [{ key: 'Floor', value: moving.step1.floor + 1 }] : []),\n { key: 'Access type', value: AccessTypeEnum[moving.step1.accessType] },\n { key: 'Parking truck', value: findLabelForSelectOptions(truckParkingOptions, moving.step1.truckParking) },\n { key: 'Bedrooms', value: moving.step1.rooms },\n ],\n },\n {\n title: 'Moving to',\n onClick: () => history.push(movingRoutes.step2),\n content: [\n { key: 'Address', value: moving.step2.shortAddress },\n { key: 'Apt/suite', value: moving.step2.fullAddress.address2 || '-' },\n { key: 'Dwelling', value: findLabelForSelectOptions(typeOfDwellingOptions, moving.step2.typeOfDwelling) },\n ...(typeof moving.step2.floor === 'number' ? [{ key: 'Floor', value: moving.step2.floor + 1 }] : []),\n { key: 'Access type', value: AccessTypeEnum[moving.step2.accessType] },\n { key: 'Parking truck', value: findLabelForSelectOptions(truckParkingOptions, moving.step2.truckParking) },\n ],\n },\n {\n title: 'Special items',\n onClick: () => history.push(movingRoutes.step3),\n content: [\n { key: 'Appliances larger than a dishwasher', value: moving.step3.appliances || '-' },\n { key: 'Items that require more than 2 people to lift', value: moving.step3.heavyItems || '-' },\n { key: 'Items that need to be assembled', value: moving.step3.assemblyItems || '-' },\n ],\n wideKeyField: true,\n },\n {\n title: 'Job date',\n onClick: () => history.push(movingRoutes.step4),\n content: [{ key: 'Day', value: moment(moving.step4.date).format(USADateFormat) }],\n },\n ];\n }, [moving, history, findLabelForSelectOptions]);\n\n const handleNextStep = useCallback(() => {\n dispatch(setReadyToProcessing({ readyForRequestProcessing: ReadyForRequestProcessingEnum.Moving }));\n history.push(movingRoutes.processing);\n }, [dispatch, history]);\n\n if (!moving?.step4) {\n return ;\n }\n\n return (\n
\n
\n
\n \n 6. Summary\n \n\n \n Please, review your information below\n \n
\n\n \n
\n\n \n \n\n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useMutation } from 'react-fetching-library';\nimport moment from 'moment';\n\nimport { rudderanalytics } from 'common/utils/rudderanalytics';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport {\n calculateQuoteAction,\n createCallRequestAction,\n createNewQuoteAction,\n} from 'common/api/actions/account/accountActions';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setBookingDoneAndContact } from 'common/context/form/formActionCreators/formActionCreators';\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { ProcessingRequest } from 'common/app/processingRequest/ProcessingRequest';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { mapTruckParkingToLongWalks } from 'common/utils/form';\nimport { useMovingStateContext } from 'aMove/hooks/useMoving/useMoving';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\n\nexport const MovingProcessingRequest = () => {\n const history = useHistory();\n\n const { locationId, accountId, token, partnerData } = useFormState();\n const { moving } = useMovingStateContext();\n\n const dispatch = useFormDispatch();\n\n const { mutate: createCallRequestMutate, abort: abortCallRequest } = useMutation(createCallRequestAction);\n const { mutate: calculateQuoteMutate, abort: calculateQuoteAbort } = useMutation(calculateQuoteAction);\n const { mutate: createQuoteMutate, abort: createQuoteAbort } = useMutation(createNewQuoteAction);\n\n const calculateQuote = useCallback(async () => {\n if (\n !moving?.step1 ||\n !moving?.step2 ||\n !moving?.step3 ||\n !moving?.step4 ||\n !moving?.step5 ||\n !locationId ||\n !accountId ||\n !token\n ) {\n return;\n }\n\n calculateQuoteAbort();\n const { payload: calculatePayload } = await calculateQuoteMutate({\n locationId,\n accountId,\n token,\n payload: {\n hunks: 2, // default value 2\n rooms: moving.step1.rooms,\n appliances: moving.step3.appliances,\n assembly_items: moving.step3.assemblyItems,\n heavy_items: moving.step3.heavyItems,\n email_client: false,\n date: moment(moving.step4.date).format(DateFormatForAPI),\n location: {\n id: locationId,\n },\n account: {\n id: accountId,\n first_name: moving.step5.firstName,\n last_name: moving.step5.lastName,\n email: moving.step5.email,\n phone: moving.step5.phone,\n },\n origin: {\n ...moving.step1.fullAddress,\n floor: moving.step1.floor,\n access_type: moving.step1.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step1.truckParking),\n },\n destination: {\n ...moving.step2.fullAddress,\n floor: moving.step2.floor,\n access_type: moving.step2.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step2.truckParking),\n },\n category: {\n id: CategoryIdEnum.move,\n },\n type: {\n id: 1,\n },\n },\n });\n\n if (!calculatePayload?.quote?.length) return undefined;\n\n return calculatePayload.quote[0].hunks;\n }, [calculateQuoteAbort, calculateQuoteMutate, moving, locationId, accountId, token]);\n\n const createQuote = useCallback(\n async (numberOfHunks: number) => {\n if (\n !locationId ||\n !accountId ||\n !token ||\n !moving?.step1 ||\n !moving?.step2 ||\n !moving?.step3 ||\n !moving?.step4 ||\n !moving?.step5\n ) {\n return;\n }\n\n createQuoteAbort();\n\n await createQuoteMutate({\n locationId,\n accountId,\n token,\n payload: {\n hunks: numberOfHunks,\n email_client: false,\n rooms: moving.step1.rooms,\n appliances: moving.step3.appliances,\n assembly_items: moving.step3.assemblyItems,\n heavy_items: moving.step3.heavyItems,\n date: moment(moving.step4.date).format(DateFormatForAPI),\n location: {\n id: locationId,\n },\n account: {\n id: accountId,\n first_name: moving.step5.firstName,\n last_name: moving.step5.lastName,\n email: moving.step5.email,\n phone: moving.step5.phone,\n },\n origin: {\n ...moving.step1.fullAddress,\n floor: moving.step1.floor || 0,\n access_type: moving.step1.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step1.truckParking),\n },\n destination: {\n ...moving.step2.fullAddress,\n floor: moving.step2.floor || 0,\n access_type: moving.step2.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step2.truckParking),\n },\n category: {\n id: CategoryIdEnum.move,\n },\n type: {\n id: 1,\n },\n },\n });\n },\n [createQuoteAbort, createQuoteMutate, moving, token, locationId, accountId],\n );\n\n const createCallRequest = useCallback(async () => {\n if (!moving?.step5 || !token || !locationId || !accountId) {\n return;\n }\n\n abortCallRequest();\n\n const { payload: callPayload } = await createCallRequestMutate({\n locationId,\n accountId,\n token,\n category: { id: CategoryIdEnum.move },\n ...(partnerData ? { subpartner: { id: partnerData.subpartnerId } } : {}),\n });\n\n if (callPayload?.meta.status.code === 200) {\n rudderanalytics.track(`Web Lead Call Scheduled`);\n dispatch(\n setBookingDoneAndContact({\n type: 'phone',\n contact: moving.step5.phone,\n }),\n );\n history.push(movingRoutes.alldone);\n }\n }, [\n abortCallRequest,\n createCallRequestMutate,\n dispatch,\n history,\n moving?.step5,\n token,\n locationId,\n accountId,\n partnerData,\n ]);\n\n const process = useCallback(async () => {\n const numberOfHunks = await calculateQuote();\n\n if (numberOfHunks !== undefined) {\n await createQuote(numberOfHunks);\n }\n\n await createCallRequest();\n }, [calculateQuote, createCallRequest, createQuote]);\n\n return ;\n};\n","import React from 'react';\n\nimport { AllDone } from 'common/app/allDone/AllDone';\n\nexport const MovingAllDone = () => {\n return ;\n};\n","import React from 'react';\n\nimport { Unserviced } from 'common/app/unserviced/Unserviced';\n\nexport const MovingUnserviced = () => {\n return ;\n};\n","import React from 'react';\nimport { Route, Switch, Redirect } from 'react-router-dom';\n\nimport { movingRoutes } from 'common/routing/AppRoute';\nimport { LayoutRoute } from 'common/ui/layoutRoute/LayoutRoute';\n\nimport { MovingStep1 } from './pages/movingStep1/MovingStep1';\nimport { MovingStep2 } from './pages/movingStep2/MovingStep2';\nimport { MovingStep3 } from './pages/movingStep3/MovingStep3';\nimport { MovingStep4 } from './pages/movingStep4/MovingStep4';\nimport { MovingStep5 } from './pages/movingStep5/MovingStep5';\nimport { MovingStep6 } from './pages/movingStep6/MovingStep6';\nimport { MovingProcessingRequest } from './MovingProcessingRequest';\nimport { MovingAllDone } from './MovingAllDone';\nimport { MovingUnserviced } from './MovingUnserviced';\n\nexport const MovingRoutes = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { SelectOptionType, TileToggleItem } from '@chhjit/react-components';\n\nimport { TypeOfDwellingEnum, AccessTypeEnum } from 'common/api/types';\nimport { StairsIcon } from 'common/assets/icons/StairsIcon';\nimport { ElevatorIcon } from 'common/assets/icons/ElevatorIcon';\nimport { Bedroom1Icon } from 'common/assets/icons/Bedroom1Icon';\nimport { Bedroom2Icon } from 'common/assets/icons/Bedroom2Icon';\nimport { Bedroom3Icon } from 'common/assets/icons/Bedroom3Icon';\nimport { Bedroom4Icon } from 'common/assets/icons/Bedroom4Icon';\n\n// Note: type of dweeling is not used in API for this moment.\n// But select should still exist.\nexport const typeOfDwellingOptions: SelectOptionType[] = [\n { value: TypeOfDwellingEnum.Apartment, label: 'Apartment / Condo' },\n { value: TypeOfDwellingEnum.House, label: 'House' },\n { value: TypeOfDwellingEnum.Business, label: 'Business' },\n { value: TypeOfDwellingEnum.StorageUnit, label: 'Storage Unit' },\n];\n\nconst enUsRules = new Intl.PluralRules('en-US', { type: 'ordinal' });\nconst suffixes: Record = {\n one: 'st',\n two: 'nd',\n few: 'rd',\n other: 'th',\n};\n\nexport const floorOptions: SelectOptionType[] = Array.from(Array(99).keys()).map((floorNo) => {\n const floorNoLabel = floorNo + 1;\n const suffix = suffixes[enUsRules.select(floorNoLabel)];\n\n return {\n value: floorNo,\n label: `${floorNoLabel}${suffix} floor`,\n };\n});\n\nexport const accessTypeTiles: TileToggleItem[] = [\n { icon: , label: 'Elevator', value: AccessTypeEnum.Elevator },\n { icon: , label: 'Stairs', value: AccessTypeEnum.Stairs },\n];\n\nexport enum TruckParkingSelectEnum {\n Driveway = 0,\n StreetCloseWalk = 1,\n StreetSomewhatWalk = 2,\n ParkingCloseWalk = 3,\n ParkingSomewhatWalk = 4,\n ParkingFarWalk = 5,\n}\n\nexport const truckParkingOptions: SelectOptionType[] = [\n { value: TruckParkingSelectEnum.Driveway, label: 'Driveway' },\n { value: TruckParkingSelectEnum.StreetCloseWalk, label: 'On the Street - Close walk' },\n { value: TruckParkingSelectEnum.StreetSomewhatWalk, label: 'On the Street - Somewhat close walk' },\n { value: TruckParkingSelectEnum.ParkingCloseWalk, label: 'Parking Lot / Loading Dock - Close walk' },\n { value: TruckParkingSelectEnum.ParkingSomewhatWalk, label: 'Parking Lot / Loading Dock - Somewhat close walk' },\n { value: TruckParkingSelectEnum.ParkingFarWalk, label: 'Parking Lot / Loading Dock - Far walk' },\n];\n\nexport const bedroomsTiles: TileToggleItem[] = [\n { icon: , label: '1 bedroom', value: '1' },\n { icon: , label: '2 bedrooms', value: '2' },\n { icon: , label: '3 bedrooms', value: '3' },\n { icon: , label: '4+ bedrooms', value: '4+' },\n];\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n maxWidth: 489,\n },\n inputError: {\n margin: '4px 0 6px',\n lineHeight: '14px',\n fontSize: 14,\n height: 14,\n },\n label: {\n marginBottom: 8,\n opacity: 0.8,\n },\n tile: {\n [theme.breakpoints.up('md')]: {\n marginRight: 16,\n },\n },\n labelError: {\n color: colors.functionals.alert,\n opacity: 1,\n },\n tipbox: {\n maxWidth: 432,\n },\n}));\n","import React, { useCallback, useEffect, useMemo } from 'react';\nimport { Box, Typography, Grid, FormControl, FormHelperText, Collapse } from '@material-ui/core';\nimport { Input, Button, TileToggle, NewSelect, SelectOptionType } from '@chhjit/react-components';\nimport { useForm, Controller } from 'react-hook-form';\nimport clsx from 'clsx';\n\nimport { AccessTypeEnum, TypeOfDwellingEnum } from 'common/api/types';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport {\n accessTypeTiles,\n floorOptions,\n typeOfDwellingOptions,\n truckParkingOptions,\n bedroomsTiles,\n} from 'bMove/app/moving/MovingData';\nimport { AddressAutocomplete } from 'common/ui/addressAutocomplete/AddressAutocomplete';\nimport { validateAddress } from 'common/utils/validations';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\n\nimport { useStyles } from './MovingFormStep1Step2.styles';\nimport { MovingFormStep1Step2Props, MovingStep1Step2FormValues } from './MovingFormStep1Step2.types';\n\nexport const MovingFormStep1Step2 = ({\n withRooms,\n defaultValues,\n title,\n isLoading,\n tipBoxData,\n onSubmit,\n onBackClick,\n comparePostal,\n}: MovingFormStep1Step2Props) => {\n const styles = useStyles();\n const { handleSubmit, register, control, formState, watch, setValue } = useForm({\n mode: 'onBlur',\n defaultValues,\n });\n const { errors, isDirty } = formState;\n\n useEffect(() => {\n register('shortAddress'); //field without physical input\n }, [register]);\n\n const shortAddress = watch('shortAddress');\n const floor = watch('floor');\n const typeOfDwelling = watch('typeOfDwelling');\n const fullAddress = watch('fullAddress');\n\n useEffect(() => {\n if (comparePostal && fullAddress?.postal && fullAddress.postal !== '') {\n comparePostal(fullAddress.postal);\n }\n }, [fullAddress?.postal]);\n\n const onSubmitCallback = useCallback(\n (values: MovingStep1Step2FormValues) => {\n onSubmit(values, isDirty);\n },\n [onSubmit, isDirty],\n );\n\n const renderAccessType = useMemo(() => floor !== 0, [floor]);\n const renderFloorAndAccessType = useMemo(() => typeOfDwelling !== TypeOfDwellingEnum.House, [typeOfDwelling]);\n\n const handleFloorChange = useCallback(\n (onChange: (val: unknown) => void) => (option: SelectOptionType | null) => {\n const value = option ? option.value : null;\n\n if (value === 0) {\n setValue('accessType', AccessTypeEnum['Front door'], { shouldDirty: true });\n } else {\n setValue('accessType', null, { shouldDirty: true });\n }\n\n onChange(value);\n },\n [setValue],\n );\n\n const handleDwellingChange = useCallback(\n (onChange: (val: unknown) => void) => (option: SelectOptionType | null) => {\n const value = option ? option.value : null;\n\n if (value === TypeOfDwellingEnum.House) {\n setValue('floor', null, { shouldDirty: true });\n setValue('accessType', AccessTypeEnum['Front door'], { shouldDirty: true });\n } else {\n setValue('accessType', null, { shouldDirty: true });\n }\n\n onChange(value);\n },\n [setValue],\n );\n\n return (\n
\n \n \n {title}\n \n\n \n\n \n \n Your estimate is based on your exact location, so we need to know where you need help\n \n \n\n \n\n \n \n {\n const addressError = validateAddress(fullAddr);\n return addressError || undefined;\n },\n }}\n name=\"fullAddress\"\n render={({ field: { onChange, onBlur } }) => {\n return (\n {\n onChange(values?.fullAddress || null);\n setValue('shortAddress', values?.inputValue || '');\n onBlur();\n }}\n hasError={!!errors?.fullAddress}\n />\n );\n }}\n />\n\n \n {Object.values(errors?.fullAddress || {}).reduce((msg, item) => item.message || msg, '*required') ||\n '*required'}\n \n \n \n\n \n \n \n {errors.apartment?.message}\n \n \n\n \n \n (\n \n isSearchable={false}\n onChange={handleDwellingChange(onChange)}\n onBlur={onBlur}\n value={typeOfDwellingOptions.find((option) => option.value === value) ?? null}\n inputRef={ref}\n name={name}\n error={!!errors.typeOfDwelling}\n label=\"Type of dwelling\"\n options={typeOfDwellingOptions}\n />\n )}\n />\n\n {errors.typeOfDwelling?.message}\n \n \n\n \n \n \n (\n \n isSearchable={false}\n onChange={handleFloorChange(onChange)}\n onBlur={onBlur}\n inputRef={ref}\n name={name}\n error={!!errors.floor}\n label=\"Which floor?\"\n value={floorOptions.find((option) => option.value === value) ?? null}\n options={floorOptions}\n />\n )}\n />\n {errors.floor?.message}\n \n \n\n \n \n\n \n \n Access type\n \n \n (\n \n onChange={(val) => {\n onChange(val);\n onBlur();\n }}\n value={value || undefined}\n onBlur={onBlur}\n classes={{ tile: styles.tile }}\n spacing={3}\n md={5}\n tiles={accessTypeTiles}\n />\n )}\n />\n\n {errors.accessType?.message}\n \n \n \n \n\n \n \n (\n \n isSearchable={false}\n onChange={(option: SelectOptionType | null) => onChange(option?.value ?? null)}\n onBlur={onBlur}\n inputRef={ref}\n name={name}\n value={truckParkingOptions.find((option) => option.value === value) ?? null}\n error={!!errors.truckParking}\n label=\"Where should we park the truck?\"\n options={truckParkingOptions}\n />\n )}\n />\n\n {errors.truckParking?.message}\n \n \n\n {withRooms && (\n \n \n Number of bedrooms:\n \n \n (\n \n onChange={(val) => {\n onChange(val);\n onBlur();\n }}\n value={value || undefined}\n classes={{ tile: styles.tile }}\n spacing={3}\n md={5}\n tiles={bedroomsTiles}\n />\n )}\n />\n\n {errors.rooms?.message}\n \n \n )}\n \n\n \n \n {tipBoxData.text}\n \n\n \n \n\n \n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { MovingFormStep1Step2 } from 'bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2';\nimport { MovingStep1Step2FormValues } from 'bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.types';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\nimport { useComparePostalCode } from 'common/hooks/useComparePostalCode/useComparePostalCode';\n\nexport const MovingStep1 = () => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n\n const handleSubmit = useCallback(\n async (values: MovingStep1Step2FormValues, isDirty) => {\n if (!isDirty) history.push(movingRoutes.step2);\n const { apartment, ...restValues } = values;\n\n const addressForApi = {\n ...restValues.fullAddress,\n address2: apartment,\n };\n\n movingDispatch(\n movingActions.setStep1({\n ...restValues,\n rooms: restValues.rooms as string,\n fullAddress: addressForApi,\n }),\n );\n\n history.push(movingRoutes.step2);\n },\n [movingDispatch, history],\n );\n\n const { comparePostal } = useComparePostalCode({\n categoryId: CategoryIdEnum.move,\n postal: moving.step5?.postal,\n onFail: (newPostal: string) => {\n if (moving?.step5) {\n movingDispatch(\n movingActions.setStep5({\n ...moving.step5,\n postal: newPostal,\n }),\n );\n history.push(movingRoutes.step5);\n }\n },\n });\n\n if (!moving?.step5) {\n return ;\n }\n\n return (\n history.push(movingRoutes.step5)}\n defaultValues={{\n shortAddress: moving?.step1?.shortAddress || '',\n fullAddress: moving?.step1?.fullAddress || null,\n apartment: moving?.step1?.fullAddress.address2 || '',\n typeOfDwelling: moving?.step1?.typeOfDwelling ?? null,\n floor: moving?.step1?.floor ?? null,\n accessType: moving?.step1?.accessType ?? null,\n truckParking: moving?.step1?.truckParking ?? null,\n rooms: moving?.step1?.rooms || null,\n }}\n tipBoxData={{\n icon: 'h',\n text: (\n <>\n Did you know? HUNKS stands for Honest, Uniformed, Nice,{' '}\n Knowledgeable Service – our promise to you!\n \n ),\n }}\n comparePostal={comparePostal}\n />\n );\n};\n","import React, { useCallback } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { MovingFormStep1Step2 } from 'bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2';\nimport { MovingStep1Step2FormValues } from 'bMove/app/moving/movingFormStep1Step2/MovingFormStep1Step2.types';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\n\nexport const MovingStep2 = () => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n\n const handleSubmit = useCallback(\n (values: MovingStep1Step2FormValues, isDirty) => {\n if (!isDirty) history.push(movingRoutes.step3);\n\n const { apartment, rooms, ...restValues } = values;\n\n movingDispatch(\n movingActions.setStep2({\n ...restValues,\n fullAddress: { ...restValues.fullAddress, address2: apartment },\n }),\n );\n\n history.push(movingRoutes.step3);\n },\n [movingDispatch, history],\n );\n\n if (!moving?.step1) {\n return ;\n }\n\n return (\n history.push(movingRoutes.step1)}\n defaultValues={{\n shortAddress: moving?.step2?.shortAddress || '',\n fullAddress: moving?.step2?.fullAddress || null,\n apartment: moving?.step2?.fullAddress.address2 || '',\n typeOfDwelling: moving?.step2?.typeOfDwelling ?? null,\n floor: moving?.step2?.floor ?? null,\n accessType: moving?.step2?.accessType ?? null,\n truckParking: moving?.step2?.truckParking ?? null,\n }}\n tipBoxData={{\n icon: 'diamond',\n text:\n 'Our HUNKS are background checked, licensed and insured. You can rest easy knowing your valuables are kept safe.',\n }}\n />\n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n boxBgc: {\n backgroundColor: colors.grey20,\n },\n form: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n },\n box: {\n padding: '16px 0 16px 16px',\n marginLeft: -16,\n marginRight: -16,\n\n [theme.breakpoints.up('sm')]: {\n paddingLeft: 48,\n\n marginLeft: -48,\n marginRight: -48,\n },\n },\n label: {\n color: colors.grey140,\n marginBottom: 11,\n },\n}));\n","import React, { useCallback } from 'react';\nimport { Box, Typography, Grid } from '@material-ui/core';\nimport { Button, IncrementInput } from '@chhjit/react-components';\nimport { Controller, useForm } from 'react-hook-form';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport clsx from 'clsx';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\n\nimport { MovingStep3Field, MovingStep3FormValues } from './MovingStep3.types';\nimport { useStyles } from './MovingStep3.styles';\n\nconst fields: MovingStep3Field[] = [\n {\n title: 'Appliances larger than a dishwasher',\n name: 'appliances',\n enableBgc: true,\n },\n {\n title: 'Items that require more than 2 people to lift',\n name: 'heavyItems',\n },\n {\n title: 'Items that need to be assembled',\n name: 'assemblyItems',\n enableBgc: true,\n },\n];\n\nexport const MovingStep3 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { handleSubmit, control } = useForm({\n defaultValues: {\n appliances: moving?.step3?.appliances ?? 0,\n heavyItems: moving?.step3?.heavyItems ?? 0,\n assemblyItems: moving?.step3?.assemblyItems ?? 0,\n },\n });\n\n const handleSubmitCallback = useCallback(\n (values: MovingStep3FormValues) => {\n movingDispatch(movingActions.setStep3(values));\n history.push(movingRoutes.step4);\n },\n [movingDispatch, history],\n );\n\n if (!moving?.step2) {\n return ;\n }\n\n return (\n
\n \n \n 4. Special items\n \n\n \n\n \n \n These types of items require special handling and may take additional time to move.\n \n \n\n \n\n {fields.map(({ title, name, enableBgc }) => (\n \n \n {title}\n \n\n (\n onChange(typeof value === 'number' ? value : 0)}\n min={0}\n max={99}\n />\n )}\n />\n \n ))}\n \n\n \n The HUNKS are specially trained to handle heavy and special items.\n\n \n \n\n \n \n \n
\n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n flexGrow: 1,\n maxWidth: 489,\n },\n calendar: {\n [theme.breakpoints.up('sm')]: {\n margin: '16px 0 53px',\n backgroundColor: colors.basic.white,\n boxShadow: '0 0 16px rgba(134, 145, 166, 0.16)',\n },\n\n [theme.breakpoints.up('md')]: {\n marginTop: 48,\n marginBottom: 25,\n },\n },\n}));\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { Box, Typography, Grid } from '@material-ui/core';\nimport { Button, CalendarPicker } from '@chhjit/react-components';\nimport { useForm, Controller } from 'react-hook-form';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport moment, { Moment } from 'moment';\nimport { MaterialUiPickersDate } from '@material-ui/pickers/typings/date';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\n\nimport { useStyles } from './MovingStep4.styles';\n\nexport const MovingStep4 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving, isCalculatingQuote }, { movingDispatch }] = useMovingContext();\n const { handleSubmit, control } = useForm({\n defaultValues: { date: moment(moving?.step4?.date) as MaterialUiPickersDate },\n });\n const { isCallRequired } = useFormState();\n\n const [isWaitingForQuote, setWaitingForQuote] = useState(false);\n\n const redirectToNextStep = useCallback(() => {\n if (isCallRequired) {\n history.push(movingRoutes.step8);\n } else {\n history.push(movingRoutes.step6);\n }\n }, [history, isCallRequired]);\n\n const handleSubmitCallback = useCallback(\n (values: { date: Moment }) => {\n movingDispatch(movingActions.setStep4({ date: values.date.toDate() }));\n\n /*\n createAccount will createOrUpdateAccount and save accountId & token to state,\n after that useEffect (in Controller) is runned for calculatingQuote,\n then i set waiting state for that quote to check if callIsRequired\n */\n setWaitingForQuote(true);\n },\n [movingDispatch],\n );\n\n useEffect(() => {\n if (!isWaitingForQuote || isCallRequired === undefined || (isCallRequired !== undefined && isCalculatingQuote))\n return;\n\n // if isCallRequired it NOT undefined, it means that quote has been fetched and it's ready to proceed\n setWaitingForQuote(false);\n redirectToNextStep();\n }, [redirectToNextStep, isWaitingForQuote, isCallRequired, isCalculatingQuote]);\n\n if (!moving?.step3) {\n return ;\n }\n\n return (\n
\n \n \n 5. job date\n \n\n \n\n \n Select the day that works best for you for our HUNKS to arrive\n \n\n \n (\n \n )}\n />\n \n \n\n No job is too big or too small for College HUNKS Hauling Junk & Moving.\n\n \n \n\n \n Next\n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { ContactInformationForm } from 'common/app/contactInformationForm/ContactInformationForm';\nimport { ContactInformationFormValues } from 'common/app/contactInformationForm/ContactInformationForm.types';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\nimport { useCheckPostalCode } from 'common/hooks/useCheckPostalCode/useCheckPostalCode';\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\nimport { AppRoute } from 'common/routing/AppRoute';\n\nexport const MovingStep5 = () => {\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { account } = useFormState();\n const { createOrUpdateAccount, isCreatingOrUpdatingAccount, recreateAccountWithNewLocationId } = useAccount();\n\n const { checkPostalCode, isChecking } = useCheckPostalCode({\n category_id: CategoryIdEnum.move,\n need_postal_info: true,\n });\n\n const handleSubmit = useCallback(\n async (values: ContactInformationFormValues, isDirty: boolean) => {\n if (!isDirty) {\n history.push(movingRoutes.step1);\n return;\n }\n\n const { address, nearestLocationId } = await checkPostalCode(values.postal);\n\n let accountRes: AccountResponse | undefined;\n const payload = {\n contactInformationData: values,\n billingAddress: address,\n categoryId: CategoryIdEnum.move,\n };\n\n if (account?.locationId && account.locationId !== nearestLocationId) {\n accountRes = await recreateAccountWithNewLocationId(payload, nearestLocationId);\n } else {\n accountRes = await createOrUpdateAccount(payload, nearestLocationId);\n }\n\n if (!accountRes) {\n return;\n }\n\n movingDispatch(movingActions.setStep5(values));\n\n history.push(movingRoutes.step1);\n },\n [\n checkPostalCode,\n account?.locationId,\n movingDispatch,\n history,\n recreateAccountWithNewLocationId,\n createOrUpdateAccount,\n ],\n );\n\n return (\n history.push(AppRoute.home)}\n defaultValues={{\n firstName: moving?.step5?.firstName || account?.firstName || '',\n lastName: moving?.step5?.lastName || account?.lastName || '',\n email: moving?.step5?.email || account?.email || '',\n phone: moving?.step5?.phone || account?.phone || '',\n postal: moving?.step5?.postal || account?.postal,\n companyName: moving?.step5?.companyName || '',\n orderNumber: moving?.step5?.orderNumber || '',\n specialInstructions: moving?.step5?.specialInstructions || '',\n additionalNotes: moving?.step5?.additionalNotes || '',\n locationOfJunk: moving?.step5?.locationOfJunk || '',\n }}\n hasPrefilledData={!!moving?.step5}\n tipBoxData={{\n icon: 'threeStars',\n text: (\n <>\n 100,000+ 5-Star Reviews
We always strive to deliver 100% client satisfaction with every job.\n \n ),\n }}\n categoryId={CategoryIdEnum.move}\n />\n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n flexGrow: 1,\n },\n date: {\n fontWeight: 'bold',\n margin: '0 8px',\n },\n buttonsGroup: {\n paddingTop: 48,\n marginTop: 'auto',\n },\n}));\n","import React, { useCallback, useEffect } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { Grid, Typography, Box } from '@material-ui/core';\nimport { Button, TimePickerSchedule } from '@chhjit/react-components';\nimport moment from 'moment';\nimport { Controller, useForm } from 'react-hook-form';\n\nimport { CategoryIdEnum } from 'common/api/types';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { USADateFormat } from 'common/utils/dateTime';\nimport { SliderSchedulePicker } from 'common/ui/sliderSchedulePicker/SliderSchedulePicker';\nimport { useAvailability } from 'common/hooks/useAvailability/useAvailability';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\n\nimport { useStyles } from './MovingStep6.styles';\n\nexport const MovingStep6 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving, jobDuration }, { movingDispatch }] = useMovingContext();\n const { isCallRequired } = useFormState();\n const { schedules, isCheckingAvailability, getAvailabilitySchedule } = useAvailability();\n const {\n handleSubmit,\n control,\n formState: { isValid },\n } = useForm({\n mode: 'onChange',\n defaultValues: {\n schedule: moving?.step6?.schedule || null,\n },\n });\n\n const handleSubmitCallback = useCallback(\n ({ schedule }: { schedule: TimePickerSchedule | null }) => {\n if (schedule) {\n movingDispatch(movingActions.setStep6({ schedule }));\n history.push(movingRoutes.step7);\n }\n },\n [movingDispatch, history],\n );\n\n useEffect(() => {\n if (process.env.REACT_APP_IS_SANDBOX !== 'true') {\n const pagePath = window.location.origin + '/get-started/moving/provide-more-details/';\n gtag('config', 'UA-1180362-2', { page_path: pagePath });\n }\n }, []);\n\n useEffect(() => {\n (async () => {\n if (!moving?.step1 || !moving?.step4) {\n return;\n }\n\n await getAvailabilitySchedule({\n postal: moving.step1.fullAddress.postal,\n categoryId: CategoryIdEnum.move,\n jobDate: moving.step4.date,\n jobDuration,\n });\n })();\n }, [moving?.step1, moving?.step4, jobDuration, getAvailabilitySchedule]);\n\n if (!moving?.step4) {\n return ;\n }\n\n if (!moving?.step4 || (moving?.step4 && isCallRequired)) {\n return ;\n }\n\n return (\n
\n \n \n 6. Job time\n \n\n \n Select the arrival window that works best for you for our HUNKS to arrive\n \n\n \n \n Selected day: \n \n {moment(moving?.step4?.date).format(USADateFormat)}\n \n \n \n \n\n \n (\n \n )}\n />\n \n \n \n \n\n \n \n
\n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles(() => ({\n wrapper: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n },\n textContent: {\n maxWidth: 489,\n },\n listItemsContainer: {\n display: 'flex',\n },\n icon: {\n fontSize: 24,\n marginRight: 17,\n color: colors.secondary.main,\n },\n buttonsGroup: {\n marginTop: 48,\n },\n loader: {\n marginTop: 24,\n maxWidth: 489,\n },\n}));\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n contentWrapper: {\n maxWidth: 793,\n boxShadow: '0px 4px 30px rgba(0, 0, 0, 0.15)',\n marginTop: 24,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 16,\n },\n },\n row: {\n backgroundColor: colors.basic.white,\n\n '&:nth-child(even)': {\n backgroundColor: colors.grey10,\n },\n },\n divider: {\n borderBottom: `2px dashed ${colors.grey100}`,\n },\n lastRow: {\n backgroundColor: `${colors.basic.white} !important`,\n },\n cell: {\n border: 'none',\n paddingLeft: 24,\n paddingRight: 24,\n\n '&>*': {\n color: colors.grey190,\n },\n },\n cellTitle: {\n fontWeight: 'bold',\n },\n rightCell: {\n textAlign: 'right',\n },\n yourEstimatePrice: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n\n '& > span': {\n ...theme.typography.h4,\n color: colors.secondary.main,\n marginLeft: 8,\n },\n },\n}));\n","import React, { useMemo } from 'react';\nimport { Typography, TableContainer, Table, TableBody, TableRow, TableCell } from '@material-ui/core';\nimport clsx from 'clsx';\n\nimport { getPriceRange } from 'common/utils/currencyFormatter';\n\nimport { useStyles } from './PricingTable.styles';\nimport { PricingTableProps } from './PricingTable.types';\n\nexport const PricingTable = ({ data }: PricingTableProps) => {\n const styles = useStyles();\n\n const tableContent = useMemo(() => {\n const { numberOfHunks, truckAndTravel, hourlyRate, time } = data;\n\n return [\n {\n title: 'HUNKS',\n value: numberOfHunks,\n },\n {\n title: 'Truck & travel fee',\n value: `$${truckAndTravel}`,\n },\n {\n title: `Hourly rate for ${numberOfHunks} HUNKS`,\n value: `$${hourlyRate}`,\n },\n {\n title: 'Approximate time',\n value: `${time.low}-${time.high} hours`,\n },\n ];\n }, [data]);\n\n const approxPrice = useMemo(() => {\n const { totalPrice } = data;\n\n return getPriceRange(totalPrice.low, totalPrice.high);\n }, [data]);\n\n return (\n \n \n \n {tableContent.map(({ title, value }) => (\n \n \n {title}\n \n \n {value}\n \n \n ))}\n\n {/* Trick for correct, uniform border dashed */}\n \n \n \n\n \n \n \n Your estimate: {approxPrice}\n \n \n \n \n
\n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { Grid, Typography } from '@material-ui/core';\nimport { Button, Loader } from '@chhjit/react-components';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { CheckIcon } from 'common/assets/icons/CheckIcon';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\nimport { useMovingStateContext } from 'bMove/hooks/useMoving/useMoving';\n\nimport { useStyles } from './MovingStep7.styles';\nimport { PricingTable } from './pricingTable/PricingTable';\n\nconst listItems = [\n 'A professional service that will pack all your things for you',\n 'A promise that all your precious belongings will be transported with special care',\n 'Professionals who will disassemble and assemble all necessary items',\n 'The most important - trust that your items are in good hands',\n];\n\nexport const MovingStep7 = () => {\n const styles = useStyles();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const history = useHistory();\n const { prepaymentData, pricingTableData } = useMovingStateContext();\n\n const handleNextStep = useCallback(() => {\n if (\n typeof pricingTableData?.numberOfHunks !== 'number' ||\n typeof prepaymentData?.amount !== 'number' ||\n !pricingTableData?.totalPrice\n ) {\n return;\n }\n\n const data = {\n numberOfHunks: pricingTableData.numberOfHunks,\n totalPrice: pricingTableData.totalPrice,\n prepaymentValue: prepaymentData.amount,\n };\n\n movingDispatch(movingActions.setStep7(data));\n history.push(movingRoutes.step8);\n }, [movingDispatch, history, pricingTableData, prepaymentData?.amount]);\n\n if (!moving.step7 && !moving?.step6) {\n return ;\n }\n\n return (\n
\n
\n \n \n 7. Pricing\n \n\n \n \n You're one step closer to booking your stress-free move. Here's an estimate based on the information\n you've provided.\n \n \n\n \n What can we offer you?\n \n\n {listItems.map((text) => (\n \n \n {text}\n \n ))}\n \n\n {pricingTableData ? (\n \n ) : (\n
\n \n
\n )}\n
\n\n \n \n\n \n \n
\n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n summaryContent: {\n flexGrow: 1,\n },\n textContent: {\n maxWidth: 489,\n },\n title: {\n marginBottom: 16,\n },\n subtitle: {\n marginBottom: 32,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 40,\n },\n },\n buttonsGroup: {\n marginTop: 48,\n [theme.breakpoints.up('sm')]: {\n marginBottom: 32,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 64,\n },\n },\n}));\n","import { SelectOptionType } from '@chhjit/react-components';\nimport moment from 'moment';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { truckParkingOptions, typeOfDwellingOptions } from 'bMove/app/moving/MovingData';\nimport { AccessTypeEnum } from 'common/api/types';\nimport { USADateFormat } from 'common/utils/dateTime';\nimport { applyPhoneMask } from 'common/utils/form';\nimport { SingleTab } from 'common/ui/summaryTabs/singleTab/SingleTab.types';\nimport { MovingState, PrepaymentData } from 'bMove/context/moving/MovingContext.types';\nimport { formatCurrency, getPriceRange } from 'common/utils/currencyFormatter';\n\nconst findLabelForSelectOptions = (options: SelectOptionType[], id: number) => {\n return options.find(({ value }) => value === id)?.label || '';\n};\n\ntype GetMovingSummaryTabsData = {\n moving: MovingState | undefined;\n historyPush: (path: string) => void;\n isCallRequired?: boolean;\n prepaymentData?: PrepaymentData;\n};\n\nexport const getMovingSummaryTabsData = ({\n moving,\n historyPush,\n isCallRequired,\n prepaymentData,\n}: GetMovingSummaryTabsData): SingleTab[] => {\n if (!moving?.step1 || !moving?.step2 || !moving?.step3 || !moving?.step4 || !moving?.step5) {\n return [];\n }\n\n return [\n {\n title: 'Moving from',\n onClick: () => historyPush(movingRoutes.step1),\n content: [\n { key: 'Address', value: moving.step1.shortAddress },\n { key: 'Apt/suite', value: moving.step1.fullAddress.address2 || '-' },\n { key: 'Dwelling', value: findLabelForSelectOptions(typeOfDwellingOptions, moving.step1.typeOfDwelling) },\n ...(typeof moving.step1.floor === 'number' ? [{ key: 'Floor', value: moving.step1.floor + 1 }] : []),\n { key: 'Access type', value: AccessTypeEnum[moving.step1.accessType] },\n { key: 'Parking truck', value: findLabelForSelectOptions(truckParkingOptions, moving.step1.truckParking) },\n { key: 'Bedrooms', value: moving.step1.rooms },\n ],\n },\n {\n title: 'Moving to',\n onClick: () => historyPush(movingRoutes.step2),\n content: [\n { key: 'Address', value: moving.step2.shortAddress },\n { key: 'Apt/suite', value: moving.step2.fullAddress.address2 || '-' },\n { key: 'Dwelling', value: findLabelForSelectOptions(typeOfDwellingOptions, moving.step2.typeOfDwelling) },\n ...(typeof moving.step2.floor === 'number' ? [{ key: 'Floor', value: moving.step2.floor + 1 }] : []),\n { key: 'Access type', value: AccessTypeEnum[moving.step2.accessType] },\n { key: 'Parking truck', value: findLabelForSelectOptions(truckParkingOptions, moving.step2.truckParking) },\n ],\n },\n {\n title: 'Special items',\n onClick: () => historyPush(movingRoutes.step3),\n content: [\n { key: 'Appliances larger than a dishwasher', value: moving.step3.appliances || '-' },\n { key: 'Items that require more than 2 people to lift', value: moving.step3.heavyItems || '-' },\n { key: 'Items that need to be assembled', value: moving.step3.assemblyItems || '-' },\n ],\n wideKeyField: true,\n },\n {\n title: 'Job date',\n onClick: () => historyPush(movingRoutes.step4),\n content: [\n { key: 'Day', value: moment(moving.step4.date).format(USADateFormat) },\n ...(moving.step6 && isCallRequired === false ? [{ key: 'Time', value: moving.step6.schedule.friendly }] : []),\n ],\n },\n {\n title: 'Contact information',\n onClick: () => historyPush(movingRoutes.step5),\n content: [\n { key: 'First name', value: moving.step5.firstName },\n { key: 'Last name', value: moving.step5.lastName },\n { key: 'E-mail', value: moving.step5.email },\n { key: 'Phone number', value: applyPhoneMask(moving.step5.phone) },\n ],\n },\n ...(moving.step7\n ? [\n {\n title: 'Price',\n onClick: () => historyPush(movingRoutes.step7),\n content: [\n {\n key: 'Job estimate',\n value: getPriceRange(moving.step7.totalPrice.low, moving.step7.totalPrice.high),\n },\n ...(prepaymentData?.isPrepaymentAvailable\n ? [{ key: 'Deposit', value: formatCurrency.format(moving.step7.prepaymentValue) }]\n : []),\n ],\n },\n ]\n : []),\n ];\n};\n","import React, { useCallback, useMemo } from 'react';\nimport { Typography } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\nimport { useHistory, Redirect } from 'react-router-dom';\n\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { SummaryTabs } from 'common/ui/summaryTabs/SummaryTabs';\nimport { setReadyToProcessing } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { ReadyForRequestProcessingEnum } from 'common/context/form/formContext/FormContext.types';\nimport { useMovingStateContext } from 'bMove/hooks/useMoving/useMoving';\nimport { useMovingContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\n\nimport { useStyles } from './MovingStep8.styles';\nimport { getMovingSummaryTabsData } from './MovingStep8.utils';\n\nexport const MovingStep8 = () => {\n const styles = useStyles();\n const history = useHistory();\n const [{ moving }, { movingDispatch }] = useMovingContext();\n const { isCallRequired } = useFormState();\n const { prepaymentData } = useMovingStateContext();\n const dispatch = useFormDispatch();\n const summaryTabsData = useMemo(\n () => getMovingSummaryTabsData({ moving, historyPush: history.push, isCallRequired, prepaymentData }),\n [moving, history, isCallRequired, prepaymentData],\n );\n\n const handleNextStep = useCallback(() => {\n movingDispatch(movingActions.setStep8({ visited: true }));\n dispatch(setReadyToProcessing({ readyForRequestProcessing: ReadyForRequestProcessingEnum.Moving }));\n history.push(movingRoutes.processing);\n }, [movingDispatch, dispatch, history]);\n\n if (!moving?.step7 && !isCallRequired) {\n return ;\n }\n if (!moving?.step5 && isCallRequired) {\n return ;\n }\n\n return (\n
\n
\n
\n \n 8. Summary\n \n\n \n Please, review your information below\n \n
\n\n \n
\n\n \n \n\n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useMutation } from 'react-fetching-library';\nimport { TimePickerSchedule, useAlert } from '@chhjit/react-components';\nimport moment from 'moment';\n\nimport { rudderanalytics } from 'common/utils/rudderanalytics';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport {\n createNewQuoteAction,\n createAppointmentAction,\n createAccountAddressAction,\n createCallRequestAction,\n} from 'common/api/actions/account/accountActions';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setBookingDoneAndContact, setGlobalData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { ProcessingRequest } from 'common/app/processingRequest/ProcessingRequest';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { mapTruckParkingToLongWalks } from 'common/utils/form';\nimport { DateFormatForAPI } from 'common/utils/dateTime';\nimport { useAvailability } from 'common/hooks/useAvailability/useAvailability';\nimport { useMovingDispatchContext, useMovingStateContext } from 'bMove/hooks/useMoving/useMoving';\nimport { movingActions } from 'bMove/context/moving/MovingContextSlice';\nimport { useFeatureFlags } from 'common/hooks/use-feature-flags/use-feature-flags';\nimport { uploadAttachmentAction } from 'common/api/actions/attachments/AttachmentsActions';\n\nexport const MovingProcessingRequest = () => {\n const history = useHistory();\n\n const {\n locationId,\n accountId,\n token,\n readyForRequestProcessing,\n isCallRequired,\n appointmentId,\n partnerData,\n } = useFormState();\n const { moving, jobDuration, prepaymentData } = useMovingStateContext();\n\n const dispatch = useFormDispatch();\n const { movingDispatch } = useMovingDispatchContext();\n\n const { mutate: createQuoteMutate, abort: createQuoteAbort } = useMutation(createNewQuoteAction);\n const { mutate: createAddressMutate, abort: abortCreateAddress } = useMutation(createAccountAddressAction);\n const { mutate: createAppointmentMutate, abort: abortCreateAppointment } = useMutation(createAppointmentAction);\n const { abort: abortCreateCallRequest, mutate: createCallRequestMutate } = useMutation(createCallRequestAction);\n\n const { toggles } = useFeatureFlags();\n const { showAlert } = useAlert();\n const { getTheSameOrSimilarSchedule } = useAvailability();\n\n const handleError = useCallback(\n (type: 'quote' | 'appointment') => {\n showAlert(`We were unable to create a ${type} for your moving, please contact us for information.`, {\n variant: 'error',\n autoHideDuration: null,\n });\n },\n [showAlert],\n );\n\n const createQuote = useCallback(async () => {\n if (\n !moving?.step1 ||\n !moving?.step2 ||\n !moving?.step3 ||\n !moving?.step4 ||\n !moving?.step5 ||\n !moving?.step7 ||\n !locationId ||\n !accountId ||\n !token\n ) {\n return;\n }\n\n createQuoteAbort();\n\n const { payload: createQuotePayload } = await createQuoteMutate({\n locationId,\n accountId,\n token,\n payload: {\n hunks: moving.step7.numberOfHunks,\n email_client: false,\n rooms: moving.step1.rooms,\n appliances: moving.step3.appliances,\n assembly_items: moving.step3.assemblyItems,\n heavy_items: moving.step3.heavyItems,\n date: moment(moving.step4.date).format(DateFormatForAPI),\n location: {\n id: locationId,\n },\n account: {\n id: accountId,\n first_name: moving.step5.firstName,\n last_name: moving.step5.lastName,\n email: moving.step5.email,\n phone: moving.step5.phone,\n },\n origin: {\n ...moving.step1.fullAddress,\n floor: moving.step1.floor ?? 0,\n access_type: moving.step1.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step1.truckParking),\n },\n destination: {\n ...moving.step2.fullAddress,\n floor: moving.step1.floor ?? 0,\n access_type: moving.step2.accessType,\n long_walks: mapTruckParkingToLongWalks(moving.step2.truckParking),\n },\n category: {\n id: CategoryIdEnum.move,\n },\n type: {\n id: 1,\n },\n },\n });\n\n if (createQuotePayload?.meta.status.code === 200) {\n return true;\n } else {\n return false;\n }\n }, [createQuoteAbort, createQuoteMutate, moving, locationId, accountId, token]);\n\n const getSchedule = useCallback(async () => {\n if (!moving?.step1 || !moving?.step4 || !moving?.step6 || !jobDuration) {\n return;\n }\n\n const schedule = await getTheSameOrSimilarSchedule({\n availabilityParams: {\n postal: moving.step1.fullAddress.postal,\n categoryId: CategoryIdEnum.move,\n jobDate: moving.step4.date,\n jobDuration,\n },\n currentSchedule: moving.step6.schedule,\n });\n\n if (!schedule) {\n showAlert('The selected time is not available, please select another time.', {\n variant: 'error',\n });\n\n movingDispatch(movingActions.resetStep({ step: 'step6' }));\n movingDispatch(movingActions.resetStep({ step: 'step8' }));\n\n history.push(movingRoutes.step6);\n return;\n }\n\n return schedule;\n }, [\n getTheSameOrSimilarSchedule,\n movingDispatch,\n showAlert,\n moving?.step1,\n moving?.step4,\n moving?.step6,\n jobDuration,\n history,\n ]);\n\n const createAppointment = useCallback(\n async (chosenSchedule?: TimePickerSchedule) => {\n if (\n !moving?.step1 ||\n !moving?.step2 ||\n !moving?.step3 ||\n !moving?.step4 ||\n !moving?.step5 ||\n !moving?.step6 ||\n !locationId ||\n !accountId ||\n !readyForRequestProcessing ||\n !token ||\n !jobDuration ||\n !chosenSchedule\n )\n return;\n\n abortCreateAddress();\n const { payload } = await createAddressMutate({\n locationId,\n accountId,\n token,\n fullAddress: moving.step1.fullAddress,\n });\n\n if (!payload?.addresses) return;\n\n const originId = payload.addresses[0].id;\n\n abortCreateAppointment();\n\n const { payload: appointmentPayload } = await createAppointmentMutate({\n locationId,\n token,\n start_date: chosenSchedule.start,\n end_date: chosenSchedule.end,\n category: { id: CategoryIdEnum.move },\n account: { id: accountId },\n origin: { id: originId },\n create_schedule: true,\n resource: { id: chosenSchedule.resourceId },\n purchase_order: moving.step5.orderNumber,\n notes: {\n special_instructions: moving.step5.specialInstructions,\n type_of_junk: moving.step5.additionalNotes ? `Additional notes: ${moving.step5.additionalNotes}` : '',\n location_of_junk: moving.step5.locationOfJunk || '',\n },\n ...(toggles.PartnerManagement_DefaultReferralSource &&\n partnerData?.source_id && {\n source: {\n id: partnerData.source_id,\n },\n }),\n ...(partnerData?.subpartnerId !== undefined && { partner: { id: partnerData.subpartnerId } }),\n });\n\n if (appointmentPayload?.meta.status.code === 200 && appointmentPayload?.appointments?.length) {\n dispatch(setGlobalData({ appointmentId: appointmentPayload.appointments[0].id }));\n rudderanalytics.track(`Appointment created!`);\n\n return true;\n } else {\n return false;\n }\n },\n [\n moving.step1,\n moving?.step2,\n moving?.step3,\n moving?.step4,\n moving.step5,\n moving?.step6,\n locationId,\n accountId,\n readyForRequestProcessing,\n token,\n jobDuration,\n abortCreateAddress,\n createAddressMutate,\n abortCreateAppointment,\n createAppointmentMutate,\n toggles.PartnerManagement_DefaultReferralSource,\n partnerData?.source_id,\n partnerData?.subpartnerId,\n dispatch,\n ],\n );\n\n const handleCallRequired = useCallback(async () => {\n if (!moving?.step5 || !locationId || !accountId || !token) {\n return;\n }\n\n abortCreateCallRequest();\n const { payload } = await createCallRequestMutate({\n locationId,\n accountId,\n token,\n category: { id: CategoryIdEnum.move },\n ...(partnerData ? { subpartner: { id: partnerData.subpartnerId } } : {}),\n });\n\n if (!payload?.requests) return;\n\n dispatch(\n setBookingDoneAndContact({\n type: 'phone',\n contact: moving.step5.phone,\n }),\n );\n history.push(movingRoutes.alldone);\n }, [\n createCallRequestMutate,\n abortCreateCallRequest,\n history,\n dispatch,\n moving?.step5,\n token,\n locationId,\n accountId,\n partnerData,\n ]);\n\n const redirectAfterProcess = useCallback(() => {\n if (!moving?.step5) {\n return;\n }\n // if prepayment cannot be collected, then do not make prepayment, go to allDone\n if (prepaymentData?.isPrepaymentAvailable) {\n history.push(movingRoutes.prepayment);\n } else {\n dispatch(\n setBookingDoneAndContact({\n type: 'phone',\n contact: moving.step5.phone,\n }),\n );\n history.push(movingRoutes.alldone);\n }\n }, [prepaymentData?.isPrepaymentAvailable, dispatch, history, moving?.step5]);\n\n const process = useCallback(async () => {\n if (isCallRequired) {\n handleCallRequired();\n return;\n }\n\n // if appointment is already created, then break the function and redirect\n if (appointmentId !== undefined) {\n redirectAfterProcess();\n return;\n }\n\n const chosenSchedule = await getSchedule();\n if (!chosenSchedule) {\n return;\n }\n\n const isQuoteCreated = await createQuote();\n if (!isQuoteCreated) {\n handleError('quote');\n return;\n }\n\n const isAppointmentCreated = await createAppointment(chosenSchedule);\n if (!isAppointmentCreated) {\n handleError('appointment');\n return;\n }\n\n redirectAfterProcess();\n }, [\n appointmentId,\n isCallRequired,\n createQuote,\n createAppointment,\n handleError,\n handleCallRequired,\n getSchedule,\n redirectAfterProcess,\n ]);\n\n return ;\n};\n","import React from 'react';\n\nimport { AllDone } from 'common/app/allDone/AllDone';\n\nexport const MovingAllDone = () => {\n return ;\n};\n\nexport const MovingAllDoneError = () => {\n return (\n \n );\n};\n\nexport const MovingAllDonePrepayment = () => {\n return (\n \n );\n};\n","import React from 'react';\n\nimport { Unserviced } from 'common/app/unserviced/Unserviced';\n\nexport const MovingUnserviced = () => {\n return ;\n};\n","import { Action, BasicResponseStructure } from 'common/api/types';\n\nimport { CreatePaymentPayload } from './paymentActions.types';\n\nexport const createNewPayment = (values: CreatePaymentPayload): Action => {\n const { locationId, accountId, appointmentId, token, ...restValues } = values;\n\n return {\n method: 'POST',\n endpoint: `/public/website/locations/${locationId}/accounts/${accountId}/appointments/${appointmentId}/payments/square?token=${token}`,\n body: { ...restValues },\n config: { disableInterceptErrors: true },\n };\n};\n","import { colors } from '@chhjit/react-components';\nimport { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n [theme.breakpoints.up('sm')]: {\n marginTop: 40,\n },\n },\n\n container: {\n width: '100%',\n paddingLeft: 16,\n paddingRight: 16,\n paddingTop: 8,\n background: colors.basic.white,\n\n marginBottom: theme.spacing(3),\n\n [theme.breakpoints.up('sm')]: {\n marginLeft: 0,\n marginRight: 0,\n padding: 24,\n },\n\n boxShadow: '0px 0px 16px rgba(134, 145, 166, 0.16)',\n },\n\n title: {\n [theme.breakpoints.up('md')]: {\n ...theme.typography.h3,\n },\n },\n\n label: {\n fontFamily: 'Noah',\n fontStyle: 'normal',\n fontWeight: 'bold',\n letterSpacing: 1.5,\n textTransform: 'uppercase',\n },\n subtitle: {\n marginBottom: 32,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 40,\n },\n },\n buttonsGroup: {\n marginTop: 48,\n [theme.breakpoints.up('sm')]: {\n marginBottom: 32,\n },\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 64,\n },\n },\n\n bold: {\n fontWeight: 'bold',\n },\n\n helperText: {\n fontSize: 14,\n height: 14,\n color: colors.grey140,\n margin: '4px 0 6px',\n },\n\n errorText: {\n color: theme.palette.error.main,\n },\n\n linkText: {\n textDecoration: 'underline',\n color: colors.secondary.main,\n display: 'inline-block',\n '&:hover': {\n cursor: 'pointer',\n },\n },\n}));\n\nexport const squareInputStyles = {\n color: colors.secondary.main,\n fontFamily: 'Helvetica Neue', // Noah not available for square fields\n fontWeight: '500',\n fontSize: '16px',\n lineHeight: '24px',\n padding: '16px',\n placeholderColor: colors.grey140,\n placeholderFontWeight: '500',\n};\n","import React, { useCallback, useContext } from 'react';\nimport { Button } from '@chhjit/react-components';\nimport { Context as SquarePaymentContext } from 'react-square-payment-form';\n\nimport { PrepaymentSubmitButtonProps } from './PrepaymentSubmitButton.types';\n\n// The square useContext call must be used within the component\nexport const PrepaymentSubmitButton = ({ onSubmit, isLoading, label }: PrepaymentSubmitButtonProps) => {\n const squareContext = useContext(SquarePaymentContext);\n const handleSubmit = useCallback(() => onSubmit(squareContext.onCreateNonce), [onSubmit, squareContext]);\n\n return (\n \n {label}\n \n );\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Button, Loader } from '@chhjit/react-components';\nimport { Box, Collapse, FormHelperText, Typography } from '@material-ui/core';\nimport React, { useState } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport {\n CreditCardCVVInput,\n CreditCardExpirationDateInput,\n CreditCardNumberInput,\n CreditCardPostalCodeInput,\n SquarePaymentForm,\n} from 'react-square-payment-form';\nimport clsx from 'clsx';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { useMovingStateContext } from 'bMove/hooks/useMoving/useMoving';\n\n// eslint-disable-next-line import/order\nimport { squareInputStyles, useStyles } from './Prepayment.styles';\nimport 'react-square-payment-form/lib/default.css';\n\n// Override SquarePayment styles\nimport './SquarePayment.css';\n\nimport { PrepaymentProps } from './Prepayment.types';\nimport { PrepaymentSubmitButton } from './prepaymentSubmitButton/PrepaymentSubmitButton';\n\nconst squareApplicationId = process.env.REACT_APP_SQUARE_APP_ID || '';\nconst isSandbox = squareApplicationId.includes('sandbox');\n\nexport const Prepayment = ({\n cardNonceResponseReceived,\n createVerificationDetails,\n handleContinueWithoutPrepayment,\n errors,\n paymentLoading,\n onSubmit,\n hasApiFailed,\n}: PrepaymentProps) => {\n const history = useHistory();\n const { prepaymentData } = useMovingStateContext();\n const styles = useStyles();\n const [isSquareLoaded, setIsSquareLoaded] = useState(false);\n\n const cardNumberError = errors?.find((e) => e.field === 'cardNumber');\n const postalError = errors?.find((e) => e.field === 'postalCode');\n const cvvError = errors?.find((e) => e.field === 'cvv');\n const expDateError = errors?.find((e) => e.field === 'expirationDate');\n\n if (!prepaymentData?.squareLocationId) {\n return ;\n }\n\n return (\n
\n {!isSquareLoaded && (\n \n \n \n )}\n\n cardNonceResponseReceived(errors, noonce)}\n createVerificationDetails={createVerificationDetails}\n paymentFormLoaded={() => setIsSquareLoaded(true)}\n inputStyles={[squareInputStyles]}\n >\n \n
\n
\n \n Pre-payment\n \n \n \n To book the service, you need to make prepayment of{' '}\n ${prepaymentData.amount}.\n {prepaymentData.prepaymentRefundable && (\n <>\n {' '}\n Refund will be possible until {prepaymentData.refundDate}\n \n )}\n \n \n \n Credit Card info\n \n
\n \n \n {cardNumberError?.message || '*required'}\n \n\n \n \n {expDateError?.message || '*required'}\n \n\n \n \n {postalError?.message || '*required'}\n \n\n \n \n {cvvError?.message || '*required'}\n \n
\n
\n\n \n \n \n continue without prepayment\n \n \n \n\n \n \n \n \n
\n
\n \n
\n );\n};\n","import React, { useCallback, useState } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { SqError } from 'react-square-payment-form/lib/components/models';\nimport { useMutation } from 'react-fetching-library';\nimport { useAlert } from '@chhjit/react-components';\n\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { createNewPayment } from 'common/api/actions/payment/paymentActions';\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setBookingDoneAndContact } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useMovingStateContext } from 'bMove/hooks/useMoving/useMoving';\n\nimport { Prepayment } from './Prepayment';\n\nexport const PrepaymentContainer = () => {\n const { showAlert } = useAlert();\n const { token, appointmentId, locationId, accountId } = useFormState();\n const [isSquareProcessing, setIsSquareProcessing] = useState(false);\n const [hasApiFailed, setHasApiFailed] = useState(false);\n const { moving, prepaymentData } = useMovingStateContext();\n const history = useHistory();\n const dispatch = useFormDispatch();\n const [errors, setErrors] = useState<[SqError] | null>(null);\n\n const { mutate: createPaymentMutate, loading: isCreatingNewPayment, abort: createPaymentAbort } = useMutation(\n createNewPayment,\n );\n\n const cardNonceResponseReceived = async (errors: [SqError] | null, nonce: string) => {\n if (errors) {\n setIsSquareProcessing(false);\n setErrors(errors);\n return;\n } else {\n setErrors(null);\n createPaymentAbort();\n\n if (!locationId || !appointmentId || !accountId || !token || !prepaymentData || !moving?.step5) return;\n\n const payloadData = {\n locationId,\n accountId,\n appointmentId,\n token,\n amount: prepaymentData.amount.toString(),\n nonce,\n square_location_id: prepaymentData.squareLocationId,\n };\n\n const { payload } = await createPaymentMutate(payloadData);\n setIsSquareProcessing(false);\n\n if (payload?.meta.status.code === 200) {\n dispatch(\n setBookingDoneAndContact({\n type: 'email',\n contact: moving.step5.email,\n }),\n );\n history.push(movingRoutes.alldonePrepayment);\n } else if (payload?.meta.errors?.length) {\n setHasApiFailed(true);\n showAlert(payload?.meta.errors[0].message, { variant: 'error' });\n }\n }\n };\n\n const createVerificationDetails = () => {\n return {\n amount: moving?.step7?.prepaymentValue.toString(),\n currencyCode: 'USD',\n intent: 'CHARGE',\n billingContact: {\n familyName: moving?.step5?.lastName || '',\n givenName: moving?.step5?.firstName || '',\n email: moving?.step5?.email || '',\n country: moving?.step1?.fullAddress.country || '',\n city: moving?.step1?.fullAddress.city || '',\n addressLines: [moving?.step1?.fullAddress.address || ''],\n postalCode: moving?.step1?.fullAddress.postal || '',\n phone: moving?.step5?.phone || '',\n },\n };\n };\n\n const handleContinueWithoutPrepayment = useCallback(() => {\n if (!moving.step5) {\n return;\n }\n\n dispatch(\n setBookingDoneAndContact({\n type: 'phone',\n contact: moving.step5.phone,\n }),\n );\n history.push(movingRoutes.alldonePrepaymentError);\n }, [dispatch, history, moving?.step5]);\n\n const handleSubmit = useCallback(async (submitCallback: () => void) => {\n setIsSquareProcessing(true);\n submitCallback(); // it invokes cardNonceResponseReceived() (by squareContext)\n }, []);\n\n if (!moving?.step1 || !moving.step5) {\n return ;\n }\n\n return (\n \n );\n};\n","import React from 'react';\nimport { Route, Switch, Redirect } from 'react-router-dom';\n\nimport { movingRoutes } from 'bMove/routing/AppRoute';\nimport { LayoutRoute } from 'common/ui/layoutRoute/LayoutRoute';\n\nimport { MovingStep1 } from './pages/movingStep1/MovingStep1';\nimport { MovingStep2 } from './pages/movingStep2/MovingStep2';\nimport { MovingStep3 } from './pages/movingStep3/MovingStep3';\nimport { MovingStep4 } from './pages/movingStep4/MovingStep4';\nimport { MovingStep5 } from './pages/movingStep5/MovingStep5';\nimport { MovingStep6 } from './pages/movingStep6/MovingStep6';\nimport { MovingStep7 } from './pages/movingStep7/MovingStep7';\nimport { MovingStep8 } from './pages/movingStep8/MovingStep8';\nimport { MovingProcessingRequest } from './MovingProcessingRequest';\nimport { MovingAllDone } from './MovingAllDone';\nimport { MovingUnserviced } from './MovingUnserviced';\nimport { PrepaymentContainer } from './pages/prepayment/PrepaymentContainer';\nimport { MovingAllDoneError, MovingAllDonePrepayment } from './MovingAllDone';\n\nexport const MovingRoutes = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n form: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n },\n content: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n maxWidth: 489,\n\n '& > *:not(:last-child)': {\n marginBottom: 16,\n },\n },\n tipBox: {\n marginTop: 'auto',\n },\n inputError: {\n margin: '4px 0 6px',\n lineHeight: '14px',\n fontSize: 14,\n height: 14,\n },\n}));\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { Box, FormControl, FormHelperText, Typography } from '@material-ui/core';\nimport { Button, Input } from '@chhjit/react-components';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { Controller, useForm } from 'react-hook-form';\nimport { useMutation } from 'react-fetching-library';\n\nimport { TipBox } from 'common/ui/tipBox/TipBox';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { AddressAutocomplete } from 'common/ui/addressAutocomplete/AddressAutocomplete';\nimport { validateAddress } from 'common/utils/validations';\nimport { GoogleLocation } from 'common/ui/addressAutocomplete/AddressAutocomplete.types';\nimport { GoogleMaps } from 'common/ui/googleMaps/GoogleMaps';\nimport { BillingAddress } from 'common/api/actions/account/accountActions.types';\nimport { setGlobalData } from 'common/context/form/formActionCreators/formActionCreators';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { checkPostalCodeAction } from 'common/api/actions/booking/bookingActions';\nimport { findNearestLocationId } from 'common/utils/findNearestLocationId';\nimport { laborRoutes } from 'common/routing/AppRoute';\nimport { useLaborContext } from 'common/hooks/useLabor/useLabor';\nimport { laborActions } from 'common/context/labor/LaborContextContextSlice';\nimport { useResetState } from 'common/hooks/useResetState/useResetState';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { useComparePostalCode } from 'common/hooks/useComparePostalCode/useComparePostalCode';\n\nimport { useStyles } from './LaborStep1.styles';\n\nexport const LaborStep1 = () => {\n const styles = useStyles();\n const history = useHistory();\n const dispatch = useFormDispatch();\n const resetState = useResetState();\n const { mutate, loading } = useMutation(checkPostalCodeAction);\n const { recreateAccountWithNewLocationId, isRecreatingAccount } = useAccount();\n const [{ labor }, { laborDispatch }] = useLaborContext();\n const [googleMapsLocation, setGoogleMapsLocation] = useState(\n labor?.step1?.googleMapsLocation,\n );\n const { handleSubmit, register, control, formState, watch, setValue } = useForm({\n mode: 'onBlur',\n defaultValues: {\n fullAddress: labor?.step1?.fullAddress || undefined,\n address: labor?.step1?.address || '',\n apartment: labor?.step1?.fullAddress.address2 || '',\n },\n });\n const { isDirty, isValid, errors } = formState;\n\n useEffect(() => {\n register('address'); //field without physical input\n }, [register]);\n\n const shortAddress = watch('address');\n const fullAddress = watch('fullAddress');\n\n const { comparePostal } = useComparePostalCode({\n categoryId: CategoryIdEnum.labor,\n postal: labor.step2?.postal,\n onFail: (newPostal: string) => {\n if (labor.step2) {\n laborDispatch(\n laborActions.setStep2({\n ...labor.step2,\n postal: newPostal,\n }),\n );\n history.push(laborRoutes.step2);\n }\n },\n });\n\n useEffect(() => {\n if (comparePostal && fullAddress?.postal && fullAddress.postal !== '') {\n comparePostal(fullAddress.postal);\n }\n }, [fullAddress?.postal]);\n\n const handleSubmitCallback = useCallback(\n async ({\n fullAddress,\n address,\n apartment,\n }: {\n fullAddress?: BillingAddress;\n address: string;\n apartment: string;\n }) => {\n if (!isDirty) history.push(laborRoutes.step2);\n\n if (fullAddress) {\n const { payload } = await mutate({\n postal: fullAddress.postal,\n job_category_id: CategoryIdEnum.labor,\n });\n\n if (payload?.locations?.length) {\n const addressForApi = {\n ...fullAddress,\n address2: apartment,\n };\n\n const nearestLocationId = findNearestLocationId(payload.locations);\n const zoneId = payload.locations[0].zone.id;\n\n if (labor?.step2) {\n await recreateAccountWithNewLocationId(\n {\n contactInformationData: labor.step2,\n billingAddress: addressForApi,\n categoryId: CategoryIdEnum.labor,\n },\n nearestLocationId,\n );\n }\n\n if (googleMapsLocation) {\n laborDispatch(\n laborActions.setStep1({\n address,\n googleMapsLocation,\n fullAddress: addressForApi,\n }),\n );\n\n dispatch(setGlobalData({ locationId: nearestLocationId, zoneId }));\n\n history.push(laborRoutes.step3);\n }\n } else {\n resetState();\n history.push(laborRoutes.unserviced);\n return;\n }\n }\n },\n [\n googleMapsLocation,\n dispatch,\n resetState,\n history,\n laborDispatch,\n mutate,\n isDirty,\n recreateAccountWithNewLocationId,\n labor?.step2,\n ],\n );\n\n if (!labor?.step2) {\n return ;\n }\n\n return (\n
\n
\n 2. Your Location\n\n Let's make sure we can help you. Where are you located?\n\n \n {\n const addressError = validateAddress(fullAddr);\n return addressError || undefined;\n },\n }}\n name=\"fullAddress\"\n render={({ field: { onChange, onBlur } }) => {\n return (\n {\n onChange(values?.fullAddress || null);\n setValue('address', values?.inputValue || '');\n if (values?.location) setGoogleMapsLocation(values?.location);\n onBlur();\n }}\n hasError={!!errors?.fullAddress}\n />\n );\n }}\n />\n \n {Object.values(errors?.fullAddress || {}).reduce((msg, item) => item.message || msg, '*required') ||\n '*required'}\n \n \n\n \n \n {errors.apartment?.message}\n \n\n {googleMapsLocation && }\n \n\n \n We’ll do everything we can to give your items a second life. We donate or recycle up to 70% of the\n items we remove.\n \n
\n\n \n \n \n \n Next\n \n \n \n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { ContactInformationFormValues } from 'common/app/contactInformationForm/ContactInformationForm.types';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { ContactInformationForm } from 'common/app/contactInformationForm/ContactInformationForm';\nimport { AppRoute, laborRoutes } from 'common/routing/AppRoute';\nimport { useLaborContext } from 'common/hooks/useLabor/useLabor';\nimport { laborActions } from 'common/context/labor/LaborContextContextSlice';\nimport { useAccount } from 'common/hooks/useAccount/useAccount';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { useCheckPostalCode } from 'common/hooks/useCheckPostalCode/useCheckPostalCode';\nimport { AccountResponse } from 'common/api/actions/account/accountActions.types';\n\nexport const LaborStep2 = () => {\n const history = useHistory();\n const [{ labor }, { laborDispatch }] = useLaborContext();\n const { createOrUpdateAccount, isCreatingOrUpdatingAccount, recreateAccountWithNewLocationId } = useAccount();\n const { account } = useFormState();\n const { checkPostalCode, isChecking } = useCheckPostalCode({\n category_id: CategoryIdEnum.labor,\n need_postal_info: true,\n });\n\n const handleSubmit = useCallback(\n async (values: ContactInformationFormValues, isDirty: boolean) => {\n if (!isDirty) {\n history.push(laborRoutes.step1);\n return;\n }\n\n const { address, nearestLocationId } = await checkPostalCode(values.postal);\n\n let accountRes: AccountResponse | undefined;\n const payload = {\n contactInformationData: values,\n billingAddress: address,\n categoryId: CategoryIdEnum.labor,\n };\n\n if (account?.locationId && account.locationId !== nearestLocationId) {\n accountRes = await recreateAccountWithNewLocationId(payload, nearestLocationId);\n } else {\n accountRes = await createOrUpdateAccount(payload, nearestLocationId);\n }\n\n if (!accountRes) {\n return;\n }\n\n laborDispatch(laborActions.setStep2(values));\n history.push(laborRoutes.step1);\n },\n [\n checkPostalCode,\n account?.locationId,\n laborDispatch,\n history,\n recreateAccountWithNewLocationId,\n createOrUpdateAccount,\n ],\n );\n\n return (\n history.push(AppRoute.home)}\n defaultValues={{\n firstName: labor?.step2?.firstName || account?.firstName || '',\n lastName: labor?.step2?.lastName || account?.lastName || '',\n email: labor?.step2?.email || account?.email || '',\n phone: labor?.step2?.phone || account?.phone || '',\n postal: labor?.step2?.postal || account?.postal,\n companyName: labor?.step2?.companyName || '',\n orderNumber: labor?.step2?.orderNumber || '',\n specialInstructions: labor?.step2?.specialInstructions || '',\n additionalNotes: labor?.step2?.additionalNotes || '',\n }}\n hasPrefilledData={!!labor?.step2}\n tipBoxData={{\n icon: 'h',\n text: (\n <>\n Did you know? HUNKS stands for Honest, Uniformed, Nice,{' '}\n Knowledgeable Service – our promise to you!\n \n ),\n }}\n categoryId={CategoryIdEnum.labor}\n />\n );\n};\n","import { makeStyles } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme) => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n },\n content: {\n maxWidth: 489,\n },\n title: {\n marginBottom: 16,\n },\n subtitle: {\n marginBottom: 32,\n\n [theme.breakpoints.up('md')]: {\n marginBottom: 40,\n },\n },\n buttonsGroup: {\n marginTop: 48,\n },\n}));\n","import React, { useCallback, useMemo } from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { Typography, Box } from '@material-ui/core';\nimport { Button } from '@chhjit/react-components';\n\nimport { useLaborStateContext } from 'common/hooks/useLabor/useLabor';\nimport { ButtonsGroup } from 'common/ui/buttonsGroup/ButtonsGroup';\nimport { SummaryTabs } from 'common/ui/summaryTabs/SummaryTabs';\nimport { laborRoutes } from 'common/routing/AppRoute';\nimport { setReadyToProcessing } from 'common/context/form/formActionCreators/formActionCreators';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { applyPhoneMask } from 'common/utils/form';\nimport { ReadyForRequestProcessingEnum } from 'common/context/form/formContext/FormContext.types';\n\nimport { useStyles } from './LaborStep3.styles';\n\nexport const LaborStep3 = () => {\n const { labor } = useLaborStateContext();\n const styles = useStyles();\n const history = useHistory();\n const dispatch = useFormDispatch();\n\n const summaryTabsData = useMemo(() => {\n if (!labor?.step1 || !labor?.step2) return [];\n\n return [\n {\n title: 'Your location',\n onClick: () => history.push(laborRoutes.step1),\n content: [\n { key: 'Address', value: labor.step1.address },\n { key: 'Apt/suite', value: labor.step1.fullAddress.address2 || '-' },\n ],\n },\n {\n title: 'Contact information',\n onClick: () => history.push(laborRoutes.step2),\n content: [\n { key: 'First name', value: labor.step2.firstName },\n { key: 'Last name', value: labor.step2.lastName },\n { key: 'E-mail', value: labor.step2.email },\n { key: 'Contact phone number', value: applyPhoneMask(labor.step2.phone) },\n ],\n },\n ];\n }, [labor, history]);\n\n const handleNextStep = useCallback(() => {\n dispatch(setReadyToProcessing({ readyForRequestProcessing: ReadyForRequestProcessingEnum.Labor }));\n history.push(laborRoutes.processing);\n }, [dispatch, history]);\n\n if (!labor?.step1) {\n return ;\n }\n\n return (\n
\n
\n \n 3. Summary\n \n\n \n Please, review your information below\n \n
\n\n \n\n \n \n \n \n \n \n
\n );\n};\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { useMutation } from 'react-fetching-library';\n\nimport { rudderanalytics } from 'common/utils/rudderanalytics';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { createCallRequestAction } from 'common/api/actions/account/accountActions';\nimport { useFormDispatch } from 'common/hooks/useFormDispatch/useFormDispatch';\nimport { setBookingDoneAndContact } from 'common/context/form/formActionCreators/formActionCreators';\nimport { laborRoutes } from 'common/routing/AppRoute';\nimport { ProcessingRequest } from 'common/app/processingRequest/ProcessingRequest';\nimport { CategoryIdEnum } from 'common/api/types';\nimport { useLaborStateContext } from 'common/hooks/useLabor/useLabor';\n\nexport const LaborProcessingRequest = () => {\n const history = useHistory();\n const { labor } = useLaborStateContext();\n const { token, locationId, accountId, partnerData } = useFormState();\n const dispatch = useFormDispatch();\n const { mutate: createCallRequestMutate, abort: abortCallRequest } = useMutation(createCallRequestAction);\n\n const createCallRequest = useCallback(async () => {\n if (!labor?.step1 || !labor?.step2 || !token || !locationId || !accountId) {\n return;\n }\n\n abortCallRequest();\n\n const { payload: callRequestPayload } = await createCallRequestMutate({\n locationId,\n accountId,\n token,\n category: { id: CategoryIdEnum.labor },\n ...(partnerData ? { subpartner: { id: partnerData.subpartnerId } } : {}),\n });\n\n if (callRequestPayload?.meta.status.code === 200) {\n rudderanalytics.track(`Web Lead Call Scheduled`);\n\n dispatch(\n setBookingDoneAndContact({\n type: 'phone',\n contact: labor.step2.phone,\n }),\n );\n history.push(laborRoutes.alldone);\n }\n }, [createCallRequestMutate, abortCallRequest, dispatch, history, labor, token, locationId, accountId, partnerData]);\n\n return ;\n};\n","import React from 'react';\n\nimport { AllDone } from 'common/app/allDone/AllDone';\n\nexport const LaborAllDone = () => {\n return ;\n};\n","import React from 'react';\n\nimport { Unserviced } from 'common/app/unserviced/Unserviced';\n\nexport const LaborUnserviced = () => {\n return ;\n};\n","import React from 'react';\nimport { Route, Switch, Redirect } from 'react-router-dom';\n\nimport { laborRoutes } from 'common/routing/AppRoute';\nimport { LayoutRoute } from 'common/ui/layoutRoute/LayoutRoute';\n\nimport { LaborStep1 } from './pages/laborStep1/LaborStep1';\nimport { LaborStep2 } from './pages/laborStep2/LaborStep2';\nimport { LaborStep3 } from './pages/laborStep3/LaborStep3';\nimport { LaborProcessingRequest } from './LaborProcessingRequest';\nimport { LaborAllDone } from './LaborAllDone';\nimport { LaborUnserviced } from './LaborUnserviced';\n\nexport const LaborRoutes = () => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { Redirect, Route, Switch } from 'react-router-dom';\n\nimport { Home } from 'common/app/home/Home';\nimport { JunkRemovalRoutes } from 'common/app/junkRemoval/JunkRemovalRoutes';\nimport { MovingRoutes } from 'aMove/app/moving/MovingRoutes';\nimport { MovingRoutes as MovingRoutesVerB } from 'bMove/app/moving/MovingRoutes';\nimport { LaborRoutes } from 'common/app/labor/LaborRoutes';\n// import { CallMeNowModalAllDone } from 'common/app/callMeNowModal/CallMeNowModalAllDone';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\n\nimport { AppRoute } from './AppRoute';\n\nexport const AppRoutes = () => {\n const { moveVer } = useVersionContext();\n\n return (\n \n \n \n {moveVer === 'A' && }\n {moveVer === 'B' && }\n \n {/* TODO CALLMNOW: modal hidden for now */}\n {/* */}\n\n \n \n );\n};\n","export default __webpack_public_path__ + \"static/media/Moving and Hauling Logo.4c7ce238.svg\";","import React from 'react';\nimport { SvgIcon } from '@material-ui/core';\n\nexport const TelephoneIcon = ({ className }: { className?: string }) => {\n return (\n \n \n \n );\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n navbar: {\n backgroundColor: colors.basic.white,\n height: 72,\n padding: '8px 0 11px',\n boxShadow: '0px 0px 24px rgba(134, 145, 166, 0.32)',\n },\n logo: {\n height: '100%',\n marginLeft: 24,\n\n '&:hover': {\n cursor: 'pointer',\n },\n\n [theme.breakpoints.up('sm')]: {\n marginLeft: 48,\n },\n },\n partnerLogo: {\n height: '80%',\n marginLeft: 16,\n\n [theme.breakpoints.up('sm')]: {\n height: '100%',\n marginLeft: 24,\n },\n [theme.breakpoints.up('md')]: {\n marginLeft: 48,\n },\n },\n img: {\n height: '100%',\n },\n icon: {\n color: 'inherit',\n marginRight: 4,\n fontSize: 24,\n },\n phoneNumber: {\n marginRight: 24,\n color: colors.secondary.main,\n\n textDecoration: 'none',\n display: 'flex',\n alignItems: 'center',\n\n [theme.breakpoints.up('sm')]: {\n marginRight: 48,\n },\n },\n partnerPhoneNumber: {\n marginRight: 16,\n\n [theme.breakpoints.up('sm')]: {\n marginRight: 24,\n },\n\n [theme.breakpoints.up('md')]: {\n marginRight: 48,\n },\n },\n}));\n","import React, { memo, useMemo } from 'react';\nimport { AppBar, Box, Toolbar, Typography, Link } from '@material-ui/core';\nimport clsx from 'clsx';\n\nimport logo from 'common/assets/images/logo.png';\nimport MovingAndHaulingLogo from 'common/assets/images/Moving and Hauling Logo.svg';\nimport { TelephoneIcon } from 'common/assets/icons/TelephoneIcon';\nimport { useFormState } from 'common/hooks/useFormState/useFormState';\nimport { PARTNER_NAME } from 'common/utils/env-variables';\n\nimport { useStyles } from './Navigation.styles';\n\nexport const Navigation = memo(() => {\n const styles = useStyles();\n\n const { isPartner, partnerData } = useFormState();\n\n const { tel, number } = useMemo(() => {\n let tel = 'tel:+1-833-626-1165';\n let number = '(833) 626-1165';\n\n if (isPartner) {\n const isHomeSweetHomePartner = partnerData?.token.toLowerCase() === 'B6E99F5B'.toLowerCase();\n\n if (isHomeSweetHomePartner) {\n tel = 'tel:+1-813-853-4623';\n number = '(813) 853-4623';\n } else {\n tel = 'tel:+1-855-583-0712';\n number = '(855) 583-0712';\n }\n }\n\n return { tel, number };\n }, [isPartner, partnerData?.token]);\n\n return (\n \n \n {!isPartner && (\n \n \"College\n \n )}\n\n {isPartner && partnerData?.partnerName === PARTNER_NAME && (\n \n \"College\n \n )}\n\n {isPartner && (\n \"College\n )}\n\n \n \n \n\n {number}\n \n \n \n \n );\n});\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAABwCAMAAABRja7SAAACT1BMVEUAAAD////qcQL////aagT///7qcQHqcQH//////v3////qcQHqcQH////2tov////////qcQHqcQHqcQHqcQHqcQH////qcQH////qcQHqcQH////qcQHqcQH////qcQH4+PjqcQHYaQXt3sz////qcQH///////7////qcQH////rcwn///////4jHx/////qcQHqcQEjHx8jHx////////////8jHx/98OcjHx/0qXb5z7P1rX33vpfviUH62cL2uI7qcQEAaTf////+/fvds40bckKArJAxe0+50MFRj2jU49mMtJvugzVChV1hmHby9vT95tf2sYL61Lv/9/Hj7Of+7+VwooOqyLX2uZDI2870p3TznmT4+vntfinxlVX4wp/73cjsdhibvackdUcLbDsSbj35y63+8ur72cKVuaH3vpnvjUfseyD84c/A1cdJiWJ2poixzLr1q3ro8Ozd6OBqnn7wkE396+D5xqQ9glnvikHrdA/s8Ozzo2zxmVru8/BGMyI/LSFalG/Z5t36z7KhwKxNNCXvhzpHRijh6uPKo383flU1WC4xJh/XrokWYDNaNyDlbgQ/UC06KiGKShzt6uBdQS/aagmHYUQjHx/OZQ7j5NzO39NoOx6pf118Vju70sOuh2dtTTRKPSOYUh9zQB6qVhelwq0oXzF+RBy1WxTQqISQd2KBallfVEru5NaZcVIoIh/BnX67lXQfOijBYBLL1Mnqy662jm3Y29PCta6Sk5GjjoEYTy/qsouMfnN0cW2ps62Aj4W+flPa12NWAAAAQXRSTlMAIOLxCK+O+KGAjjouCv7gcWjsz35RQHFQIbkwF6D4wGNJD/7RrZZFFNe7XTrobGjIlpN7W8bYI+tJRuLiicGwrYlNWWgAABeLSURBVHja3Nn5UxtlGAfwUIo9pAiWWksptU4vWzrVGXUcj9Hd5yUJm5BzgYQcJIEECBBCCCEJp+Uo1o6Vaq2OUrWO2lHbjtZjtNbx+sPc53032RybNil1Rvz+QEhIaT559/3us0HzP8mu1vqaUzs0/6M8vvO5FvD0fEqOaf43qYd4TBfl+eDYqSrNJs+uYztOVOFttYNn6Y8/p9nEqXr26GECHkDUTo+elyOQes2mDK0EIJOO8bSAqKoWI59N5ybsiuOsEs4tmPuRQFE18dDmRR3XaFqBVkJwsRMBDLUfEvymRGElVO/UaB6DKMMoKOkx3FHBRaNZ+hpd2Byo47QSLGMWitKroNLSdyaA9nCPB1pOa/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Ca290YZ/sYUJs6kXBrBBEHm3BFO4v7L9R71Vg0RNhxTGnMvhGjMqNxaeq528Qo4SvJKVRjE9bThXbEZQ0MbMvy4wklaqQGFnup6mZitBpqJgf/x2Tez0U28YAAAAASUVORK5CYII=\"","import { AnalyticsBrowser } from '@segment/analytics-next';\nimport { useCallback, useMemo } from 'react';\n\nimport { SEGMENT_WRITE_KEY } from 'common/utils/env-variables';\nimport { useFeatureFlags } from '../use-feature-flags/use-feature-flags';\n\nexport const useSegmentTrack = () => {\n const { toggles } = useFeatureFlags();\n\n // const analytics = AnalyticsBrowser.load(\n // {\n // writeKey: SEGMENT_WRITE_KEY,\n // cdnURL: 'https://analytics.collegehunkshaulingjunk.com',\n // },\n // {\n // integrations: {\n // 'Segment.io': {\n // // POST https://MY-CUSTOM-API-PROXY.com/v1/t --> proxies to\n // // https://api.segment.io/v1/t\n // apiHost: 'track.collegehunkshaulingjunk.com/v1',\n // protocol: 'https', // optional\n // },\n // },\n // },\n // );\n\n const analytics = useMemo(() => {\n if (toggles.OnlineBooking_TwilioSegmentTracking) {\n return AnalyticsBrowser.load(\n {\n writeKey: SEGMENT_WRITE_KEY,\n cdnURL: 'https://analytics.collegehunkshaulingjunk.com',\n },\n {\n integrations: {\n 'Segment.io': {\n // POST https://MY-CUSTOM-API-PROXY.com/v1/t --> proxies to\n // https://api.segment.io/v1/t\n apiHost: 'track.collegehunkshaulingjunk.com/v1',\n protocol: 'https', // optional\n },\n },\n },\n );\n }\n }, [toggles.OnlineBooking_TwilioSegmentTracking]);\n\n const trackVersion = useCallback(\n (service: string) => {\n if (analytics) {\n analytics.track('Online Booking - Service Selected', { service, version: '2' });\n }\n },\n [analytics],\n );\n\n return trackVersion;\n};\n","import { makeStyles } from '@material-ui/core';\nimport { colors } from '@chhjit/react-components';\n\nexport const useStyles = makeStyles((theme) => ({\n app: {\n height: '100%',\n width: '100%',\n minHeight: '100vh',\n\n display: 'flex',\n flexDirection: 'column',\n\n [theme.breakpoints.down('xs')]: {\n minHeight: '-webkit-fill-available',\n },\n },\n content: {\n flexGrow: 1,\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('xs')]: {\n backgroundColor: colors.grey10,\n },\n\n display: 'flex',\n flexDirection: 'column',\n },\n}));\n","import React, { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { rudderanalytics } from 'common/utils/rudderanalytics';\nimport { AppRoutes } from 'common/routing/AppRoutes';\nimport { Navigation } from 'common/ui/navigation/Navigation';\nimport { useVersionContext } from 'common/hooks/useVersion/useVersion';\nimport { useSegmentTrack } from 'common/hooks/use-segment-track/use-segment-track';\n\nimport { useStyles } from './App.styles';\n\nexport const App = () => {\n const { pathname } = useLocation();\n\n const styles = useStyles();\n\n const { moveVer } = useVersionContext();\n\n if (!process.env.REACT_APP_API_URL) {\n throw new Error('REACT_APP_API_URL is not defined!');\n }\n if (!process.env.REACT_APP_DOMAIN_URL) {\n throw new Error('REACT_APP_DOMAIN_URL is not defined!');\n }\n if (!process.env.REACT_APP_BUGSNAG_API_KEY) {\n throw new Error('REACT_APP_BUGSNAG_API_KEY is not defined!');\n }\n if (!process.env.REACT_APP_GOOGLE_API_KEY) {\n throw new Error('REACT_APP_GOOGLE_API_KEY is not defined!');\n }\n if (!process.env.REACT_APP_GTM_ID) {\n throw new Error('REACT_APP_GTM_ID is not defined!');\n }\n if (!process.env.REACT_APP_GA_TRACKING_ID) {\n throw new Error('REACT_APP_GA_TRACKING_ID is not defined!');\n }\n if (moveVer === 'B' && !process.env.REACT_APP_SQUARE_APP_ID) {\n throw new Error('REACT_APP_SQUARE_APP_ID is not defined!');\n }\n\n const trackVersion = useSegmentTrack();\n\n useEffect(() => {\n if (process.env.REACT_APP_IS_SANDBOX !== 'true') {\n // page tracking for google analitycs\n const pagePath = window.location.origin + pathname;\n\n gtag('config', process.env.REACT_APP_GA_TRACKING_ID, { page_path: pagePath });\n }\n rudderanalytics.page();\n\n let service: string | undefined;\n\n if (pathname.includes('moving')) {\n service = 'Moving';\n } else if (pathname.includes('labor')) {\n service = 'Labor';\n } else if (pathname.includes('junk-removal')) {\n service = 'Junk Removal';\n }\n\n if (service) {\n trackVersion(service);\n }\n }, [pathname]);\n\n return (\n
\n \n\n
\n \n
\n
\n );\n};\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport smoothscroll from 'smoothscroll-polyfill';\n\nimport '@chhjit/react-components/dist/assets/styles/main.css';\nimport 'common/assets/styles/main.css';\nimport 'slick-carousel/slick/slick.css';\nimport 'slick-carousel/slick/slick-theme.css';\n\nimport { AppProviders } from 'common/providers/AppProviders';\nimport { App } from 'common/app/App';\n\nsmoothscroll.polyfill();\n\nif (process.env.NODE_ENV === 'development') {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const whyDidYouRender = require('@welldone-software/why-did-you-render');\n whyDidYouRender(React);\n}\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root'),\n);\n"],"sourceRoot":""}