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AAIxuC,OAAOoE,SAASsC,MACbuiD,aAAat9C,IAAI,eAEpCD,EACFF,aAAaynD,QAAQ,aAAcvnD,GAEnCF,aAAaynD,QAAQ,aAAc,OAEvC,CAMA,GAHAznD,aAAaynD,QAAQ,YAAamO,GAAatgB,QAAQ6c,kBAChDyD,GAAatgB,QAAQwgB,WAExBF,GAAc,CAChB,MAAMG,GFaCC,EAAAA,EAAAA,IAAe,CACpBC,WAAaC,GAAyBA,EAAqB,CACzDC,eAAqC,SAArB9G,GAAQ+G,IAAIC,KAC5BC,mBAAmB,IAClBlsC,OAAO6qC,IACVsB,QAASn0D,GACTo0D,oBElBIC,GAAYC,EAAAA,EAAAA,IAAaX,IAElBY,EAAAA,EAAAA,GAAWf,IACnBgB,OACHtgE,EAAAA,cAACA,EAAAA,WAAgB,KACfA,EAAAA,cAACu8D,EAAAA,EAAc,CAACzR,QAAQ,+BACtB9qD,EAAAA,cAACugE,EAAAA,GAAQ,CAACd,MAAOA,GACfz/D,EAAAA,cAACwgE,EAAAA,EAAW,CAACC,QAAS,KAAMN,UAAWA,GACrCngE,EAAAA,cAAC0gE,EAAAA,GAAa,KACZ1gE,EAAAA,cAACR,EAAO,MACRQ,EAAAA,cAACy7D,GAAG,WAOlB,CFNO,IAAoByE,E","sources":["webpack://vesta/./app/javascript/_Apps/shared/utils/ga4Event.js","webpack://vesta/./app/javascript/_Apps/shared/utils/hooks/useVisibility.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Toaster.js","webpack://vesta/./app/javascript/_Apps/napoleon/utils/AuthenticatedRoutes.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/components/AvatarMenu.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/PageTitle/PageTitle.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/NextVisit/components/AddToCalendarLinks.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/NextVisit/components/ContactCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/NextVisit/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/LastOffer/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/client.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/buyerAlerts.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/BuyerApp/buyerAlertsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/LastBuyerAlert/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Marketing/EstimationBanner/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/BuyerAlertCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/AdvertsCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/components/SponsorshipCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Home/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/utils/setStateInfos.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestsIndex/components/SaleCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestsIndex/components/NoSalesInterestsCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestsIndex/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Property/PropertySummary.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Property.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/components/CancelModal/components/ReasonInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/components/CancelModal/components/CancelCommentInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/visits.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/visits.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/BuyerApp/visitsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/components/CancelModal/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/components/StateLabel.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/components/StateCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Visits/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Offer/StateLabel.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Offer/StateCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/offers.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/components/OfferModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Offers.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sale/SaleFolder.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/documents.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Documents.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/contacts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/views/Contacts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/views/InterestShow/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Interests/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/Actions.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/Localisation.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/Criterias.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/CorrespondingProperties/components/PropertyCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/CorrespondingProperties/components/LinkToAdverts.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/buyerAlerts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/components/CorrespondingProperties/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/BuyerAlertCard/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/components/NoBuyerAlerts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/modals/UnsubscriptionModal.js","webpack://vesta/./app/javascript/_Apps/shared/components/GeocoderZonesSelect/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/Error.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/PropertyKindCheckbox.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/BudgetNumber.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/AreaNumber.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/FloorSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/ElevatorSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/RenovationRadio.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/OutdoorSpaceSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/FreeFieldTextArea.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/RoomRadio.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/components/Inputs/BedroomRadio.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/CriteriasForm/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/modals/CreateModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/modals/EditModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerAlerts/index.js","webpack://vesta/./app/javascript/_Apps/shared/utils/userKind.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Blog/ArticlesList.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerGuide/components/Articles.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerGuide/components/Partners.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/articles.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/App/articlesSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/partners.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/BuyerGuide/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/sponsorships.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/_Pages/sponsorshipModuleSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/CreationForm/components/Inputs.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/CreationForm/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/Dashboard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/utils/eventslist.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/EventsList.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/utils/sponsorship.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/GodsonsList/components/GodsonCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/GodsonsList/components/ModalError.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/GodsonsList/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/KeyPoints/components/KeyPointItem.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/KeyPoints/data.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/components/KeyPoints/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/SponsorshipModule/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/BuyerApp/pages/Sponsorship/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/DesktopMenu.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/components/MenuButton.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/MobileBanner.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/MobileMenu.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sidebar/Sidebar.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/BuyerApp/salesInterests.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/BuyerApp/salesInterestsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/BuyerApp/offersSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/Apps/BuyerApp/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Sale/StateLabel.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SalesIndex/components/SaleSummary.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SalesIndex/index.js","webpack://vesta/./app/javascript/_Apps/shared/channels/consumer.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/salesUsers.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/salesUsersSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/SalesUsersModal/components/SalesUsersList.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/SalesUsersModal/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewSalesUserModal/components/KindSelectInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewSalesUserModal/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/photoMeetings.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/photoMeetingsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/components/ClosingConfirmModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Introduction/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Diagnostics/components/DiagsPresence.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/sales.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Diagnostics/components/DiagsPartner.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Diagnostics/components/DiagsImport.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Diagnostics/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/documents.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/documentTypes.js","webpack://vesta/./app/javascript/_Apps/shared/apiPublic/ressources/documents.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/documentsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/DiagsUploader/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/PackMax/index.js","webpack://vesta/./app/javascript/_Apps/shared/utils/uiEffects/scrollTo.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/PhotoMeeting/components/SlotSelection.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/PhotoMeeting/components/ContactForm.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/PhotoMeeting/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Paiement/components/PayementIframe.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/Paiement/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/SuccessAnimation/ProgressBar.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/salesSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/steps/SuccessAnimation/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/modals/NewPhotoMeetingModal/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/ModalsContainer/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/components/Greetings.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Coordinates/components/FamilySituationInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Coordinates/components/PersonalAddressInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Coordinates/components/CoOwnershipInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/App/user.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/App/userSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Coordinates/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Situation/components/SituationSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Situation/components/SignatoriesModule/components/Signatories.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Situation/components/SignatoriesModule/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Situation/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Signature/components/SignatureIframe.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Signature/components/SuccessAnimation/components/FeuArtifice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Signature/components/SuccessAnimation/components/ProgressBar.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Signature/components/SuccessAnimation/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/steps/Signature/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/user.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/mandates.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/mandatesSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/components/StepTab.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Mandate/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleSteps.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SalePropertySummary.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/CallToActions/components/Action.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/CallToActions/components/DownloadImagesModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/CallToActions/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleKeyNumbers/components/shared/SaleKeyNumbersCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleKeyNumbers/components/Price.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleKeyNumbers/components/Duration.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleKeyNumbers/components/VisitorsInterest.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/SaleKeyNumbers/index.js","webpack://vesta/./app/javascript/assets/logos.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/Marketing/components/shared/MarketingCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/Marketing/components/Partners.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/Marketing/components/PortalsContacts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/Marketing/components/PotentialBuyers.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/components/Marketing/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sale/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/estimationFolders.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/estimationFoldersSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Estimation/views/ExpertEstimation.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/valuations.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/EstimatedPrices/components/EstimationReview/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/EstimatedPrices/components/NoValuationError.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/EstimatedPrices/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/buyerAlerts.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/PotentialBuyers/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/ExpertMeeting/components/BottomBanner.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/ExpertMeeting/components/LoadingBlock/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/ExpertMeeting/components/ExpertBlock/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/ExpertMeeting/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/NextSteps/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/Sponsorship/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/PropertyAdverts/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/SoldProperties/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/components/HosmanPros/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/shared/EstimationResult/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Estimation/views/FunnelEstimation/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Estimation/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/SaleFolder/views/DocumentsTab/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/SaleFolder/views/ArchievesTab.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/properties.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/SaleFolder/views/PropertyInfosTab.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/SaleFolder/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/Preview/previewContent.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/components/Preview/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/Header.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/DaysHeader.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/HorizontalLines.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/VerticalLines.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/EventsGrid.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/Event.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/Events.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/components/NewEvent.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/Calendar/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/mobile/MobileEventsFeed.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/modals/NewEventModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/modals/VisitModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/modals/DemoModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/modals/RemoveEventModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/SufficientAbailabilityState.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/components/desktop/ButtonInfo.jsx","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/unavailabilities.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/unavailabilitiesSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Planning/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/VisitReports/components/InterestLabel.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/VisitReports/components/ProsAndConsCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/VisitReports/components/VisitReportCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/VisitReports/components/NoVisitReportCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/VisitReports/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Offer/OfferState.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Offers/components/OfferCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Offers/components/NoOffersCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Offers/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/Marketing/components/Partner.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Advices/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/pages/Sponsorship/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/_Pages/Public/initialData.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/_Pages/Public/estimationFunnelSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/offers.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/offersSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/api/ressources/SellerApp/visits.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/visitsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/SellerApp/SaleShow/navigation.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/Apps/SellerApp/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/components/ProgressBar.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/components/ConfirmationModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/components/DesktopSidebar.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/components/OfferSummaryCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/components/FinancialPlanCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/components/FinancialPlanSection.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/OfferSummary.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/views/OfferSign.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/AcceptOffer/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/MyAccount/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/LeftPanel/components/Step1.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/LeftPanel/components/Step2.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/LeftPanel/index.js","webpack://vesta/./app/javascript/_Apps/shared/apiPublic/ressources/buyer_alerts.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/_Pages/Public/buyerAlertCreatorSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/RightPanel/components/CriteriasStep.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/ContactDetailsForm/components/inputs/PurchaseTypeSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/ContactDetailsForm/components/inputs/SituationSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/ContactDetailsForm/components/inputs/ProjectStateSelect.js","webpack://vesta/./app/javascript/_Apps/napoleon/components/BuyerAlertForms/ContactDetailsForm/index.js","webpack://vesta/./app/javascript/_Apps/shared/apiPublic/ressources/users.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/RightPanel/components/SignInSignUpModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/RightPanel/components/ContactDetailsStep.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/components/RightPanel/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertForm/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/components/Criterias.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/components/CorrespondingProperties/components/PropertyCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/components/CorrespondingProperties/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/components/SponsorshipCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/components/AdvertsCard.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/pages/BuyerAlertSuccess/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/BuyerAlertCreator/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/Validators.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/NavigationButtons.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/components/Error.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/components/TextInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/service/googleMapsService.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/components/AddressInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/components/ReinsuranceBlocks.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/1.Address/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/2.Typology/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/3.MainInfos/components/selectOptions.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/3.MainInfos/components/ApartmentInputs.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/3.MainInfos/components/HouseInputs.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/3.MainInfos/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/4.ExtraInfos/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/5.PriceExpectations/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/6.Reason/components/WaitingTimePeriodSelector.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/6.Reason/components/NonSellingReasonSelector.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/6.Reason/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/7.Contact/index.js","webpack://vesta/./app/javascript/_Apps/shared/utils/hooks/usePreventRefresh.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/8.Loader/components/Circle.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/8.Loader/components/FadeInList.js","webpack://vesta/./app/javascript/_Apps/shared/apiPublic/ressources/estimations.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/steps/8.Loader/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/RoutesWrapper/components/RestoreModal.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/RoutesWrapper/DemoStore.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/RoutesWrapper/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/Header/components/StepsNavigation.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/Header/components/MobileHeader.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/components/Header/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationFunnel/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/components/Header.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/pages/Result/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/pages/Signup/components/LeftBanner.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/pages/Signup/components/LoginForm.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/pages/Signup/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/EstimationResult/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelModule/components/VisitCancelForm/components/ReasonInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelModule/components/VisitCancelForm/components/CancelCommentInput.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelModule/components/VisitCancelForm/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelModule/components/Authentication.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelModule/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/pages/VisitCancelSuccess/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/_Pages/Public/VisitCanceler/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/containers/Apps/App/index.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/App/partnersSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/reducers/SellerApp/onlineEstimationsSlice.js","webpack://vesta/./app/javascript/_Apps/napoleon/store.js","webpack://vesta/./app/javascript/shared/utils/gtm_script.js","webpack://vesta/./app/javascript/packs/napoleon.jsx"],"sourcesContent":["export const ga4Event = (eventName, data) => {\n window.dataLayer = window.dataLayer || []\n window.dataLayer.push({\n 'event': eventName,\n ...data\n })\n};\n","import { useState, useEffect, useRef } from 'react';\n\nconst useVisibility = (options) => {\n const [observedElementIsVisible, setObservedElementIsVisible] = useState(false);\n const observedElementRef = useRef(null);\n\n useEffect(() => {\n const callback = (entries) => {\n entries.forEach(entry => {\n setObservedElementIsVisible(entry.isIntersecting);\n });\n };\n\n const observer = new IntersectionObserver(callback, options);\n\n const currentElement = observedElementRef.current;\n if (currentElement) {\n observer.observe(currentElement);\n }\n\n return () => {\n if (currentElement) {\n observer.unobserve(currentElement);\n }\n };\n }, [options]);\n\n return [observedElementIsVisible, observedElementRef];\n};\n\nexport default useVisibility;\n","import React from 'react';\nimport { useToaster } from 'react-hot-toast';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_Xmark } from 'hosman-material';\nimport { toast as libToast } from 'react-hot-toast';\nimport { FadeIn } from 'hosman-material';\nconst classNames = require('classnames');\n\nconst Toaster = () => {\n const { toasts, handlers } = useToaster();\n const { startPause, endPause, calculateOffset, updateHeight } = handlers;\n\n return (\n
\n {toasts.map((toast) => {\n const offset = calculateOffset(toast.id, {\n reverseOrder: false,\n margin: 10\n });\n const ref = (el) => {\n if (el && !toast.height) {\n const height = el.getBoundingClientRect().height;\n updateHeight(toast.id, height);\n }\n };\n let classes = classNames(\n 'px-6 py-3 border-2 rounded-xl transition-all h-min',\n { 'bg-ih-red-5 text-ih-red border-ih-red-30': toast.type == 'error' },\n { 'bg-ih-green-5 text-ih-green border-ih-green-30': toast.type == 'success' },\n { 'bg-ih-purple-5 text-ih-purple-50 border-ih-purple-30': toast.type == 'info' }\n );\n\n return (\n \n \n
\n {toast.icon && }\n {toast.message}\n libToast.dismiss(toast.id)}/>\n
\n
\n
\n );\n })}\n \n );\n};\n\nexport default Toaster;\n","import React from 'react';\nimport { Outlet } from 'react-router-dom';\nimport { generateLink } from '../../shared/utils/railsRoutes';\n\nconst AuthenticatedRoutes = ({ user, children }) => {\n switch (user.authState) {\n case 'done':\n if (user.role_name !== 'client') {\n location = generateLink(RailsRoutes.root_path())\n } else {\n document.title = 'Espace Client'\n return \n }\n case 'none':\n location = generateLink(RailsRoutes.new_user_session_path());\n return null;\n default:\n return null;\n }\n};\n\nexport default AuthenticatedRoutes;\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { Menu, Transition } from '@headlessui/react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../shared/utils/railsRoutes';\n\nimport { S_AngleUp, S_AngleDown, S_UserGroup, S_RightFromBracket, S_ArrowLeft } from 'hosman-material';\nimport { Avatar, Card, Button } from 'hosman-material';\n\nconst AvatarMenu = () => {\n const { user, loggedUserId, user: { first_name, last_name } } = useSelector((state) => state.user);\n\n return (\n \n {({ open }) => (\n <>\n \n \n\n \n \n\n \n \n \n
\n \n \n
\n
\n
\n \n \n )}\n
\n );\n};\n\nexport default AvatarMenu;\n\n// PropTypes\nAvatarMenu.propTypes = {\n sidebarOpen: PropTypes.bool,\n setSidebarOpen: PropTypes.func\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport AvatarMenu from '../Sidebar/components/AvatarMenu';\nimport { Box } from 'hosman-material';\n\nconst PageTitle = ({ icon, title, children }) => {\n return (\n
\n
\n
\n {icon &&\n \n \n \n }\n

{title}

\n
\n
\n {children}\n \n
\n\n
\n {/* Separator on desktop */}\n
\n
\n );\n};\n\nexport default PageTitle;\n\n// PropTypes\nPageTitle.propTypes = {\n icon: PropTypes.object,\n title: PropTypes.string,\n children: PropTypes.node\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nexport const AddToCalendarLinks = ({ visit }) => {\n if (visit.calendar_links.length < 1) return null;\n\n return (\n
\n

-

\n

Ajouter à

\n {visit.calendar_links.map((calendarLink, index) => {\n return (\n
\n {index !== 0 &&

-

}\n {calendarLink.label.charAt(0).toUpperCase() + calendarLink.label.slice(1)}\n
\n )\n })}\n
\n );\n};\n\nAddToCalendarLinks.propTypes = {\n visit: PropTypes.object\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { InfoIcon, Avatar, Box } from 'hosman-material';\nimport { S_Phone, S_Envelope } from 'hosman-material';\n\nexport const ContactCard = ({ imageSrc, title, firstName, phoneNumber, email, civility }) => {\n const tooltipContent = () => {\n if (title == 'Expert Hosman') {\n return (\n
\n

Expert Hosman ({firstName})

\n

Votre conseiller après la visite, {civility == 'mrs' ? 'elle' : 'il'} chapeaute la vente et les négociations.

\n
\n )\n }\n\n if (title == 'Guide de visite') {\n return (\n
\n

Guide de visite ({firstName})

\n

Expert du quartier et du bien, en charge des visites

\n
\n )\n }\n }\n\n return (\n
\n \n\n
\n
\n

{title}

\n \n
\n\n

\n {firstName}\n ({phoneNumber.replace(/.{2}/g, '$& ').trim()})\n

\n
\n\n
\n \n \n \n \n \n\n {email &&\n \n \n \n \n \n }\n
\n
\n );\n};\n\nContactCard.propTypes = {\n imageSrc: PropTypes.string,\n title: PropTypes.string.isRequired,\n firstName: PropTypes.string.isRequired,\n phoneNumber: PropTypes.string.isRequired,\n email: PropTypes.string,\n civility: PropTypes.string\n};\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\nimport { longDateTime, shortDateAndYear } from '../../../../../../../shared/utils/formattedDates';\n\nimport { AddToCalendarLinks } from './components/AddToCalendarLinks';\nimport { ContactCard } from './components/ContactCard';\n\nimport { Card, Button } from 'hosman-material';\nimport { S_Check } from 'hosman-material';\n\nconst NextVisit = ({ visit, visits }) => {\n const { salesInterests } = useSelector((state) => state.buyerSalesInterests);\n const sale = salesInterests.find(sale => sale.id === visit.sale_id);\n const visitIsDone = visit.state == 'done';\n\n if (!sale) return null;\n return (\n
\n
\n

Agenda des visites

\n {visits.length > 1 &&\n 1 ? '/ea/interests' : `/ea/interests/${sale.id}/mes-visites`} className='text-ih-blue underline'>+{visits.length-1} autre{visits.length-1 > 1 ? 's' : ''}\n }\n
\n\n \n
\n \n\n
\n
\n
\n \n {!visitIsDone &&

Visite prévue {longDateTime({ date: visit.start_time })}

}\n {!visitIsDone && }\n {visitIsDone &&

Suite à votre visite du {shortDateAndYear(visit.start_time)}, des informations liées au bien sont disponibles

}\n
\n\n
\n

{sale.property.address}

\n Visualiser l'adresse\n
\n\n
\n\n
\n {sale.expert &&\n \n }\n\n {visit.visit_guide &&\n \n }\n
\n
\n
\n\n
\n \n
\n
\n
\n )\n};\n\nexport default NextVisit;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\nimport { shortDateAndYear } from '../../../../../../../shared/utils/formattedDates';\n\nimport { Card, Button } from 'hosman-material';\n\nconst LastOffer = ({ offer, offers }) => {\n const { salesInterests } = useSelector((state) => state.buyerSalesInterests);\n const sale = salesInterests.find(sale => sale.id === offer?.sale_id)\n\n if (!sale) return null;\n\n const textContent = () => {\n switch (offer.review_status) {\n case null:\n case 'pending':\n case 'ongoing':\n case 'partly_accepted':\n case 'unsent_for_review':\n if (offer.status === 'completed') {\n return `Votre offre de ${offer.amount.toLocaleString()} € a bien été remise le ${shortDateAndYear(offer.created_at)}`\n } else {\n return `Votre offre de ${offer.amount.toLocaleString()} € a a été commencée le ${shortDateAndYear(offer.created_at)}`\n }\n case 'accepted':\n return `Félicitations, votre offre de ${offer.amount.toLocaleString()} € a été acceptée le ${shortDateAndYear(offer.timeline.review_accepted_at)}`;\n case 'refused':\n case 'dropped':\n return `Votre offre de ${offer.amount.toLocaleString()} € a été refusée le ${shortDateAndYear(offer.timeline.review_refused_at || offer.timeline.review_dropped_at)}` ;\n }\n }\n\n return (\n
\n
\n

Votre dernière offre

\n {offers.length > 1 && 1 ? '/ea/interests' : `/ea/interests/${sale.id}/mes-offres`} className='text-ih-blue underline'>+{offers.length-1} autre{offers.length-1 > 1 ? 's' : ''}}\n
\n\n \n
\n \n\n
\n
\n

{textContent()}

\n\n
\n

{sale.property.address}

\n Visualiser l'adresse\n
\n
\n
\n
\n\n
\n \n
\n
\n
\n )\n};\n\nexport default LastOffer;\n","import axios from 'axios';\nconst querystring = require('querystring');\n\nconst isProd = window.location.host == ('app.hosman.co')\nlet BASE_URL = `${window.location.origin.replace('app.', '')}/api/v1`;\nif (isProd) BASE_URL = BASE_URL.replace('hosman.co', 'www.hosman.co')\n\nconst config = {\n headers: {\n 'Access-Control-Allow-Origin': '*',\n 'X-Auth-Token': window.localStorage.getItem('token')\n }\n};\n\nconst client = {\n customerId() {\n return window.localStorage.getItem('customerId')\n },\n\n get(path, params) {\n return axios.get(`${BASE_URL}${path}?${querystring.stringify(params)}`, config)\n },\n\n post(path, params) {\n return axios.post(`${BASE_URL}${path}`, params, config)\n },\n\n delete(path) {\n return axios.delete(`${BASE_URL}${path}`, config)\n },\n\n put(path, params) {\n return axios.put(`${BASE_URL}${path}`, params, config)\n },\n}\n\nexport default client;\n","import client from '../../client';\n\nconst BUYER_ALERTS = {\n getBuyerAlerts() {\n return client.get(`/buyers/${client.customerId()}/buyer_alerts`);\n },\n\n createBuyerAlert(params) {\n return client.post(`/buyers/${client.customerId()}/buyer_alerts`, { buyer_alert: params });\n },\n\n updateBuyerAlert(buyerAlertId, params) {\n const { id, ...buyerAlertWithoutId } = params;\n return client.put(`/buyers/${client.customerId()}/buyer_alerts/${buyerAlertId}`, { buyer_alert: buyerAlertWithoutId });\n },\n}\n\nexport default BUYER_ALERTS;\n","import React from 'react';\nimport { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport { toast } from 'react-hot-toast';\nimport { S_Check, S_Xmark } from 'hosman-material';\n\nimport BUYER_ALERTS from '../../api/ressources/BuyerApp/buyerAlerts';\n\nexport const getBuyerAlerts = createAsyncThunk(\n '/getBuyerAlerts',\n async (params) => {\n const response = await BUYER_ALERTS.getBuyerAlerts()\n return response.data\n }\n);\n\nexport const createBuyerAlert = createAsyncThunk(\n '/createBuyerAlert',\n async (params, { rejectWithValue }) => {\n try {\n const response = await BUYER_ALERTS.createBuyerAlert(params);\n return response.data;\n } catch (error) {\n return rejectWithValue(error.response.data);\n }\n }\n);\n\nexport const updateBuyerAlert = createAsyncThunk(\n '/updateBuyerAlert',\n async ({ id, params, action }, { rejectWithValue }) => {\n try {\n const response = await BUYER_ALERTS.updateBuyerAlert(id, params)\n return { data: response.data, action: action }\n } catch (error) {\n return rejectWithValue(error.response.data);\n }\n }\n);\n\nconst initialState = {\n buyerAlerts: [],\n editedBuyerAlert: {},\n newModalOpen: false,\n isSubmitting: false,\n buyerAlertsState: '',\n unsubscriptionBuyerAlert: null,\n errors: {}\n};\n\nexport const buyerAlertsSlice = createSlice({\n name: 'buyerAlerts',\n initialState,\n reducers: {\n setEditedBuyerAlert: (state, { payload }) => {\n state.editedBuyerAlert = payload;\n },\n setNewModalOpen: (state, { payload }) => {\n state.newModalOpen = payload;\n state.errors = {};\n },\n updateUnsubscriptionBuyerAlert: (state, { payload }) => {\n state.unsubscriptionBuyerAlert = payload;\n },\n updateError: (state, { payload }) => {\n state.errors = payload;\n },\n resetBuyerAlerts(state) {\n state.buyerAlerts = initialState.buyerAlerts;\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getBuyerAlerts.pending, (state) => {\n state.buyerAlerts = initialState.buyerAlerts;\n state.buyerAlertsState = 'pending';\n })\n builder.addCase(getBuyerAlerts.fulfilled, (state, { payload }) => {\n state.buyerAlerts = order(payload);\n state.buyerAlertsState = 'done';\n })\n builder.addCase(updateBuyerAlert.pending, (state) => {\n state.isSubmitting = true;\n })\n builder.addCase(updateBuyerAlert.fulfilled, (state, { payload }) => {\n const newPayload = [...state.buyerAlerts];\n const updatedIndex = newPayload.findIndex(buyerAlert => buyerAlert.id === payload.data.id);\n newPayload[updatedIndex] = payload.data;\n state.buyerAlerts = order(newPayload);\n state.editedBuyerAlert = initialState.editedBuyerAlert;\n state.isSubmitting = false;\n\n if (payload.action == 'edit') toast.success(

Votre alerte achat a bien été modifiée

, { icon: S_Check, duration: 3000 })\n\n if (payload.action == 'subsciption') {\n state.unsubscriptionBuyerAlert = null;\n\n if (payload.data.active) {\n toast.success(

Vous êtes à nouveau inscrit à cette alerte achat

, { icon: S_Check, duration: 3000 })\n } else {\n toast.error(

Votre alerte a bien été désactivée

, { icon: S_Xmark, duration: 3000 })\n }\n }\n })\n builder.addCase(updateBuyerAlert.rejected, (state, { payload }) => {\n state.isSubmitting = false;\n state.errors = payload.error.message;\n })\n builder.addCase(createBuyerAlert.pending, (state) => {\n state.isSubmitting = true;\n })\n builder.addCase(createBuyerAlert.fulfilled, (state, { payload }) => {\n state.buyerAlerts = [payload, ...state.buyerAlerts];\n state.isSubmitting = false;\n state.newModalOpen = false;\n\n toast.success(

Votre alerte achat a bien été créée

, { icon: S_Check, duration: 5000 })\n })\n builder.addCase(createBuyerAlert.rejected, (state, { payload }) => {\n state.isSubmitting = false;\n state.errors = payload.error.message;\n })\n },\n})\n\nexport const { setEditedBuyerAlert, setNewModalOpen, updateUnsubscriptionBuyerAlert, resetBuyerAlerts, updateError } = buyerAlertsSlice.actions;\n\nexport default buyerAlertsSlice.reducer;\n\nfunction order(buyerAlerts) {\n return buyerAlerts.sort((a, b) => {\n if (a.active === b.active) {\n return new Date(b.created_at) - new Date(a.created_at);\n } else {\n return a.active ? -1 : 1;\n }\n });\n}\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ga4Event } from '../../../../../../../shared/utils/ga4Event';\n\nimport { Card, Box, Button } from 'hosman-material';\nimport { S_Check, D_BellOn } from 'hosman-material';\n\nimport { setEditedBuyerAlert } from '../../../../../../reducers/BuyerApp/buyerAlertsSlice';\n\nconst LastBuyerAlert = () => {\n const { user } = useSelector((state) => state.user);\n const { buyerAlerts } = useSelector((state) => state.buyerBuyerAlerts);\n const sortedBuyerAlerts = [...buyerAlerts]\n sortedBuyerAlerts.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));\n const buyerAlert = sortedBuyerAlerts[0] || null\n const dispatch = useDispatch();\n const navigate = useNavigate();\n\n const handleClick = () => {\n ga4Event('click_refine_buyer_alert', { user_id: user.id });\n dispatch(setEditedBuyerAlert(buyerAlert));\n navigate('/ea/alertes-achat');\n }\n\n if (!buyerAlert) return null;\n return (\n
\n
\n

Votre dernière alerte achat

\n {buyerAlerts.length > 1 && +{buyerAlerts.length-1} autre{buyerAlerts.length-1 > 1 ? 's' : ''}}\n
\n\n \n
\n \n\n
\n
\n
\n \n

Alerte achat créée avec succès

\n
\n\n
\n

{buyerAlert.zone.map(zone => zone.replace(', France', '')).join(', ')}

\n

|

{buyerAlert.min_budget.toLocaleString()} à {buyerAlert.max_budget.toLocaleString()} €

\n

|

{`> ${buyerAlert.min_area} m²`}

\n

|

{`+ ${buyerAlert.min_room_number} pièces`}

\n
\n
\n
\n
\n\n
\n
\n
\n
\n )\n};\n\nexport default LastBuyerAlert;\n","import React, { useState, useEffect } from 'react';\nimport { firstEstimResult } from '../../../../shared/assets/images';\nimport GeocoderInput from '../../../../shared/components/GeocoderInput';\nimport { ga4Event } from '../../../../shared/utils/ga4Event';\n\nconst EstimationBanner = ({ gtmEvent, userId }) => {\n const [place, setPlace] = useState({});\n const [params, setParams] = useState(new URLSearchParams());\n\n useEffect(() => {\n if (place.lat && place.lng) handleSubmit();\n }, [place]);\n\n const handleSubmit = () => {\n if (gtmEvent) ga4Event(gtmEvent, { user_id: userId })\n\n if (!place.formatted_address || !place.lat || !place.lng) window.open(`${window.location.origin}/estimation`, '_blank');\n else {\n dataToParams()\n const url = `${window.location.origin}/estimation?${params.toString()}`;\n window.open(url, '_blank');\n }\n setPlace({});\n }\n\n const dataToParams = () => {\n setParams(new URLSearchParams());\n params.append('formatted_address', place.formatted_address);\n params.append('lat', place.lat);\n params.append('lng', place.lng);\n params.append('street_number', place.street_number);\n params.append('street_name', place.street_name);\n params.append('zip_code', place.zip_code);\n params.append('city', place.city);\n params.append('country_code', place.country_code);\n }\n\n return (\n
handleSubmit()}>\n
\n
\n

Vous avez un potentiel projet de vente ?

\n

Obtenez une première estimation de votre bien, 100% gratuite !

\n
\n\n
e.stopPropagation()}>\n \n
\n
\n\n
\n Estimation\n
\n
\n );\n};\n\nexport default EstimationBanner;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { propertyCardCarousel } from '../../../../../../shared/assets/images';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\n\nimport { Button } from 'hosman-material';\n\nconst BuyerAlertCard = () => {\n const { user } = useSelector((state) => state.user);\n\n return (\n ga4Event('click_buyer_alert_home', { user_id: user.id })}>\n
\n

Ne passez pas à côté du bien de vos rêves !

\n\n Buyer alert cards\n\n
\n
\n
\n \n );\n};\n\nexport default BuyerAlertCard;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { propertyCardCarousel } from '../../../../../../shared/assets/images';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\nimport { generateLink } from '../../../../../../shared/utils/railsRoutes';\n\nimport { Button } from 'hosman-material';\n\nconst AdvertsCard = () => {\n const { user } = useSelector((state) => state.user);\n\n return (\n ga4Event('click_adverts_buyer_area', { user_id: user.id })}>\n
\n

Découvrez nos derniers biens à vendre

\n\n

Voir toutes nos annonces

\n\n Buyer alert cards\n
\n
\n );\n};\n\nexport default AdvertsCard;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\n\nimport { Button } from 'hosman-material';\nimport { S_CircleCheck } from 'hosman-material';\n\nconst SponsorshipCard = () => {\n const { user } = useSelector(state => state.user);\n\n return (\n ga4Event('click_parrainage_home', { user_id: user.id })}>\n
\n
\n

Envie de gagner jusqu'à 600€ ?

\n

Parrainez un proche !

\n
\n\n
\n
\n

Mandat de vente

\n\n
\n \n

200€ offerts

\n
\n
\n\n
\n

Vente conclue

\n\n
\n \n

400€ offerts

\n
\n
\n
\n\n
\n
\n
\n \n );\n}\n\nexport default SponsorshipCard;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { smilingFace } from '../../../../../shared/assets/emojis'\n\nimport PageTitle from '../../../../components/PageTitle/PageTitle';\nimport NextVisit from './components/NextVisit';\nimport LastOffer from './components/LastOffer';\nimport LastBuyerAlert from './components/LastBuyerAlert';\nimport EstimationBanner from '../../../../components/Marketing/EstimationBanner';\nimport BuyerAlertCard from './components/BuyerAlertCard';\nimport AdvertsCard from './components/AdvertsCard';\nimport SponsorshipCard from './components/SponsorshipCard';\nimport { greeting } from '../../../../../shared/utils/helpers/hosmanVars';\n\nimport { LoadingLayer, FadeIn, Emoji, Separator } from 'hosman-material';\nimport { D_House } from 'hosman-material';\n\nconst Home = () => {\n const { user } = useSelector((state) => state.user);\n const { saleInterestsState } = useSelector((state) => state.buyerSalesInterests);\n const { allOffers, offersState } = useSelector((state) => state.buyerOffers);\n const { buyerAlerts, buyerAlertsState } = useSelector((state) => state.buyerBuyerAlerts);\n const { allVisits, visitsState } = useSelector((state) => state.buyerVisits);\n\n const selectedVisit = selectDisplayedVisit(allVisits);\n const selectedOffer = allOffers[0];\n\n return (\n
\n \n\n
\n state === 'done')}>\n \n
\n

Bonjour {greeting(user)}

\n\n
\n \n\n \n\n \n
\n
\n
\n
\n
\n\n \n\n
\n
\n \n
\n\n
\n \n {buyerAlerts.length > 0 ? : }\n
\n
\n
\n )\n};\n\nexport default Home;\n\nfunction selectDisplayedVisit(allVisits) {\n // If there are confirmed visit to come, display the one to come first\n const futureVisits = allVisits.filter(visit => (['proposed', 'confirmed'].includes(visit.state) && new Date(visit.start_time) > new Date()))\n futureVisits.sort((a, b) => new Date(a.start_time) - new Date(b.start_time));\n if (futureVisits.length > 0) return futureVisits[0]\n\n // If there are no confirmed visit to come, display the last one the is done\n const pastVisits = allVisits.filter(visit => (visit.state === 'done' && new Date(visit.start_time) <= new Date()))\n pastVisits.sort((a, b) => new Date(b.start_time) - new Date(a.start_time));\n if (pastVisits.length > 0) return pastVisits[0]\n\n return {}\n}\n","import { generateLink } from '../../../../../../../shared/utils/railsRoutes';\nimport { shortDateAndYear } from '../../../../../../../shared/utils/formattedDates';\n\nexport default (sale, visits, offers) => {\n const offerInfos = (offer) => {\n switch (offer.review_status) {\n case 'pending':\n case 'ongoing':\n case 'unsent_for_review':\n case 'partly_accepted':\n return { enrichedAdvert: true, label: 'Offre remise', color: 'bg-ih-blue', link: `/ea/interests/${sale.id}/mes-offres`, linkText: 'Visualiser mon offre' }\n case 'accepted':\n return { enrichedAdvert: true, label: 'Offre acceptée', color: 'bg-ih-green' }\n case 'refused':\n return { enrichedAdvert: true, label: 'Offre refusée', color: 'bg-ih-red', link: generateLink(RailsRoutes.online_offers_path({ property_slug: sale.property.slug })), linkText: 'Faire une contre offre' }\n case 'dropped':\n return { enrichedAdvert: true, label: 'Offre annulée', color: 'bg-ih-red' }\n default:\n return { enrichedAdvert: true, label: 'Offre non finalisée', color: 'bg-ih-orange' }\n }\n }\n\n const visitInfos = (visit) => {\n if (!visit) return null;\n\n if (visit.canceled) return { enrichedAdvert: true, label: 'Visite annulée', color: 'bg-ih-red', link: generateLink(RailsRoutes.online_offers_path({ property_slug: sale.property.slug })), linkText: 'Faire une offre' }\n if (['proposed', 'confirmed'].includes(visit.state)) return { enrichedAdvert: false, label: `Visite prévue le ${shortDateAndYear(visit.start_time)}`, color: 'bg-ih-blue' }\n if (visit.state === 'done') return { enrichedAdvert: true, label: 'Visite effectuée', color: 'bg-ih-green', link: generateLink(RailsRoutes.online_offers_path({ property_slug: sale.property.slug })), linkText: 'Faire une offre' }\n }\n\n const setStateInfos = () => {\n const lastOffer = offers[0]\n if (lastOffer) return offerInfos(lastOffer)\n\n const selectedVisit = selectVisit(visits)\n return visitInfos(selectedVisit)\n }\n\n return setStateInfos();\n}\n\nfunction selectVisit(visits) {\n // If there are confirmed visit to come, select the one to come first\n const futureVisits = visits.filter(visit => (visit.state === 'confirmed' && new Date(visit.start_time) > new Date()))\n futureVisits.sort((a, b) => new Date(a.start_time) - new Date(b.start_time));\n if (futureVisits.length > 0) return futureVisits[0]\n\n // If there are no confirmed visit to come, display the last one the is done\n const pastVisits = visits.filter(visit => (visit.state === 'done' && new Date(visit.start_time) <= new Date()))\n pastVisits.sort((a, b) => new Date(b.start_time) - new Date(a.start_time));\n if (pastVisits.length > 0) return pastVisits[0]\n // If there are no confirmed visit to come neither done, display the first one (otherwise it's null and error occurs when trying to access object properties like \"stateInfos.color\")\n if (visits.length > 0) return visits[0]\n\n return null;\n}\n","import React, { useState, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport PropTypes from 'prop-types';\n\nimport Characteristics from '../../../../../../../../shared/components/Property/Characteristics';\nimport { Card, Label, Avatar, Carousel } from 'hosman-material';\nimport setStateInfos from '../../utils/setStateInfos';\n\nconst SaleCard = ({ sale }) => {\n const property = sale.property\n const { allVisits, visitsState } = useSelector((state) => state.buyerVisits);\n const { allOffers, offersState } = useSelector((state) => state.buyerOffers);\n const [visits, setVisits] = useState([])\n const [offers, setOffers] = useState([])\n const [labelInfos, setLabelInfos] = useState()\n\n useEffect(() => {\n if (visitsState === 'done') setVisits(allVisits.filter(visit => visit.sale_id == sale.id));\n if (offersState === 'done') setOffers(allOffers.filter(offer => offer.sale_id == sale.id));\n }, [allVisits, allOffers]);\n\n useEffect(() => {\n setLabelInfos(setStateInfos(sale, visits, offers))\n }, [visits, offers]);\n\n if (!labelInfos) return null;\n\n return (\n
\n \n
\n \n\n
\n
\n \n
\n
\n
\n\n
\n {sale.expert_picture_url &&\n
\n \n
\n }\n\n
\n \n
\n\n

\n {property.street_number} {property.street_name} {property.zip_code} {property.city}\n

\n\n \n
\n\n
\n Accéder au bien\n
\n
\n
\n )\n}\n\nexport default SaleCard;\n\n// PropTypes\nSaleCard.propTypes = {\n sale: PropTypes.object.isRequired\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../../../../../shared/utils/railsRoutes';\n\nimport { Card, Box, Button } from 'hosman-material';\nimport { D_CalendarStar } from 'hosman-material';\n\nconst NoSalesInterestsCard = () => {\n return (\n
\n \n
\n
\n \n
\n\n

Vous n'avez pas encore de visite prévue

\n\n \n
\n
\n
\n )\n}\n\nexport default NoSalesInterestsCard;\n","import React, { useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Link, useNavigate } from 'react-router-dom';\nimport { D_CalendarStar } from 'hosman-material';\n\nimport PageTitle from '../../../../../../components/PageTitle/PageTitle';\nimport SaleCard from './components/SaleCard';\nimport NoSalesInterestsCard from './components/NoSalesInterestsCard';\n\nimport { LoadingLayer, FadeIn } from 'hosman-material';\n\nconst InterestsIndex = () => {\n const { salesInterests, saleInterestsState } = useSelector((state) => state.buyerSalesInterests);\n const { buyerAlerts, buyerAlertsState } = useSelector((state) => state.buyerBuyerAlerts);\n let navigate = useNavigate();\n\n // If user has no salesInterests, navigate to seller app\n // If user has only one saleInterest, navigate to InterestShow\n useEffect(() => {\n if (saleInterestsState !== 'done' || buyerAlertsState !== 'done') return;\n\n if (salesInterests.length === 0 && buyerAlerts.length === 0) navigate('/ev');\n if (salesInterests.length === 1) navigate(`${salesInterests[0].id}`);\n }, [saleInterestsState, buyerAlertsState, saleInterestsState, buyerAlerts]);\n\n return (\n
\n \n\n \n \n {salesInterests.length == 0 && }\n\n {salesInterests.length > 0 &&\n <>\n

Voici les biens qui vous intéressent

\n\n
\n {salesInterests.map((sale) => (\n \n \n \n ))}\n
\n \n }\n
\n
\n
\n )\n}\n\nexport default InterestsIndex;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { generateLink } from '../../../shared/utils/railsRoutes';\n\nimport Characteristics from '../../../shared/components/Property/Characteristics';\n\nimport { Label, Avatar, Carousel } from 'hosman-material';\n\nconst PropertySummary = ({ property, link, stateLabel, cityLabel, avatar, propertyInfos = true, premium = false, children }) => {\n const handleClick = () => {\n if (link && !property.advert?.draft) {\n window.open(link)\n }\n }\n\n return (\n
handleClick()} className={`flex flex-col lg:flex-row border hover:border-ih-purple-30 rounded-3xl shadow-ih-1 w-full ${!property.advert?.draft && 'cursor-pointer'}`} data-testid='PropertySummary'>\n
\n picture.photo_url)} />\n\n
\n
\n
{stateLabel}
\n
{cityLabel}
\n
\n
\n\n {premium &&\n
\n \n
\n }\n\n
\n {avatar && }\n
\n
\n\n
\n {propertyInfos &&\n
\n {property.advert?.title &&

{property.advert.title}

}\n
\n \n
\n {!property.advert?.title &&

L'annonce n'est pas encore prête

}\n
\n }\n\n
\n {children}\n
\n
\n
\n )\n}\n\nexport default PropertySummary;\n\n// PropTypes\nPropertySummary.propTypes = {\n property: PropTypes.object.isRequired,\n link: PropTypes.string,\n stateLabel: PropTypes.node,\n cityLabel: PropTypes.node,\n avatar: PropTypes.string,\n propertyInfos: PropTypes.bool,\n premium: PropTypes.bool,\n children: PropTypes.node\n};\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { generateLink } from '../../../../../../../../shared/utils/railsRoutes';\n\nimport PropertySummary from '../../../../../../../components/Property/PropertySummary';\nimport { FadeIn, Label, PriceBox, Button } from 'hosman-material';\nimport setStateInfos from '../../utils/setStateInfos';\n\nconst Property = ({ sale, visits, offers }) => {\n const stateInfos = setStateInfos(sale, visits, offers);\n\n if (!stateInfos) return null;\n return (\n
\n {sale.id &&\n \n {stateInfos.label}}\n avatar={sale.expert?.photo}\n link={stateInfos.enrichedAdvert ? generateLink(RailsRoutes.post_visit_adverts_property_path(sale.property.slug)) : generateLink(RailsRoutes.adverts_property_path(sale.property.slug))}\n >\n
\n \n
\n\n
\n {stateInfos.link && e.stopPropagation()}>
\n \n
\n }\n
\n )\n}\n\nexport default Property;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nconst reasons = [\n { id: 1, value: 'visitor_emergency', name: \"J'ai un imprévu\" },\n { id: 2, value: 'location', name: \"L'emplacement du bien ne me convient finalement pas\" },\n { id: 3, value: 'found', name: \"J'ai trouvé un bien qui me convient mieux\" },\n { id: 4, value: 'dislike', name: 'Ce bien a une caractéristique rédhibitoire pour moi' },\n { id: 5, value: 'partner', name: 'Le bien ne plaît pas à mon conjoint' }\n]\n\nconst ReasonInput = ({ selectedReason, setSelectedReason, errors, setErrors }) => {\n const handleSelect = (reason) => {\n setSelectedReason(reason);\n setErrors((prev) => ({ ...prev, cancel_reason: null }))\n }\n\n return (\n handleSelect(reason)}\n errors={errors}\n />\n )\n}\n\nexport default ReasonInput;\n","import React from 'react';\n\nimport { TextAreaInput } from 'hosman-material';\n\nconst CancelCommentInput = ({ cancelComment, setCancelComment, errors, setErrors }) => {\n const handleChange = (e) => {\n setCancelComment(e.target.value);\n setErrors((prev) => ({ ...prev, cancel_comment: null }))\n }\n\n return (\n handleChange(e)}\n errors={errors}\n />\n )\n}\n\nexport default CancelCommentInput;\n","import client from '../../client';\n\nconst VISITS = {\n getVisits() {\n return client.get(`/buyers/${client.customerId()}/visits`);\n },\n}\n\nexport default VISITS;\n","import client from '../../client';\n\nconst VISITS = {\n authCancelVisit(visitId, params) {\n return client.post('/visits/verify_infos', { visit_id: visitId, user: params })\n },\n\n getVisit(visitId, userSlug) {\n return client.get(`/visits/${visitId}`, { user_slug: userSlug });\n },\n\n cancelVisit(visitId, userSlug, params) {\n return client.put(`/visits/${visitId}`, { user_slug: userSlug, visit: params })\n },\n}\n\nexport default VISITS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport React from 'react';\nimport { toast } from 'react-hot-toast';\nimport { S_Check, S_Xmark } from 'hosman-material';\n\nimport VISITS from '../../api/ressources/BuyerApp/visits';\nimport PUBLIC_VISITS from '../../api/ressources/App/visits';\n\nexport const getVisits = createAsyncThunk(\n '/getVisits',\n async (params) => {\n const response = await VISITS.getVisits(params)\n return response.data\n }\n);\n\nexport const cancelVisit = createAsyncThunk(\n '/cancelVisit',\n async ({ visitId, userSlug, params }) => {\n const response = await PUBLIC_VISITS.cancelVisit(visitId, userSlug, params)\n return response.data\n }\n);\n\nconst initialState = {\n allVisits: [],\n cancelModalVisitId: null,\n visitsState: '',\n visitCancelState: ''\n};\n\nexport const visitsSlice = createSlice({\n name: 'visits',\n initialState,\n reducers: {\n setCancelModalVisitId(state, { payload }) {\n state.cancelModalVisitId = payload;\n },\n resetVisits(state) {\n state.allVisits = initialState.allVisits;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getVisits.pending, (state) => {\n state.visitsState = 'pending'\n })\n builder.addCase(getVisits.fulfilled, (state, { payload }) => {\n state.allVisits = payload.results;\n state.visitsState = 'done'\n })\n builder.addCase(cancelVisit.pending, (state, { payload }) => {\n state.visitCancelState = 'pending'\n })\n builder.addCase(cancelVisit.fulfilled, (state, { payload }) => {\n const newPayload = [...state.allVisits];\n const updatedIndex = newPayload.findIndex(visit => visit.id === payload.id);\n newPayload[updatedIndex] = payload;\n\n state.allVisits = newPayload;\n state.cancelModalVisitId = initialState.cancelModalVisitId;\n state.visitCancelState = ''\n\n toast.success(

La visite a bien été annulée

, { icon: S_Check, duration: 3000 })\n })\n },\n})\n\nexport const { setCancelModalVisitId, resetVisits } = visitsSlice.actions;\n\nexport default visitsSlice.reducer;\n","import React, { useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport ReasonInput from './components/ReasonInput';\nimport CancelCommentInput from './components/CancelCommentInput';\n\nimport { D_CalendarStar } from 'hosman-material';\nimport { Modal, LoadingLayer, FadeIn, Box, InfoBox, Button } from 'hosman-material';\n\nimport { setCancelModalVisitId, cancelVisit } from '../../../../../../../../../../reducers/BuyerApp/visitsSlice';\n\nconst CancelModal = ({ expert }) => {\n const { user } = useSelector((state) => state.user);\n const { cancelModalVisitId, visitCancelState } = useSelector((state) => state.buyerVisits);\n const [selectedReason, setSelectedReason] = useState(null);\n const [cancelComment, setCancelComment] = useState('');\n const [errors, setErrors] = useState({});\n const dispatch = useDispatch();\n\n const handleSubmit = () => {\n if (handleErrors()) return;\n\n dispatch(cancelVisit({\n visitId: cancelModalVisitId,\n userSlug: user.slug,\n params: {\n cancel_reason: selectedReason.value,\n cancel_comment: cancelComment\n }\n }))\n }\n\n const handleErrors = () => {\n if (!selectedReason) setErrors((prev) => ({ ...prev, cancel_reason: ['*Veuillez sélectionner un motif'] }))\n if (!cancelComment) setErrors((prev) => ({ ...prev, cancel_comment: ['*Veuillez apporter plus de détails'] }))\n\n return (!selectedReason || !cancelComment)\n }\n\n return (\n dispatch(setCancelModalVisitId(null))}>\n \n \n
\n \n\n

Pour quel motif souhaitez-vous annuler la visite ?

\n\n
\n \n\n \n
\n\n \n

Si vous souhaitez décaler votre visite, veuillez d'abord annuler celle-ci, puis en réserver une nouvelle.

\n
\n\n
\n
\n
\n
\n
\n
\n )\n}\n\nexport default CancelModal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Label, Emoji } from 'hosman-material';\n\nconst StateLabel = ({ visit }) => {\n const labelInfos = () => {\n switch (visit.state) {\n case 'proposed':\n case 'confirmed':\n return { color: 'bg-ih-blue', label: 'Visite à venir' };\n case 'done':\n return { color: 'bg-ih-green', label: 'Visite effectuée' };\n case 'rescheduled':\n return { color: 'bg-ih-orange', label: 'Visite reportée' };\n case 'cancelled_visitor':\n case 'cancelled_owner':\n case 'cancelled_guide':\n case 'cancelled_terminated':\n return { color: 'bg-ih-red', label: 'Visite annulée' };\n }\n }\n\n const payload = labelInfos();\n\n return (\n \n )\n}\n\nexport default StateLabel;\n\n// PropTypes\nStateLabel.propTypes = {\n visit: PropTypes.object.isRequired\n};\n","import React from 'react';\nimport { useDispatch } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../../../../../../../shared/utils/railsRoutes';\nimport { longDateTime } from '../../../../../../../../../../shared/utils/formattedDates';\n\nimport { Card, Box, Button } from 'hosman-material';\nimport { D_CalendarStar } from 'hosman-material';\n\nimport { setCancelModalVisitId } from '../../../../../../../../../reducers/BuyerApp/visitsSlice';\n\nconst StateCard = ({ visit, sale }) => {\n const dispatch = useDispatch();\n\n const displayedContent = (date) => {\n switch (visit.state) {\n case 'proposed':\n case 'confirmed':\n return `Visite prévue le ${date}`;\n case 'done':\n return `Visite effectuée le ${date}`;\n case 'rescheduled':\n return `Visite du ${date} reportée`;\n case 'cancelled_visitor':\n case 'cancelled_owner':\n case 'cancelled_guide':\n case 'cancelled_terminated':\n return `Visite du ${date} annulée`;\n }\n }\n\n const displayActions = () => {\n switch (visit.state) {\n case 'confirmed':\n return \n )\n}\n\nexport default MenuButton;\n\n// PropTypes\nMenuButton.propTypes = {\n icon: PropTypes.object.isRequired,\n setSidebarOpen: PropTypes.func.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\n\nimport AvatarMenu from './components/AvatarMenu';\nimport MenuButton from './components/MenuButton';\nimport { HosmanLogo } from 'hosman-material';\nimport { S_Xmark, S_BarsStaggered } from 'hosman-material';\n\nconst MobileBanner = ({ sidebarOpen, setSidebarOpen }) => {\n // Lower logo size on very small phones\n const logoWidth = window.innerWidth < 350 ? 100 : 150\n\n return (\n
\n \n\n
\n \n\n {sidebarOpen && setSidebarOpen(false)} icon={S_Xmark} />}\n\n {!sidebarOpen && setSidebarOpen(true)} icon={S_BarsStaggered} />}\n
\n
\n );\n};\n\nexport default MobileBanner;\n\n// PropTypes\nMobileBanner.propTypes = {\n sidebarOpen: PropTypes.bool,\n setSidebarOpen: PropTypes.func\n};\n","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { Dialog, Transition } from '@headlessui/react';\nimport { starStruck } from '../../../shared/assets/emojis';\nimport { ga4Event } from '../../../shared/utils/ga4Event';\n\nimport { MenuItem, PropertySelect, Emoji } from 'hosman-material';\n\nconst MobileMenu = ({\n sidebarOpen,\n setSidebarOpen,\n handleColor,\n handleClick,\n navigation,\n clientSwitch\n}) => {\n const { user } = useSelector((state) => state.user);\n const { sale, sales, propertySelectOptions } = useSelector((state) => state.sellerSales);\n let navigate = useNavigate();\n\n const handleInnerClick = (item) => {\n handleClick(item);\n item.gtmEventParams && ga4Event(item.gtmEventParams, { user_id: user.id });\n }\n\n const handleSaleChange = (eventSale) => {\n setSidebarOpen(false);\n navigate(`/ev/ventes/${eventSale.id}`);\n }\n\n const handleTitle = (item) => {\n if (item.subtitle) {\n return(\n <>\n

{item.name}

\n\n
\n {item.subtitle}\n \n
\n \n )\n } else return item.name\n }\n\n return (\n \n setSidebarOpen(false)}\n >\n \n
\n \n\n
\n \n \n
\n
\n {clientSwitch && clientSwitch()}\n
\n {sales.length > 1 && (\n
\n {sale.id &&\n handleSaleChange(sale)}\n />\n }\n
\n )}\n\n
\n ))}\n \n
\n
\n \n \n
\n \n
\n );\n};\n\nexport default MobileMenu;\n\n// PropTypes\nMobileMenu.propTypes = {\n navigation: PropTypes.array,\n handleClick: PropTypes.func,\n handleColor: PropTypes.func,\n sidebarOpen: PropTypes.bool,\n setSidebarOpen: PropTypes.func,\n topMenu: PropTypes.node,\n clientSwitch: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport DesktopMenu from './DesktopMenu';\nimport MobileBanner from './MobileBanner';\nimport MobileMenu from './MobileMenu';\n\nconst classNames = require('classnames');\n\nconst Sidebar = ({\n navigation,\n selectedNav,\n handleSelect,\n clientSwitch,\n children\n}) => {\n const [sidebarOpen, setSidebarOpen] = useState(false);\n\n const handleColor = (item) => {\n return classNames(\n { 'bg-white text-ih-blue': item.name === selectedNav?.name},\n { 'text-ih-blue': item.icon.iconName === 'message-heart'},\n { 'text-ih-indigo': item.name !== selectedNav?.name && item.icon.iconName !== 'message-heart'},\n { 'transition-color duration-200 hover:bg-white': item.name !== selectedNav?.name && !item.disabled }\n );\n };\n\n const handleClick = (nav) => {\n handleSelect(nav);\n setSidebarOpen(false);\n };\n\n return (\n <>\n \n\n \n\n\n
\n \n\n
\n {children}\n
\n
\n \n );\n};\n\nexport default Sidebar;\n\n// PropTypes\nSidebar.propTypes = {\n children: PropTypes.node,\n navigation: PropTypes.array,\n selectedNav: PropTypes.object,\n handleSelect: PropTypes.func,\n clientSwitch: PropTypes.func\n};\n","import client from '../../client';\n\nconst SALES_INTERESTS = {\n getSalesInterests() {\n return client.get(`/buyers/${client.customerId()}/sales`);\n }\n}\n\nexport default SALES_INTERESTS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport SALES_INTERESTS from '../../api/ressources/BuyerApp/salesInterests';\n\nexport const getSalesInterests = createAsyncThunk(\n '/getSalesInterests',\n async () => {\n const response = await SALES_INTERESTS.getSalesInterests();\n return response.data\n }\n);\n\nconst initialState = {\n salesInterests: [],\n saleInterestsState: ''\n};\n\nexport const salesInterestsSlice = createSlice({\n name: 'salesInterests',\n initialState,\n reducers: {\n resetSalesInterests(state) {\n state.salesInterests = initialState.salesInterests;\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getSalesInterests.pending, (state) => {\n state.salesInterests = initialState.salesInterests;\n state.saleInterestsState = 'pending'\n })\n builder.addCase(getSalesInterests.fulfilled, (state, { payload }) => {\n state.salesInterests = payload\n state.saleInterestsState = 'done'\n })\n },\n})\n\nexport const { resetSalesInterests } = salesInterestsSlice.actions;\n\nexport default salesInterestsSlice.reducer;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport OFFERS from '../../api/ressources/BuyerApp/offers';\n\nexport const getOffers = createAsyncThunk(\n '/getOffers',\n async () => {\n const response = await OFFERS.getOffers()\n return response.data\n }\n);\n\nconst initialState = {\n allOffers: [],\n offersState: ''\n};\n\nexport const offersSlice = createSlice({\n name: 'offers',\n initialState,\n reducers: {\n resetOffers(state) {\n state.allOffers = initialState.allOffers;\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getOffers.pending, (state) => {\n state.offersState = 'pending'\n })\n builder.addCase(getOffers.fulfilled, (state, { payload }) => {\n state.allOffers = payload.results.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));\n state.offersState = 'done'\n })\n },\n})\n\nexport const { resetOffers } = offersSlice.actions;\n\nexport default offersSlice.reducer;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport {\n Route,\n Navigate,\n useNavigate,\n useLocation\n} from 'react-router-dom';\nimport CustomRoutes from '../../../../shared/utils/customRoutes';\n\nimport Home from '../../BuyerApp/pages/Home';\nimport Interests from '../../BuyerApp/pages/Interests';\nimport BuyerAlerts from '../../BuyerApp/pages/BuyerAlerts';\nimport BuyerGuide from '../../BuyerApp/pages/BuyerGuide';\nimport Sponsorship from '../../BuyerApp/pages/Sponsorship';\nimport Sidebar from '../../../components/Sidebar/Sidebar';\n\nimport { D_House, D_CalendarStar, D_Book, D_BellOn, D_MessageHeart } from 'hosman-material';\n\nimport { getSalesInterests, resetSalesInterests } from '../../../reducers/BuyerApp/salesInterestsSlice';\nimport { getVisits, resetVisits } from '../../../reducers/BuyerApp/visitsSlice';\nimport { getOffers, resetOffers } from '../../../reducers/BuyerApp/offersSlice';\nimport { getBuyerAlerts, resetBuyerAlerts } from '../../../reducers/BuyerApp/buyerAlertsSlice';\n\nconst BASE_PATH = '/ea';\nconst navigation = [\n { name: 'Accueil', path: `${BASE_PATH}`, icon: D_House },\n { name: 'Visites et offres', path: `${BASE_PATH}/interests`, icon: D_CalendarStar },\n { name: 'Mes alertes', path: `${BASE_PATH}/alertes-achat`, icon: D_BellOn },\n { name: \"Guide de l'acheteur\", path: `${BASE_PATH}/guide-acheteur`, icon: D_Book },\n { name: 'Parrainez un proche', subtitle: \"Gagnez jusqu'à 600€ !\", path: `${BASE_PATH}/parrainage`, icon: D_MessageHeart, gtmEventParams: 'click_parrainage_menu' }\n]\n\nconst BuyerApp = ({ clientSwitch, accountCard }) => {\n const { user } = useSelector((state) => state.user);\n const [selectedNav, setSelectedNav] = useState(navigation[0])\n const dispatch = useDispatch();\n let navigate = useNavigate();\n let location = useLocation();\n\n useEffect(() => {\n const matchedPath = navigation.find((nav, index) => index !== 0 && location.pathname.includes(nav.path));\n setSelectedNav(matchedPath || navigation[0])\n }, [navigation, location.pathname]);\n\n const handleNavChange = (navigation) => {\n setSelectedNav(navigation);\n navigate(navigation.path);\n }\n\n useEffect(() => {\n dispatch(getSalesInterests());\n dispatch(getVisits());\n dispatch(getOffers());\n dispatch(getBuyerAlerts());\n\n return function cleanup() {\n dispatch(resetSalesInterests());\n dispatch(resetVisits());\n dispatch(resetOffers());\n dispatch(resetBuyerAlerts());\n };\n }, []);\n\n\n return (\n
\n \n \n } />\n } />\n } />\n } />\n } />\n \n \n
\n );\n}\n\n// PropTypes\nBuyerApp.propTypes = {\n clientSwitch: PropTypes.func,\n accountCard: PropTypes.func\n}\n\nexport default BuyerApp;\n","import React from 'react';\n\nimport { Label, Emoji } from 'hosman-material';\nimport { camera,partyingFace, clappingHands } from '../../../shared/assets/emojis';\n\nconst SaleStateLabel = ({ sale }) => {\n const labelInfos = () => {\n if (sale.on_break) {\n return { color: 'bg-ih-orange', label: 'En pause' };\n } else {\n switch (sale.state) {\n case 'awaiting_apointment':\n case 'assigned_lead':\n case 'unreached_lead':\n case 'contacted_lead':\n case 'contacted_prospect':\n case 'awaiting_visit':\n if (sale.last_estimation_meeting_id) {\n return { color: 'bg-ih-blue', label: \"Rendez-vous d'estimation\" };\n } else {\n return { color: 'bg-ih-blue', label: 'Estimation en ligne' };\n }\n case 'awaiting_term':\n return { color: 'bg-ih-blue', label: 'Estimation disponible' };\n case 'awaiting_term_signature':\n if (sale.mandateSigned) {\n return { color: 'bg-ih-blue', label: 'Mandat signé' };\n } else {\n return { color: 'bg-ih-blue', label: 'Mandat en attente de signature' };\n }\n case 'awaiting_publication':\n if (sale.timeline?.last_photo_meeting_at && new Date(sale.timeline.last_photo_meeting_at).getTime() > new Date().getTime()) {\n return { color: 'bg-ih-green', label: 'Rendez-vous photo planifié', emojy: camera };\n } else {\n return { color: 'bg-ih-blue', label: 'Bientôt commercialisé' };\n }\n case 'awaiting_offer':\n return { color: 'bg-ih-blue', label: 'Annonce publiée' };\n case 'awaiting_sale_agreement':\n return { color: 'bg-ih-green', label: 'Offre acceptée', emojy: partyingFace };\n case 'awaiting_notarial_deed':\n return { color: 'bg-ih-green', label: 'Promesse de vente signée', emojy: clappingHands };\n case 'sold':\n return { color: 'bg-ih-green', label: 'Vendu', emojy: clappingHands };\n default:\n return { color: 'bg-ih-blue', label: 'En attente du RDV expert' };\n }\n }\n }\n\n const payload = labelInfos();\n\n return (\n \n )\n}\n\nexport default SaleStateLabel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport SaleStateLabel from '../../../../components/Sale/StateLabel';\nimport Characteristics from '../../../../../shared/components/Property/Characteristics';\nimport { Card, Label, Avatar, Carousel } from 'hosman-material';\n\nconst SaleSummary = ({ sale }) => {\n const property = sale.property\n\n const buttonName = () => {\n if (sale.state === 'awaiting_term_signature') return \"Continuer l'onboarding\";\n\n return sale.mandateSigned ? 'Accéder à ma vente' : 'Voir mon estimation'\n }\n\n return (\n
\n \n picture.photo_url )} />\n\n
\n \n
\n\n {sale.premium &&\n
\n \n
\n }\n\n
\n {sale.expert &&\n
\n \n
\n }\n\n
\n \n
\n\n

\n {property.street_number} {property.street_name} {property.zip_code} {property.city}\n

\n\n \n
\n\n
\n {buttonName()}\n
\n
\n
\n )\n}\n\nexport default SaleSummary;\n\n// PropTypes\nSaleSummary.propTypes = {\n sale: PropTypes.object.isRequired\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { Link, useNavigate } from 'react-router-dom';\nimport { smilingFace } from '../../../../shared/assets/emojis'\nimport { D_House } from 'hosman-material';\n\nimport PageTitle from '../../../components/PageTitle/PageTitle';\nimport SaleSummary from './components/SaleSummary';\n\nimport { LoadingLayer, FadeIn, Emoji } from 'hosman-material';\nimport { greeting } from \"../../../../shared/utils/helpers/hosmanVars\";\n\nconst SalesIndex = ({ setNavigation }) => {\n const { user } = useSelector((state) => state.user);\n const { sales, requestState } = useSelector((state) => state.sellerSales);\n const [navigationState, setNavigationState] = useState([{ name: 'Mes ventes', path: 'ventes', icon: D_House }]);\n let navigate = useNavigate();\n\n useEffect(() => {\n setNavigationState([{ name: 'Mes ventes', path: 'ventes', icon: D_House, count: sales.length }]);\n }, [sales]);\n\n useEffect(() => {\n setNavigation(navigationState);\n }, [navigationState]);\n\n useEffect(() => {\n if (requestState == 'done' && sales.length == 1) navigate(`${sales[0].id}`);\n }, [sales]);\n\n return (\n
\n \n\n \n \n
\n

{`${greeting(user)}, voici vos `} projets de vente

\n
\n {sales.map((sale) => (\n
\n \n
\n \n
\n \n
\n ))}\n
\n
\n
\n
\n
\n );\n};\n\n// PropTypes\nSalesIndex.propTypes = {\n setNavigation: PropTypes.func\n};\n\nexport default SalesIndex;\n","let actionConsumer = null;\n\nif (process.env.NODE_ENV !== 'test') {\n import('@rails/actioncable/src').then(module => {\n const { createConsumer } = module;\n actionConsumer = createConsumer();\n });\n}\n\nexport { actionConsumer };\n","import client from '../../client';\n\nconst SALES_USERS = {\n getSalesUsers(saleId) {\n return client.get(`/sellers/${client.customerId()}/sales/${saleId}/sales_users`);\n },\n\n createSalesUser(saleId, params) {\n return client.post(`/sellers/${client.customerId()}/sales/${saleId}/sales_users`, { sales_user: params });\n },\n\n updateSalesUser(saleId, salesUserId, params) {\n return client.put(`/sellers/${client.customerId()}/sales/${saleId}/sales_users/${salesUserId}`, { sales_user: params });\n },\n\n removeSalesUser(saleId, salesUserId) {\n return client.delete(`/sellers/${client.customerId()}/sales/${saleId}/sales_users/${salesUserId}`);\n },\n};\n\nexport default SALES_USERS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport React from 'react';\nimport { toast } from 'react-hot-toast';\n\nimport SALES_USERS from '../../api/ressources/SellerApp/salesUsers';\n\nexport const getSalesUsers = createAsyncThunk(\n '/salesUsers',\n async (saleId) => {\n const response = await SALES_USERS.getSalesUsers(saleId);\n return response.data\n }\n);\n\nexport const submitSalesUser = createAsyncThunk(\n '/submitSalesUser',\n async ({ saleId, salesUserId = null, params }, { rejectWithValue }) => {\n let response;\n\n try {\n if (salesUserId) {\n response = await SALES_USERS.updateSalesUser(saleId, salesUserId, params)\n } else {\n response = await SALES_USERS.createSalesUser(saleId, params)\n }\n return response.data\n } catch (error) {\n return rejectWithValue(error.response.data);\n }\n }\n);\n\nexport const removeSalesUser = createAsyncThunk(\n '/removeSalesUser',\n async ({ saleId, salesUserId }, { rejectWithValue }) => {\n try {\n const response = await SALES_USERS.removeSalesUser(saleId, salesUserId)\n return response.data\n } catch (error) {\n return rejectWithValue(error.response.data);\n }\n }\n);\n\nconst initialState = {\n displaySalesUsersModal: false,\n signatories: [],\n saleContacts: [],\n salesUser: null,\n isSubmitting: false,\n salesUserToRemove: null,\n isRemoving: false,\n errors: {}\n};\n\nexport const salesUsersSlice = createSlice({\n name: 'salesUser',\n initialState,\n reducers: {\n resetSalesUsers: () => initialState,\n updateSalesUser: (state, { payload }) => {\n state.salesUser = payload\n if (!state.saleUser) state.errors = initialState.errors\n },\n updateDisplaySalesUsersModal: (state, { payload }) => {\n state.displaySalesUsersModal = payload\n },\n updateSalesUserToRemove: (state, { payload }) => {\n state.salesUserToRemove = payload\n },\n updateErrors: (state, { payload }) => {\n state.errors = payload\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getSalesUsers.fulfilled, (state, { payload }) => {\n state.signatories = payload.results.filter((saleUser) => saleUser.signatory);\n state.saleContacts = payload.results.filter((saleUser) => !saleUser.signatory);\n })\n builder.addCase(submitSalesUser.pending, (state) => {\n state.isSubmitting = true\n })\n builder.addCase(submitSalesUser.fulfilled, (state, { payload }) => {\n state.signatories = payload.results.filter((saleUser) => saleUser.signatory);\n state.saleContacts = payload.results.filter((saleUser) => !saleUser.signatory);\n state.salesUser = initialState.salesUser\n state.isSubmitting = initialState.isSubmitting\n toast.success('Le contact a bien été enregistré', { duration: 3000 })\n })\n builder.addCase(submitSalesUser.rejected, (state, { payload }) => {\n state.errors = payload.error.message;\n state.isSubmitting = false\n })\n builder.addCase(removeSalesUser.pending, (state) => {\n state.isRemoving = true\n })\n builder.addCase(removeSalesUser.fulfilled, (state, { payload }) => {\n state.signatories = payload.results.filter((saleUser) => saleUser.signatory);\n state.saleContacts = payload.results.filter((saleUser) => !saleUser.signatory);\n state.isRemoving = initialState.isRemoving\n state.salesUserToRemove = initialState.salesUserToRemove\n toast.success('Le contact a bien été retiré', { duration: 3000 })\n })\n builder.addCase(removeSalesUser.rejected, (state, { payload }) => {\n toast.error(\"Une erreur s'est produite, veuillez contacter votre expert\", { duration: 3000 })\n state.isRemoving = initialState.isRemoving\n })\n },\n})\n\nexport const { resetSalesUsers, updateDisplaySalesUsersModal, updateSalesUser, updateSalesUserToRemove, updateErrors } = salesUsersSlice.actions;\n\nexport default salesUsersSlice.reducer;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Modal, ContactCard, Button } from 'hosman-material';\nimport { S_Pen, S_TrashCan, S_Info } from 'hosman-material';\n\nimport { updateSalesUser, updateSalesUserToRemove, removeSalesUser } from '../../../../../../../../reducers/SellerApp/salesUsersSlice';\n\nconst SalesUsersList = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { signatories, saleContacts, isRemoving, salesUserToRemove } = useSelector((state) => state.sellerSalesUsers);\n const dispatch = useDispatch();\n\n const handleUpdate = (saleUser) => {\n dispatch(updateSalesUser({\n id: saleUser.id,\n kind: saleUser.kind,\n signatory: saleUser.signatory,\n user_id: saleUser.user.id,\n active: saleUser.user.active,\n first_name: saleUser.user.first_name,\n last_name: saleUser.user.last_name,\n civility: saleUser.user.civility,\n email: saleUser.user.email,\n phone_country_code: saleUser.user.phone_country_code || 'FR',\n phone_number: saleUser.user.phone_number\n }))\n }\n\n return (\n
\n {signatories.concat(saleContacts).map((saleUser, index) => {\n return (\n
\n \n\n {!saleUser.signatory &&\n
\n
\n handleUpdate(saleUser)} />\n
\n\n
\n dispatch(updateSalesUserToRemove(saleUser))} />\n
\n
\n }\n
\n )\n })}\n\n {salesUserToRemove &&\n dispatch(updateSalesUserToRemove(null))}>\n
\n
\n \n
\n\n

Êtes-vous sûr de vouloir supprimer le contact {salesUserToRemove.user.first_name} {salesUserToRemove.user.last_name} ?

\n \n
\n
\n
\n
\n }\n
\n );\n}\n\nexport default SalesUsersList;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport SalesUsersList from './components/SalesUsersList';\n\nimport { Modal, Button } from 'hosman-material';\nimport { S_UserPlus } from 'hosman-material';\n\nimport { updateDisplaySalesUsersModal, updateSalesUser } from '../../../../../../../reducers/SellerApp/salesUsersSlice';\n\nconst SalesUsersModal = () => {\n const { salesUser } = useSelector((state) => state.sellerSalesUsers);\n const dispatch = useDispatch();\n\n return (\n dispatch(updateDisplaySalesUsersModal(false))}>\n
\n
\n

Qui sont les personnes à tenir informées de la vente ?

\n

Ex : un locataire, un ex-conjoint, un associé SCI...

\n
\n\n
\n

Contacts à informer :

\n
\n\n \n\n
\n
\n
\n
\n );\n}\n\nexport default SalesUsersModal;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nexport const allKinds = [\n { id: 1, value: 'partner', name: 'Conjoint' },\n { id: 2, value: 'ex_partner', name: 'Ex-conjoint' },\n { id: 3, value: 'tenant', name: 'Locataire' },\n { id: 4, value: 'interest_holder_sci', name: 'Indivisaire ou associé SCI' },\n { id: 5, value: 'other', name: 'Autre' },\n]\n\nconst KindSelectInput = ({ kind, setKind, errors }) => {\n const handleSelect = (option) => {\n setKind({ target: { name: 'kind', value: option.value }})\n }\n\n return (\n option.value === kind)}\n handleChange={(option) => handleSelect(option)}\n autoScroll={false}\n listHeight='h-40'\n errors={errors}\n />\n );\n}\n\nexport default KindSelectInput;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport KindSelectInput from './components/KindSelectInput';\n\nimport { Modal, TextInput, RadioInput, PhoneNumberInput, Button } from 'hosman-material';\nimport { updateSalesUser, submitSalesUser, updateErrors } from '../../../../../../../reducers/SellerApp/salesUsersSlice';\n\nconst NewSalesUserModal = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { salesUser, isSubmitting, errors } = useSelector((state) => state.sellerSalesUsers);\n const dispatch = useDispatch();\n \n const handleSalesUserChange = (e) => {\n const { name, value } = e.target\n dispatch(updateErrors({ ...errors, [name]: null }))\n dispatch(updateSalesUser({ ...salesUser, [name]: value }))\n };\n \n const handleSubmit = (e) => {\n dispatch(submitSalesUser({\n saleId: sale.id,\n salesUserId: salesUser.id,\n params: {\n kind: salesUser.kind,\n signatory: salesUser.signatory,\n user_attributes: {\n id: salesUser.user_id,\n first_name: salesUser.first_name,\n last_name: salesUser.last_name,\n civility: salesUser.civility,\n email: salesUser.email,\n phone_country_code: salesUser.phone_country_code || 'FR',\n phone_number: salesUser.phone_number\n }\n }\n }));\n };\n\n return (\n dispatch(updateSalesUser(null))}>\n
\n

{salesUser.id ? 'Edition du signataire' : \"Ajout d'un signataire :\"}

\n\n
\n \n
\n\n {!salesUser.active &&\n
\n handleSalesUserChange({ target: { name: 'civility', value: val }})}\n errors={errors}\n />\n\n
\n \n \n
\n\n \n\n handleSalesUserChange({ target: { name: 'phone_number', value: val }})}\n onChangeCountryCode={(val) => handleSalesUserChange({ target: { name: 'phone_country_code', value: val }})}\n phoneValue={salesUser.phone_number }\n countryCodeValue={salesUser.phone_country_code }\n errors={errors}\n />\n
\n }\n\n
\n
\n
\n
\n );\n}\n\nexport default NewSalesUserModal;\n","import client from '../../client';\n\nconst PHOTO_MEETINGS = {\n getPhotoMeetings(saleId) {\n return client.get(`/sales/${saleId}/photo_meetings`);\n },\n\n getSlots(saleId) {\n return client.get(`/sales/${saleId}/photo_meetings/slots`);\n },\n\n createPhotoMeeting(saleId, params) {\n return client.post(`/sales/${saleId}/photo_meetings`, { photo_meeting: params });\n },\n\n getPhotoPacks(saleId) {\n return client.get(`/sales/photo_packs/${saleId}`);\n },\n\n updatePhotoPacks(saleId, params) {\n return client.post(`/sales/${saleId}/photo_packs`, { sale: params });\n },\n}\n\nexport default PHOTO_MEETINGS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport PHOTO_MEETINGS from '../../api/ressources/SellerApp/photoMeetings';\n\nexport const getPhotoMeetings = createAsyncThunk(\n '/getPhotoMeetings',\n async (params) => {\n const response = await PHOTO_MEETINGS.getPhotoMeetings(params)\n return response.data\n }\n);\n\nexport const getSlots = createAsyncThunk(\n '/getSlots',\n async (saleId) => {\n const response = await PHOTO_MEETINGS.getSlots(saleId)\n return response.data\n }\n);\n\nexport const getPhotoPacks = createAsyncThunk(\n '/getPhotoPacks',\n async (saleId) => {\n const response = await PHOTO_MEETINGS.getPhotoPacks(saleId)\n return response.data\n }\n);\n\nexport const updatePhotoPacks = createAsyncThunk(\n '/updatePhotoPacks',\n async ({ saleId, params }) => { \n const response = await PHOTO_MEETINGS.updatePhotoPacks(saleId, params)\n return response.data\n }\n);\n\nexport const createPhotoMeeting = createAsyncThunk(\n '/createPhotoMeeting',\n async ({ saleId, params }, { rejectWithValue }) => {\n try {\n const response = await PHOTO_MEETINGS.createPhotoMeeting(saleId, params);\n return response.data;\n } catch (error) {\n return rejectWithValue(error.response.data);\n }\n }\n);\n\nconst initialState = {\n photoMeetings: [],\n plannedPhotoMeeting: {},\n newPhotoMeetingModalOpen: false,\n photoPacks: {\n isSubmitting: false\n },\n newPhotoMeetingParams: {\n availableSlots: [],\n step: null,\n formValues: {\n contact_name: '',\n last_name: '',\n contact_phone_country_code: '',\n contact_phone_number: '',\n access_details: '',\n start_date: null\n },\n isSubmitting: false,\n errors: {}\n },\n requestState: '',\n};\n\nexport const photoMeetingsSlice = createSlice({\n name: 'photoMeetings',\n initialState,\n reducers: {\n resetPhotoMeetings: () => initialState,\n updateNewPhotoMeetingModalOpen: (state, { payload }) => {\n state.newPhotoMeetingModalOpen = payload\n },\n updateStep: (state, { payload }) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, step: payload }\n },\n resetSlots: (state) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, availableSlots: [] }\n },\n updateFormValues: (state, { payload }) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, formValues: payload }\n },\n updateErrors: (state, { payload }) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, errors: payload }\n },\n resetPhotoMeetingSlice: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(getPhotoMeetings.pending, (state) => {\n state.photoMeetings = initialState.photoMeetings;\n state.plannedPhotoMeeting = initialState.plannedPhotoMeeting;\n state.requestState = 'pending'\n })\n builder.addCase(getPhotoMeetings.fulfilled, (state, { payload }) => {\n state.photoMeetings = payload.results;\n state.plannedPhotoMeeting = lastPlannedPhotoMeeting(payload.results);\n state.requestState = 'done'\n })\n builder.addCase(getPhotoPacks.fulfilled, (state, { payload }) => {\n state.photoPacks = payload;\n })\n builder.addCase(updatePhotoPacks.pending, (state) => {\n state.photoPacks = { ...state.photoPacks, isSubmitting: true }\n })\n builder.addCase(updatePhotoPacks.fulfilled, (state, { payload }) => {\n state.photoPacks = { ...payload, isSubmitting: false }\n })\n builder.addCase(getSlots.fulfilled, (state, { payload }) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, availableSlots: payload.results }\n })\n builder.addCase(createPhotoMeeting.pending, (state) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, isSubmitting: true, errors: {} }\n })\n builder.addCase(createPhotoMeeting.fulfilled, (state) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, isSubmitting: false, step: 'SuccessAnimation' }\n })\n builder.addCase(createPhotoMeeting.rejected, (state, { payload }) => {\n state.newPhotoMeetingParams = { ...state.newPhotoMeetingParams, errors: payload.error.message, isSubmitting: false }\n })\n },\n})\n\nconst lastPlannedPhotoMeeting = (results) => {\n const planned = results.filter((photoMeeting) => photoMeeting.status === 'planned').pop();\n\n return planned;\n};\n\nexport const { resetPhotoMeetings, updateNewPhotoMeetingModalOpen, updateStep, resetSlots, updateFormValues, updateErrors, resetPhotoMeetingSlice } = photoMeetingsSlice.actions;\n\nexport default photoMeetingsSlice.reducer;\n","import React from 'react';\nimport { useDispatch } from 'react-redux';\n\nimport { Modal, Button } from 'hosman-material';\n\nimport { updateNewPhotoMeetingModalOpen } from '../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst NewPhotoMeetingModal = ({ setIsClosing }) => {\n const dispatch = useDispatch();\n\n return (\n \n
\n

Voulez-vous vraiment fermer cette fenêtre ?

\n

Les modifications non enregistrées seront perdues.

\n \n
\n
\n
\n
\n )\n}\n\nexport default NewPhotoMeetingModal;\n","import React from 'react';\nimport { useDispatch } from 'react-redux';\nimport { camera } from '../../../../../../../../../../shared/assets/emojis';\n\nimport { Button, Emoji } from 'hosman-material';\nimport { updateStep } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst Introduction = () => {\n const dispatch = useDispatch();\n\n return (\n
\n
\n \n

Réservation du reportage photo

\n
\n\n
\n
\n
\n )\n}\n\nexport default Introduction;\n","import React from 'react';\n\nconst DiagsPresence = ({ hasDiags, setHasDiags }) => {\n return (\n
\n

Avez-vous des diagnostics datés de moins de 6 mois ?

\n \n

Diagnostics obligatoires : Loi Carrez, DPE, ERP, Electricité, Gaz, Plomb, Amiante, Termites.

\n\n
\n
setHasDiags(true)}>\n
\n
\n
\n

Oui, j'ai tous les diagnostics obligatoires (datés de moins de 6 mois)

\n
\n\n
setHasDiags(false)}>\n
\n
\n
\n

Non, il me manque des diagnostics

\n
\n
\n
\n )\n}\n\nexport default DiagsPresence;\n","import client from '../../client';\n\nconst SALES = {\n getSales(params) {\n return client.get(`/sellers/${client.customerId()}/sales`, params);\n },\n\n getSale(saleId) {\n return client.get(`/sellers/${client.customerId()}/sales/${saleId}`);\n },\n\n updateSale(saleId, params) {\n return client.put(`/sellers/${client.customerId()}/sales/${saleId}`, { sale: params });\n },\n\n getPublicationData(saleId) {\n return client.get(`/sellers/${client.customerId()}/sales/${saleId}/publication_data`);\n },\n}\n\nexport default SALES;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport SALES from '../../../../../../../../../../api/ressources/SellerApp/sales';\n\nconst DiagsPartner = ({ hasDiags, needsDiags, setNeedsDiags }) => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { photoPacks: { can_use_lightshop_pack_max } } = useSelector((state) => state.sellerPhotoMeetings);\n \n if (hasDiags !== false || can_use_lightshop_pack_max) return null\n \n const handleChange = (value) => {\n setNeedsDiags(value)\n SALES.updateSale(sale.id, { needs_diagnostics: value })\n }\n return (\n
\n

Souhaitez-vous recevoir un devis de la part de notre diagnostiqueur partenaire ?

\n \n
\n
handleChange(true)}>\n
\n
\n
\n

Oui, je suis intéressé(e)

\n
\n\n
handleChange(false)}>\n
\n
\n
\n

Non, je préfère choisir mon propre diagnostiqueur

\n
\n
\n
\n )\n}\n\nexport default DiagsPartner;\n","import React from 'react';\n\nconst DiagsPartner = ({ hasDiags, importDiags, setImportDiags }) => {\n\n if (hasDiags !== true) return null\n \n return (\n
\n

Souhaitez-vous importer vos diagnostics maintenant ?

\n \n
\n
setImportDiags(true)}>\n
\n
\n
\n

Oui

\n
\n\n
setImportDiags(false)}>\n
\n
\n
\n

Non, je préfère les importer plus tard

\n
\n
\n
\n )\n}\n\nexport default DiagsPartner;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport DiagsPresence from './components/DiagsPresence';\nimport DiagsPartner from './components/DiagsPartner';\nimport DiagsImport from './components/DiagsImport';\n\nimport { updateStep } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst Diagnostics = () => {\n const { photoPacks: { can_use_lightshop_pack_max } } = useSelector((state) => state.sellerPhotoMeetings);\n const [hasDiags, setHasDiags] = useState(null);\n const [needsDiags, setNeedsDiags] = useState(null);\n const [importDiags, setImportDiags] = useState(null);\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (hasDiags === true) setNeedsDiags(null);\n if (hasDiags === false) {\n setImportDiags(null);\n if (can_use_lightshop_pack_max) dispatch(updateStep('PackMax'));\n }\n }, [hasDiags]);\n\n useEffect(() => {\n if (importDiags === true) dispatch(updateStep('DiagsUploader'));\n if (importDiags === false) dispatch(updateStep('PhotoMeeting'));\n }, [importDiags]);\n\n useEffect(() => {\n if (needsDiags === null) return;\n \n dispatch(updateStep(can_use_lightshop_pack_max ? 'PackMax' : 'PhotoMeeting'));\n }, [needsDiags]);\n\n return (\n
\n \n \n \n
\n )\n}\n\nexport default Diagnostics;\n","import client from '../../client';\n\nconst SELLER_DOCUMENTS = {\n getDocuments(saleId) {\n return client.get(`/sellers/${client.customerId()}/sales/${saleId}/documents`);\n },\n\n uploadDocument(saleId, params) {\n return client.post(`/sellers/${client.customerId()}/sales/${saleId}/documents`, params);\n }\n};\n\nexport default SELLER_DOCUMENTS;\n","import client from '../../client';\n\nconst DOCUMENT_TYPES = {\n getDocumentTypes(params) {\n return client.get('/document_types', params)\n }\n}\n\nexport default DOCUMENT_TYPES;\n","import client from '../client';\n\nconst DOCUMENTS = {\n deleteDocument(documentId) {\n return client.delete(`/documents/${documentId}`)\n },\n}\n\nexport default DOCUMENTS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport { houseWithGarden, houses, handShake, triangularRuler } from '../../../shared/assets/emojis';\n\nimport SELLER_DOCUMENTS from '../../api/ressources/SellerApp/documents';\nimport DOCUMENT_TYPES from '../../api/ressources/App/documentTypes';\nimport DOCUMENTS from '../../../shared/apiPublic/ressources/documents';\n\nexport const getDocuments = createAsyncThunk(\n '/documents',\n async (saleId) => {\n const response = await SELLER_DOCUMENTS.getDocuments(saleId)\n return response.data\n }\n);\n\nexport const addDocument = createAsyncThunk(\n '/add_document',\n async ({ saleId, form }) => {\n const response = await SELLER_DOCUMENTS.uploadDocument(saleId, form)\n return response.data\n }\n);\n\nexport const getDocumentTypes = createAsyncThunk(\n '/document_types',\n async (propertyKindGroup) => {\n const response = await DOCUMENT_TYPES.getDocumentTypes({[`q[relevant_${propertyKindGroup}_eq]`]: true })\n return response.data\n }\n);\n\nexport const deleteDocument = createAsyncThunk(\n '/delete_document',\n async (documentId) => {\n const response = await DOCUMENTS.deleteDocument(documentId)\n return response.data\n }\n);\n\nconst initialState = {\n documents: [],\n mandatoryDocs: [],\n uploadedOptionalDocs: [],\n allDocs: [],\n requestState: '',\n lastDocumentUpload: null,\n isLoading: false,\n documentTypes: [],\n groupedDocumentTypes: {},\n addedInputs: {property: [], diagnostic: [], condo: [], acquisition: []},\n docTypeInfos: {\n property: { name: 'Documents liés au bien', emoji: houseWithGarden },\n diagnostic: { name: 'Diagnostics liés au bien', emoji: triangularRuler },\n condo: { name: 'Documents de copropriété', emoji: houses },\n acquisition: { name: \"Documents liés à l'acquisition\", emoji: handShake }\n }\n};\n\nexport const documentsSlice = createSlice({\n name: 'documents',\n initialState,\n reducers: {\n fileEdit: (state, action) => {\n state.lastDocumentUpload = action.payload\n state.isLoading = true\n },\n addInput: (state, action) => {\n const findAddedDoc = state.documentTypes.find(doc => doc.id === Number(action.payload))\n const copy = state.addedInputs\n copy[findAddedDoc.category_slug].push({ id: findAddedDoc.id, name: findAddedDoc.name, slug: findAddedDoc.slug, category_slug: findAddedDoc.category_slug })\n state.addedInputs = copy\n },\n updateInputs: (state, action) => { \n const dataFile = action.payload\n const copy = { ...state.addedInputs }\n const filteredDocs = copy[dataFile.category_slug].filter(doc => doc.slug !== dataFile.slug)\n copy[dataFile.category_slug] = filteredDocs\n state.addedInputs = copy\n },\n handleDocChanges: (state, { payload: propertyKindGroup }) => {\n state.mandatoryDocs = filterMandatoryDocs(state.groupedDocumentTypes, propertyKindGroup)\n state.uploadedOptionalDocs = filterUploadedOptionalDocs(state.groupedDocumentTypes, propertyKindGroup)\n state.allDocs = allDocs(state.groupedDocumentTypes, propertyKindGroup)\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getDocuments.pending, (state) => {\n state.documents = initialState.documents\n state.requestState = 'pending'\n })\n builder.addCase(getDocuments.fulfilled, (state, { payload }) => {\n state.documents = payload\n state.groupedDocumentTypes = handleDocTypeOrder(state)\n state.requestState = 'done'\n })\n builder.addCase(getDocumentTypes.fulfilled, (state, { payload }) => {\n state.documentTypes = payload\n })\n builder.addCase(addDocument.fulfilled, (state, { payload }) => {\n const newDoc = payload\n let copy = {...state.groupedDocumentTypes}\n let documentType = copy[newDoc.type.category_slug].find(doc => doc.slug === newDoc.type.slug)\n documentType.documents.push(newDoc)\n state.groupedDocumentTypes = copy\n state.lastDocumentUpload = newDoc.type\n state.isLoading = false\n })\n builder.addCase(deleteDocument.fulfilled, (state, { payload }) => {\n const updatedDocs = state.documents.filter((doc) => doc.id !== payload.id);\n state.documents = updatedDocs;\n state.groupedDocumentTypes = handleDocTypeOrder(state)\n });\n },\n})\n\nconst handleDocTypeOrder = (state) => {\n const saleDocsAndDocTypes = mergeSaleDocsAndDocTypes(state.documentTypes, state.documents)\n const groupByCategoryDocs = handleGroupByCategoryDocs(saleDocsAndDocTypes)\n return handleOrderedDocsByCategory(groupByCategoryDocs, state.docTypeInfos)\n}\n\nconst filterMandatoryDocs = (groupedDocumentTypes, kind) => {\n return Object.entries(groupedDocumentTypes).map(([_, docs]) => (\n docs.filter(doc => doc[`mandatory_${kind}`] === true)\n )).flat();\n}\n\nconst filterUploadedOptionalDocs = (groupedDocumentTypes, kind) => {\n return Object.entries(groupedDocumentTypes).map(([_, docs]) => (\n docs.filter(doc => doc[`mandatory_${kind}`] !== true && doc.documents.length > 0 )\n )).flat();\n}\n\nconst allDocs = (groupedDocumentTypes) => {\n return Object.entries(groupedDocumentTypes).map(([_, docs]) => (\n docs.map(doc => doc)\n )).flat();\n}\n\nconst mergeSaleDocsAndDocTypes = (docTypes, docs) => {\n let saleDocsAndDocTypes = []\n docTypes.map(docType => {\n let docTypeCopy = {...docType}\n let doc = docs.filter(doc =>\n doc.type.id === docType.id\n )\n\n if(docTypeCopy['documents'] === undefined) docTypeCopy['documents'] = []\n docTypeCopy['documents'].push(...doc)\n saleDocsAndDocTypes.push(docTypeCopy)\n })\n\n return saleDocsAndDocTypes;\n}\n\nconst handleGroupByCategoryDocs = (saleDocsAndDocTypes) => {\n const docsGroupedByCategory = {}\n\n saleDocsAndDocTypes.map(doc => {\n if (docsGroupedByCategory[doc.category_slug] === undefined) {\n docsGroupedByCategory[doc.category_slug] = []\n }\n\n docsGroupedByCategory[doc.category_slug].push(doc)\n })\n\n return docsGroupedByCategory;\n}\n\nconst handleOrderedDocsByCategory = (docsGroupedByCategory, docTypeInfos) => {\n // Order object by category\n let keyOrder = Object.keys(docTypeInfos);\n const compareByOrder = (a, b) => {\n return keyOrder.indexOf(a) - keyOrder.indexOf(b);\n }\n // create an array of the object keys and sort it based on the custom order\n let sortedKeys = Object.keys(docsGroupedByCategory).sort(compareByOrder);\n // create a new object with the sorted keys and their corresponding values\n let orderedDocsByCategory = {};\n sortedKeys.forEach((key) => {\n orderedDocsByCategory[key] = docsGroupedByCategory[key];\n });\n\n return orderedDocsByCategory\n}\n\nexport const { fileEdit, addInput, updateInputs, handleDocChanges } = documentsSlice.actions;\n\nexport default documentsSlice.reducer;\n","import React, { useState, useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { triangularRuler } from '../../../../../../../../../../shared/assets/emojis';\n\nimport { DocumentsBox, FileInputContainer, FileInput, UploadedFile, SelectInputFile, Button, LoadingCircle } from 'hosman-material';\n\nimport { getDocuments, getDocumentTypes, fileEdit, addInput, updateInputs, addDocument, deleteDocument, handleDocChanges } from '../../../../../../../../../reducers/SellerApp/documentsSlice';\nimport { updatePhotoPacks, updateStep } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst DiagsUploader = () => { \n const { groupedDocumentTypes, addedInputs, mandatoryDocs, uploadedOptionalDocs, allDocs, isLoading, lastDocumentUpload } = useSelector((state) => state.sellerDocuments);\n const { user } = useSelector((state) => state.user);\n const { sale } = useSelector((state) => state.sellerSales);\n const [propertyKindGroup, setPropertyKindGroup] = useState('');\n const [isSubmitting, setIsSubmitting] = useState(false);\n const dispatch = useDispatch()\n\n useEffect(() => {\n if (!sale.id) return;\n const kindGroup = handlePropertyKindGroup(sale.property.kind)\n\n setPropertyKindGroup(kindGroup)\n dispatch(getDocuments(sale.id));\n dispatch(getDocumentTypes(kindGroup));\n }, [sale])\n\n useEffect(() => {\n if (Object.keys(groupedDocumentTypes).length === 0) return;\n\n dispatch(handleDocChanges(propertyKindGroup))\n }, [groupedDocumentTypes, propertyKindGroup])\n\n const handlePropertyKindGroup = (propertyKind) => {\n let group = null\n const apartmentGroup = ['apartment', 'duplex', 'triplex', 'loft']\n const houseGroup = ['house', 'mansion']\n\n if (apartmentGroup.includes(propertyKind)) group = 'apartment'\n if (houseGroup.includes(propertyKind)) group = 'house'\n\n return group || 'other'\n }\n\n const handleOptionChange = ({ id }) => {\n dispatch(addInput(id));\n }\n\n const handleUpload = async (file, dataFile) => { \n dispatch(fileEdit(dataFile))\n\n const form = new FormData();\n form.append('file', file);\n form.append('document_type_id', dataFile.id);\n \n try {\n const resultAction = await dispatch(addDocument({ saleId: sale.id, form: form }));\n \n if (addDocument.fulfilled.match(resultAction)) {\n dispatch(updateInputs(dataFile));\n }\n } catch (error) {\n console.error(\"Erreur lors de l'upload du document :\", error);\n }\n }\n\n const documentCanBeDeleted = (document) => {\n return document.uploader_id === user.id && sale.state === 'awaiting_publication'\n }\n\n const handleNextStep = async () => {\n setIsSubmitting(true)\n\n try {\n const resultAction = await dispatch(\n updatePhotoPacks({ saleId: sale.id, params: { lightshop_pack_max: false } })\n );\n\n if (updatePhotoPacks.fulfilled.match(resultAction)) {\n setIsSubmitting(false)\n dispatch(updateStep('PhotoMeeting'));\n }\n } catch (error) {\n setIsSubmitting(false)\n console.error('Erreur lors de la mise à jour des packs photo :', error);\n }\n }\n\n return (\n
\n

Importer vos diagnostics

\n\n {mandatoryDocs.length < 1 ? \n
\n :\n \n
\n {mandatoryDocs.map((doc, index) => (\n doc.category_slug === 'diagnostic' &&\n 0}\n mandatory={doc[`mandatory_${sale?.property?.kind}`] === true}>\n {doc.documents.length > 0 ?\n doc.documents.map((file, index) => (\n dispatch(deleteDocument(file.id)))}\n />\n ))\n :\n \n }\n \n ))}\n\n {uploadedOptionalDocs.map((doc, index) => (\n doc.category_slug === 'diagnostic' &&\n \n {doc.documents.map((file, index) => (\n dispatch(deleteDocument(file.id)))}\n />\n ))}\n \n ))}\n\n {Object.values(addedInputs['diagnostic']).length > 0 && Object.values(addedInputs['diagnostic']).map((input, index) => (\n \n \n \n ))}\n\n {allDocs.length > 1 &&\n \n }\n
\n
\n }\n\n
\n
\n
\n )\n}\n\nexport default DiagsUploader;\n","import React from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\n\nimport { InfoBox, Button } from 'hosman-material';\nimport { updatePhotoPacks, updateStep } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst PackMax = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { photoPacks: { lightshop_fee, lightshop_pack_max, isSubmitting } } = useSelector((state) => state.sellerPhotoMeetings);\n const dispatch = useDispatch();\n \n const handlePhotoMeeting = async (params) => { \n if (isSubmitting) return;\n\n if (!lightshop_pack_max && !params.lightshop_pack_max) return dispatch(updateStep('PhotoMeeting'));\n \n try {\n const resultAction = await dispatch(\n updatePhotoPacks({ saleId: sale.id, params: params })\n );\n \n if (updatePhotoPacks.fulfilled.match(resultAction)) {\n dispatch(updateStep('PhotoMeeting'));\n }\n } catch (error) {\n console.error('Erreur lors de la mise à jour des packs photo :', error);\n }\n }\n\n return (\n
\n

Nous vous proposons la prestation 2 en 1 : reportage photo et dossier de diagnostic technique (DDT - diagnostics obligatoires pour la vente)

\n \n

Elle sera réalisée par notre prestataire indépendant Lightshop, spécialiste des diagnostics et des reportages photos.

\n\n \n

Cette prestation vous permet de gagner du temps : en regroupant le reportage photo et la réalisation des diagnostics obligatoires.

\n
\n\n \n

Le prix pour vos diagnostics complets : {lightshop_fee} €. \n Le reportage photo est pris en charge à 100% par Hosman.

\n
\n\n
\n
\n\n

handlePhotoMeeting({ lightshop_pack_max: false })}>Je préfère réaliser les diagnostics avec un prestataire de mon choix

\n
\n )\n}\n\nexport default PackMax;\n","export const scrollToSection = (targetElement) => {\n const isMobile = window.screen.width < 1024\n const targetOffset = targetElement.offsetTop + (isMobile ? 60 : -20);\n\n const scrollOffset = window.pageYOffset;\n\n const distance = targetOffset - scrollOffset;\n const duration = 200;\n let startTime = null;\n\n\n if (Math.abs(distance) < (isMobile ? 1 : 10)) {\n return;\n }\n\n function scrollAnimation(timestamp) {\n if (!startTime) startTime = timestamp;\n\n const progress = timestamp - startTime;\n const increment = distance * (progress / duration);\n\n const newPosition = scrollOffset + increment;\n\n if ((increment > 0 && newPosition >= targetOffset) || (increment < 0 && newPosition <= targetOffset)) {\n window.scrollTo(0, targetOffset);\n return;\n }\n\n window.scrollTo(0, newPosition);\n\n requestAnimationFrame(scrollAnimation);\n }\n requestAnimationFrame(scrollAnimation);\n}\n\nexport const scrollToFirstError = () => {\n const firstError = document.querySelector('[data-icon=\"circle-exclamation\"]')\n if (!firstError) return;\n\n firstError.scrollIntoView({ behavior: 'smooth', block: 'center' })\n}\n\nexport const getFirstScrollableParent = (element) => {\n let parent = element.parentElement;\n\n while (parent) {\n const style = getComputedStyle(parent);\n\n const isScrollable = /(auto|scroll|hidden)/.test(style.overflow + style.overflowY + style.overflowX);\n\n const hasScrollableContent =\n parent.scrollHeight > parent.clientHeight || parent.scrollWidth > parent.clientWidth;\n\n if (isScrollable && hasScrollableContent) {\n return parent;\n }\n\n parent = parent.parentElement;\n }\n\n return null;\n}","import React, { useState, useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { getFirstScrollableParent } from '../../../../../../../../../../../shared/utils/uiEffects/scrollTo';\n\nimport { LoadingCircle, SlotsSelector, Card } from 'hosman-material';\nimport { S_Check } from 'hosman-material';\n\nimport { getSlots, resetSlots, updateFormValues } from '../../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst SlotSelection = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { newPhotoMeetingParams: { availableSlots, formValues }} = useSelector((state) => state.sellerPhotoMeetings);\n const [daysDisplayed, setDaysDisplayed] = useState(null);\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(getSlots(sale.id))\n\n return () => dispatch(resetSlots())\n }, []);\n\n useEffect(() => {\n window.addEventListener('resize', handleDaysDisplayed);\n handleDaysDisplayed();\n }, []);\n\n const handleDaysDisplayed = () => {\n const number = window.innerWidth > 460 ? 4 : 2\n\n setDaysDisplayed(number)\n }\n\n useEffect(() => {\n window.addEventListener('resize', handleDaysDisplayed);\n handleDaysDisplayed();\n }, []);\n\n const handleSelect = (e) => {\n dispatch(updateFormValues({ ...formValues, start_date: e }));\n \n const modal = getFirstScrollableParent(document.getElementById('ModalContent')); \n modal.scrollTo({\n top: modal.scrollHeight,\n behavior: 'smooth'\n });\n }\n\n if (availableSlots.length < 1) return
\n\n return (\n \n \n\n
\n \n

Un bien est plus attractif meublé : privilégiez la prestation avant un éventuel déménagement.

\n
\n
\n )\n}\n\nexport default SlotSelection;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { TextInput, PhoneNumberInput, TextAreaInput } from 'hosman-material';\n\nimport { updateFormValues, updateErrors } from '../../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst ContactForm = () => {\n const { user } = useSelector((state) => state.user);\n const { newPhotoMeetingParams: { formValues, errors }} = useSelector((state) => state.sellerPhotoMeetings);\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(updateFormValues({\n contact_name: user.first_name,\n last_name: user.last_name,\n contact_phone_number: user.phone_number,\n contact_phone_country_code: user.phone_country_code || 'FR'\n }))\n }, [user]);\n\n const handleInputChange = (e) => {\n const { name, value } = e.target;\n dispatch(updateFormValues({...formValues, [name]: value}));\n dispatch(updateErrors({ ...errors, [name]: null }));\n };\n\n if (!formValues.contact_phone_country_code) return null;\n\n return (\n
\n

Point de contact pour le prestataire

\n\n
\n \n \n
\n \n
\n handleInputChange({ target: { name: 'contact_phone_number', value: val }})}\n onChangeCountryCode={(val) => handleInputChange({ target: { name: 'contact_phone_country_code', value: val }})}\n phoneValue={formValues.contact_phone_number}\n countryCodeValue={formValues.contact_phone_country_code}\n errors={errors}\n />\n
\n \n \n
\n )\n}\n\nexport default ContactForm;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { camera, bookmarkTabs } from '../../../../../../../../../../shared/assets/emojis';\nimport { longDateTime } from '../../../../../../../../../../shared/utils/formattedDates';\nimport { validatePhoneNumber } from '../../../../../../../../../../shared/utils/validators';\n\nimport SlotSelection from './components/SlotSelection';\nimport ContactForm from './components/ContactForm';\n\nimport { Emoji, Button } from 'hosman-material';\n\nimport { createPhotoMeeting, updateErrors, updateStep } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst PhotoMeeting = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { newPhotoMeetingParams: { formValues, isSubmitting }, photoPacks: { lightshop_payment_form_url, lightshop_pack_max }} = useSelector((state) => state.sellerPhotoMeetings);\n const dispatch = useDispatch();\n\n const handleSubmit = async () => {\n if (lightshop_payment_form_url) return handleValidationForPayement();\n \n dispatch(createPhotoMeeting({ saleId: sale.id, params: { ...formValues, contact_name: `${formValues.contact_name} ${formValues.last_name}`} }));\n }\n\n const handleValidationForPayement = async () => {\n const errors = {}\n\n if (!formValues.contact_name) errors.contact_name = ['est requis']\n if (!formValues.access_details) errors.access_details = ['est requis']\n \n const isPhoneValid = await validatePhoneNumber(formValues.contact_phone_country_code, formValues.contact_phone_number)\n if (!isPhoneValid.valid) errors.contact_phone_number = ['*Numéro de téléphone non valide']\n \n const isValid = Object.keys(errors).length === 0\n\n isValid ? dispatch(updateStep('Paiement')) : dispatch(updateErrors(errors))\n }\n \n return (\n
\n
\n
\n
\n \n {lightshop_pack_max && }\n
\n {!lightshop_pack_max &&

Réservez votre reportage photo

}\n {lightshop_pack_max &&

Choisissez un créneau pour votre prestation reportage photo + diagnostics

}\n
\n\n

Un photographe professionnel se rendra directement chez vous à l'horaire choisi. La durée varie entre 45min et 1h30, selon la surface de votre bien.

\n
\n\n \n\n \n\n
\n

{formValues.start_date && longDateTime({ date: formValues.start_date, capitalized: true })}

\n
\n
\n )\n}\n\nexport default PhotoMeeting;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_CircleCheck, S_HourglassHalf } from 'hosman-material';\n\nimport { Card, LoadingCircle } from 'hosman-material';\n\nconst PayementIframe = ({ payementDone, setPayementDone }) => {\n const { photoPacks: { lightshop_payment_form_url } } = useSelector((state) => state.sellerPhotoMeetings);\n const [isLoaded, setIsLoaded] = useState(false);\n const iframeRef = useRef(null);\n\n useEffect(() => {\n const interval = setInterval(() => {\n const iframe = iframeRef.current;\n if (!iframe || !iframe.contentWindow) return;\n\n try {\n const currentLocation = iframe.contentWindow.location;\n \n if (currentLocation.origin.includes('hosman.co') && currentLocation.hash === '#success') {\n setPayementDone(true);\n clearInterval(interval);\n }\n } catch (error) {\n console.warn(\"Impossible d'accéder à l'URL de l'iframe (cross-origin)\");\n }\n }, 500);\n\n return () => clearInterval(interval);\n }, []);\n\n return (\n \n {!isLoaded &&\n
\n \n
\n }\n\n {payementDone && \n
\n
\n
\n \n

Paiement effectué

\n
\n
\n \n

Traitement de la demande

\n
\n
\n
\n }\n \n setIsLoaded(true)}>\n \n
\n )\n}\n\nexport default PayementIframe;\n","import React, { useState, useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\n\nimport PayementIframe from './components/PayementIframe';\n\nimport { InfoBox, Card } from 'hosman-material';\n\nimport { createPhotoMeeting } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst Paiement = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { newPhotoMeetingParams: { formValues }, photoPacks: { lightshop_fee } } = useSelector((state) => state.sellerPhotoMeetings);\n const [payementDone, setPayementDone] = useState(false)\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (!payementDone) return;\n \n dispatch(createPhotoMeeting({ saleId: sale.id, params: { ...formValues, contact_name: `${formValues.contact_name} ${formValues.last_name}`} }));\n }, [payementDone]);\n\n return (\n
\n

Souscription à la prestation

\n\n \n
\n

Vous ne serez débité qu'une fois la réservation effectuée et le rendez-vous confirmé.

\n

Le reportage photo est inclus dans le service Hosman :

\n

il ne vous est pas facturé. Vous ne payez que pour les diagnostics.

\n
\n
\n\n
\n \n\n
\n \n
\n

Panier

\n
\n\n
\n

Diagnostics Complets

\n

(Loi Carrez, DPE, ERP, Electricité, Gaz, Plomb, Amiante, Termites)

\n\n
\n

Prix de la prestation

\n

{lightshop_fee?.toLocaleString()} €

\n
\n
\n
\n
\n
\n\n \n

Paiement 100% sécurisé, aucune donnée bancaire n'est \n stockée sur nos serveurs et toutes les données sont cryptées.

\n
\n
\n )\n}\n\nexport default Paiement;\n","import React from 'react';\nimport { motion } from 'framer-motion';\n\nconst ProgressBar = ({ timeOutAfterSuccess }) => {\n return (\n
\n \n
\n );\n};\n\nexport default ProgressBar;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport SALES from '../../api/ressources/SellerApp/sales';\n\nexport const getSales = createAsyncThunk(\n '/sales',\n async (params) => {\n const response = await SALES.getSales(params)\n return response.data\n }\n);\n\nexport const getSale = createAsyncThunk(\n '/sale',\n async (saleId) => {\n const response = await SALES.getSale(saleId)\n return response.data\n }\n);\n\nexport const getPublicationData = createAsyncThunk(\n '/publicationData',\n async (saleId) => {\n const response = await SALES.getPublicationData(saleId)\n return response.data\n }\n);\n\nconst initialState = {\n sales: [],\n sale: {},\n publicationData: {},\n propertySelectOptions: [],\n requestState: '',\n showRequestState: ''\n};\n\nexport const salesSlice = createSlice({\n name: 'sales',\n initialState,\n reducers: {\n resetSale(state) {\n state.sale = initialState.sale;\n state.showRequestState = initialState.showRequestState;\n },\n resetPublicationData(state) {\n state.publicationData = initialState.publicationData;\n },\n setPropertySelectOptions(state) {\n state.propertySelectOptions = formPropertySelectOptions(JSON.parse(JSON.stringify(state)));\n },\n updateSale: (state, { payload }) => {\n state.sale = payload\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getSales.pending, (state) => {\n state.sales = initialState.sales;\n state.requestState = 'pending'\n })\n builder.addCase(getSales.fulfilled, (state, { payload }) => {\n state.sales = payload.results.map(sale => ({\n ...sale,\n mandateSigned: ['awaiting_publication', 'awaiting_offer', 'awaiting_sale_agreement', 'awaiting_notarial_deed', 'sold'].includes(sale.state)\n }));\n state.requestState = 'done'\n })\n builder.addCase(getSale.pending, (state) => {\n state.sale = initialState.sale;\n state.showRequestState = 'pending'\n })\n builder.addCase(getSale.fulfilled, (state, { payload }) => {\n state.sale = {\n ...payload,\n mandateSigned: ['awaiting_publication', 'awaiting_offer', 'awaiting_sale_agreement', 'awaiting_notarial_deed', 'sold'].includes(payload.state),\n availiableForVisits: ['awaiting_publication', 'awaiting_offer'].includes(payload.state) && (payload.flatsy_id && payload.flatsy_state === 'available' || ['expert', 'hosman_guide'].includes(payload.visits_management))\n };\n state.showRequestState = 'done'\n })\n builder.addCase(getPublicationData.pending, (state) => {\n state.publicationData = initialState.publicationData;\n })\n builder.addCase(getPublicationData.fulfilled, (state, { payload }) => {\n state.publicationData = payload;\n })\n },\n})\n\nconst formPropertySelectOptions = (state) => {\n if (state.sale.id) {\n return (state.sales.map((mapSale) => {\n return {\n id: mapSale.id,\n saleId: mapSale.id,\n address: `${mapSale.property.street_number} ${mapSale.property.street_name} ${mapSale.property.zip_code} ${mapSale.property.city}`,\n };\n }).filter(function (obj) {\n return obj.saleId !== state.sale.id;\n }))\n }\n};\n\nexport const { resetSale, resetPublicationData, setPropertySelectOptions, updateSale } = salesSlice.actions;\n\nexport default salesSlice.reducer;\n","import React, { useEffect, useRef } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { camera } from '../../../../../../../../../../shared/assets/emojis';\n\nimport ProgressBar from './ProgressBar';\n\nimport { Emoji } from 'hosman-material';\n\nimport { resetPhotoMeetingSlice } from '../../../../../../../../../reducers/SellerApp/photoMeetingsSlice';\nimport { getSale } from '../../../../../../../../../reducers/SellerApp/salesSlice';\n\nconst SuccessAnimation = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const dispatch = useDispatch();\n const timeOutAfterSuccess = 5000\n const hasExecuted = useRef(false);\n\n useEffect(() => {\n if (hasExecuted.current) return;\n \n hasExecuted.current = true;\n \n setTimeout(() => {\n dispatch(resetPhotoMeetingSlice());\n dispatch(getSale(sale.id));\n }, timeOutAfterSuccess);\n }, []);\n\n return (\n
\n \n

Prestation confirmée !

\n

Votre prestataire interviendra à l'adresse indiquée, à la date et l'heure que vous avez choisies.

\n \n
\n )\n}\n\nexport default SuccessAnimation;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { AnimatePresence, motion } from 'framer-motion';\n\nimport ClosingConfirmModal from './components/ClosingConfirmModal';\nimport Introduction from './steps/Introduction';\nimport Diagnostics from './steps/Diagnostics';\nimport DiagsUploader from './steps/DiagsUploader';\nimport PackMax from './steps/PackMax';\nimport PhotoMeeting from './steps/PhotoMeeting';\nimport Paiement from './steps/Paiement';\nimport SuccessAnimation from './steps/SuccessAnimation';\n\nimport { Modal, LoadingCircle } from 'hosman-material';\n\nimport { getPhotoPacks, updateStep } from '../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst NewPhotoMeetingModal = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { newPhotoMeetingParams: { step }, newPhotoMeetingParams: { isSubmitting } } = useSelector((state) => state.sellerPhotoMeetings);\n const [isClosing, setIsClosing] = useState(false)\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(getPhotoPacks(sale.id));\n }, []);\n\n useEffect(() => {\n dispatch(updateStep('Introduction'))\n\n return () => dispatch(updateStep(null))\n }, []);\n\n const handleClosing = () => {\n if (isSubmitting) return;\n\n setIsClosing(true);\n }\n\n const motionContainer = (Component) => {\n return (\n \n \n )\n }\n\n const renderContent = () => {\n switch (step) {\n case 'Introduction':\n return motionContainer(Introduction);\n case 'Diagnostics':\n return motionContainer(Diagnostics);\n case 'DiagsUploader':\n return motionContainer(DiagsUploader);\n case 'PackMax':\n return motionContainer(PackMax);\n case 'PhotoMeeting':\n return motionContainer(PhotoMeeting);\n case 'Paiement':\n return motionContainer(Paiement);\n case 'SuccessAnimation':\n return motionContainer(SuccessAnimation);\n default:\n return ;\n }\n };\n\n return (\n <>\n {isClosing && }\n\n handleClosing()}>\n
\n \n {renderContent()}\n \n
\n
\n \n )\n}\n\nexport default NewPhotoMeetingModal;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport SalesUsersModal from './modals/SalesUsersModal';\nimport NewSalesUserModal from './modals/NewSalesUserModal';\nimport NewPhotoMeetingModal from './modals/NewPhotoMeetingModal';\n\nconst ModalsContainer = () => {\n const { salesUser, displaySalesUsersModal } = useSelector((state) => state.sellerSalesUsers);\n const { newPhotoMeetingModalOpen } = useSelector((state) => state.sellerPhotoMeetings);\n \n return (\n
\n {displaySalesUsersModal && }\n {salesUser && }\n {newPhotoMeetingModalOpen && }\n
\n );\n}\n\nexport default ModalsContainer;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport { memo } from '../../../../../../../shared/assets/emojis'\nimport { greeting } from '../../../../../../../shared/utils/helpers/hosmanVars';\n\nimport { Emoji } from 'hosman-material';\n\nconst Greetings = () => {\n const { user } = useSelector((state) => state.user);\n const { currentStep } = useSelector((state) => state.sellerMandates);\n \n if (currentStep.number !== 1) return null;\n \n return (\n

Bonjour {greeting(user)}, vérifiez vos informations et signez votre mandat

\n );\n}\n\nexport default Greetings;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nexport const allSituations = [\n { id: 1, value: 'single', name: 'Célibataire' },\n { id: 2, value: 'married_pacsed', name: 'Marié(e) / Pacsé(e)' },\n { id: 3, value: 'divorced', name: 'Divorcé(e)' },\n { id: 4, value: 'widower', name: 'Veuf(ve)' },\n]\n\nconst FamilySituationInput = ({ familySituation, setFamilySituation, errors }) => {\n const handleSelect = (option) => {\n setFamilySituation({ target: { name: 'family_situation', value: option.value }})\n }\n\n return (\n
\n option.value === familySituation)}\n handleChange={(option) => handleSelect(option)}\n errors={errors}\n />\n
\n );\n}\n\nexport default FamilySituationInput;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport GeocoderInput from '../../../../../../../../../shared/components/GeocoderInput';\n\nimport { Checkbox, TextInput } from 'hosman-material';\n\nimport { updateOnboardedUser } from '../../../../../../../../reducers/SellerApp/mandatesSlice';\n\nconst PersonalAddressInput = () => {\n const { user } = useSelector((state) => state.user);\n const { onboardedUser, errors } = useSelector((state) => state.sellerMandates);\n const [isChecked, setIsChecked] = useState(onboardedUser.physical_address_attributes !== null);\n const dispatch = useDispatch();\n\n useEffect(() => {\n setIsChecked(!!user.physical_address);\n }, [user.physical_address]);\n\n useEffect(() => { \n if (isChecked || !onboardedUser.physical_address_attributes) return\n\n dispatch(updateOnboardedUser({ ...onboardedUser, physical_address_attributes: { id: onboardedUser.physical_address_attributes.id, _destroy: '1' }}));\n }, [isChecked]);\n\n const handleAddressChange = (addressObj) => {\n dispatch(updateOnboardedUser({\n ...onboardedUser,\n physical_address_attributes: {\n ...addressObj,\n additional_address: onboardedUser.physical_address_attributes?.additional_address\n }\n }));\n };\n\n return (\n
\n setIsChecked(prev => !prev)}\n />\n\n {isChecked &&\n
\n

Adresse postale

\n
\n \n\n \n dispatch(updateOnboardedUser({\n ...onboardedUser,\n physical_address_attributes: { ...onboardedUser.physical_address_attributes, additional_address: e.target.value }\n }))\n }\n />\n
\n
\n }\n
\n );\n}\n\nexport default PersonalAddressInput;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { Checkbox, SelectInput, TextInput } from 'hosman-material';\n\nimport { updateOnboardedUser, updateErrors } from '../../../../../../../../reducers/SellerApp/mandatesSlice';\n\nexport const allCoOwnershipKinds = [\n { id: 1, value: 'sci', name: 'SCI' },\n { id: 2, value: 'indivision', name: 'Indivision' },\n { id: 3, value: 'other', name: 'Autre' }\n]\n\nconst CoOwnershipInput = () => {\n const { onboardedUser, errors } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (onboardedUser.co_ownership) return\n\n dispatch(updateOnboardedUser({ ...onboardedUser, co_ownership: false, co_ownership_kind: null, co_ownership_name: '' }));\n }, [onboardedUser.co_ownership]);\n\n const handleKindSelect = (option) => {\n dispatch(updateErrors({ ...errors, co_ownership_kind: null }));\n dispatch(updateOnboardedUser({ ...onboardedUser, co_ownership_kind: option.value }));\n }\n\n const handleNameChange = (e) => {\n dispatch(updateOnboardedUser({ ...onboardedUser, co_ownership_name: e.target.value }))\n dispatch(updateErrors({ ...errors, co_ownership_name: null }));\n }\n\n return (\n
\n dispatch(updateOnboardedUser({ ...onboardedUser, co_ownership: !onboardedUser.co_ownership }))}\n />\n\n {onboardedUser.co_ownership &&\n
\n option.value === onboardedUser.co_ownership_kind) || null}\n handleChange={(option) => handleKindSelect(option)}\n errors={errors}\n />\n\n \n
\n }\n
\n );\n}\n\nexport default CoOwnershipInput;\n","import client from '../../client';\n\nconst USER = {\n getUser() {\n return client.get(`/users/${client.customerId()}`)\n },\n\n updateUser(params) {\n return client.put('/user', { user: params })\n },\n}\n\nexport default USER;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport USER from '../../api/ressources/App/user';\n\nexport const getUser = createAsyncThunk(\n '/user',\n async () => {\n const response = await USER.getUser()\n return response.data\n }\n);\n\nconst initialState = {\n user: {\n authState: 'pending',\n civility: '',\n first_name: '',\n last_name: '',\n email: '',\n phone_number: '',\n phone_country_code: '',\n salesCount: '',\n salesInterestsCount: '',\n phisical_address: {}\n },\n loggedUserId: Number(localStorage.getItem('loggedUserId'))\n}\n\nexport const userSlice = createSlice({\n name: 'user',\n initialState,\n reducers: {\n updateAuthState: (state, { payload }) => {\n state.user = {\n ...state.user,\n authState: payload\n }\n },\n resetUserReducer: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(getUser.fulfilled, (state, { payload }) => {\n state.user = {\n ...payload,\n authState: 'done',\n salesCount: payload.sales_count,\n salesInterestsCount: payload.offers_as_owner_count + payload.visits_count + payload.buyer_alerts_count\n }\n })\n },\n})\n\nexport const { updateAuthState, resetUserReducer } = userSlice.actions;\n\nexport default userSlice.reducer;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { scrollToFirstError } from '../../../../../../../../shared/utils/uiEffects/scrollTo';\n\nimport FamilySituationInput from './components/FamilySituationInput';\nimport PersonalAddressInput from './components/PersonalAddressInput';\nimport CoOwnershipInput from './components/CoOwnershipInput';\n\nimport { RadioInput, TextInput, PhoneNumberInput, DatePickerInput, Button } from 'hosman-material';\n\nimport { getUser } from '../../../../../../../reducers/App/userSlice';\nimport { updateOnboardedUser, updateSaleBuyingYear, updateErrors, submitCoordinates } from '../../../../../../../reducers/SellerApp/mandatesSlice';\n\nconst Coordinates = () => {\n const { user } = useSelector((state) => state.user);\n const { sale } = useSelector((state) => state.sellerSales);\n const { onboardedUser, saleBuyingYear, isSubmitting, errors, stateReady } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n\n useEffect(() => { dispatch(getUser()) }, []);\n\n useEffect(() => {\n if (!user) return;\n\n dispatch(updateOnboardedUser({\n civility: user.civility,\n first_name: user.first_name,\n last_name: user.last_name,\n email: user.email,\n phone_number: user.phone_number,\n phone_country_code: user.phone_country_code,\n birth_date: user.birth_date,\n family_situation: user.family_situation,\n co_ownership: user.co_ownership,\n co_ownership_kind: user.co_ownership_kind,\n co_ownership_name: user.co_ownership_name,\n physical_address_attributes: user.physical_address\n }))\n }, [user]);\n\n useEffect(() => {\n if (!sale.buying_year) return;\n\n dispatch(updateSaleBuyingYear(sale.buying_year.toString()))\n }, [sale]);\n\n const handleUserChange = (e) => {\n const { name, value } = e.target\n dispatch(updateErrors({ ...errors, [name]: null}))\n dispatch(updateOnboardedUser({ ...onboardedUser, [name]: value }))\n };\n\n const handleBuyingYearChnage = (e) => {\n dispatch(updateErrors({ ...errors, buying_year: null}))\n dispatch(updateSaleBuyingYear(e.target.value))\n };\n\n const handleSubmit = () => {\n dispatch(submitCoordinates(sale.id))\n\n setTimeout(() => {\n scrollToFirstError();\n }, 300);\n }\n\n if (!stateReady) return;\n\n return (\n
\n

Vos coordonnées :

\n\n
\n handleUserChange({ target: { name: 'civility', value: val }})}\n errors={errors}\n />\n\n
\n \n \n
\n\n \n\n handleUserChange({ target: { name: 'phone_number', value: val }})}\n onChangeCountryCode={(val) => handleUserChange({ target: { name: 'phone_country_code', value: val }})}\n phoneValue={onboardedUser.phone_number || user.phone_number }\n countryCodeValue={onboardedUser.phone_country_code || user.phone_country_code }\n errors={errors}\n />\n\n
\n
\n \n
\n
\n \n
\n
\n\n
\n

Depuis quand êtes-vous propriétaire de ce bien ?

\n\n
\n \n
\n
\n
\n\n \n\n \n\n
\n
\n
\n );\n}\n\nexport default Coordinates;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { InfoIcon } from 'hosman-material';\nimport { S_Check, D_House, D_UserPen, D_UserGroup } from 'hosman-material';\n\nimport { updateMandate } from '../../../../../../../../reducers/SellerApp/mandatesSlice';\n\nconst options = [\n { id: 1, value: 'solo_owner', name: \"Je suis l'unique propriétaire de ce bien\", icon: D_House },\n { id: 2, value: 'n_owners_solo_signer', name: 'Il y a plusieurs propriétaires et je souhaite signer seul le mandat', icon: D_UserPen, tooltipLabel: 'Dans quel cas puis-je signer seul ?', tooltip: \"Si vous êtes plusieurs propriétaires, il vous suffit d'obtenir le pouvoir des autres propriétaires pour signer seul le mandat.\" },\n { id: 3, value: 'n_owners_n_signers', name: 'Il y a plusieurs propriétaires et je souhaite que tous signent le mandat', icon: D_UserGroup }\n]\n\nconst SituationSelect = ({ setError }) => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { mandate: { sign_person } } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n\n const handleChange = (option) => {\n setError()\n dispatch(updateMandate({\n mandateId: sale.original_mandate_id, \n params: { sign_person: option.value }\n }))\n }\n\n return (\n
\n {options.map(option => {\n return (\n
\n
handleChange(option)} className={`flex items-center gap-3 p-5 ${option.value === sign_person ? 'border-2 border-ih-blue' : 'border border-ih-blue-30'} rounded-3xl cursor-pointer`}>\n
\n
\n \n
\n
\n\n \n\n

{option.name}

\n
\n\n {option.tooltip &&\n {option.tooltip}

}\n label={option.tooltipLabel}\n />\n }\n
\n )\n })}\n
\n );\n}\n\nexport default SituationSelect;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Modal, ContactCard, Button } from 'hosman-material';\nimport { S_Pen, S_TrashCan, S_Info } from 'hosman-material';\n\nimport { updateSalesUser, updateSalesUserToRemove, removeSalesUser, getSalesUsers } from '../../../../../../../../../../reducers/SellerApp/salesUsersSlice';\n\nconst Signatories = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { signatories, isRemoving, salesUserToRemove } = useSelector((state) => state.sellerSalesUsers);\n const dispatch = useDispatch();\n\n useEffect(() => {\n dispatch(getSalesUsers(sale.id));\n }, []);\n\n const handleUpdate = (signatory) => {\n dispatch(updateSalesUser({\n id: signatory.id,\n kind: signatory.kind,\n signatory: signatory.signatory,\n user_id: signatory.user.id,\n active: signatory.user.active,\n first_name: signatory.user.first_name,\n last_name: signatory.user.last_name,\n civility: signatory.user.civility,\n email: signatory.user.email,\n phone_country_code: signatory.user.phone_country_code || 'FR',\n phone_number: signatory.user.phone_number\n }))\n } \n\n return (\n
\n {signatories.map((signatory, index) => {\n return (\n
\n \n\n {signatory.kind !== 'owner' &&\n
\n
\n handleUpdate(signatory)} />\n
\n\n
\n dispatch(updateSalesUserToRemove(signatory))} />\n
\n
\n }\n
\n )\n })}\n\n {salesUserToRemove &&\n dispatch(updateSalesUserToRemove(null))}>\n
\n
\n \n
\n\n

Êtes-vous sûr de vouloir supprimer le signataire {salesUserToRemove.user.first_name} {salesUserToRemove.user.last_name} ?

\n \n
\n
\n
\n
\n }\n
\n );\n}\n\nexport default Signatories;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport Signatories from './components/Signatories';\n\nimport { Button, InfoBox } from 'hosman-material';\nimport { S_UserPlus } from 'hosman-material';\n\nimport { updateSalesUser } from '../../../../../../../../../reducers/SellerApp/salesUsersSlice';\n\nconst SignatoriesModule = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const dispatch = useDispatch();\n\n return (\n
\n
\n

Signataire(s) du mandat

\n
\n\n \n

Tous les signataires ajoutés ci-dessous recevront une invitation par e-mail pour signer le mandat (une fois que vous l'aurez signé), et auront un accès propre à l'espace vendeur pour suivre la vente.

\n
\n\n \n
\n );\n}\n\nexport default SignatoriesModule;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport SituationSelect from './components/SituationSelect'\nimport SignatoriesModule from './components/SignatoriesModule'\n\nimport { Button } from 'hosman-material';\nimport { D_CircleExclamation } from 'hosman-material';\n\nimport { updateCurrentStep } from '../../../../../../../reducers/SellerApp/mandatesSlice';\nimport { scrollToSection } from '../../../../../../../../shared/utils/uiEffects/scrollTo';\n\nconst Situation = () => {\n const { currentStep, mandate: { sign_person } } = useSelector((state) => state.sellerMandates);\n const { signatories } = useSelector((state) => state.sellerSalesUsers);\n const [error, setError] = useState();\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (sign_person !== 'n_owners_n_signers') return;\n\n setTimeout(() => {\n scrollToSection(document.getElementById('SignatoriesModule'));\n }, 500);\n }, [sign_person]);\n\n const handleNext = () => {\n if (signatories.length > 1 || sign_person !== 'n_owners_n_signers') {\n dispatch(updateCurrentStep(currentStep.number + 1));\n } else {\n setError(\"Il n'y a qu'un seul signataire enregistré\")\n }\n }\n\n return (\n
\n

Quelle est votre situation ?

\n\n \n\n {sign_person === 'n_owners_n_signers' && }\n\n {error &&\n
\n \n\n

{error}

\n
\n }\n \n
\n
\n
\n );\n}\n\nexport default Situation;\n","import React, { useEffect } from 'react'\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { LoadingCircle } from 'hosman-material';\n\nimport { updateYousignStatus } from '../../../../../../../../reducers/SellerApp/mandatesSlice';\n\nconst SignatureIframe = () => {\n const { mandate, isGenerating, yousignStatus } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n\n useEffect(() => {\n const handleMessage = (e) => {\n if (e.origin === 'https://yousign.app' && e.data.type === 'yousign') {\n switch (e.data.event) {\n case 'started':\n case 'success': \n dispatch(updateYousignStatus(e.data.event));\n break;\n }\n }\n };\n\n window.addEventListener('message', handleMessage);\n return () => window.removeEventListener('message', handleMessage);\n }, []);\n\n return (\n
\n {isGenerating &&\n
\n \n
\n }\n\n {(!isGenerating && yousignStatus !== 'success') &&\n \n }\n
\n );\n}\n\nexport default SignatureIframe;\n","import React, { useEffect, useState } from 'react'\nimport { motion } from 'framer-motion';\n\nconst getRandomValue = (min, max) => Math.random() * (max - min) + min;\nconst getRandomColor = () => {\n const colors = ['bg-ih-red', 'bg-ih-blue', 'bg-ih-green', 'bg-ih-yellow', 'bg-ih-purple', 'bg-ih-orange'];\n return colors[Math.floor(Math.random() * colors.length)];\n};\n\nconst FeuArtifice = () => {\n const [particles, setParticles] = useState([]);\n\n useEffect(() => {\n const newParticles = Array.from({ length: 200 }).map((_, i) => ({\n id: i,\n x: getRandomValue(-500, 500),\n y: getRandomValue(-500, 500),\n size: getRandomValue(2, 10),\n delay: getRandomValue(0, 0.3),\n fadeOutDelay: getRandomValue(0.5, 1.5),\n color: getRandomColor(),\n }));\n setParticles(newParticles);\n }, []);\n\n return (\n
\n {particles.map(({ id, x, y, size, delay, fadeOutDelay, color }) => (\n \n ))}\n
\n );\n};\n\nexport default FeuArtifice;\n","import React from 'react';\nimport { motion } from 'framer-motion';\n\nconst ProgressBar = ({ timeOutAfterSuccess }) => {\n return (\n
\n \n
\n );\n};\n\nexport default ProgressBar;\n","import React, { useEffect, useRef } from 'react'\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\n\nimport { Modal, FadeIn, Emoji } from 'hosman-material';\n\nimport FeuArtifice from './components/FeuArtifice';\nimport ProgressBar from './components/ProgressBar';\n\nimport { updateMandate } from '../../../../../../../../../reducers/SellerApp/mandatesSlice';\nimport { partyPopper } from '../../../../../../../../../../shared/assets/emojis';\n\nconst SuccessAnimation = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { mandate, yousignStatus } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n const navigate = useNavigate(); \n const hasExecuted = useRef(false);\n const timeOutAfterSuccess = 6000;\n\n useEffect(() => {\n if (yousignStatus !== 'success' || hasExecuted.current) return;\n\n hasExecuted.current = true;\n\n setTimeout(() => {\n dispatch(updateMandate({\n mandateId: mandate.id, \n params: { sign_status: 'incoming' }\n }))\n navigate(`/ev/ventes/${sale.id}`);\n }, timeOutAfterSuccess);\n }, [yousignStatus]);\n\n return (\n
\n \n
\n
\n \n
\n \n \n
\n
\n

Mandat signé, félicitations !

\n \n
\n
\n

Merci pour votre confiance, nous nous mettons dès maintenant au travail pour vendre votre bien au meilleur prix

\n
\n
\n
\n \n \n
\n
\n
\n );\n}\n\nexport default SuccessAnimation;\n","import React, { useEffect, useRef } from 'react'\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport SignatureIframe from './components/SignatureIframe';\n\nimport { InfoBox } from 'hosman-material';\n\nimport { genereteMandate } from '../../../../../../../reducers/SellerApp/mandatesSlice';\nimport SuccessAnimation from './components/SuccessAnimation';\n\nconst Signature = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { mandate, yousignStatus } = useSelector((state) => state.sellerMandates);\n const dispatch = useDispatch();\n const isFirstRender = useRef(true);\n\n useEffect(() => {\n if (isFirstRender.current) {\n isFirstRender.current = false;\n dispatch(genereteMandate(mandate.id));\n }\n }, []);\n\n return (\n
\n

Veuillez lire et signer votre mandat

\n\n \n Veuillez prendre connaissance du mandat dans son intégralité. Une fois arrivé en bas, cliquez sur \"Signer\". \n Vous pourrez alors signer électroniquement, par le biais d'un SMS de vérification envoyé à votre numéro.\n \n\n \n\n {(yousignStatus === 'success') &&\n \n }\n \n
\n );\n}\n\nexport default Signature;\n","import client from '../../client';\n\nconst USER = {\n updateUser(params) {\n return client.put(`/sellers/users/${client.customerId()}`, { user: params })\n },\n}\n\nexport default USER;\n","import client from '../../client';\n\nconst MANDATES = {\n getMandate(mandateId) {\n return client.get(`/sellers/${client.customerId()}/mandates/${mandateId}`);\n },\n\n updateMandate(mandateId, params) {\n return client.put(`/sellers/${client.customerId()}/mandates/${mandateId}`, { mandate: params });\n },\n \n genereteMandate(mandateId) {\n return client.post(`/sellers/${client.customerId()}/mandates/${mandateId}/e_signs`);\n },\n};\n\nexport default MANDATES;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport React from 'react';\nimport { toast } from 'react-hot-toast';\n\nimport Coordinates from '../../containers/SellerApp/SaleShow/pages/Mandate/steps/Coordinates';\nimport Situation from '../../containers/SellerApp/SaleShow/pages/Mandate/steps/Situation';\nimport Signature from '../../containers/SellerApp/SaleShow/pages/Mandate/steps/Signature';\n\nimport USER from '../../api/ressources/SellerApp/user';\nimport SALES from '../../api/ressources/SellerApp/sales';\nimport MANDATES from '../../api/ressources/SellerApp/mandates';\n\nexport const submitCoordinates = createAsyncThunk(\n '/submitCoordinates',\n async (saleId, { getState, rejectWithValue }) => {\n const mandateStore = getState().sellerMandates\n const user = mandateStore.onboardedUser;\n const { email, ...userStateWithoutEmail } = user\n\n try {\n const results = await Promise.allSettled([\n USER.updateUser(userStateWithoutEmail),\n SALES.updateSale(saleId, { buying_year: mandateStore.saleBuyingYear })\n ]);\n\n const errors = results\n .filter(result => result.status === 'rejected')\n .map(result => result.reason.response.data.error.message)\n .reduce((acc, current) => {\n return { ...acc, ...current };\n }, {});\n\n if (Object.keys(errors).length > 0) {\n return rejectWithValue({ errors: errors });\n }\n\n return {\n user: results[0].value.data,\n sale: results[1].value.data\n };\n } catch (error) {\n return rejectWithValue({\n message: 'Une erreur inattendue est survenue',\n error: error\n });\n }\n }\n);\n\nexport const getMandate = createAsyncThunk(\n '/getMandate',\n async (mandateId) => {\n const response = await MANDATES.getMandate(mandateId)\n return response.data\n }\n);\n\nexport const updateMandate = createAsyncThunk(\n '/updateMandate',\n async ({ mandateId, params }) => {\n const response = await MANDATES.updateMandate(mandateId, params)\n return response.data\n }\n);\n\nexport const genereteMandate = createAsyncThunk(\n '/genereteMandate',\n async (mandateId) => { \n const response = await MANDATES.genereteMandate(mandateId)\n return response.data\n }\n);\n\nconst allSteps = [\n { number: 1, name: 'Coordonnées', component: Coordinates },\n { number: 2, name: 'Situation', component: Situation },\n { number: 3, name: 'Signature', component: Signature }\n]\n\nexport const initialState = {\n steps: allSteps,\n currentStep: allSteps[0],\n onboardedUser: {},\n saleBuyingYear: '',\n mandateRequestState: '',\n mandate: {},\n isSubmitting: false,\n isGenerating: false,\n yousignStatus: '',\n errors: {},\n stateReady: false\n};\n\nexport const mandatesSlice = createSlice({\n name: 'mandates',\n initialState,\n reducers: {\n resetMandate: (state) => {\n state.mandate = initialState.mandate\n },\n updateCurrentStep: (state, { payload }) => {\n state.currentStep = state.steps.find(step => step.number === payload)\n window.scrollTo({ top: 0 });\n },\n updateOnboardedUser: (state, { payload }) => {\n state.onboardedUser = payload\n state.stateReady = true\n },\n updateSaleBuyingYear: (state, { payload }) => {\n state.saleBuyingYear = payload\n },\n updateErrors: (state, { payload }) => {\n state.errors = payload\n },\n updateYousignStatus: (state, { payload }) => {\n state.yousignStatus = payload\n },\n },\n extraReducers: (builder) => {\n builder.addCase(submitCoordinates.pending, (state) => {\n state.isSubmitting = true\n })\n builder.addCase(submitCoordinates.fulfilled, (state) => {\n state.currentStep = state.steps.find(step => step.number === state.currentStep.number + 1)\n state.isSubmitting = false\n window.scrollTo({ top: 0 });\n })\n builder.addCase(submitCoordinates.rejected, (state, { payload }) => {\n state.errors = payload.errors;\n state.isSubmitting = false\n })\n builder.addCase(getMandate.fulfilled, (state, { payload }) => {\n state.mandate = payload;\n state.mandateRequestState = 'done';\n })\n builder.addCase(updateMandate.pending, (state) => {\n state.isSubmitting = true;\n })\n builder.addCase(updateMandate.fulfilled, (state, { payload }) => { \n state.mandate = payload;\n state.isSubmitting = false;\n })\n builder.addCase(genereteMandate.pending, (state) => {\n state.isGenerating = true\n })\n builder.addCase(genereteMandate.fulfilled, (state, { payload }) => {\n state.mandate = payload;\n state.isGenerating = false;\n })\n builder.addCase(genereteMandate.rejected, (state) => {\n toast.error(\"Une erreur s'est produite, veuillez réessayer plus tard où contacter votre expert\", { duration: 3000 })\n state.isGenerating = false;\n })\n },\n})\n\nexport const { resetMandate, updateCurrentStep, updateOnboardedUser, updateSaleBuyingYear, updateErrors, updateYousignStatus } = mandatesSlice.actions;\n\nexport default mandatesSlice.reducer;\n","import React, { useEffect } from 'react';\nimport { useDispatch } from 'react-redux';\n\nimport { updateCurrentStep, updateErrors } from '../../../../../../reducers/SellerApp/mandatesSlice';\n\nconst StepTab = ({ step, currentStep, validSteps }) => {\n const dispatch = useDispatch();\n\n useEffect(() => {\n return () => dispatch(updateErrors({}))\n }, []);\n\n const isPreviousStepValid = (stepNumber) => {\n return stepNumber === 1 || validSteps.includes(stepNumber - 1);\n }\n \n const handleNavigate = (step) => { \n if (!isPreviousStepValid(step.number)) return;\n \n dispatch(updateCurrentStep(step.number));\n }\n \n return (\n
handleNavigate(step)} data-testid='StepTab'>\n
\n
0{step.number}
\n
\n\n
\n

{step.name}

\n {(currentStep.name !== step.name && step.number !== 3) &&

-

}\n
\n
\n );\n}\n\nexport default StepTab;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\n\nimport Greetings from './components/Greetings';\nimport StepTab from './components/StepTab';\n\nconst Mandate = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { onboardedUser, steps, currentStep, mandate: { sign_person }} = useSelector((state) => state.sellerMandates);\n const { signatories } = useSelector((state) => state.sellerSalesUsers);\n const [validSteps, setValidSteps] = useState([])\n\n useEffect(() => { \n const userValid = (['first_name', 'last_name', 'phone_number', 'birth_date', 'family_situation'].every(key => onboardedUser[key]))\n const saleValid = sale.buying_year != null\n const situationValid = ['solo_owner', 'n_owners_solo_signer'].includes(sign_person) || (sign_person === 'n_owners_n_signers' && signatories.length > 1)\n \n let validStepNumbers = []\n if (userValid && saleValid) validStepNumbers.push(1);\n if (userValid && saleValid && situationValid) validStepNumbers.push(2);\n\n setValidSteps(validStepNumbers);\n }, [onboardedUser, sale.buying_year, sign_person, signatories]);\n\n return (\n
\n \n\n
\n {steps.map((step) => {\n return (\n \n )\n })}\n
\n\n
\n \n
\n
\n );\n}\n\nexport default Mandate;\n","import React, { useMemo } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { shortDateAndYear } from '../../../../../../../shared/utils/formattedDates';\nimport { houseWithGarden } from '../../../../../../../shared/assets/emojis';\n\nimport { EventsList, Emoji } from 'hosman-material';\n\nimport { updateNewPhotoMeetingModalOpen } from '../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst SaleSteps = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { acceptedOffer } = useSelector((state) => state.sellerOffers);\n const dispatch = useDispatch();\n \n const memoizedevents = useMemo(() => setEvents(sale), [sale]);\n \n function setEvents(sale) {\n if (sale.id) {\n const mandateSigned = (sale.timeline.last_awaiting_publication_at || sale.mandateSigned) && shortDateAndYear(sale.timeline.last_awaiting_publication_at || new Date());\n const photoMeeting = sale.timeline.last_photo_meeting_at && shortDateAndYear(sale.timeline.last_photo_meeting_at);\n const publication = sale.timeline.last_awaiting_offer_at && shortDateAndYear(sale.timeline.last_awaiting_offer_at);\n const acceptedOfferDate = acceptedOffer && sale.timeline.last_awaiting_sale_agreement_at && shortDateAndYear(sale.timeline.last_awaiting_sale_agreement_at);\n const saleAgreement = sale.timeline.last_awaiting_notarial_deed_at && shortDateAndYear(sale.timeline.last_awaiting_notarial_deed_at);\n const notarialDeed = sale.timeline.last_sold_at && shortDateAndYear(sale.timeline.last_sold_at);\n\n const steps = [\n {\n id: 1,\n label: 'Mandat signé',\n date: mandateSigned || '',\n done: mandateSigned !== null\n },\n {\n id: 2,\n label: 'Reportage photo',\n date: photoMeeting || '',\n customNoDate: sale.lightshop ? dispatch(updateNewPhotoMeetingModalOpen(true))}>A planifier : sale.timeline.last_awaiting_offer_at != null ? 'Effectué' : 'A venir',\n done: sale.lightshop ? photoMeeting !== null && new Date(sale.timeline.last_photo_meeting_at).getTime() < new Date().getTime() : sale.timeline.last_awaiting_offer_at != null\n },\n {\n id: 3,\n label: 'Publication annonce',\n date: publication || '',\n customNoDate: 'A venir',\n done: publication !== null\n },\n {\n id: 4,\n label: 'Offre acceptée',\n date: acceptedOfferDate || '',\n customNoDate: 'A venir',\n done: acceptedOfferDate !== null\n },\n {\n id: 5,\n label: 'Promesse de vente',\n date: acceptedOffer?.sale_agreement_date ? shortDateAndYear(acceptedOffer.sale_agreement_date) : '',\n customNoDate: sale.state === 'awaiting_sale_agreement' ? null : 'A venir',\n done: saleAgreement !== null && new Date(sale.timeline.last_awaiting_notarial_deed_at).getTime() < new Date().getTime()\n },\n {\n id: 6,\n label: 'Acte authentique',\n date: acceptedOffer?.notarial_deed_date ? shortDateAndYear(acceptedOffer.notarial_deed_date) : '',\n customNoDate: sale.state === 'awaiting_notarial_deed' ? null : 'A venir',\n done: notarialDeed !== null && new Date(sale.timeline.last_sold_at).getTime() < new Date().getTime()\n }\n ];\n\n if (notarialDeed !== null && saleAgreement == null) {\n steps.splice(4, 1)\n }\n\n return steps;\n }\n }\n\n return (\n
\n
\n \n

Suivez l'avancée de votre vente en temps réel

\n
\n\n
\n \n
\n
\n )\n}\n\nexport default SaleSteps;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\n\nimport PropertySummary from '../../../../../../components/Property/PropertySummary'\nimport SaleStateLabel from '../../../../../../components/Sale/StateLabel';\n\nimport { Label, PriceBox, ContactCard, Button } from 'hosman-material';\n\nconst SalePropertySummary = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n\n return (\n
\n
\n {sale.state === 'awaiting_offer' ?\n <>Visibilité de votre annonce\n :\n 'Votre annonce'\n }\n
\n\n
\n
\n }\n cityLabel={sale && }\n avatar={sale.expert?.user?.profile_pic_url}\n propertyInfos\n premium={sale.premium}\n >\n
\n \n
\n\n
\n {!sale.property.advert?.draft &&\n
\n \n
\n\n {sale.visit_guide &&\n \n }\n
\n
\n )\n}\n\nexport default SalePropertySummary;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Label, Box, Emoji } from 'hosman-material';\nimport { exclamationMark } from '../../../../../../../../../shared/assets/emojis';\n\nconst Action = ({ icon, title, displayed, emoji, important = false, children, classes }) => {\n return (\n <>\n {displayed &&\n
\n
\n \n \n \n

{title}

\n {emoji && }\n {important && \n
\n \n
\n }\n
\n {children}\n
\n }\n \n )\n}\n\nexport default Action;\n\nAction.propTypes = {\n icon: PropTypes.object.isRequired,\n title: PropTypes.string.isRequired,\n displayed: PropTypes.bool,\n important: PropTypes.bool,\n children: PropTypes.node\n};\n","import React, { useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Modal, LoadingCircle } from 'hosman-material'\nconst isProd = window.location.host == ('app.hosman.co')\nlet BASE_URL = `${window.location.origin.replace('app.', '')}/api/v1`;\nif (isProd) BASE_URL = BASE_URL.replace('hosman.co', 'www.hosman.co')\n\nconst DownloadImagesModal = ({ property, setDownloadImagesModalOpen }) => {\n const hasFetched = useRef(false);\n\n useEffect(() => {\n if (!hasFetched.current) {\n fetchZipFile();\n hasFetched.current = true;\n }\n }, []);\n\n const fetchZipFile = async () => {\n try {\n const response = await fetch(`${BASE_URL}/properties/${property.id}/property_pictures`, {\n method: 'GET',\n headers: {\n 'Access-Control-Allow-Origin': '*',\n 'X-Auth-Token': window.localStorage.getItem('token'),\n 'Content-Type': 'application/zip',\n }\n });\n\n const blob = await response.blob();\n\n const url = window.URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', `photos-${property.street_name}.zip`);\n document.body.appendChild(link);\n link.click();\n\n link.parentNode.removeChild(link);\n window.URL.revokeObjectURL(url);\n setDownloadImagesModalOpen(false)\n } catch (error) {\n console.error('Erreur lors du téléchargement des images :', error);\n }\n }\n\n return (\n setDownloadImagesModalOpen(false)}>\n
\n \n

Nous préparons vos photos... Cela peut prendre quelques secondes

\n

Votre téléchargement va bientôt commencer

\n
\n
\n )\n}\n\nexport default DownloadImagesModal;\n\nDownloadImagesModal.propTypes = {\n property: PropTypes.object.isRequired,\n setDownloadImagesModalOpen: PropTypes.func\n};\n","import React, { useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_Check, D_CameraRetro, D_FolderOpen, D_CalendarStar, D_House, D_FileCircleCheck, D_File, D_Loveseat, D_ScaleBalanced, D_UserGroup } from 'hosman-material';\nimport { crossedFingers } from '../../../../../../../../shared/assets/emojis';\nimport { longDateTime } from '../../../../../../../../shared/utils/formattedDates';\n\nimport Action from './components/Action';\nimport DownloadImagesModal from './components/DownloadImagesModal';\nimport { Card, Button } from 'hosman-material';\n\nimport { updateDisplaySalesUsersModal } from '../../../../../../../reducers/SellerApp/salesUsersSlice';\nimport { updateNewPhotoMeetingModalOpen } from '../../../../../../../reducers/SellerApp/photoMeetingsSlice';\n\nconst CallToActions = () => {\n const { user } = useSelector((state) => state.user);\n const { sale } = useSelector((state) => state.sellerSales);\n const { photoMeetings, plannedPhotoMeeting } = useSelector((state) => state.sellerPhotoMeetings);\n const { visitsToCome } = useSelector((state) => state.sellerVisits);\n const { ongoingOffers } = useSelector((state) => state.sellerOffers);\n const classicVisitsToCome = visitsToCome.filter((visit) => visit.kind === 'classic');\n const [downloadImagesModalOpen, setDownloadImagesModalOpen] = useState(false)\n const dispatch = useDispatch();\n\n // Displayed rules\n const displayPhotoMeeting = sale.mandateSigned && photoMeetings.length === 0\n const displayDocuments = ['awaiting_term_signature', 'awaiting_publication', 'awaiting_offer'].includes(sale.state) && sale.missing_mandatory_documents\n const displayNewSalesUsers = ['awaiting_publication', 'awaiting_offer'].includes(sale.state)\n const displayPlanning = sale.state === 'awaiting_offer' && classicVisitsToCome.length > 0\n const displayOffers = sale.state === 'awaiting_offer' && ongoingOffers.length > 0\n const displayDlPictures = sale.state === 'sold'\n const displayEnterNotary = sale.state === 'awaiting_sale_agreement' && sale.expert && !sale.seller_notary_present\n const displayPaperas = sale.state === 'awaiting_sale_agreement'\n const displayFurnitureForm = sale.state === 'awaiting_sale_agreement' && ['semi_furnished', 'furnished'].includes(sale.property.furniture)\n\n if ([displayPhotoMeeting, displayDocuments, displayPlanning, displayOffers, sale.availiableForVisits,\n displayDlPictures, displayEnterNotary, displayPaperas, displayFurnitureForm].filter(bool => bool === true) < 1) {\n return null;\n }\n\n return (\n
\n \n
\n {sale.lightshop &&\n \n
\n
\n\n {downloadImagesModalOpen &&\n \n }\n
\n )\n}\n\nexport default CallToActions;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Card, Box } from 'hosman-material';\nimport { InfoIcon } from 'hosman-material';\nconst classNames = require('classnames');\n\nconst SaleKeyNumbersCard = ({ thresholdWarning, icon, title, subtitle, warningText, numbersColor, }) => {\n let warningClassesCard = classNames(\n 'border rounded-xl flex items-center justify-start gap-2 py-1 px-2 bg-ih-indigo-5 border-ih-indigo-10',\n { 'bg-ih-red-10 border-ih-red-40': thresholdWarning },\n { 'bg-ih-indigo-5 border-ih-indigo-10': !thresholdWarning },\n );\n\n return(\n \n
\n
\n \n \n \n
\n\n

{title}

\n\n

{subtitle}

\n\n {warningText &&\n
\n \n\n

{warningText}

\n
\n }\n
\n
\n )\n};\n\nSaleKeyNumbersCard.propTypes = {\n thresholdWarning: PropTypes.bool,\n icon: PropTypes.object,\n title: PropTypes.string,\n subtitle: PropTypes.string,\n warningText: PropTypes.string,\n numbersColor: PropTypes.string\n}\n\nexport default SaleKeyNumbersCard;\n","import React, { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport { D_House } from 'hosman-material';\n\nimport SaleKeyNumbersCard from './shared/SaleKeyNumbersCard';\n\nconst Price = () => {\n const { sale, publicationData: { sale_estimation_medium } } = useSelector((state) => state.sellerSales);\n const [priceAboveEstimation, setPriceAboveEstimation] = useState(false)\n\n useEffect(() => {\n setPriceAboveEstimation(sale.price > sale_estimation_medium)\n }, [sale, sale_estimation_medium])\n\n const handleSalePriceSubtitle = () => {\n if (priceAboveEstimation) return `Supérieur au prix de marché conseillé (${sale_estimation_medium.toLocaleString()} €)`\n }\n\n return (\n \n )\n};\n\nexport default Price\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { differenceInDays } from 'date-fns';\nimport { D_ClockThree } from 'hosman-material';\nimport SaleKeyNumbersCard from './shared/SaleKeyNumbersCard';\n\nconst Duration = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n\n const daysDifference = differenceInDays(new Date(), new Date(sale.timeline.first_awaiting_offer_at))\n\n return(\n \n )\n};\n\nexport default Duration\n","import React, { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport { D_CalendarCheck } from 'hosman-material';\n\nimport { shortDate, displayTime, timeSince } from '../../../../../../../../../shared/utils/formattedDates'\nimport SaleKeyNumbersCard from './shared/SaleKeyNumbersCard';\n\nconst VisitorsInterest = () => {\n const { visitsToCome, visits, visitsWithReport } = useSelector((state) => state.sellerVisits);\n const [percentageInterestedVisitors, setPercentageInterestedVisitors] = useState(0);\n const [numbersColor, setNumbersColor] = useState('text-ih-blue');\n const [notInRange, setNotInRange] = useState(false);\n\n useEffect(() => {\n if (visitsWithReport.length <= 0) return\n\n const interestedVisitors = visitsWithReport.filter(visit => ['very_interested', 'interested'].includes(visit.visit_report.interest))\n const percentageInterestedVisitors = (interestedVisitors.length / visitsWithReport.length) * 100\n\n setPercentageInterestedVisitors(Math.round(percentageInterestedVisitors));\n }, [visitsToCome, visits, visitsWithReport])\n\n useEffect(() => {\n const uninterestedVisitors = visitsWithReport.filter(visit => ['maybe_interested', 'uninterested'].includes(visit.visit_report.interest))\n\n if ((percentageInterestedVisitors > 0 && percentageInterestedVisitors <= 50 && visitsWithReport.length > 0) || uninterestedVisitors.length > 0) {\n setNumbersColor('text-ih-red')\n setNotInRange(true)\n }\n\n if (percentageInterestedVisitors > 50) setNumbersColor('text-ih-green')\n\n }, [percentageInterestedVisitors])\n\n const handleWarningText = () => {\n const visitsDone = visits.filter(visit => visit.kind === 'classic' && visit.state === 'done')\n\n if (visitsDone.length === 0 && visitsToCome.length === 0) {\n return 'Pas encore de visite réalisée'\n } else if (visitsToCome.length > 0) {\n const nextVisitToCome = visitsToCome[0];\n return `Prochaine visite ${shortDate(nextVisitToCome.start_time)} à ${displayTime(new Date(nextVisitToCome.start_time))}`\n } else if (visitsDone.length > 0) {\n const lastVisit = visitsDone.pop();\n return `Dernière visite ${timeSince(new Date(lastVisit.end_time))}`\n }\n }\n\n return(\n 0} />\n )\n};\n\nexport default VisitorsInterest\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport Price from './components/Price'\nimport Duration from './components/Duration'\nimport VisitorsInterest from './components/VisitorsInterest';\n\nconst SaleKeyNumbers = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n\n if (sale.state !== 'awaiting_offer') return null;\n\n return(\n
\n
\n Quelques chiffres clés sur votre vente\n
\n\n
\n \n\n \n\n \n
\n
\n )\n};\n\nexport default SaleKeyNumbers;\n","export const trustpilotLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1643136755/assets/images/revamp%202022/logos/trustpilot.webp'\n\nexport const figaroImmoLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/Capture_d_e%CC%81cran_2023-04-03_a%CC%80_17.18_4.webp'\nexport const leboncoinLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/Capture_d_e%CC%81cran_2023-04-03_a%CC%80_17.18_2.webp'\nexport const logicImmoLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/Capture_d_e%CC%81cran_2023-04-03_a%CC%80_17.18_3.webp'\nexport const jinkaLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/Logo-Jinka_1.webp'\nexport const selogerLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/Logo_Seloger_2017_1.webp'\nexport const bieniciLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687435556/assets/images/logos/2581_346_logo_bienici_1.webp'\nexport const jeReveDuneMaisonLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853139/assets/images/logos/jerevedunemaison.webp'\nexport const monChasseurImmoLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853139/assets/images/logos/monchasseurimmo.webp'\nexport const perleRareLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853139/assets/images/logos/perlerare.webp'\nexport const homeselectLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853139/assets/images/logos/homeselect.webp'\nexport const beanstockLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853139/assets/images/logos/beanstock.webp'\nexport const masteosLogo = 'https://res.cloudinary.com/vesta-home/image/upload/v1687853138/assets/images/logos/masteos.webp'\nexport const bellesDemeures = 'https://res.cloudinary.com/vesta-home/image/upload/v1695720404/assets/images/logos/belles_demeures.webp'\nexport const luxResidence = 'https://res.cloudinary.com/vesta-home/image/upload/v1695720404/assets/images/logos/lux_residence.webp'\nexport const proprietesFigaro = 'https://res.cloudinary.com/vesta-home/image/upload/v1695720405/assets/images/logos/proprietes_figaro.webp'\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Card, Avatar } from 'hosman-material';\n\nexport const MarketingCard = ({ number = 0, title, subtitle, logos = [], leadInitials = [] }) => {\n return(\n \n
\n

{number}

\n\n
{title}
\n\n
{subtitle}
\n\n
\n {\n
\n {logos.map(({ src, altText }, i) => {\n return (\n {altText}\n )\n })}\n
\n }\n\n {\n leadInitials.map((leadInitial, index) => (\n \n ))\n }\n\n {(leadInitials.length > 0 && number > 3) &&\n
\n
\n

\n +{ number - 3 }\n

\n
\n
\n }\n
\n
\n
\n )\n};\n\nMarketingCard.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n logos: PropTypes.array,\n leadInitials: PropTypes.array\n}\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport { jeReveDuneMaisonLogo,\n monChasseurImmoLogo,\n perleRareLogo} from '../../../../../../../../../../assets/logos';\nimport { MarketingCard } from './shared/MarketingCard';\n\nconst Partners = () => {\n const { sale: { region } } = useSelector((state) => state.sellerSales);\n\n const logos = [\n { src: jeReveDuneMaisonLogo, altText: 'jeReveDuneMaison'},\n { src: monChasseurImmoLogo, altText: 'monChasseurImmoLogo' },\n { src: perleRareLogo, altText: 'perleRareLogo' }\n ]\n\n const displayPartnersNumber = () => {\n switch (region.name_raw) {\n case 'Bordeaux':\n return 13\n case 'Lyon':\n return 18\n case 'Marseille':\n return 26\n case 'Nantes':\n return 19\n default:\n return 96\n }\n }\n\n return(\n \n )\n};\n\nexport default Partners\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport { leboncoinLogo,\n jinkaLogo,\n selogerLogo,\n bellesDemeures,\n luxResidence,\n proprietesFigaro } from '../../../../../../../../../../assets/logos';\nimport { MarketingCard } from './shared/MarketingCard';\n\nconst PortalsContacts = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n\n const handleContactPortailsSubtitle = () => {\n if (sale.on_ubiflow) return \"Publié sur tous les sites d'annonces immobilières\"\n else return \"Votre bien n'est actuellement pas publié sur les sites immobiliers\"\n }\n\n const handleContactPortailsLogos = () => {\n if (!sale.on_ubiflow) return []\n\n if (sale.premium) return [\n { src: bellesDemeures, altText: 'bellesDemeures'},\n { src: luxResidence, altText: 'luxResidence' },\n { src: proprietesFigaro, altText: 'proprietesFigaro' }\n ]\n\n return [\n { src: leboncoinLogo, altText: 'leboncoin' },\n { src: jinkaLogo, altText: 'jinka' },\n { src: selogerLogo, altText: 'seloger' }\n ]\n }\n\n return(\n \n )\n};\n\nexport default PortalsContacts\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport { MarketingCard } from './shared/MarketingCard';\nexport const PotentialBuyers = () => {\n const { publicationData: { potential_buyers_solicitations_count, lead_initials } } = useSelector((state) => state.sellerSales);\n\n if (potential_buyers_solicitations_count < 100) return null\n\n return(\n \n )\n};\n\nexport default PotentialBuyers\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport Partners from './components/Partners';\nimport PortalsContacts from './components/PortalsContacts';\nimport PotentialBuyers from './components/PotentialBuyers';\n\nconst Marketing = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n\n if (sale.state !== 'awaiting_offer' || sale.on_break) return null;\n\n return(\n
\n \n\n \n\n \n
\n )\n};\n\nexport default Marketing\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { smilingFace } from '../../../../../../shared/assets/emojis'\nimport { greeting } from '../../../../../../shared/utils/helpers/hosmanVars';\n\nimport SaleSteps from './components/SaleSteps';\nimport SalePropertySummary from './components/SalePropertySummary';\nimport CallToActions from './components/CallToActions';\nimport SaleKeyNumbers from './components/SaleKeyNumbers';\nimport Marketing from './components/Marketing';\n\nimport { LoadingLayer, FadeIn, Emoji, Separator } from 'hosman-material';\n\nconst Sale = () => {\n const { user } = useSelector((state) => state.user);\n const { requestState } = useSelector((state) => state.sellerSales);\n\n return (\n
\n \n \n

Bonjour {greeting(user)}

\n\n \n\n \n\n \n\n \n\n \n\n \n
\n
\n
\n );\n}\n\nexport default Sale;\n","import client from '../../client';\n\nconst ESTIMATION_FOLDERS = {\n getEstimationFolder(id) {\n return client.get(`/estimation_folders/${id}`)\n },\n\n getComparableSales(estimationFolderId) {\n return client.get(`/estimation_folders/${estimationFolderId}/comparable_sales`)\n },\n\n getSimilarSalesScreenshots(estimationFolderId) {\n return client.get(`/estimation_folders/${estimationFolderId}/similar_sale_screenshots`)\n }\n}\n\nexport default ESTIMATION_FOLDERS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport ESTIMATION_FOLDERS from '../../api/ressources/SellerApp/estimationFolders';\n\nexport const getEstimationFolder = createAsyncThunk(\n '/estimationFolderShow',\n async (params) => {\n const response = await ESTIMATION_FOLDERS.getEstimationFolder(params)\n return response.data\n }\n);\n\nexport const getComparableSales = createAsyncThunk(\n '/comparableSalesIndex',\n async (params) => {\n const response = await ESTIMATION_FOLDERS.getComparableSales(params)\n return response.data\n }\n);\n\nexport const getSimilarSalesScreenshots = createAsyncThunk(\n '/similarSalesScreenshotsIndex',\n async (params) => {\n const response = await ESTIMATION_FOLDERS.getSimilarSalesScreenshots(params)\n return response.data\n }\n);\n\nconst initialState = {\n estimationFolder: {},\n comparableSales: [],\n similarSalesScreenshots: [],\n requestState: ''\n};\n\nexport const estimationFoldersSlice = createSlice({\n name: 'estimationFolder',\n initialState,\n reducers: {\n resetEstimationFolder: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(getEstimationFolder.pending, (state) => {\n state.requestState = 'pending'\n })\n builder.addCase(getEstimationFolder.fulfilled, (state, { payload }) => {\n state.estimationFolder = payload;\n state.requestState = 'done';\n })\n builder.addCase(getComparableSales.fulfilled, (state, { payload }) => {\n state.comparableSales = payload;\n })\n builder.addCase(getSimilarSalesScreenshots.fulfilled, (state, { payload }) => {\n state.similarSalesScreenshots = payload;\n })\n },\n})\n\nexport const { resetEstimationFolder } = estimationFoldersSlice.actions;\n\nexport default estimationFoldersSlice.reducer;\n","import React, { useEffect, useState, useRef } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { scrollToSection } from '../../../../../../../shared/utils/uiEffects/scrollTo'\n\nimport EstimationFolderView from '../../../../../../../shared/containers/EstimationFolderView';\n\nimport { LoadingLayer, FadeIn, Tabs, Tab } from 'hosman-material';\n\nimport { getComparableSales, getSimilarSalesScreenshots } from '../../../../../../reducers/SellerApp/estimationFoldersSlice';\n\nconst items = [\n { name: 'Introduction', anchor: 'introduction'},\n { name: 'Votre bien', anchor: 'votre-bien'},\n { name: 'Analyse du marché', anchor: 'analyse-du-marche'},\n { name: 'Biens comparables', anchor: 'biens-comparables'},\n { name: 'Votre estimation', anchor: 'votre-estimation'},\n { name: 'Prochaines étapes', anchor: 'prochaines-etapes'},\n { name: 'Pourquoi Hosman', anchor: 'pourquoi-hosman' }\n]\n\nconst ExpertEstimation = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { estimationFolder, comparableSales, similarSalesScreenshots } = useSelector((state) => state.sellerEstimationFolders);\n const [selectedItem, setSelectedItem] = useState(items[0])\n const dispatch = useDispatch();\n const sectionRefs = useRef([]);\n\n const handleSelect = (item) => {\n setSelectedItem(item);\n if (item.scroll) return;\n\n scrollToSection(document.getElementById(item.anchor))\n }\n\n useEffect(() => {\n if (!sale.estimation_folder_id) return;\n\n dispatch(getComparableSales(sale.estimation_folder_id));\n dispatch(getSimilarSalesScreenshots(sale.estimation_folder_id));\n }, [sale.estimation_folder_id]);\n\n useEffect(() => {\n const handleScroll = () => {\n const windowHeight = window.innerHeight;\n\n sectionRefs.current.forEach((ref) => {\n if (ref) {\n const id = ref.id\n const { top, bottom } = ref.getBoundingClientRect();\n\n if (top < windowHeight/3 && bottom >= 0) {\n handleSelect({ ...items.find(item => item.anchor === id), scroll: true })\n return;\n }\n }\n });\n };\n\n window.addEventListener('scroll', handleScroll);\n\n window.onclick = () => {\n window.removeEventListener('scroll', handleScroll);\n setTimeout(() => {\n window.addEventListener('scroll', handleScroll);\n }, 1000);\n };\n\n return () => {\n window.removeEventListener('scroll', handleScroll);\n };\n }, []);\n\n return (\n
\n \n \n
\n \n {items.map((item) => {\n return (\n \n );\n })}\n \n
\n\n \n
\n
\n
\n );\n}\n\nexport default ExpertEstimation;\n","import client from '../../client';\n\nconst VALUATIONS = {\n getValuation(valuationId) {\n return client.get(`/valuations/${valuationId}`);\n },\n\n updateValuation(valuationId, params) {\n return client.put(`/valuations/${valuationId}`, { valuation: params });\n },\n}\n\nexport default VALUATIONS;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nconst classNames = require('classnames');\n\nimport { S_CircleCheck } from 'hosman-material';\n\nimport VALUATIONS from '../../../../../../../api/ressources/SellerApp/valuations';\n\nconst EstimationReview = ({ valuation, setValuation }) => {\n const estimationReviews = [\n { slug: 'too_low', text: 'Trop basse' },\n { slug: 'accurate', text: 'Juste' },\n { slug: 'too_high', text: 'Trop haute' },\n ]\n\n const updateOpinionValuation = async ({ valuationId, params }) => {\n let response = await VALUATIONS.updateValuation(valuationId, params)\n setValuation(response.data)\n }\n\n const optionClasses = (slug) => {\n return classNames(\n `text-ih-indigo bg-white text-sm font-semibold p-3 rounded-2xl cursor-pointer border transition ease-in-out duration-300 ${valuation.opinion ? 'opacity-0 z-0' : 'opacity-100 z-10'}`,\n { 'hover:border-ih-blue-80 hover:bg-ih-blue-10': valuation.opinion !== slug }\n );\n }\n\n return(\n
\n

Que pensez-vous de cette estimation ?

\n\n
\n {estimationReviews.map(({ slug, text }) => {\n return (\n
updateOpinionValuation({ valuationId: valuation.id, params: { opinion: slug }})} data-testid='opinionOption'>\n {text}\n
\n )\n })}\n\n
\n \n
Votre avis a bien été pris en compte
\n
\n
\n
\n )\n};\n\nexport default EstimationReview;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Card } from 'hosman-material';\nimport { D_CircleExclamation } from 'hosman-material';\n\nconst NoValuationError = () => {\n return(\n
\n \n

Un problème technique vient de se produire...

\n

Malheureusement votre estimation n'est pas disponible. Nous vous invitons à contacter l'expert en charge de votre secteur pour échanger sur l'estimation de votre bien.

\n
\n )\n};\n\nexport default NoValuationError;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { pricePerMeter } from '../../../../../../shared/utils/helpers/hosmanVars';\n\nimport EstimationReview from './components/EstimationReview'\nimport NoValuationError from './components/NoValuationError'\nimport { D_CircleInfo } from 'hosman-material';\n\nconst EstimatedPrices = ({ sale, valuation, setValuation }) => {\n if (!valuation) return ;\n\n const roundTo = (price, round) => {\n return Math.round(price/round)*round\n }\n\n return (\n
\n
\n
\n

{roundTo(valuation.sale_price, 1000).toLocaleString()} €

\n

soit {pricePerMeter(valuation.sale_price, sale.property)}

\n
\n\n
\n \n

Fiabilité de l'algorithme : {roundTo(valuation.confidence, 10)}%

\n
\n
\n\n
\n
\n

{roundTo(valuation.lower_price, 1000).toLocaleString()} €

\n

soit {pricePerMeter(valuation.lower_price, sale.property)}

\n

Estimation basse

\n
\n\n
\n\n
\n

{roundTo(valuation.upper_price, 1000).toLocaleString()} €

\n

soit {pricePerMeter(valuation.upper_price, sale.property)}

\n

Estimation haute

\n
\n
\n\n \n
\n );\n}\n\nexport default EstimatedPrices;\n","import client from '../../client';\n\nconst BUYER_ALERTS = {\n getBuyerAlerts(saleUniqueHash, price) {\n return client.get(`/sales/${saleUniqueHash}/buyer_alerts?price=${price}`);\n },\n}\n\nexport default BUYER_ALERTS;\n","import React, { useEffect, useState } from 'react';\n\nimport BUYER_ALERTS from '../../../../../api/ressources/SellerApp/buyerAlerts';\n\nimport AvatarsCounter from '../../../../../../shared/components/AvatarsCounter';\n\nconst PotentialBuyers = ({ sale, valuation }) => {\n const [buyerAlerts, setBuyerAlerts] = useState(null)\n\n useEffect(() => {\n if (!sale || !valuation) return;\n\n const getBuyerAlerts = async ({ saleUniqueHash, price }) => {\n const response = await BUYER_ALERTS.getBuyerAlerts(saleUniqueHash, price)\n setBuyerAlerts(response.data)\n }\n\n getBuyerAlerts({ saleUniqueHash: sale.unique_hash, price: valuation.sale_price})\n }, [sale, valuation]);\n\n if (!buyerAlerts || buyerAlerts.count <= 5) return null;\n\n return (\n
\n \n\n
\n

{buyerAlerts.count} acquéreurs potentiels

\n\n

sont intéressés par votre bien

\n
\n
\n );\n}\n\nexport default PotentialBuyers;\n","import React, { useRef } from 'react';\nimport { createPortal } from 'react-dom';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { S_CircleCheck } from 'hosman-material';\nimport { Button, Avatar } from 'hosman-material';\nimport { ga4Event } from '../../../../../../../shared/utils/ga4Event';\n\nconst BottomBanner = ({ open, expert }) => {\n return open ? createPortal(\n
\n
\n
\n \n

100% gratuit et sans engagement

\n
\n\n
\n \n
\n\n { ga4Event('click_phone_appointment') }}>\n
\n }/>\n \n
\n ,\n document.body\n ) : null;\n}\n\nexport default BottomBanner;\n","import React from 'react';\nimport { LoadingCircle } from 'hosman-material'\n\nconst LoadingBlock = () => {\n return (\n
\n

Votre bien mérite le meilleur accompagnement

\n\n
\n Dans un instant vous pourrez prendre un rendez-vous téléphonique avec l'expert de votre secteur.\n
\n\n
\n \n
\n
\n )\n}\n\nexport default LoadingBlock\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { S_CircleCheck } from 'hosman-material';\nimport { Button, Avatar } from 'hosman-material';\nimport { ga4Event } from '../../../../../../../../shared/utils/ga4Event';\n\nconst ExpertBlock = ({ expert, expertContactRef }) => {\n if (!expert) return null;\n\n return (\n
\n
\n

Vous souhaitez une estimation plus précise ?

\n\n
\n Échangez au téléphone avec {expert.user.first_name}, l'expert{expert.user.civility == 'mrs' ? 'e' : ''} de votre secteur, pour identifier les spécificités de votre bien.\n
\n
\n\n
\n {expert?.user?.profile_pic_url &&\n \n }\n\n
\n {expert &&\n ga4Event('click_phone_appointment')}>\n
\n
\n
\n )\n}\n\nexport default ExpertBlock;\n","import React from 'react';\nimport useVisibility from '../../../../../../shared/utils/hooks/useVisibility';\n\nimport BottomBanner from './components/BottomBanner';\nimport LoadingBlock from './components/LoadingBlock';\nimport ExpertBlock from './components/ExpertBlock';\n\nconst ExpertMeeting = ({ sale }) => {\n const [expertContactIsVisible, expertContactRef] = useVisibility({\n root: null,\n rootMargin: '0px',\n threshold: 0,\n });\n\n return (\n
\n
\n \n
\n\n
\n \n
\n\n {sale.expert &&\n \n }\n
\n );\n}\n\nexport default ExpertMeeting;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { S_CircleCheck } from 'hosman-material';\nimport { Button } from 'hosman-material';\n\nconst NextSteps = () => {\n return (\n
\n

Prochaines étapes

\n\n
\n
\n

01

\n

Pré-estimation en ligne de votre bien

\n
\n \n

Terminé

\n
\n
\n\n
\n

02

\n

Ajustement du prix selon les spécificités de votre bien

\n

Un expert se déplace à votre bien pour affiner cette estimation en prenant en compte toutes les spécificités de votre bien.

\n
\n\n
\n

03

\n

Mise en vente de votre bien par notre expert

\n

Diffusion sur + de 30 sites, ainsi qu'à notre base acheteurs qualifiée de + 30 000 personnes, et notre réseau de chasseurs et investisseurs.

\n
\n
\n
\n );\n}\n\nexport default NextSteps;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\n\nimport { S_CircleCheck } from 'hosman-material';\nimport { Button } from 'hosman-material';\n\nconst Sponsorship = ({ sale: { owner, potential_premium } }) => {\n\n const handleGa4Event = () => {\n const data = {\n potential_premium,\n user_id: owner.id,\n user_email: owner.email,\n user_first_name: owner.first_name,\n user_last_name: owner.last_name\n }\n ga4Event('click_parrainage_success_page', data)\n }\n\n return (\n handleGa4Event()}>\n
\n
\n

Envie de gagner jusqu'à 600€ ?

\n

Parrainez un proche !

\n
\n\n
\n
\n

Mandat de vente

\n\n
\n \n

200€ offerts

\n
\n
\n\n
\n

Vente conclue

\n\n
\n \n

400€ offerts

\n
\n
\n
\n\n
\n
\n
\n
\n );\n}\n\nexport default Sponsorship;\n","import React from 'react';\nimport { generateLink } from '../../../../../../shared/utils/railsRoutes';\n\nimport { Button } from 'hosman-material';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\nimport { propertyCardCarousel } from '../../../../../../shared/assets/images';\n\nconst PropertyAdverts = ({ sale: { owner, potential_premium } }) => {\n const handleGa4Event = () => {\n const data = {\n potential_premium,\n user_id: owner.id,\n user_email: owner.email,\n user_first_name: owner.first_name,\n user_last_name: owner.last_name\n }\n\n ga4Event('click_adverts_success_page', data);\n }\n\n return (\n \n
\n

Un projet d'achat ?

\n\n \n\n
\n
\n
\n
\n );\n}\n\nexport default PropertyAdverts;\n","import React, { useState, useEffect } from 'react';\n\nimport PropertyCard from '../../../../../../shared/components/Property/PropertyCard';\nimport { LoadingLayer, FadeIn, Slider, Label } from 'hosman-material';\n\nimport PROPERTIES from '../../../../../../shared/apiPublic/ressources/properties';\n\nconst SoldProperties = ({ sale }) => {\n const [properties, setProperties] = useState([])\n\n const fetchProperties = async () => {\n const states = sale.state === 'dead' ? ['awaiting_offer'] : ['sold']\n const response = await PROPERTIES.getProperties({sale_state_eq_any: states, relevant_id: sale.unique_hash })\n setProperties(response.data.results)\n }\n\n useEffect(() => {\n fetchProperties()\n }, []);\n\n const displayZipCode = (property) => {\n if (!['Paris', 'Marseille', 'Lyon'].includes(property.city)) return null;\n\n return property.zip_code\n }\n\n const setTitle = () => {\n if (sale.state === 'dead') {\n return

Découvrez nos derniers biens à vendre

\n }\n\n return

Nos experts ont déjà vendu près de chez vous

\n }\n\n if (properties.length < 1) return null;\n\n return (\n
\n 0}>\n \n \n
\n \n {property.distance_from_relevant &&\n \n }\n {sale.state == 'sold' && }\n
\n }\n centerLabel={}\n price={property.sale.price}\n />\n
\n )}\n title={setTitle()}\n />\n \n \n \n );\n}\n\nexport default SoldProperties;\n","import React from 'react';\n\nimport { Avatar } from 'hosman-material';\nconst regionalExperts = 'https://res.cloudinary.com/vesta-home/image/upload/v1718803589/assets/Napoleon/Images/EstimationResult/expert_local.webp'\nconst fairPrice = 'https://res.cloudinary.com/vesta-home/image/upload/v1718802508/assets/Napoleon/Images/EstimationResult/visuel_pricing_regions.webp'\nconst onlineSpace = 'https://res.cloudinary.com/vesta-home/image/upload/v1718802508/assets/Napoleon/Images/EstimationResult/espace_vendeur.webp'\n\nconst HosmanPros = ({ sale }) => {\n return (\n
\n

Une vente sereine avec Hosman

\n\n
\n
\n expert\n\n
\n

Un expert local, 100% dédié à votre vente

\n

Un expert spécialiste de votre quartier prendra en charge votre vente de A à Z. Formé à la négociation, il vous aidera à optimiser votre net vendeur.

\n
\n
\n\n
\n expert\n\n
\n

Un prix juste, pour un service de qualité

\n

Réalisez en moyenne 15 000€ d'économies sur la vente de votre bien grâce à nos prix justes, à partir de 5 900€.

\n
\n
\n\n
\n expert\n\n
\n

De la transparence, grâce à votre espace en ligne

\n

Suivez l'avancée de votre vente en temps réel sur votre espace client.

\n
\n
\n
\n\n
\n );\n}\n\nexport default HosmanPros;\n","import React, { useEffect, useState } from 'react';\n\nimport EstimatedPrices from './components/EstimatedPrices';\nimport PotentialBuyers from './components/PotentialBuyers';\nimport ExpertMeeting from './components/ExpertMeeting';\nimport NextSteps from './components/NextSteps';\nimport Sponsorship from './components/Sponsorship';\nimport PropertyAdverts from './components/PropertyAdverts';\nimport SoldProperties from './components/SoldProperties';\nimport HosmanPros from './components/HosmanPros';\n\nimport { FadeIn, Separator } from 'hosman-material';\nimport VALUATIONS from '../../../api/ressources/SellerApp/valuations';\nimport { greeting } from \"../../../../shared/utils/helpers/hosmanVars\";\n\nconst EstimationResult = ({ sale }) => {\n const [valuation, setValuation] = useState(sale.last_yanport_valuation)\n const saleIsDead = sale.state === 'dead'\n\n useEffect(() => {\n if (valuation || !sale.last_yanport_valuation_id) return;\n\n const getValuation = async (valuationId) => {\n const response = await VALUATIONS.getValuation(valuationId)\n setValuation(response.data)\n }\n\n getValuation(sale.last_yanport_valuation_id)\n }, [sale]);\n\n return (\n
\n \n
\n
\n {sale.owner ? `${greeting(sale.owner)}, v` : 'V'}oici votre première estimation !\n
\n\n
{sale.property.street_number} {sale.property.street_name}, {sale.property.zip_code} {sale.property.city}
\n
\n\n
\n
\n \n {(!saleIsDead && valuation) && }\n
\n\n {!saleIsDead &&\n
\n \n
\n }\n
\n\n {!saleIsDead &&\n
\n \n \n
\n }\n\n
\n \n\n \n\n \n\n
\n \n \n
\n
\n
\n
\n );\n}\n\nexport default EstimationResult;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport EstimationResult from '../../../../../../shared/EstimationResult';\n\nconst FunnelEstimation = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { user } = useSelector((state) => state.user);\n\n if (!sale.id) return null;\n \n return (\n
\n \n
\n );\n}\n\nexport default FunnelEstimation;\n","import React, { useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\n\nimport ExpertEstimation from './views/ExpertEstimation';\nimport FunnelEstimation from './views/FunnelEstimation';\n\nimport { LoadingLayer } from 'hosman-material';\n\nconst Estimation = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { estimationFolder, requestState } = useSelector((state) => state.sellerEstimationFolders);\n let navigate = useNavigate();\n\n useEffect(() => {\n // Catch browser back button to redirect to OffersIndex\n const handleBackButton = () => {\n navigate('/ev');\n };\n\n window.addEventListener('popstate', handleBackButton);\n }, []);\n\n return (\n
\n \n {estimationFolder.sent_at ?\n \n :\n \n }\n \n
\n );\n}\n\nexport default Estimation;\n","import React, { useEffect, useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { folder } from '../../../../../../../../shared/assets/emojis';\n\nimport { Emoji, DocumentsBox, ProgressCircle, FadeIn, FileInputContainer, FileInput, UploadedFile, SelectInputFile } from 'hosman-material';\n\nimport { getDocuments, getDocumentTypes, fileEdit, addInput, updateInputs, addDocument, deleteDocument, handleDocChanges } from '../../../../../../../reducers/SellerApp/documentsSlice';\n\nconst DocumentsTab = () => {\n const { groupedDocumentTypes, addedInputs, docTypeInfos, mandatoryDocs, uploadedOptionalDocs, allDocs, isLoading, lastDocumentUpload } = useSelector((state) => state.sellerDocuments);\n const { user } = useSelector((state) => state.user);\n const { sale } = useSelector((state) => state.sellerSales);\n const [uploadProgression, setUploadProgression] = useState(0);\n const [propertyKindGroup, setPropertyKindGroup] = useState('');\n const dispatch = useDispatch()\n\n useEffect(() => {\n if (!sale.id) return;\n const kindGroup = handlePropertyKindGroup(sale.property.kind)\n\n setPropertyKindGroup(kindGroup)\n dispatch(getDocuments(sale.id));\n dispatch(getDocumentTypes(kindGroup));\n }, [sale])\n\n useEffect(() => {\n if (Object.keys(groupedDocumentTypes).length === 0) return;\n\n dispatch(handleDocChanges(propertyKindGroup))\n }, [groupedDocumentTypes])\n\n useEffect(() => {\n if (!sale.id || mandatoryDocs.length === 0) return;\n\n const mandatoryDocsLength = mandatoryDocs.length\n const mandatoryDocsNotUploadedLength = mandatoryDocs.filter(doc => doc.documents.length > 0).length\n\n setUploadProgression((mandatoryDocsNotUploadedLength / mandatoryDocsLength) * 100)\n }, [mandatoryDocs])\n\n const handlePropertyKindGroup = (propertyKind) => {\n let group = null\n const apartmentGroup = ['apartment', 'duplex', 'triplex', 'loft']\n const houseGroup = ['house', 'mansion']\n\n if (apartmentGroup.includes(propertyKind)) group = 'apartment'\n if (houseGroup.includes(propertyKind)) group = 'house'\n\n return group || 'other'\n }\n\n const handleOptionChange = ({ id }) => {\n dispatch(addInput(id));\n }\n\n const handleUpload = async (file, dataFile) => {\n dispatch(fileEdit(dataFile))\n \n const form = new FormData();\n form.append('file', file);\n form.append('document_type_id', dataFile.id);\n \n try {\n const resultAction = await dispatch(addDocument({ saleId: sale.id, form: form }));\n \n if (addDocument.fulfilled.match(resultAction)) {\n dispatch(updateInputs(dataFile));\n }\n } catch (error) {\n console.error(\"Erreur lors de l'upload du document :\", error);\n }\n }\n\n const documentCanBeDeleted = (document) => {\n return document.uploader_id === user.id && sale.state === 'awaiting_publication'\n }\n\n return (\n \n
\n
\n
\n \n

Vos documents de vente

\n {propertyKindGroup !== 'other' && }\n
\n
\n\n {Object.entries(groupedDocumentTypes).map(([categorySlug], index) => (\n
\n \n
\n {mandatoryDocs.map((doc, index) => (\n doc.category_slug === categorySlug &&\n 0}\n mandatory={doc[`mandatory_${sale?.property?.kind}`] === true}>\n {doc.documents.length > 0 ?\n doc.documents.map((file, index) => (\n dispatch(deleteDocument(file.id)))}\n />\n ))\n :\n \n }\n \n ))}\n\n {uploadedOptionalDocs.map((doc, index) => (\n doc.category_slug === categorySlug &&\n \n {doc.documents.map((file, index) => (\n dispatch(deleteDocument(file.id)))}\n />\n ))}\n \n ))}\n\n {Object.values(addedInputs[categorySlug]).length > 0 && Object.values(addedInputs[categorySlug]).map((input, index) => (\n \n \n \n ))}\n\n {allDocs.length > 1 &&\n \n }\n
\n
\n
\n ))}\n
\n
\n )\n}\n\nexport default DocumentsTab;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport SaleFolder from '../../../../../../components/Sale/SaleFolder';\nimport { LoadingLayer, Emoji } from 'hosman-material';\nimport { folder } from '../../../../../../../shared/assets/emojis';\n\nconst ArchievesTab = () => {\n const { documents, requestState } = useSelector((state) => state.sellerDocuments);\n\n return (\n
\n \n
\n
\n \n

Mon mandat et avenants

\n
\n
\n\n document.type.category_slug === 'acquisition')} />\n
\n
\n );\n};\n\nexport default ArchievesTab;\n","import client from '../../client';\n\nconst PROPERTIES = {\n getProperty(id) {\n return client.get(`/sellers/${client.customerId()}/properties/${id}`);\n },\n\n updateProperty(id, params) {\n return client.put(`/sellers/${client.customerId()}/properties/${id}`, { property: params });\n },\n}\n\nexport default PROPERTIES;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { toast } from 'react-hot-toast';\n\nimport PROPERTIES from '../../../../../../api/ressources/SellerApp/properties';\n\nimport { FadeIn, Card, TextInput, NumberInput, PhoneNumberInput, TextAreaInput, Button } from 'hosman-material';\n\nconst PropertyInfosTab = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const [propertyState, setPropertyState] = useState({});\n const [condoState, setCondoState] = useState({});\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [formErrors, setFormErrors] = useState({});\n\n useEffect(() => {\n if (!sale.id) return;\n\n PROPERTIES.getProperty(sale.property.id).then((response) => {\n const data = response.data;\n setPropertyState({\n works_property: data.works_property,\n taxe_fonciere: data.taxe_fonciere,\n quarterly_charges: data.quarterly_charges\n })\n setCondoState({\n syndic_name: data.condo?.syndic_name,\n phone_number: data.condo?.phone_number,\n phone_country_code: data.condo?.phone_country_code,\n email: data.condo?.email\n })\n });\n }, [sale]);\n\n const handleSubmit = () => {\n setFormErrors({});\n setIsSubmitting(true)\n\n PROPERTIES.updateProperty(sale.property.id, { ...propertyState, condo_attributes: condoState })\n .then(function () {\n toast.success('Les informations ont bien été enregistrées', { duration: 5000 })\n setIsSubmitting(false)\n })\n .catch(function (error) {\n const errors = error.response.data.error.message;\n setFormErrors({\n phone_number: errors['condo.phone_number']\n });\n setIsSubmitting(false)\n });\n }\n\n const handlePropertyInputChange = (e) => {\n const { name, value } = e.target\n setPropertyState((prev) => {\n return {...propertyState, [name]: value};\n });\n };\n\n const handlePropertyNumberInputChange = (e) => {\n const { name, value } = e.target\n setPropertyState((prev) => {\n return {...propertyState, [name]: parseInt(value.replace(/\\s/g, ''))};\n });\n };\n\n const handleCondoInputChange = (e) => {\n const { name, value } = e.target\n setCondoState((prev) => {\n return {...condoState, [name]: value};\n });\n };\n\n return (\n
\n \n \n
\n
\n \n \n handleCondoInputChange({ target: { name: 'phone_number', value: val }})}\n onChangeCountryCode={(val) => handleCondoInputChange({ target: { name: 'phone_country_code', value: val }})}\n phoneValue={condoState.phone_number}\n countryCodeValue={condoState.phone_country_code}\n errors={formErrors}\n />\n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n )\n}\n\nexport default PropertyInfosTab;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport {\n Route,\n Navigate,\n useNavigate,\n useLocation\n} from 'react-router-dom';\nimport CustomRoutes from '../../../../../../shared/utils/customRoutes';\n\nimport DocumentsTab from './views/DocumentsTab';\nimport ArchievesTab from './views/ArchievesTab';\nimport PropertyInfosTab from './views/PropertyInfosTab';\nimport { Tabs, Tab } from 'hosman-material';\n\nconst SaleFolder = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n let navigate = useNavigate();\n let location = useLocation();\n\n const items = [\n { name: 'Mes documents', path: 'documents' },\n { name: 'Informations sur le bien', path: 'infos-du-bien' }\n ]\n sale.mandateSigned && items.splice(1, 0, { name: 'Mon mandat', path: 'archives' })\n const [selectedItem, setSelectedItem] = useState(items[0])\n\n useEffect(() => {\n const matchedItem = items.find((item) => location.pathname.includes(item.path));\n setSelectedItem(matchedItem || items[0])\n }, []);\n\n const handleSelect = (item) => {\n setSelectedItem(item);\n navigate(item.path);\n }\n\n return (\n
\n
\n \n {items.map((item) => {\n return (\n \n );\n })}\n \n
\n\n \n } />\n } />\n {sale.mandateSigned && } />}\n } />\n \n
\n )\n}\n\nexport default SaleFolder;\n","import React from 'react';\n\nexport const previewContent = {\n planning: {\n title: <>Suivi des visites en temps réel,\n checks: ['Visualisez les visites en temps réel', 'Renseignez vos indisponibilités', 'Soyez informé si une visite est annulée'],\n imageSrc: 'https://res.cloudinary.com/vesta-home/image/upload/v1709565088/assets/Napoleon/Images/AppPreviews/planning.webp'\n },\n visitReports: {\n title: <>Accédez à vos comptes-rendus de visites,\n checks: ['Obtenez un compte rendu de visites en temps réel', \"Soyez informé de l'intérêt des visiteurs pour votre bien\"],\n imageSrc: 'https://res.cloudinary.com/vesta-home/image/upload/v1709565088/assets/Napoleon/Images/AppPreviews/compte-rendus.webp'\n },\n offers: {\n title: <>Visualisez et gérez vos offres d'achat,\n checks: ['Accédez au détail de vos offres reçues', 'Acceptez une offre en quelques clics'],\n imageSrc: 'https://res.cloudinary.com/vesta-home/image/upload/v1709566161/assets/Napoleon/Images/AppPreviews/offres.webp'\n },\n}\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\n\nimport { previewContent } from './previewContent';\nimport { S_CircleCheck } from 'hosman-material';\nimport { FadeIn, Avatar, Button } from 'hosman-material';\n\nconst Preview = ({ page, sale }) => {\n const [imageLoaded, setImageLoaded] = useState(false)\n const content = previewContent[page];\n\n return (\n
\n \n
\n

{content.title}

\n\n
\n {content.checks.map((check) => {\n return (\n
\n \n {check}\n
\n )\n })}\n
\n
\n\n
\n setImageLoaded(true)} />\n
\n {sale.expert &&
}\n\n

Ces fonctionnalités seront disponibles après la signature de votre mandat de vente

\n\n {sale.expert?.phone_calendar_link &&\n ga4Event('click_phone_appointment')}>\n
\n
\n
\n
\n );\n}\n\n// PropTypes\nPreview.propTypes = {\n page: PropTypes.string.isRequired,\n sale: PropTypes.object.isRequired\n}\n\nexport default Preview;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport * as dayjs from 'dayjs';\nconst isToday = require('dayjs/plugin/isToday')\ndayjs.extend(isToday);\n\nexport const Header = ({ referenceDate, header }) => {\n const monthAsString = (monthIndex) => {\n const months = new Array(12);\n months[0] = 'Janvier';\n months[1] = 'Février';\n months[2] = 'Mars';\n months[3] = 'Avril';\n months[4] = 'Mai';\n months[5] = 'Juin';\n months[6] = 'Juillet';\n months[7] = 'Août';\n months[8] = 'Septembre';\n months[9] = 'Octobre';\n months[10] = 'Novembre';\n months[11] = 'Décembre';\n\n return months[monthIndex];\n }\n\n const newReferenceDay = (newDate) => {\n referenceDate.setDate(newDate)\n\n return new Date(referenceDate);\n }\n\n return (\n
\n
\n

\n

{dayjs(referenceDate).isToday() ? \"Aujourd'hui\" : `${referenceDate.getDate()} ${monthAsString(referenceDate.getMonth())} ${referenceDate.getFullYear() }`}

\n

{monthAsString(referenceDate.getMonth())} {referenceDate.getFullYear() }

\n

\n {header}\n
\n
\n )\n}\n\nHeader.propTypes = {\n referenceDate: PropTypes.object,\n header: PropTypes.node\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_CaretRight, S_CaretLeft } from 'hosman-material';\nimport * as dayjs from 'dayjs';\n\nexport const DaysHeader = ({ containerNavRef, referenceDate, setReferenceDate }) => {\n const [dates, setDates] = useState([])\n\n useEffect(() => {\n getWeekDays(referenceDate);\n }, [referenceDate])\n\n const dayAsString = (dayIndex) => {\n const weekDays = new Array(7);\n weekDays[0] = 'Dim';\n weekDays[1] = 'Lun';\n weekDays[2] = 'Mar';\n weekDays[3] = 'Mer';\n weekDays[4] = 'Jeu';\n weekDays[5] = 'Ven';\n weekDays[6] = 'Sam';\n\n return weekDays[dayIndex];\n }\n\n const newReferenceDay = (newDate) => {\n referenceDate.setDate(newDate)\n\n return new Date(referenceDate);\n }\n\n const getWeekDays = (startDate) => {\n const rawDates = [];\n\n for (let i = 0; i <= 6; i++) {\n const currentDate = new Date(startDate);\n currentDate.setDate(startDate.getDate() + i);\n\n rawDates.push({ today: dayjs().isSame(currentDate, 'day'), dayName: dayAsString(currentDate.getDay()), dayNumber: currentDate.getDate() });\n }\n\n setDates(rawDates)\n }\n\n const displayDate = (weekDay) => {\n return (\n
\n
\n

\n {String(weekDay.dayNumber).padStart(2, '0')}\n

\n

\n {weekDay.dayName}\n

\n
\n
\n )\n }\n\n return (\n \n
\n
\n
\n setReferenceDate(newReferenceDay(referenceDate.getDate() - 7))}\n type='button'\n className='bg-ih-purple-20 hover:bg-ih-purple-30 w-full'\n >\n Semaine précédente\n \n \n
\n setReferenceDate(newReferenceDay(referenceDate.getDate() + 7))}\n type='button'\n className='bg-ih-purple-20 hover:bg-ih-purple-30 w-full'\n >\n Semaine suivante\n \n \n
\n
\n\n {dates.map((weekDay) => {\n return (\n
\n {displayDate(weekDay)}\n
\n )\n })}\n
\n \n )\n}\n\nDaysHeader.propTypes = {\n containerNavRef: PropTypes.object,\n referenceDate: PropTypes.object,\n setReferenceDate: PropTypes.func\n};\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const HorizontalLines = ({ containerOffsetRef }) => {\n return (\n \n
\n {Array.from(new Array(15), (x,i) => i).map((hour) => {\n return (\n \n
\n
\n {`${hour+7}:00`}\n
\n
\n
\n )\n })}\n \n )\n}\n\nHorizontalLines.propTypes = {\n containerOffsetRef: PropTypes.object\n};\n","import React from 'react';\n\nexport const VerticalLines = () => {\n return (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n )\n}\n","import React, { Fragment, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport * as dayjs from 'dayjs';\nconst isBetween = require('dayjs/plugin/isBetween');\ndayjs.extend(isBetween);\n\nexport const EventsGrid = ({ referenceDate, children }) => {\n const [nowLine, setNowLine] = useState()\n\n useEffect(() => {\n calculateNowLinePosition()\n const interval = setInterval(() => {\n calculateNowLinePosition()\n }, 1000);\n\n return () => clearInterval(interval);\n }, [])\n\n const calculateNowLinePosition = () => {\n const span = (new Date().getHours()-7) * 4 + 1 + Math.floor(new Date().getMinutes() / 15)\n\n setNowLine(span);\n }\n\n const setGreenBg = (i) => {\n const ref = new Date(referenceDate)\n ref.setDate(ref.getDate() + i)\n if (dayjs(new Date()).isBetween(ref.setUTCHours(7,0,0,0), ref.setUTCHours(21,0,0,0))) {\n const span = (new Date().getHours()-7) * 4 + 2 + Math.floor(new Date().getMinutes() / 15)\n return { col: `col-start-${i+1}`, grid: `${span} / span ${57 - span}` };\n } else if (ref.getTime() < new Date().getTime()) {\n return { col: 'hidden', grid: '0 / span 0' };\n } else {\n return { col: `col-start-${i+1}`, grid: '2 / span 55' }\n }\n }\n\n const setColStart = (date) => {\n const dateBeginningOfDay = new Date(date).setUTCHours(0,0,0,0)\n const referenceDateBeginningOfDay = new Date(referenceDate).setUTCHours(0,0,0,0)\n const diffDays = Math.floor((dateBeginningOfDay - referenceDateBeginningOfDay) / 86400000);\n\n switch (diffDays) {\n case 0: return 'col-start-1';\n case 1: return 'col-start-2';\n case 2: return 'col-start-3';\n case 3: return 'col-start-4';\n case 4: return 'col-start-5';\n case 5: return 'col-start-6';\n case 6: return 'col-start-7';\n default: return 'hidden'\n }\n }\n\n return (\n \n\n {/* Green backround */}\n {Array.from(new Array(7), (x,i) => i).map((i) => {\n return (\n \n
  • \n
    \n )\n })}\n\n {/* Now blue line */}\n
  • \n
    \n
  • \n\n {/* Events as children */}\n {children}\n \n )\n}\n\nEventsGrid.propTypes = {\n referenceDate: PropTypes.object,\n children: PropTypes.node\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { displayTime } from '../../../../../../../shared/utils/formattedDates';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_Xmark, S_PenToSquare } from 'hosman-material';\nconst classNames = require('classnames');\n\nexport const Event = ({ event, handleEventUpdate, handleEventDelete }) => {\n const eventDone = new Date(event.start).getTime() < new Date().getTime();\n\n let cardClasses = classNames(\n 'md:absolute md:inset-1 flex flex-col overflow-y-auto rounded-xl md:rounded-lg px-2 py-2 md:py-0 text-xs leading-6 border',\n { 'bg-ih-blue hover:bg-ih-blue-80': eventDone && event.typeSlug == 'visit' && !event.canceled },\n { 'bg-white hover:bg-ih-blue-5 border-ih-blue': !eventDone && event.typeSlug == 'visit' && !event.canceled },\n { 'bg-ih-red-5 border-ih-red-60': event.typeSlug == 'indispo' || event.canceled }\n );\n\n let textClasses = classNames(\n 'md:text-[10px] font-semibold',\n { 'text-white': eventDone && event.typeSlug == 'visit' && !event.canceled },\n { 'text-ih-blue': !eventDone && event.typeSlug == 'visit' && !event.canceled },\n { 'text-ih-red': event.typeSlug == 'indispo' || event.canceled },\n { 'line-through': event.canceled }\n );\n\n let timeClasses = classNames(\n 'text-[10px] flex gap-1 items-center',\n { 'text-ih-purple-30': eventDone && event.typeSlug == 'visit' && !event.canceled },\n { 'text-ih-indigo': !eventDone || event.typeSlug !== 'visit' || event.canceled }\n );\n\n const handleDelete = (e) => {\n e.stopPropagation();\n handleEventDelete(event);\n }\n\n return (\n
    \n
    \n
    \n

    {event.name}

    \n {event.typeSlug == 'indispo' && handleDelete(e)} />}\n
    \n

    \n \n {event.typeSlug == 'indispo' && }\n

    \n
    \n
    \n )\n}\n\nEvent.propTypes = {\n event: PropTypes.object.isRequired\n};\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Event } from '../../../Event';\n\nexport const Events = ({ events, referenceDate, handleEventOpen, handleEventUpdate, handleEventDelete }) => {\n const setGridRow = (start, end) => {\n const diffMinutes = ((end - start) / 60000);\n const span = Math.round(diffMinutes / 15)\n return `${Math.round(((start.getHours()-7) * 4 + 2) + (start.getMinutes() * 0.02))} / span ${span > 3 ? span : 3}`\n }\n const setColStart = (date) => {\n const dateBeginningOfDay = new Date(date).setUTCHours(0,0,0,0)\n const referenceDateBeginningOfDay = new Date(referenceDate).setUTCHours(0,0,0,0)\n const diffDays = Math.floor((dateBeginningOfDay - referenceDateBeginningOfDay) / 86400000);\n\n switch (diffDays) {\n case 0: return 'col-start-1';\n case 1: return 'col-start-2';\n case 2: return 'col-start-3';\n case 3: return 'col-start-4';\n case 4: return 'col-start-5';\n case 5: return 'col-start-6';\n case 6: return 'col-start-7';\n default: return 'hidden'\n }\n }\n\n const setZindex = (event) => {\n switch (event.typeSlug) {\n case 'visit':\n return 'z-30';\n default:\n return 'z-20'\n }\n }\n\n const handleClick = (event) => {\n if (!event.clickable) return;\n\n if (event.typeSlug === 'visit') {\n handleEventOpen(event);\n } else if (event.typeSlug === 'indispo') {\n handleEventUpdate(event)\n }\n }\n\n return (\n <>\n {events.map((event) => {\n return (\n
  • handleClick(event)} className={`${setColStart(event.start)} relative flex ${setZindex(event)} ${event.clickable ? 'cursor-pointer' : ''}`} style={{ gridRow: setGridRow(event.start, event.end) }}>\n \n
  • \n )\n })}\n \n )\n}\n\nEvents.propTypes = {\n events: PropTypes.array,\n referenceDate: PropTypes.object,\n handleEventOpen: PropTypes.func,\n handleEventUpdate: PropTypes.func,\n handleEventDelete: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const NewEvent = ({ referenceDate, newEventModal, setModalOpen, setNewEventData }) => {\n const [newEvent, setNewEvent] = useState({ displayed: false })\n\n useEffect(() => {\n if (!newEventModal) setNewEvent({ displayed: false });\n }, [newEventModal])\n\n const handleMouseDown = (e) => {\n const dayRef = e.target.closest('.dayRef');\n const day = parseInt(dayRef.dataset.day);\n const timeStart = parseInt(e.target.dataset.time);\n\n // Not allow adding events in the past\n const dateTime = new Date(referenceDate)\n dateTime.setDate(dateTime.getDate() + day)\n if (dateTime.getTime() < new Date().getTime()) return;\n\n setNewEvent({ displayed: true, day: day, time: timeStart, span: 4 })\n dayRef.addEventListener('mousemove', updateSpan);\n\n function updateSpan(event) {\n if (!event) return;\n\n const timeEnd = parseInt(event.target.closest('.timeRef').dataset.time);\n const dur = (timeEnd - timeStart + 2);\n const span = dur > 4 ? dur : 4;\n setNewEvent(prev => ({\n ...prev,\n span: span\n }));\n }\n }\n\n const handleMouseUp = () => {\n if (!newEvent.displayed) return;\n\n setModalOpen(true);\n setNewEventData(setSelectedEvent());\n }\n\n function setSelectedEvent() {\n const selectedDate = new Date(referenceDate);\n selectedDate.setDate(selectedDate.getDate() + (newEvent.day === 0 ? 6 : newEvent.day - 1))\n const startHourRaw = 7 + newEvent.time / 4\n const duration = (newEvent.span-1) * 15\n const endHourRaw = startHourRaw + duration / 60\n\n const startDateTime = new Date(selectedDate)\n const endDateTime = new Date(selectedDate)\n startDateTime.setHours(parseInt(startHourRaw), (startHourRaw-parseInt(startHourRaw))*60, 0, 0)\n endDateTime.setHours(parseInt(endHourRaw), (endHourRaw-parseInt(endHourRaw))*60, 0, 0)\n\n return { start: startDateTime, end: endDateTime }\n }\n\n return (\n <>\n handleMouseUp()}\n >\n {Array.from(new Array(7), (x,i) => i).map((i) => {\n return (\n
  • \n \n {Array.from(new Array(56), (x,i) => i).map((i) => {\n return (\n
  • handleMouseDown(e)}\n data-time={i}\n >\n
  • \n )\n })}\n \n \n )\n })}\n\n {newEvent.displayed &&\n
  • \n
    \n

    {setSelectedEvent().start.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}

    \n

    -

    \n

    {setSelectedEvent().end.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}

    \n
    \n
  • \n }\n \n\n {newEventModal}\n \n )\n}\n\n// PropTypes\nNewEvent.propTypes = {\n referenceDate: PropTypes.object.isRequired,\n newEventModal: PropTypes.node,\n setModalOpen: PropTypes.func.isRequired,\n setNewEventData: PropTypes.func.isRequired\n};\n","import React, { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport requiredIf from '../../../../../../../../../shared/utils/propTypesCondition';\n\nimport { Header } from './components/Header';\nimport { DaysHeader } from './components/DaysHeader';\nimport { HorizontalLines } from './components/HorizontalLines';\nimport { VerticalLines } from './components/VerticalLines';\nimport { EventsGrid } from './components/EventsGrid';\nimport { Events } from './components/Events';\nimport { NewEvent } from './components/NewEvent';\n\n\nexport const Calendar = ({\n height = 'h-full',\n header,\n setParentReferenceDate,\n events = [],\n handleEventOpen,\n handleEventUpdate,\n handleEventDelete,\n editable = false,\n newEventModal,\n setNewEventModalOpen,\n setNewEventData\n}) => {\n const lastMonday = new Date();\n lastMonday.setDate(lastMonday.getDate() - new Date().getDay() + 1)\n\n const [referenceDate, setReferenceDate] = useState(lastMonday)\n const containerRef = useRef(null)\n const containerNavRef = useRef(null)\n const containerOffsetRef = useRef(null)\n\n useEffect(() => {\n setParentReferenceDate(referenceDate);\n }, [referenceDate])\n\n useEffect(() => {\n if (!containerNavRef.current) return;\n\n // Set the container scroll position based on the current time.\n const currentMinute = (new Date().getHours() -7) * 60\n containerRef.current.scrollTop =\n ((containerRef.current.scrollHeight - containerNavRef.current.offsetHeight - containerOffsetRef.current.offsetHeight) *\n currentMinute) /\n 1440 - 100\n }, [])\n\n return (\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n\n \n\n \n \n \n\n {editable &&\n \n }\n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nCalendar.propTypes = {\n height: PropTypes.string,\n header: PropTypes.node,\n setParentReferenceDate: PropTypes.func,\n events: PropTypes.array,\n handleEventOpen: PropTypes.func,\n handleEventUpdate: PropTypes.func,\n handleEventDelete: PropTypes.func,\n editable: PropTypes.bool,\n newEventModal: PropTypes.node,\n setNewEventModalOpen: requiredIf(PropTypes.func, (props) => props.editable),\n setNewEventData: requiredIf(PropTypes.func, (props) => props.editable)\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { longDate } from '../../../../../../../../shared/utils/formattedDates';\n\nimport { Event } from '../Event';\n\nexport const MobileEventsFeed = ({ events, handleEventOpen, handleEventUpdate, handleEventDelete }) => {\n const [groupedEvents, setSortedEvents] = useState([]);\n\n useEffect(() => {\n let result = {};\n events.map((event) => {\n let day = `${longDate({ date: event.start, capitalized: true })} ${new Date(event.start).getFullYear()}`;\n result[day] = result[day] ?? [];\n result[day].push(event);\n });\n setSortedEvents(result)\n }, [events]);\n\n useEffect(() => {\n if (document.getElementById('event-separator')) return;\n\n const previousEvents = events.filter((event) => new Date().getTime() > new Date(event.start).getTime());\n if (previousEvents.length < 1) return;\n\n const lastPreviousEvent = previousEvents[previousEvents.length -1]\n const element = document.getElementById(lastPreviousEvent.id)\n if (element) {\n addSeparator(element)\n }\n }, [groupedEvents])\n\n const handleClick = (event) => {\n if (event.clickable) handleEventOpen(event);\n }\n\n return (\n
    \n {Object.entries(groupedEvents).map(([day, events]) => {\n return (\n
    \n

    {day}

    \n
    \n {events.map((event) => {\n return (\n
    handleClick(event)}>\n \n
    \n )\n })}\n
    \n
    \n )\n })}\n
    \n );\n};\n\nfunction addSeparator(element) {\n let separator = document.createElement('div');\n let buble = document.createElement('div');\n\n separator.classList.add('relative')\n separator.classList.add('mt-4')\n separator.classList.add('border-t')\n separator.classList.add('border-ih-blue')\n separator.setAttribute('id','event-separator')\n buble.classList.add('-left-1')\n buble.classList.add('-top-1')\n buble.classList.add('absolute')\n buble.classList.add('w-2')\n buble.classList.add('h-2')\n buble.classList.add('rounded-full')\n buble.classList.add('bg-ih-blue')\n\n element.parentElement.parentElement.insertBefore(separator, element.parentElement.nextSibling);\n separator.insertAdjacentElement('afterbegin', buble)\n}\n\n// PropTypes\nMobileEventsFeed.propTypes = {\n events: PropTypes.array,\n handleEventOpen: PropTypes.func,\n handleEventUpdate: PropTypes.func,\n handleEventDelete: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { D_CalendarStar } from 'hosman-material';\nimport { longDate, isoDateTime, displayTime } from '../../../../../../../../shared/utils/formattedDates';\nimport * as dayjs from 'dayjs';\nconst isBetween = require('dayjs/plugin/isBetween');\ndayjs.extend(isBetween);\n\nimport { Modal, Switch, Button, InfoIcon } from 'hosman-material';\n\nexport const NewEventModal = ({ handleNewOrUpdateEvent, newEventData, setNewEventModalOpen, existingEvents }) => {\n const [visitInBetween, setvisitInBetween] = useState(false);\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [startTime, setStartTime] = useState(displayTime(newEventData.start));\n const [endTime, setEndTime] = useState(displayTime(newEventData.end));\n const [allDay, setallDay] = useState(false)\n const [isRecurring, setIsRecurring] = useState(false)\n const [slot, setSlot] = useState({ id: newEventData.id, start: isoDateTime(newEventData.start), end: isoDateTime(newEventData.end), isWeeklyRecurring: false })\n const [slots, setSlots] = useState([])\n\n useEffect(() => {\n const start = new Date(newEventData.start)\n const end = new Date(newEventData.start)\n start.setHours(startTime.split(':')[0])\n start.setMinutes(startTime.split(':')[1])\n end.setHours(endTime.split(':')[0])\n end.setMinutes(endTime.split(':')[1])\n setSlot({ id: newEventData.id, start: isoDateTime(start), end: isoDateTime(end), isWeeklyRecurring: false })\n }, [startTime, endTime]);\n\n useEffect(() => {\n let newSlots = [slot]\n\n if (isRecurring) {\n for (let i = 1; i < 4; i++) {\n const nextSlot = { ...slot }\n let nextSlotStart = new Date(slot.start)\n let nextSlotEnd = new Date(slot.end)\n\n nextSlotStart.setDate(nextSlotStart.getDate() + i*7);\n nextSlotEnd.setDate(nextSlotEnd.getDate() + i*7);\n\n nextSlot.start = isoDateTime(nextSlotStart)\n nextSlot.end = isoDateTime(nextSlotEnd)\n newSlots.push(nextSlot)\n }\n }\n\n checkVisitsInBetweenSlots(newSlots)\n\n setSlots(newSlots)\n }, [slot, isRecurring]);\n\n const checkVisitsInBetweenSlots = (newSlots) => {\n setvisitInBetween(false);\n newSlots.map((newSlot) => {\n if (existingEvents.filter((event) => !event.canceled && event.typeSlug === 'visit' && dayjs(event.start).isBetween(newSlot.start, newSlot.end)).length > 0) {\n setvisitInBetween(true);\n }\n })\n }\n\n const handleSubmit = () => {\n setIsSubmitting(true)\n let newSlots = [...slots]\n if (allDay) newSlots = formatAllDay(slots)\n\n handleNewOrUpdateEvent(newSlots)\n }\n\n const formatAllDay = (paramSlots) => {\n const formattedSlots = []\n\n paramSlots.map(paramSlot => {\n const start = new Date(paramSlot.start)\n const end = new Date(paramSlot.start)\n start.setHours(7)\n start.setMinutes(0)\n end.setHours(21)\n end.setMinutes(0)\n\n formattedSlots.push({ id: paramSlot.id, start: isoDateTime(start), end: isoDateTime(end), isWeeklyRecurring: false })\n })\n\n return formattedSlots;\n }\n\n return (\n setNewEventModalOpen(false)}>\n
    \n

    \n Quel créneau souhaitez-vous rendre\n indisponible à la visite ?\n

    \n
    \n \n

    {longDate({ date: newEventData.start, capitalized: true })}

    \n
    \n\n setallDay(prev => !prev)}\n label={

    Toute la journée

    }\n />\n\n {!allDay &&\n
    \n setStartTime(e.target.value)}\n step='900'\n min='07:00'\n max='21:00'\n className='text-ih-indigo border-ih-blue-30 rounded-2xl'\n />\n

    -

    \n setEndTime(e.target.value)}\n step='900'\n min='07:00'\n max='21:00'\n className='text-ih-indigo border-ih-blue-30 rounded-2xl'\n />\n
    \n }\n\n {!slot.id &&\n
    \n setIsRecurring(!isRecurring)}\n />\n \n
    \n }\n\n {visitInBetween &&\n
    \n \n

    \n {`${isRecurring ? 'Attention, une visite déjà planifiée sur au moins un des créneaux ajoutés' : 'Attention une visite est déjà planifiée sur ce créneau'}. Veuillez prévenir votre expert si vous devez l'annuler.`}\n

    \n
    \n }\n\n
    \n
    \n
    \n
    \n );\n};\n\n// PropTypes\nNewEventModal.propTypes = {\n handleNewOrUpdateEvent: PropTypes.func,\n newEventData: PropTypes.object,\n setNewEventModalOpen: PropTypes.func,\n existingEvents: PropTypes.array\n};\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { useParams, Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_CalendarDays, S_Message, S_FileCircleCheck } from 'hosman-material';\n\nimport { eventDate } from '../../../../../../../../shared/utils/formattedDates';\n\nimport { Modal, Label, Separator } from 'hosman-material';\n\nexport const VisitModal = ({ visitId, closeModal }) => {\n const { visits } = useSelector((state) => state.sellerVisits);\n const visit = visits.filter((visit) => visit.id === visitId)[0]\n let { saleId } = useParams();\n\n if (visit === undefined) return null;\n\n return (\n \n
    \n

    {visit.user.first_name} {visit.user.last_name?.[0]}.

    \n\n
    \n \n

    {eventDate(visit.start_time, visit.end_time)}

    \n
    \n\n {visit.canceled &&\n
    \n
    \n

    {visit.state === 'rescheduled' ? 'Visite replanifiée' : visit.cancel_reason_text}

    \n
    \n }\n\n {!visit.canceled &&\n
    \n \n\n
    \n \n {visit.visit_report &&\n
    \n

    {visit.visit_report.context}

    \n \n

    Lire la suite...

    \n \n
    \n }\n {!visit.visit_report &&\n

    Le compte rendu de visite sera disponible après la visite.

    \n }\n
    \n
    \n }\n
    \n
    \n );\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { D_CalendarStar } from 'hosman-material';\n\nimport { FadeIn, Modal, Box, Button } from 'hosman-material';\n\nexport const DemoModal = ({ isOpen, closeModal }) => {\n return (\n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n

    Votre bien n'est pas disponible à la visite ?

    \n

    Ajoutez un créneau d'indisponibilité en un clic grâce à un cliquer-glisser.

    \n
    \n\n
    \n \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n );\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_CircleCheck, D_CalendarStar } from 'hosman-material';\nimport { partyingFace } from '../../../../../../../../shared/assets/emojis';\nimport { longDate, displayTime } from '../../../../../../../../shared/utils/formattedDates';\nimport * as dayjs from 'dayjs';\n\nimport { Modal, Button, Emoji } from 'hosman-material';\n\nexport const RemoveEventModal = ({ event, setRemoveEventSlot, handleRemoveEvent }) => {\n const [isSubmitting, setIsSubmitting] = useState(false);\n\n const handleSubmit = () => {\n setIsSubmitting(true)\n handleRemoveEvent(event);\n }\n\n const slotDuration = () => {\n return dayjs(event.end).diff(dayjs(event.start), 'hour')\n }\n\n return (\n setRemoveEventSlot(false)}>\n
    \n

    \n Êtes-vous sûr de vouloir\n ouvrir ce créneau de visites ?\n

    \n
    \n
    \n \n

    {longDate({ date: event.start, capitalized: true })} de {displayTime(event.start)} à {displayTime(event.end)}

    \n
    \n
    \n \n

    Cela rajoute {slotDuration()} heures de visites !

    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n );\n};\n\n// PropTypes\nRemoveEventModal.propTypes = {\n event: PropTypes.object,\n setRemoveEventSlot: PropTypes.func,\n handleRemoveEvent: PropTypes.func\n};\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport * as dayjs from 'dayjs';\nconst isBetween = require('dayjs/plugin/isBetween');\ndayjs.extend(isBetween);\n\nexport const SufficientAbailabilityState = ({ referenceDate, unavailabilities }) => {\n const [availableHours, setAvailableHours] = useState();\n const [sufficientAbailabilities, setSufficiantAvailabilities] = useState();\n\n useEffect(() => {\n setAvailableHours(98)\n\n const monday = new Date(referenceDate);\n const sunday = new Date(referenceDate);\n monday.setHours(0, 0, 0);\n sunday.setDate(sunday.getDate() + 7);\n sunday.setHours(23, 59, 59);\n\n const weekUnavalabilities = unavailabilities.filter((slot) => dayjs(slot.start).isBetween(monday, sunday, 'day', '[)'))\n if (weekUnavalabilities.length < 1) return;\n let unavailableHours = 0\n weekUnavalabilities.map((slot) => unavailableHours += dayjs(slot.end).diff(dayjs(slot.start), 'hour'))\n setAvailableHours((state) => state - unavailableHours)\n }, [referenceDate, unavailabilities]);\n\n useEffect(() => {\n setSufficiantAvailabilities(availableHours >= 50)\n }, [availableHours]);\n\n return (\n
    \n
    \n

    {availableHours}h

    \n
    \n\n

    {sufficientAbailabilities ? 'Créneaux suffisants' : 'Créneaux insuffisants'} cette semaine

    \n
    \n );\n};\n\n// PropTypes\nSufficientAbailabilityState.propTypes = {\n referenceDate: PropTypes.object,\n unavailabilities: PropTypes.array\n};\n","import React from 'react';\nimport { InfoIcon } from 'hosman-material'\nimport PropTypes from 'prop-types';\n\nexport const ButtonInfo = ({ handleClick }) => {\n return(\n \n\n \n\n
    Comment ajouter une indisponibilité ?
    \n \n )\n};\n\nButtonInfo.propTypes = {\n handleClick: PropTypes.func,\n disabled: PropTypes.bool\n}\n","import client from '../../client';\n\nconst UNAVAILABILITIES = {\n getUnavailabilities(propertyId) {\n return client.get(`/properties/${propertyId}/unavailabilities`);\n },\n\n updateUnavailabilities(propertyId, slots) {\n const formattedSlots = slots.map(({id, ...keepAttrs}) => keepAttrs)\n return client.put(`/properties/${propertyId}/unavailabilities`, { unavailabilities: formattedSlots });\n }\n}\n\nexport default UNAVAILABILITIES;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport { v4 as uuidv4 } from 'uuid';\nimport React from 'react';\nimport { D_CalendarStar } from 'hosman-material';\nimport { toast } from 'react-hot-toast';\n\nimport UNAVAILABILITIES from '../../api/ressources/SellerApp/unavailabilities';\n\nimport { eventDate } from '../../../shared/utils/formattedDates';\n\nexport const getUnavailabilities = createAsyncThunk(\n '/unavailabilities',\n async (propertyId) => {\n const response = await UNAVAILABILITIES.getUnavailabilities(propertyId)\n return response.data\n }\n);\n\nexport const updateUnavailabilities = createAsyncThunk(\n '/update_unavailabilities',\n async ({ id, slot, slots, type }) => {\n const response = await UNAVAILABILITIES.updateUnavailabilities(id, slots)\n return { slot: slot, unavailabilities: slots, type: type }\n }\n);\n\nconst initialState = {\n unavailabilities: [],\n unavailabilitiesRequestState: '',\n};\n\nexport const unavailabilitiesSlice = createSlice({\n name: 'unavailabilities',\n initialState,\n extraReducers: (builder) => {\n builder.addCase(getUnavailabilities.pending, (state) => {\n state.unavailabilities = initialState.unavailabilities;\n state.unavailabilitiesRequestState = 'pending'\n })\n builder.addCase(getUnavailabilities.fulfilled, (state, { payload }) => {\n state.unavailabilities = formatEvents(payload);\n state.unavailabilitiesRequestState = 'done'\n })\n builder.addCase(updateUnavailabilities.fulfilled, (state, { payload }) => {\n state.unavailabilities = payload.unavailabilities\n if (payload.type === 'edit') {\n toast.error(\n
    \n

    Créneau d'indisponibilité ajouté

    \n

    {eventDate(payload.slot.start, payload.slot.end)}

    \n
    \n , { icon: D_CalendarStar, duration: 5000 })\n }\n if (payload.type === 'delete') {\n toast.success(\n
    \n

    Créneau à nouveau disponible

    \n

    {eventDate(payload.slot.start, payload.slot.end)}

    \n
    \n , { icon: D_CalendarStar, duration: 5000 })\n }\n })\n },\n})\n\nconst formatEvents = (payload) => {\n return payload.map((slot) => {\n return { id: uuidv4(), start: slot.start, end: slot.end, isWeeklyRecurring: slot.isWeeklyRecurring || false }\n });\n};\n\nexport default unavailabilitiesSlice.reducer;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { v4 as uuidv4 } from 'uuid';\nimport { LoadingLayer, FadeIn, BulletPoint } from 'hosman-material';\n\nimport Preview from '../../components/Preview';\nimport { Calendar } from './components/desktop/Calendar';\nimport { MobileEventsFeed } from './components/mobile/MobileEventsFeed';\nimport { NewEventModal } from './components/modals/NewEventModal';\nimport { VisitModal } from './components/modals/VisitModal';\nimport { DemoModal } from './components/modals/DemoModal';\nimport { RemoveEventModal } from './components/modals/RemoveEventModal';\nimport { SufficientAbailabilityState } from './components/SufficientAbailabilityState';\nimport { ButtonInfo } from './components/desktop/ButtonInfo';\n\nimport { getUnavailabilities, updateUnavailabilities } from '../../../../../reducers/SellerApp/unavailabilitiesSlice'\n\nimport { ga4Event } from '../../../../../../shared/utils/ga4Event';\n\nconst Planning = () => {\n const [referenceDate, setReferenceDate] = useState()\n const { visits, requestState } = useSelector((state) => state.sellerVisits);\n const { unavailabilities, unavailabilitiesRequestState } = useSelector((state) => state.sellerUnavailabilities);\n const { sale } = useSelector((state) => state.sellerSales);\n const { user } = useSelector((state) => state.user);\n const [events, setEvents] = useState([]);\n const [modalVisitId, setModalVisitId] = useState();\n const [newEventModalOpen, setNewEventModalOpen] = useState(false)\n const [newEventData, setNewEventData] = useState({})\n const [removeEventSlot, setRemoveEventSlot] = useState(null)\n const [demoModal, setDemoModal] = useState(false)\n const propertyId = sale.property.id\n const dispatch = useDispatch();\n\n if (!sale.mandateSigned || sale.state === 'awaiting_term_signature') return \n\n useEffect(() => {\n const visitEvents = visits.map((visit) => {\n return {\n id: visit.id,\n typeSlug: 'visit',\n canceled: visit.canceled,\n name: `${visit.user.first_name} ${visit.user.last_name?.[0]}.`,\n start: new Date(visit.start_time),\n end: new Date(visit.end_time),\n clickable: true\n }\n })\n\n const unavailabilityEvents = unavailabilities.map((unavailability) => {\n return {\n id: unavailability.id,\n typeSlug: 'indispo',\n name: 'Indisponible',\n start: new Date(unavailability.start),\n end: new Date(unavailability.end),\n clickable: true\n }\n })\n\n setEvents(visitEvents.concat(unavailabilityEvents))\n }, [visits, unavailabilities]);\n\n useEffect(() => {\n if (!sale.availiableForVisits) return;\n\n dispatch(getUnavailabilities(propertyId))\n }, [sale]);\n\n useEffect(() => {\n setNewEventModalOpen(false)\n setRemoveEventSlot(false)\n }, [unavailabilities]);\n\n const eventModal = () => {\n if (newEventModalOpen) {\n return (\n \n )\n }\n }\n\n const handleNewOrUpdateEvent = (slots) => {\n let newUnavailabilities = [...unavailabilities];\n\n if (slots[0].id) {\n const index = newUnavailabilities.findIndex(\n (el) => el.id === slots[0].id\n );\n newUnavailabilities[index] = slots[0];\n } else {\n slots.map(slot => {\n slot.id = uuidv4()\n newUnavailabilities.push(slot)\n })\n }\n\n dispatch(updateUnavailabilities({\n id: propertyId,\n slot: slots[0],\n slots: newUnavailabilities,\n type: 'edit'\n }));\n ga4Event('add_unavailability', { start_time: slots[0].start, end_time: slots[0].end, user_id: user.id, unique_hash: sale.unique_hash, recurring: slots[0].isWeeklyRecurring })\n }\n\n const handleRemoveEvent = (slot) => {\n const newUnavailabilities = [...unavailabilities];\n const index = newUnavailabilities.findIndex(\n (el) => el.id === slot.id\n );\n newUnavailabilities.splice(index, 1);\n dispatch(updateUnavailabilities({\n id: propertyId,\n slot: slot,\n slots: newUnavailabilities,\n type: 'delete'\n }));\n ga4Event('remove_unavailability', { start_time: new Date(slot.start).toISOString(), end_time: new Date(slot.end).toISOString(), user_id: user.id, unique_hash: sale.unique_hash })\n }\n\n const openUpdateModal = (slot) => {\n setNewEventData({ id: slot.id, start: slot.start, end: slot.end })\n setNewEventModalOpen(true)\n }\n\n return (\n
    \n \n \n {/* Desktop */}\n
    \n \n
    \n
    \n

    Créneaux indisponibles

    \n
    \n
    \n

    Créneaux disponibles

    \n
    \n
    \n\n\n \n\n {sale.availiableForVisits && setDemoModal(true)} />}\n
    \n }\n setParentReferenceDate={setReferenceDate}\n handleEventOpen={(e) => setModalVisitId(e.id)}\n handleEventUpdate={(e) => openUpdateModal(e)}\n handleEventDelete={(e) => setRemoveEventSlot(e)}\n setNewEventModalOpen={setNewEventModalOpen}\n newEventModal={eventModal()}\n setNewEventData={setNewEventData}\n editable={unavailabilitiesRequestState == 'done'}\n />\n
    \n\n {/* Mobile */}\n setModalVisitId(e.id)}\n handleEventUpdate={(e) => openUpdateModal(e)}\n handleEventDelete={(e) => setRemoveEventSlot(e)}\n />\n\n {modalVisitId && setModalVisitId()} />}\n\n {removeEventSlot &&\n setRemoveEventSlot(null)}\n handleRemoveEvent={(e) => handleRemoveEvent(e)}\n />\n }\n\n { setDemoModal(false)} />}\n \n \n
    \n );\n}\n\nexport default Planning;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { BulletPoint } from 'hosman-material';\n\nexport const InterestLabel = ({ interest }) => {\n const setPayload = () => {\n switch (interest) {\n case 'uninterested':\n return { color: 'bg-ih-red', label: 'Pas intéressé' };\n case 'maybe_interested':\n return { color: 'bg-ih-orange', label: 'Peut-être intéressé' };\n case 'interested':\n return { color: 'bg-ih-green', label: 'Intéressé' };\n case 'very_interested':\n return { color: 'bg-ih-green', label: 'Très intéressé' };\n case 'offer_submitted':\n return { color: 'bg-ih-green', label: 'Offre remise' };\n case 'not_anymore_found_other':\n case 'not_anymore_not_convinced':\n case 'not_anymore_purchase_delayed':\n case 'not_anymore_never_answered':\n case 'not_anymore_other':\n return { color: 'bg-ih-red', label: 'Plus intéressé' };\n default:\n return { color: 'bg-ih-red', label: 'Pas intéressé' };\n }\n }\n\n const payload = setPayload();\n\n return (\n
    \n \n

    {payload.label}

    \n
    \n );\n};\n\n// PropTypes\nInterestLabel.propTypes = {\n interest: PropTypes.string.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { BulletPoint } from 'hosman-material';\n\nexport const ProsAndConsCard = ({ visit }) => {\n if (visit.visit_report.positive_points?.length < 1 && visit.visit_report.negative_points?.length < 1) {\n return null;\n }\n\n return (\n
    \n {(visit.visit_report.positive_points?.length > 0) &&\n
    \n
    \n \n

    {`Ce qu'${visit.user.civility === 'mrs' ? 'elle' : 'il'} a apprécié`}

    \n
    \n

    {visit.visit_report.positive_points}

    \n
    \n }\n {(visit.visit_report.negative_points?.length > 0) &&\n
    \n
    \n \n

    {`Ce qu'${visit.user.civility === 'mrs' ? 'elle' : 'il'} n'a pas apprécié`}

    \n
    \n

    {visit.visit_report.negative_points}

    \n
    \n }\n
    \n )\n}\n\n// ProsAndConsCard\nProsAndConsCard.propTypes = {\n visit: PropTypes.object.isRequired\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { longDateTime } from '../../../../../../../shared/utils/formattedDates';\nimport { InterestLabel } from './InterestLabel';\nimport { ProsAndConsCard } from \"./ProsAndConsCard\";\n\nexport const VisitReportCard = ({ visit }) => {\n return (\n
    \n
    \n
    \n

    {visit.user.first_name} {visit.user.last_name}

    \n

    {longDateTime({date: visit.start_time, capitalized: true})}

    \n
    \n \n
    \n\n
    \n

    Contexte d'achat

    \n

    {visit.visit_report.context}

    \n\n {visit.visit_report.next_steps &&\n <>\n

    Prochaines étapes

    \n

    {visit.visit_report.next_steps}

    \n \n }\n\n {visit.visit_report.questions_seller &&\n <>\n

    Questions au vendeur

    \n

    {visit.visit_report.questions_seller}

    \n \n }\n
    \n { }\n
    \n );\n};\n\n// PropTypes\nVisitReportCard.propTypes = {\n visit: PropTypes.object.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_CalendarDays, D_FileLines } from 'hosman-material';\n\nimport { Card, Button } from 'hosman-material';\n\nexport const NoVisitReportCard = ({ saleId }) => {\n return (\n
    \n \n
    \n \n

    Pas de compte rendu

    \n

    Il n'y a pas encore de compte rendu de visites disponible.

    \n \n
    \n
    \n
    \n );\n};\n\n// PropTypes\nNoVisitReportCard.propTypes = {\n saleId: PropTypes.string.isRequired\n};\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { useParams, Link } from 'react-router-dom';\nimport { S_CalendarDays } from 'hosman-material';\n\nimport Preview from '../../components/Preview';\nimport { VisitReportCard } from './components/VisitReportCard';\nimport { NoVisitReportCard } from './components/NoVisitReportCard';\nimport { Label, Button, LoadingLayer, FadeIn } from 'hosman-material';\n\nconst VisitReports = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { visitsWithReport, requestState } = useSelector((state) => state.sellerVisits);\n let { saleId } = useParams();\n\n if (!sale.mandateSigned || sale.state === 'awaiting_term_signature') return \n\n return (\n
    \n
    \n
    \n

    Comptes-rendus de visites

    \n {visitsWithReport.length > 0 &&\n \n }\n
    \n {visitsWithReport.length > 0 &&\n
    \n \n
    \n }\n
    \n\n \n \n {visitsWithReport.length < 1 && }\n\n
    \n {visitsWithReport.map((visit) => {\n return (\n
    \n \n
    \n );\n })}\n
    \n
    \n
    \n\n {visitsWithReport.length > 0 &&\n
    \n
    \n }\n
    \n );\n}\n\nexport default VisitReports;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { BulletPoint } from 'hosman-material';\n\nconst OfferState = ({ status }) => {\n const stateInfos = () => {\n switch (status) {\n case 'pending':\n case 'ongoing':\n case 'partly_accepted':\n return { color: 'bg-ih-blue', label: 'Offre en attente' };\n case 'accepted':\n return { color: 'bg-ih-green', label: 'Offre acceptée' };\n case 'refused':\n return { color: 'bg-ih-red', label: 'Offre refusée' };\n case 'dropped':\n return { color: 'bg-ih-red', label: 'Offre abandonnée' };\n }\n }\n\n const payload = stateInfos();\n\n return (\n
    \n \n {payload.label}\n
    \n )\n}\n\nexport default OfferState;\n\n// PropTypes\nOfferState.propTypes = {\n status: PropTypes.string.isRequired\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { longDateTime } from '../../../../../../../shared/utils/formattedDates';\n\nimport OfferState from '../../../../../../components/Offer/OfferState';\nimport { Box, Label, Button } from 'hosman-material';\n\nconst OfferCard = ({ offer, offerIdInAcceptance }) => {\n return (\n
    \n \n
    \n
    \n
    \n \n

    {offer.owner.first_name[0].toUpperCase()}{offer.owner.last_name[0].toUpperCase()}

    \n
    \n
    \n

    {offer.owner.first_name} {offer.owner.last_name}

    \n

    Remise le {longDateTime({ date: offer.timeline.review_ongoing_at })}

    \n
    \n
    \n
    \n {offerIdInAcceptance === offer.id &&\n

    Offre en cours d'acceptation...

    \n }\n {offerIdInAcceptance !== offer.id &&\n \n }\n
    \n \n
    \n
    \n
    \n
    \n \n
    \n )\n}\n\nexport default OfferCard;\n\n// PropTypes\nOfferCard.propTypes = {\n offer: PropTypes.object.isRequired,\n offerIdInAcceptance: PropTypes.number\n};\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { D_FileLines } from 'hosman-material';\n\nimport { Card } from 'hosman-material';\n\nconst NoOffersCard = () => {\n return (\n
    \n \n
    \n \n

    Pas encore d'offre

    \n

    Il n'y a pas encore d'offre remise.

    \n
    \n
    \n
    \n );\n};\n\nexport default NoOffersCard;\n","import React, { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport { useSearchParams } from 'react-router-dom';\nimport { toast } from 'react-hot-toast';\nimport { S_Check } from 'hosman-material';\nimport { handShake, partyingFace } from '../../../../../../shared/assets/emojis';\n\nimport Preview from '../../components/Preview';\nimport OfferCard from './components/OfferCard'\nimport NoOffersCard from './components/NoOffersCard'\nimport { Emoji, LoadingLayer, FadeIn } from 'hosman-material';\n\nconst Offers = () => {\n const { sale } = useSelector((state) => state.sellerSales);\n const { offers, acceptedOffer, requestState } = useSelector((state) => state.sellerOffers);\n const [offerIdInAcceptance, setOfferIdInAcceptance] = useState(null);\n const [searchParams, setSearchParams] = useSearchParams();\n\n if (!sale.mandateSigned || sale.state === 'awaiting_term_signature') return \n\n useEffect(() => {\n if (!acceptedOffer && searchParams.get('accepted')) {\n toast.success(\n

    L'offre est en cours d'acceptation

    \n , { icon: S_Check, duration: 5000 })\n }\n\n setOfferIdInAcceptance(searchParams.get('offerId'))\n }, []);\n\n useEffect(() => {\n if (acceptedOffer && searchParams.get('accepted')) {\n setOfferIdInAcceptance(null)\n searchParams.delete('accepted');\n searchParams.delete('offerId');\n setSearchParams(searchParams);\n }\n }, []);\n\n return (\n
    \n {!acceptedOffer &&\n

    Vos offres d'achat

    \n }\n\n {acceptedOffer &&\n

    \n Félicitation, une offre est acceptée \n

    \n }\n\n \n \n {offers.length < 1 && }\n\n {offers.map((offer) => (\n
    \n \n
    \n ))}\n
    \n
    \n
    \n )\n}\n\nexport default Offers;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { generateLink } from '../../../../shared/utils/railsRoutes'\n\nimport { ImageCard, Button } from 'hosman-material';\n\nimport PARTNERS from '../../../api/ressources/App/partners';\n\nconst Partner = ({ slug = 'nextories', preTitle }) => {\n const [partner, setPartner] = useState({});\n\n useEffect(() => {\n PARTNERS.getPartner(slug).then((response) => {\n setPartner(response.data);\n });\n }, []);\n\n return (\n \n {partner.id &&\n \n

    \n {preTitle} Découvrez {partner.partner_name}\n

    \n

    {partner.description}

    \n
    \n\n
    \n \n
    \n
    \n\n \n
    \n \n \n
    \n )\n}\n\nexport default Advices;\n","import React from 'react';\n\nimport SponsorshipModule from '../../../../../containers/_Pages/SponsorshipModule';\n\nimport { FadeIn } from 'hosman-material';\n\nconst Sponsorship = () => {\n return (\n
    \n \n \n \n
    \n )\n};\n\nexport default Sponsorship;\n","export const allSteps = [\n { number: 1, name: 'Adresse du bien', path: 'adresse', displayNavigation: true },\n { number: 2, name: 'Typologie du bien', path: 'typologie', displayNavigation: true },\n { number: 3, name: 'Informations principales', path: 'informations', displayNavigation: true },\n { number: 4, name: 'Spécificités du bien', path: 'specificites', displayNavigation: true },\n { number: 5, name: 'Attentes', path: 'attentes', displayNavigation: true },\n { number: 6, name: \"Motif d'estimation\", path: 'motif', displayNavigation: true },\n { number: 7, name: 'Contact', path: 'contact', displayNavigation: false },\n { number: 8, name: 'Loader', path: 'calcul-en-cours', displayNavigation: false }\n]\n\nexport const matchedStep = allSteps.find((step) => window.location.pathname.includes(step.path));\n\nexport const initialPlaceData = {\n formatted_address: null,\n street_number: null,\n street_name: null,\n zip_code: null,\n city: null,\n country_code: null,\n lat: null,\n lng: null\n}\n\nexport const initialMainInfos = {\n carrez_area: null,\n living_area: null,\n land_area: null,\n floor: '',\n total_floor: '',\n room_number: '',\n bedroom_number: '',\n construction_time: null,\n good_state: null\n}\n\nexport const initialExtraInfos = {\n elevator: false,\n balcony: false,\n terrace: false,\n cellar: false,\n concierge: false,\n parking: false,\n pool: false,\n garage : false\n}\n\nexport const initialLead = {\n civility: '',\n first_name: '',\n last_name: '',\n email: '',\n phone_number: '',\n phone_country_code: 'FR'\n}\n","import { createSlice } from '@reduxjs/toolkit';\nimport { allSteps, matchedStep, initialPlaceData, initialMainInfos, initialExtraInfos, initialLead } from './initialData';\n\nconst initialState = () => {\n return {\n storeCreationTime: new Date(),\n allSteps: allSteps,\n currentStep: matchedStep || allSteps[0],\n estimationData: {\n placeData: initialPlaceData,\n typology: null,\n mainInfos: initialMainInfos,\n extraInfos: initialExtraInfos,\n priceExpectations: '',\n waitingTimePeriod: null,\n nonSellingReason: null,\n lead: initialLead\n },\n errors: {},\n displayStreetNumberError: false\n }\n};\n\nexport const estimationFunnelSlice = createSlice({\n name: 'estimationFunnel',\n initialState,\n reducers: {\n updateStep(state, { payload }) {\n state.errors = {}\n state.currentStep = allSteps.find(step => step.number === payload.stepNumber);\n },\n updateEstimationData(state, { payload }) {\n state.estimationData = payload;\n },\n purgeEstimationData(state) {\n const initialPayload = initialState()\n Object.assign(state, { ...initialPayload, currentStep: initialPayload.allSteps[0] });\n },\n updateFullStore(state, { payload }) {\n state.estimationData = payload;\n },\n updateErrors(state, { payload }) {\n state.errors = payload;\n if (payload.street_number) state.displayStreetNumberError = true;\n },\n updateDisplayStreetNumberError(state, { payload }) {\n state.displayStreetNumberError = payload;\n }\n },\n})\n\nexport const { updateStep, updateEstimationData, purgeEstimationData, updateErrors, updateFullStore, updateDisplayStreetNumberError } = estimationFunnelSlice.actions;\n\nexport default estimationFunnelSlice.reducer;\n","import client from '../../client';\n\nconst OFFERS = {\n getOffers(params) {\n return client.get(`/sellers/${client.customerId()}/offers`, params);\n },\n\n getOffer(offerId) {\n return client.get(`/sellers/${client.customerId()}/offers/${offerId}`);\n },\n}\n\nexport default OFFERS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport OFFERS from '../../api/ressources/SellerApp/offers';\n\nexport const getOffers = createAsyncThunk(\n '/offers',\n async (params) => {\n const response = await OFFERS.getOffers(params)\n return response.data\n }\n);\n\nexport const getOffer = createAsyncThunk(\n '/offer',\n async (offerId) => {\n const response = await OFFERS.getOffer(offerId)\n return response.data\n }\n);\n\nconst initialState = {\n offers: [],\n ongoingOffers: [],\n offer: {},\n acceptedOffer: null,\n requestState: ''\n};\n\nexport const offersSlice = createSlice({\n name: 'offers',\n initialState,\n reducers: {\n resetOffers(state) {\n state.offers = initialState.offers;\n state.acceptedOffer = initialState.acceptedOffer;\n },\n resetOffer(state) {\n state.offer = initialState.offer;\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getOffers.pending, (state) => {\n state.offers = initialState.offers;\n state.requestState = 'pending'\n })\n builder.addCase(getOffers.fulfilled, (state, { payload }) => {\n state.offers = payload.results;\n state.ongoingOffers = payload.results.filter((offer) => offer.review_status === 'ongoing');\n state.acceptedOffer = getAcceptedOffer(payload.results);\n state.requestState = 'done'\n })\n builder.addCase(getOffer.pending, (state) => {\n state.offer = initialState.offer;\n state.requestState = 'pending'\n })\n builder.addCase(getOffer.fulfilled, (state, { payload }) => {\n state.offer = payload;\n state.requestState = 'done'\n })\n },\n})\n\nconst getAcceptedOffer = (results) => {\n return results.filter(offer => offer.review_status === 'accepted')[0] || null\n};\n\nexport const { resetOffers, resetOffer } = offersSlice.actions;\n\nexport default offersSlice.reducer;\n","import client from '../../client';\n\nconst VISITS = {\n getVisits(propertyId) {\n return client.get(`/properties/${propertyId}/visits`);\n }\n}\n\nexport default VISITS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport VISITS from '../../api/ressources/SellerApp/visits';\n\nexport const getVisits = createAsyncThunk(\n '/visits',\n async (params) => {\n const response = await VISITS.getVisits(params)\n return response.data\n }\n);\n\nconst initialState = {\n visits: [],\n visitsToCome: [],\n visitsWithReport: [],\n requestState: '',\n};\n\nexport const visitsSlice = createSlice({\n name: 'visits',\n initialState,\n reducers: {\n resetVisits(state) {\n state = initialState\n }\n },\n extraReducers: (builder) => {\n builder.addCase(getVisits.pending, (state) => {\n state.visits = initialState.visits;\n state.requestState = 'pending'\n })\n builder.addCase(getVisits.fulfilled, (state, { payload }) => {\n state.visits = payload.results;\n state.visitsWithReport = filterVisitsWithReport(payload.results);\n state.visitsToCome = filterVisitsToCome(payload.results);\n state.requestState = 'done'\n })\n },\n})\n\nconst filterVisitsWithReport = (results) => {\n return results.filter((visit) => visit.visit_report && visit.visit_report.notif_seller_sent == true).reverse();\n};\n\nconst filterVisitsToCome = (results) => {\n return results.filter((visit) => !visit.canceled && new Date().getTime() < new Date(visit.start_time).getTime());\n};\n\nexport const { resetVisits } = visitsSlice.actions;\n\nexport default visitsSlice.reducer;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport { Route, useParams, useNavigate, Navigate } from 'react-router-dom';\nimport { navigation } from './navigation';\nimport { actionConsumer } from '../../../../shared/channels/consumer';\nimport CustomRoutes from '../../../../shared/utils/customRoutes';\n\nimport PageTitle from '../../../components/PageTitle/PageTitle';\nimport ModalsContainer from './components/ModalsContainer';\nimport { LoadingLayer, FadeIn, ContactCardMinimize, PropertySelect } from 'hosman-material';\n\nimport Mandate from './pages/Mandate';\nimport Sale from './pages/Sale';\nimport Estimation from './pages/Estimation';\nimport SaleFolder from './pages/SaleFolder';\nimport Planning from './pages/Planning';\nimport VisitReports from './pages/VisitReports';\nimport Offers from './pages/Offers';\nimport Advices from './pages/Advices';\nimport Sponsorship from './pages/Sponsorship';\n\nimport { purgeEstimationData } from '../../../reducers/_Pages/Public/estimationFunnelSlice';\nimport { getSale, updateSale, resetSale, setPropertySelectOptions, getPublicationData, resetPublicationData } from '../../../reducers/SellerApp/salesSlice';\nimport { getSalesUsers, resetSalesUsers } from '../../../reducers/SellerApp/salesUsersSlice';\nimport { getEstimationFolder, resetEstimationFolder } from '../../../reducers/SellerApp/estimationFoldersSlice';\nimport { getMandate, resetMandate } from '../../../reducers/SellerApp/mandatesSlice';\nimport { getOffers, resetOffers } from '../../../reducers/SellerApp/offersSlice';\nimport { getPhotoMeetings, resetPhotoMeetings } from '../../../reducers/SellerApp/photoMeetingsSlice';\nimport { getVisits, resetVisits } from '../../../reducers/SellerApp/visitsSlice';\n\nconst SaleShow = ({ setNavigation, selectedNav }) => {\n const { sales, sale, propertySelectOptions, showRequestState } = useSelector((state) => state.sellerSales);\n const { offers } = useSelector((state) => state.sellerOffers);\n const { mandate: { sign_status }, mandateRequestState } = useSelector((state) => state.sellerMandates);\n const { visitsWithReport, visitsToCome } = useSelector((state) => state.sellerVisits);\n const dispatch = useDispatch();\n let navigate = useNavigate();\n let { saleId } = useParams();\n\n useEffect(() => {\n dispatch(purgeEstimationData())\n }, []);\n\n useEffect(() => {\n if (!sale.id || !actionConsumer) return;\n\n actionConsumer.subscriptions.create(\n { channel: 'NapoleonNotificationsChannel' },\n {\n received: (data) => {\n dispatch(updateSale({ ...sale, expert: data.expert, state: data.state }));\n }\n }\n );\n }, [sale.id]);\n\n useEffect(() => {\n setNavigation(navigation({\n sale: sale,\n visitsToCome: visitsToCome,\n visitsWithReport: visitsWithReport,\n offers: offers\n }))\n\n }, [sale.id, sale.mandateSigned, offers, visitsWithReport, visitsToCome]);\n\n useEffect(() => {\n dispatch(getSale(saleId));\n\n return () => dispatch(resetSale());\n }, [saleId]);\n\n useEffect(() => {\n dispatch(setPropertySelectOptions());\n }, [sales, sale.id]);\n\n useEffect(() => {\n if (sign_status === 'incoming' && !sale.mandateSigned) {\n dispatch(updateSale({ ...sale, mandateSigned: true }))\n }\n }, [sale, sign_status]);\n\n useEffect(() => {\n if (!sale.id) return;\n\n dispatch(getSalesUsers(sale.id));\n\n if (sale.estimation_folder_id) {\n dispatch(getEstimationFolder(sale.estimation_folder_id));\n }\n\n if (sale.original_mandate_id) {\n dispatch(getMandate(sale.original_mandate_id));\n }\n\n if (sale.mandateSigned) {\n dispatch(getOffers({ 'q[sale_id_eq]': sale.id }));\n dispatch(getPhotoMeetings(sale.id));\n dispatch(getVisits(sale.property.id));\n dispatch(getPublicationData(sale.id));\n }\n\n return function cleanup() {\n dispatch(resetEstimationFolder());\n dispatch(resetMandate());\n dispatch(resetSalesUsers());\n dispatch(resetOffers());\n dispatch(resetPhotoMeetings());\n dispatch(resetVisits());\n dispatch(resetPublicationData());\n };\n }, [sale.id, sale.estimation_folder_id, sale.original_mandate_id, sale.mandateSigned]);\n\n return (\n
    \n \n {sale.id &&\n <>\n {sale.expert &&\n \n }\n\n navigate(`/ev/ventes/${sale.id}`)}\n />\n \n }\n \n\n \n \n \n {sale.mandateSigned && } />}\n {(sale.state === 'awaiting_term_signature' && !sale.mandateSigned) && } />}\n {(sale.state === 'awaiting_term_signature' && !sale.mandateSigned) && } />}\n {(sale.property?.kind !== 'parking_spot' && !sale.original_mandate_id) && } />}\n {(sale.property?.kind !== 'parking_spot' || sale.state !== 'awaiting_term_signature') && } />}\n } />\n } />\n } />\n } />\n } />\n } />\n \n \n \n\n \n
    \n );\n}\n\n// PropTypes\nSaleShow.propTypes = {\n clientSwitch: PropTypes.func,\n accountCard: PropTypes.func\n}\n\nexport default SaleShow;\n","import { D_House, D_FolderOpen, D_CalendarStar, D_FileLines, D_FileCircleCheck, D_Book, D_HandsHoldingDollar, D_MessageHeart } from 'hosman-material';\n\nexport const navigation = ({ sale, visitsToCome, visitsWithReport, offers }) => {\n let items = [];\n\n if (!sale.id) return items;\n\n const BASE_PATH = `ventes/${sale.id}`\n\n items = [\n { name: 'Dossier de vente', path: `${BASE_PATH}/dossier-de-vente`, icon: D_FolderOpen },\n { name: 'Mon planning', path: `${BASE_PATH}/planning`, icon: D_CalendarStar, count: visitsToCome.length },\n { name: 'Comptes-rendus', path: `${BASE_PATH}/comptes-rendus`, icon: D_FileLines, count: visitsWithReport.length },\n { name: 'Mes offres', path: `${BASE_PATH}/offres`, icon: D_FileCircleCheck, count: offers.length },\n { name: 'Conseils immo', path: `${BASE_PATH}/conseils-immo`, icon: D_Book },\n { name: 'Parrainez un proche', subtitle: \"Gagnez jusqu'à 600€ ! \", path: `${BASE_PATH}/parrainage`, icon: D_MessageHeart, gtmEventParams: 'click_parrainage_menu' }\n ]\n\n if (sale.property?.kind !== 'parking_spot' || sale.state !== 'awaiting_term_signature') items.splice(0, 0, { name: 'Mon estimation', path: `${BASE_PATH}/mon-estimation`, icon: D_HandsHoldingDollar })\n if (sale.state === 'awaiting_term_signature' && !sale.mandateSigned) items.splice(0, 0, { name: 'Mon mandat', path: `${BASE_PATH}/mon-mandat`, icon: D_FileLines })\n sale.mandateSigned && items.splice(0, 0, { name: 'Ma vente', path: BASE_PATH, icon: D_House })\n\n return items;\n}\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport {\n Route,\n Navigate,\n useNavigate,\n useLocation\n} from 'react-router-dom';\nimport CustomRoutes from '../../../../shared/utils/customRoutes';\n\nimport SalesIndex from '../../SellerApp/SalesIndex';\nimport SaleShow from '../../SellerApp/SaleShow';\nimport Sidebar from '../../../components/Sidebar/Sidebar';\n\nimport { getSales } from '../../../reducers/SellerApp/salesSlice';\n\nconst SellerApp = ({ clientSwitch, accountCard }) => {\n const { sales, requestState } = useSelector((state) => state.sellerSales);\n let navigate = useNavigate();\n let location = useLocation();\n const dispatch = useDispatch();\n\n const [navigation, setNavigation] = useState([])\n const [selectedNav, setSelectedNav] = useState({})\n\n useEffect(() => {\n if (navigation.length < 1) return;\n\n const matchedPath = navigation.find((nav, index) => index !== 0 && location.pathname.includes(nav.path));\n setSelectedNav(matchedPath || navigation[0])\n }, [navigation, location.pathname]);\n\n const handleNavChange = (navigation) => {\n if (navigation.disabled) return;\n\n setSelectedNav(navigation);\n navigate(navigation.path);\n }\n\n useEffect(() => {\n dispatch(getSales());\n }, []);\n\n useEffect(() => {\n if (requestState !== 'done') return;\n\n if (sales.length < 1) navigate('/ea');\n }, [requestState, sales]);\n\n return (\n
    \n \n \n } />\n } />\n } />\n \n \n
    \n );\n}\n\n// PropTypes\nSellerApp.propTypes = {\n clientSwitch: PropTypes.func,\n accountCard: PropTypes.func\n}\n\nexport default SellerApp;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst ProgressBar = ({ stepInfos }) => {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {stepInfos.title}

    \n

    {stepInfos.step ? `${stepInfos.step}/${stepInfos.total}` : ''}

    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default ProgressBar;\n\n// PropTypes\nProgressBar.propTypes = {\n stepInfos: PropTypes.object.isRequired\n}\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { S_Check } from 'hosman-material';\n\nimport { Modal, Box, Button, Label, InfoIcon } from 'hosman-material';\n\nconst ConfirmationModal = ({ offer, isOpen, closeModal }) => {\n return (\n
    \n \n
    \n \n \n \n

    Vous êtes sur le point d'accepter l'offre de {offer.owner.first_name} {offer.owner.last_name}

    \n \n\n
    \n \n

    La signature se fait à l'étape suivante

    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n )\n}\n\n// PropTypes\nConfirmationModal.propTypes = {\n offer: PropTypes.object.isRequired,\n isOpen: PropTypes.bool,\n closeModal: PropTypes.func\n}\n\nexport default ConfirmationModal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Characteristics from '../../../../../../shared/components/Property/Characteristics';\nimport { Card, Carousel, Avatar, Box, Label } from 'hosman-material';\n\nconst DesktopSidebar = ({ offer }) => {\n const property = offer.sale.property\n\n return (\n
    \n
    \n
    \n \n \n\n
    \n
    \n \n
    \n\n
    \n \n
    \n\n

    \n {property.street_number} {property.street_name} {property.zip_code} {property.city}\n

    \n\n \n
    \n
    \n {offer.sale.price.toLocaleString()} €\n
    \n
    \n
    \n
    \n
    \n )\n}\n\n// PropTypes\nDesktopSidebar.propTypes = {\n offer: PropTypes.object.isRequired\n}\n\nexport default DesktopSidebar;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { longDateTime } from '../../../../../../shared/utils/formattedDates';\n\nimport OfferState from '../../../../../components/Offer/OfferState';\nimport { Box, Label } from 'hosman-material';\n\nconst OfferSummaryCard = ({ offer }) => {\n return (\n
    \n
    \n \n

    {offer.owner.first_name[0]}{offer.owner.last_name[0]}

    \n
    \n
    \n

    {offer.owner.first_name} {offer.owner.last_name}

    \n

    Remise le {longDateTime({ date: offer.timeline.review_ongoing_at })}

    \n
    \n
    \n
    \n \n
    \n \n
    \n )\n}\n\n// PropTypes\nOfferSummaryCard.propTypes = {\n offer: PropTypes.object.isRequired\n}\n\nexport default OfferSummaryCard;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Box } from 'hosman-material';\n\nconst FinancialPlanCard = ({ icon, title, content }) => {\n return (\n
    \n \n \n \n
    \n

    {title}

    \n

    {content}

    \n
    \n
    \n )\n}\n\n// PropTypes\nFinancialPlanCard.propTypes = {\n icon: PropTypes.object.isRequired,\n title: PropTypes.string.isRequired,\n content: PropTypes.string.isRequired,\n}\n\nexport default FinancialPlanCard;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { D_SackDollar, D_House, D_HandHoldingDollar, D_MoneyBillTransfer, D_MemoCircleCheck, D_ArrowDownToBracket } from 'hosman-material';\n\nimport FinancialPlanCard from './FinancialPlanCard';\n\nconst FinancialPlanSection = ({ offer }) => {\n const profile = offer.financial_profile\n\n const displayFinancialBoxes = () => {\n if (profile.cash_payment) {\n return \n } else if (profile.real_estate_sale) {\n if (profile.loan) {\n return (\n <>\n \n \n \n \n {promiseOfFinancingBox()}\n \n )\n } else {\n return (\n <>\n \n \n \n )\n }\n } else if (!profile.real_estate_sale && profile.loan) {\n return (\n <>\n \n \n {promiseOfFinancingBox()}\n \n )\n } else return;\n }\n\n const promiseOfFinancingBox = () => {\n return (\n <>\n \n {(profile.promise_of_financing && profile.promise_of_financing_doc_url) &&\n \n \n \n }\n \n )\n }\n\n return (\n <>\n

    Plan de financement

    \n\n
    \n {displayFinancialBoxes()}\n
    \n \n )\n}\n\n// PropTypes\nFinancialPlanSection.propTypes = {\n offer: PropTypes.object.isRequired\n}\n\nexport default FinancialPlanSection;\n","import React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { smilingFace } from '../../../../../shared/assets/emojis';\n\nimport ConfirmationModal from './components/ConfirmationModal';\nimport DesktopSidebar from './components/DesktopSidebar';\nimport OfferSummaryCard from './components/OfferSummaryCard';\nimport FinancialPlanSection from './components/FinancialPlanSection';\n\nimport { FadeIn, Avatar, Emoji, Button } from 'hosman-material';\n\nconst OfferSummary = ({ offer, setStepInfos }) => {\n const { user } = useSelector((state) => state.user);\n\n const [confirmationModal, setConfirmationModal] = useState(false);\n\n if (!offer.id) return null;\n\n const offerIsOngoing = offer.review_status == 'ongoing' && offer.sale.state == 'awaiting_offer'\n const offerIsAccepted = offer.review_status == 'accepted'\n const userIsSeller = offer.sale.owner_id == user.id\n\n useEffect(() => {\n if (offer.review_status !== 'ongoing') return;\n\n setStepInfos({ title: \"Récapitulatif de l'offre\", step: 1, total: 2 })\n }, []);\n\n return (\n
    \n \n
    \n \n\n
    \n {offer.sale.expert &&\n
    \n
    \n \n
    \n
    \n
    \n

    {offer.sale.expert.user.first_name}

    \n

    {offer.sale.expert.user.phone_number.replace(/.{2}/g, '$& ')}

    \n
    \n

    \n Retrouvez ci-dessous le récapitulatif des informations relatives à votre bien et à l'offre proposée par {offer.owner.first_name} {offer.owner.last_name[0]}.\n \n

    \n
    \n
    \n }\n\n \n\n
    \n

    Informations supplémentaires

    \n

    {offer.comments}

    \n
    \n\n \n\n
    \n {offerIsOngoing && userIsSeller &&\n
    \n
    \n
    \n
    \n\n setConfirmationModal(false)} offer={offer} />\n
    \n )\n}\n\n// PropTypes\nOfferSummary.propTypes = {\n offer: PropTypes.object.isRequired,\n setStepInfos: PropTypes.func.isRequired\n};\n\nexport default OfferSummary;\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\n\nimport { clappingHands } from '../../../../../shared/assets/emojis';\nimport { FadeIn, Avatar, Emoji, InfoIcon } from 'hosman-material';\n\nconst OfferSign = ({ offer, setStepInfos }) => {\n const { user, loggedUserId } = useSelector((state) => state.user);\n const [yousignUrl, setYousignUrl] = useState(null)\n let navigate = useNavigate();\n\n useEffect(() => {\n if (!offer.yousign_url) return;\n // disable_domain_validation=true will be ignored in production.\n setYousignUrl(`${offer.yousign_url}&disable_domain_validation=true`);\n }, [offer]);\n\n useEffect(() => {\n if (offer.review_status !== 'ongoing') {\n navigate(`/traitement-offre/${offer.id}`);\n return;\n }\n setStepInfos({ title: \"Signature de l'offre\", step: 2, total: 2 })\n }, []);\n\n useEffect(() => {\n window.addEventListener('message', handleMessage);\n return () => {\n window.removeEventListener('message', handleMessage);\n }\n }, []);\n\n const handleMessage = (e) => {\n if (e.origin === 'https://yousign.app' && e.data.type === 'yousign') {\n if (e.data.event === 'success') navigate(`/ev/ventes/${offer.sale.id}/offres?accepted=true&offer_id=${offer.id}`);\n if (e.data.event === 'error') navigate(`/ev/ventes/${offer.sale.id}/offres`);\n }\n }\n\n return (\n
    \n \n
    \n {offer.sale.expert &&\n
    \n
    \n \n
    \n\n
    \n
    \n

    {offer.sale.expert.user.first_name}

    \n

    {offer.sale.expert.user.phone_number.replace(/.{2}/g, '$& ')}

    \n
    \n

    Félicitations {user.first_name}, plus que quelques clics pour\n accepter l'offre de {offer.owner.first_name} {offer.owner.last_name}, d'un montant de {offer.amount.toLocaleString()} € !\n

    \n
    \n
    \n }\n\n
    \n \n

    Relisez avec attention le document avant de passer à la signature. Signez celui-ci en cliquant sur le bouton \"Signer\" au bas du document.

    \n
    \n
    \n\n
    \n\n {user.id == loggedUserId &&\n \n }\n\n {user.id != loggedUserId &&\n

    Page de signature d'une offre accessible uniquement au vendeur principal

    \n }\n
    \n )\n}\n\n// PropTypes\nOfferSign.propTypes = {\n offer: PropTypes.object.isRequired,\n setStepInfos: PropTypes.func.isRequired\n};\n\nexport default OfferSign;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { Route, useParams, Link } from 'react-router-dom';\nimport CustomRoutes from '../../../../shared/utils/customRoutes';\n\nimport ProgressBar from './components/ProgressBar';\nimport OfferSummary from './views/OfferSummary';\nimport OfferSign from './views/OfferSign';\n\nimport { getOffer } from '../../../reducers/SellerApp/offersSlice';\n\nimport { LoadingLayer, HosmanLogo, Label } from 'hosman-material';\n\nconst AcceptOffer = () => {\n const { offer, requestState } = useSelector((state) => state.sellerOffers);\n const [stepInfos, setStepInfos] = useState({});\n const dispatch = useDispatch();\n let { offerId } = useParams();\n\n useEffect(() => {\n dispatch(getOffer(offerId));\n }, [offerId]);\n\n return (\n
    \n
    \n
    \n
    \n \n\n {offer.review_status === 'ongoing' &&\n \n }\n
    \n
    \n\n \n
    \n\n
    \n \n \n } />\n } />\n \n \n
    \n
    \n )\n}\n\nexport default AcceptOffer;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { toast } from 'react-hot-toast';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { D_House, D_User, S_Eye, S_EyeSlash } from 'hosman-material';\nimport { FadeIn, Card, RadioInput, TextInput, PhoneNumberInput, InfoIcon, Button } from 'hosman-material';\n\nimport Sidebar from '../../../components/Sidebar/Sidebar';\nimport GeocoderInput from '../../../../shared/components/GeocoderInput';\nimport PageTitle from '../../../components/PageTitle/PageTitle';\n\nimport USER from '../../../api/ressources/App/user';\nimport { getUser } from '../../../reducers/App/userSlice';\n\nimport userKind from '../../../../shared/utils/userKind';\n\nconst navigation = [\n { name: \"Retour à l'espace client\", path: '/', icon: D_House }\n]\n\nexport const MyAccount = ({ accountCard }) => {\n const { user, loggedUserId } = useSelector((state) => state.user);\n const [userState, setUserState] = useState({});\n const [showPasswords, setShowPasswords] = useState({ password: false, new_password: false , new_password_confirmation: false });\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [formErrors, setFormErrors] = useState({});\n const dispatch = useDispatch();\n let navigate = useNavigate();\n\n useEffect(() => {\n setUserState({\n civility: user.civility,\n first_name: user.first_name,\n last_name: user.last_name,\n email: user.email,\n phone_number: user.phone_number,\n phone_country_code: user.phone_country_code,\n current_password: '',\n password: '',\n password_confirmation: '',\n physical_address_attributes: {\n address: user.physical_address?.address,\n additional_address: user.physical_address?.additional_address\n }\n })\n }, [user]);\n\n const handleNavChange = (navigation) => {\n navigate(navigation.path);\n }\n\n const handleInputChange = (e) => {\n const { name, value } = e.target\n setUserState((prev) => {\n return {...userState, [name]: value};\n });\n };\n\n const handleAddressChange = (addressObj) => {\n setUserState((prev) => {\n return {...userState,\n physical_address_attributes: {\n ...addressObj,\n additional_address: prev.physical_address_attributes?.additional_address\n }\n };\n });\n };\n\n const submitForm = () => {\n setFormErrors({});\n setIsSubmitting(true);\n\n const { email, ...userStateWithoutEmail } = userState\n USER.updateUser(userStateWithoutEmail)\n .then(function (response) {\n if (userStateWithoutEmail.password) {\n toast.success('Votre mot de passe a été modifié, vous allez être redirigé vers la page de connexion', { duration: 5000 })\n setTimeout(() => window.location.reload(), 3000)\n } else {\n toast.success('Les informations ont bien été enregistrées', { duration: 5000 })\n dispatch(getUser());\n setIsSubmitting(false);\n }\n })\n .catch(function (error) {\n setFormErrors(error.response.data?.error?.message);\n setIsSubmitting(false);\n });\n };\n\n return (\n
    \n \n \n \n
    \n \n
    \n

    Informations personnelles

    \n
    \n
    \n handleInputChange({ target: { name: 'civility', value: val }})}\n />\n
    \n \n \n \n handleInputChange({ target: { name: 'phone_number', value: val }})}\n onChangeCountryCode={(val) => handleInputChange({ target: { name: 'phone_country_code', value: val }})}\n phoneValue={userState.phone_number}\n countryCodeValue={userState.phone_country_code}\n errors={formErrors}\n />\n
    \n
    \n
    \n \n
    \n

    Adresse postale

    \n
    \n \n\n \n setUserState((prev) => {\n return {...userState, physical_address_attributes: { additional_address: e.target.value} };\n })\n }\n />\n
    \n
    \n
    \n \n
    \n

    Changement de mot de passe

    \n
    \n
    \n
    \n \n

    Afin de changer votre mot de passe veuillez saisir votre mot de passe actuel

    \n
    \n\n
    \n \n\n setShowPasswords({ ...showPasswords, password: !showPasswords.password })} />\n
    \n
    \n\n
    \n \n\n setShowPasswords({ ...showPasswords, new_password: !showPasswords.new_password })} />\n
    \n\n
    \n \n\n setShowPasswords({ ...showPasswords, new_password_confirmation: !showPasswords.new_password_confirmation })} />\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n )\n}\n\nexport default MyAccount;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { bell } from '../../../../../../../../../../shared/assets/emojis';\nimport { buyerAlertCreatorLeftPanel } from '../../../../../../../../../../shared/assets/images';\n\nimport { S_CircleCheck, Emoji } from 'hosman-material';\n\nconst Step1 = () => {\n return (\n
    \n
    \n
    \n \n\n

    Ne passez pas à côté du bien de vos rêves !

    \n
    \n\n
    \n
    \n \n\n

    Recevez par mail des annonces ultra-détaillées

    \n
    \n\n
    \n \n\n

    Un accès avant toute diffusion publique

    \n
    \n
    \n
    \n\n alerte achat\n
    \n )\n}\n\nexport default Step1;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { starStruck } from '../../../../../../../../../../shared/assets/emojis';\nimport { buyerAlertCreatorLeftPanelStep2 } from '../../../../../../../../../../shared/assets/images';\n\nimport { S_CircleCheck, Emoji } from 'hosman-material';\n\nconst Step2 = () => {\n return (\n
    \n
    \n
    \n \n\n

    Un bien vous a séduit ?

    \n
    \n\n
    \n
    \n \n\n

    Réservez votre visite en un clic

    \n
    \n\n
    \n \n\n

    Convaincu ? Remettez une offre en ligne !

    \n
    \n
    \n
    \n\n alerte achat\n
    \n )\n}\n\nexport default Step2;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { AnimatePresence, motion } from 'framer-motion';\n\nimport Step1 from './components/Step1';\nimport Step2 from './components/Step2';\n\nconst LeftPanel = () => {\n const { showContactDetailsForm} = useSelector((state) => state.buyerAlertCreator);\n\n return (\n
    \n
    \n
    \n \n {showContactDetailsForm ? (\n \n \n \n ) : (\n \n \n \n )}\n \n
    \n
    \n
    \n );\n};\n\nexport default LeftPanel;\n","import client from '../client';\n\nconst BUYER_ALERTS = {\n createBuyerAlert(params) {\n return client.post('/buyer_alerts', {\n user: {\n ...params.user,\n buyer_alerts_attributes: [params.buyer_alert_attributes]\n }\n });\n },\n\n validateBuyerAlert(params) {\n return client.post('/buyer_alerts/validations', { buyer_alert: params })\n },\n\n similarProperties(params) {\n return client.post('/buyer_alerts/properties', { buyer_alert_params: params })\n }\n}\n\nexport default BUYER_ALERTS;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\nimport BUYER_ALERTS from '../../../../shared/apiPublic/ressources/buyer_alerts';\n\nexport const createBuyerAlert = createAsyncThunk(\n 'buyerAlertCreator/createBuyerAlert',\n async ({ buyerAlertParams, user, loggedIn }, { rejectWithValue }) => {\n try {\n const response = await BUYER_ALERTS.createBuyerAlert({ buyer_alert_attributes: formatBuyerAlert(buyerAlertParams), user: user });\n return { data: response.data, loggedIn: loggedIn }\n } catch (error) {\n return rejectWithValue(error.response.data.error.message);\n }\n }\n);\n\nexport const getSimilarPropertiesCount = createAsyncThunk(\n 'buyerAlertCreator/getSimilarPropertiesCount',\n async (buyerAlert) => {\n const response = await BUYER_ALERTS.similarProperties(formatBuyerAlert(buyerAlert));\n return response.data.total\n});\n\nexport const validateBuyerAlert = createAsyncThunk(\n 'buyerAlertCreator/validateBuyerAlert',\n async (buyerAlert, { rejectWithValue }) => {\n try {\n await BUYER_ALERTS.validateBuyerAlert(formatBuyerAlert(buyerAlert));\n return true;\n } catch (error) {\n return rejectWithValue(error.response.data.error.message);\n }\n }\n);\n\nconst formatBuyerAlert = (buyerAlert) => {\n return {\n ...buyerAlert,\n max_budget: formatToNumberType(buyerAlert.max_budget),\n min_budget: formatToNumberType(buyerAlert.min_budget),\n min_area: formatToNumberType(buyerAlert.min_area),\n };\n}\n\nconst formatToNumberType = (value) => {\n if (typeof value === 'string') return Number(value.replace(/\\s+/g, \"\"));\n return value;\n}\n\nconst initialState = () => {\n const url = new URL(window.location.href)\n const maxBudget = url.searchParams.get('maxBudget') ? Number(url.searchParams.get('maxBudget')).toLocaleString() : null\n return {\n storeBuyerAlert: { zone: [], max_budget: maxBudget },\n storeUser: { phone_country_code: 'FR' },\n showContactDetailsForm: false,\n similarPropertiesCount: 0,\n isSubmitting: false,\n openModal: false,\n errors: {},\n createdBuyerAlertData: {}\n }\n};\n\nexport const buyerAlertCreatorSlice = createSlice({\n name: 'buyerAlertCreator',\n initialState,\n reducers: {\n updateShowContactDetailsForm(state, { payload }) {\n state.showContactDetailsForm = payload;\n },\n updateStoreBuyerAlert(state, { payload }) {\n state.storeBuyerAlert = payload;\n },\n updateStoreUser(state, { payload }) {\n state.storeUser = payload;\n },\n updateErrors(state, { payload }) {\n state.errors = payload;\n },\n updateOpenModal(state, { payload }) {\n state.openModal = payload;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getSimilarPropertiesCount.fulfilled, (state, { payload }) => {\n state.similarPropertiesCount = payload;\n });\n builder.addCase(validateBuyerAlert.rejected, (state, { payload }) => {\n state.errors = payload;\n });\n builder.addCase(validateBuyerAlert.fulfilled, (state, { payload }) => {\n state.showContactDetailsForm = true\n });\n builder.addCase(createBuyerAlert.pending, (state, { payload }) => {\n state.isSubmitting = true;\n });\n builder.addCase(createBuyerAlert.rejected, (state, { payload }) => {\n state.isSubmitting = false;\n state.errors = payload;\n });\n builder.addCase(createBuyerAlert.fulfilled, (state, { payload }) => {\n state.isSubmitting = false;\n state.createdBuyerAlertData = payload.data\n if (payload.data.redirect_url) {\n window.location = payload.data.redirect_url\n } else if (payload.loggedIn) {\n window.location = '/ea/alertes-achat';\n } else {\n state.openModal = true;\n state.storeUser = { ...state.storeUser, last_sign_in_at: payload.data.user.last_sign_in_at };\n }\n });\n },\n})\n\nexport const { updateShowContactDetailsForm, updateStoreBuyerAlert, updateStoreUser, updateErrors, updateOpenModal } = buyerAlertCreatorSlice.actions;\n\nexport default buyerAlertCreatorSlice.reducer;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useLocation, useNavigate } from 'react-router-dom';\n\nimport CriteriasForm from '../../../../../../../../../components/BuyerAlertForms/CriteriasForm';\n\nimport { S_Bell } from 'hosman-material';\nimport { Button } from 'hosman-material';\n\nimport { updateStoreBuyerAlert, validateBuyerAlert, updateErrors } from '../../../../../../../../../reducers/_Pages/Public/buyerAlertCreatorSlice';\n\nconst CriteriaStep = ({ rightPanelRef }) => {\n const { storeBuyerAlert, errors } = useSelector((state) => state.buyerAlertCreator);\n const dispatch = useDispatch();\n const location = useLocation();\n const navigate = useNavigate();\n\n useEffect(() => {\n navigate(location.pathname, { replace: true });\n\n rightPanelRef.current.scrollTo({ top: 0 })\n }, []);\n\n const handleSaveCriterias = async () => {\n dispatch(validateBuyerAlert(storeBuyerAlert));\n\n setTimeout(() => {\n rightPanelRef.current.scrollTo({ top: 0, behavior: 'smooth' })\n }, 300);\n }\n\n const handleSetStateBuyerAlert = (buyerAlert) => {\n dispatch(updateStoreBuyerAlert(buyerAlert));\n Object.keys(buyerAlert).forEach((key) => {\n if (errors[key]) dispatch(updateErrors({ ...errors, [key]: null }));\n });\n }\n\n return (\n
    \n \n\n
    \n
    \n
    \n );\n};\n\nexport default CriteriaStep;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nconst options = [\n { id: 1, value: 'main_residence', name: 'Résidence principale' },\n { id: 2, value: 'secondary_residence', name: 'Résidence secondaire' },\n { id: 3, value: 'rental_investment', name: 'Investissement locatif' }\n];\n\nconst PurchaseTypeSelect = ({ value, onChange, errors }) => {\n return (\n
    \n option.value === value) || null}\n handleChange={onChange}\n label=\"Quel type d'achat ?\"\n errors={errors}\n />\n
    \n );\n};\n\nexport default PurchaseTypeSelect;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nconst options = [\n { id: 1, value: 'owner', name: 'Je suis propriétaire' },\n { id: 2, value: 'primo_buyer', name: 'Je suis primo accédant' },\n { id: 3, value: 'hunter', name: 'Je suis un chasseur immobilier' },\n { id: 4, value: 'rental_investment', name: 'Je suis un investisseur locatif' },\n];\n\nconst SituationSelect = ({ value, onChange, errors }) => {\n return (\n
    \n option.value === value) || null}\n handleChange={onChange}\n label='Quelle est votre situation ?'\n errors={errors}\n />\n
    \n );\n};\n\nexport default SituationSelect;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nconst options = [\n { id: 1, value: 'already_offering', name: 'Je veux acheter dès que possible (recherche urgente)' },\n { id: 2, value: 'already_visiting', name: \"Je veux acheter d'ici 3 mois\" },\n { id: 3, value: 'starting_visits', name: \"Je veux acheter d'ici 6 mois\" },\n { id: 4, value: 'not_urgent', name: 'Je ne suis pas pressé(e) mais je me renseigne' },\n];\n\nconst ProjectStateSelect = ({ value, onChange, errors }) => {\n return (\n
    \n option.value === value) || null}\n handleChange={onChange}\n label=\"Où en êtes vous dans votre projet d'achat ?\"\n errors={errors}\n />\n
    \n );\n};\n\nexport default ProjectStateSelect;\n","import React from 'react';\nimport { smilingFace } from '../../../../shared/assets/emojis';\n\nimport PurchaseTypeSelect from './components/inputs/PurchaseTypeSelect';\nimport SituationSelect from './components/inputs/SituationSelect';\nimport ProjectStateSelect from './components/inputs/ProjectStateSelect';\n\nimport { Emoji, TextInput, RadioInput, PhoneNumberInput } from 'hosman-material';\n\nconst ContactDetailsForm = ({ buyerAlert, setStateBuyerAlert, errors, buyerAlertUser, setStateBuyerAlertUser, isDisabled }) => {\n return (\n
    \n
    \n

    \n Encore quelques informations pour finaliser votre alerte achat !\n

    \n\n \n
    \n\n
    \n
    \n setStateBuyerAlert({ ...buyerAlert, purchase_type: e.value })} errors={errors} />\n\n setStateBuyerAlertUser({ ...buyerAlertUser, situation: e.value })} errors={errors} />\n
    \n\n setStateBuyerAlertUser({ ...buyerAlertUser, project_state: e.value })} errors={errors} />\n\n setStateBuyerAlertUser({ ...buyerAlertUser, civility: val })}\n errors={errors}\n />\n\n
    \n setStateBuyerAlertUser({ ...buyerAlertUser, first_name: e.target.value })}\n errors={errors}\n disabled={isDisabled}\n autoComplete='given-name' />\n\n setStateBuyerAlertUser({ ...buyerAlertUser, last_name: e.target.value })}\n errors={errors}\n disabled={isDisabled}\n autoComplete='family-name' />\n
    \n\n
    \n
    \n setStateBuyerAlertUser({ ...buyerAlertUser, email: e.target.value })}\n errors={errors}\n disabled={isDisabled}\n autoComplete='email' />\n
    \n\n
    \n setStateBuyerAlertUser({ ...buyerAlertUser, phone_number: val })}\n onChangeCountryCode={(val) => setStateBuyerAlertUser({ ...buyerAlertUser, phone_country_code: val })}\n phoneValue={buyerAlertUser.phone_number}\n countryCodeValue={buyerAlertUser.phone_country_code}\n errors={errors}\n disabled={isDisabled}\n autoComplete='tel-national'\n />\n
    \n
    \n
    \n
    \n );\n};\n\nexport default ContactDetailsForm;\n","import client from '../client';\n\nconst USERS = {\n signIn(params) {\n return client.post(`/sessions`, { user: params }, { withCredentials: true })\n },\n}\n\nexport default USERS;\n","import React, { useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ga4Event} from '../../../../../../../../../../shared/utils/ga4Event'\nimport { generateLink } from '../../../../../../../../../../shared/utils/railsRoutes';\nimport { greeting } from '../../../../../../../../../../shared/utils/helpers/hosmanVars';\n\nimport { TextInput, Button, Label, Modal } from 'hosman-material';\nimport { S_CircleCheck, S_EyeSlash, S_Eye } from 'hosman-material';\n\nimport USERS from '../../../../../../../../../../shared/apiPublic/ressources/users'\nimport { updateOpenModal, updateStoreUser } from '../../../../../../../../../reducers/_Pages/Public/buyerAlertCreatorSlice';\nimport { getUser } from '../../../../../../../../../reducers/App/userSlice';\n\nconst SignInSignUpModal = () => {\n const { openModal, storeUser } = useSelector((state) => state.buyerAlertCreator);\n const [errors, setErrors] = useState({});\n const [isSubmitted, setIsSubmitted] = useState(false)\n const [showPasswords, setShowPasswords] = useState({})\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const minCharPassword = storeUser.password?.length >= 8\n const newUser = storeUser.last_sign_in_at == null\n\n const handleChange = (e) => {\n setErrors({});\n const { name, value } = e.target;\n dispatch(updateStoreUser({ ...storeUser, [name]: value }))\n }\n\n const validatePasswords = () => {\n const { password, passwordConfirmation } = storeUser;\n\n if (!minCharPassword) return setErrors({ password: ['*Le mot de passe doit contenir au minimum 8 caractères'] })\n if (password !== passwordConfirmation) return setErrors({ passwordConfirmation: ['*Les mots de passe ne sont pas identiques'] })\n\n return true;\n }\n\n const signUserIn = async() => {\n const passwordIsValid = !newUser || validatePasswords()\n\n if (!passwordIsValid) return;\n\n let response;\n try {\n setIsSubmitted(true)\n response = await USERS.signIn({ email: storeUser.email, password: storeUser.password })\n\n if (response.data.error) {\n setIsSubmitted(false)\n setErrors({ password: [`*${response.data.error}`] })\n }\n } catch (e) {\n console.log(e);\n } finally {\n if (response.data.sign_in) {\n localStorage.setItem('token', response.data.token);\n dispatch(getUser());\n window.location = '/ea/alertes-achat';\n }\n }\n }\n\n const handleCloseModal = () => {\n ga4Event('click_guest_buyer_alert')\n navigate('success')\n }\n\n return (\n \n
    \n

    Votre alerte a bien été créée

    \n\n {newUser &&

    Créez votre espace Hosman pour visualiser votre alerte et accéder aux biens correspondant à vos critères.

    }\n {!newUser &&

    {greeting(storeUser)}, on se connaît déjà ! Connectez-vous à votre espace Hosman pour visualiser votre alerte et accéder aux biens correspondant à vos critères.

    }\n\n
    \n
    \n \n\n \n
    \n\n
    \n \n\n setShowPasswords({ ...showPasswords, password: !showPasswords.password })} />\n \n
    \n\n {newUser &&\n
    \n \n\n setShowPasswords({ ...showPasswords, newPassword: !showPasswords.newPassword })} />\n
    \n }\n\n
    \n
    \n\n {!newUser &&\n \n Mot de passe oublié?\n \n }\n
    \n
    \n
    \n );\n};\n\nexport default SignInSignUpModal;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { bell } from '../../../../../../../../../../shared/assets/emojis'\n\nimport ContactDetailsForm from '../../../../../../../../../components/BuyerAlertForms/ContactDetailsForm'\nimport SignInSignUpModal from '../components/SignInSignUpModal';\n\nimport {\n createBuyerAlert,\n updateStoreBuyerAlert,\n updateStoreUser,\n updateErrors,\n updateShowContactDetailsForm,\n getSimilarPropertiesCount\n} from '../../../../../../../../../reducers/_Pages/Public/buyerAlertCreatorSlice';\n\nimport { Button, Emoji } from 'hosman-material';\nimport { S_Bell, S_ArrowLeft, S_CircleCheck } from 'hosman-material';\n\nconst ContactDetailsStep = ({ rightPanelRef }) => {\n const { user } = useSelector((state) => state.user);\n const {\n storeBuyerAlert,\n storeUser,\n similarPropertiesCount,\n errors,\n isSubmitting\n } = useSelector((state) => state.buyerAlertCreator);\n const dispatch = useDispatch();\n\n useEffect(() => {\n rightPanelRef.current.scrollTo({ top: 0 })\n dispatch(getSimilarPropertiesCount(storeBuyerAlert));\n }, [])\n\n useEffect(() => {\n if (user.id) {\n dispatch(updateStoreUser({\n civility: user.civility,\n first_name: user.first_name,\n last_name: user.last_name,\n email: user.email,\n phone_number: user.phone_number,\n phone_country_code: user.phone_country_code,\n last_sign_in_at: user.last_sign_in_at\n }));\n }\n }, [user]);\n\n const handleSetStateBuyerAlert = (buyerAlert) => {\n dispatch(updateStoreBuyerAlert(buyerAlert));\n handleErrors(buyerAlert);\n }\n\n const handleSetStateBuyerAlertUser = (buyerAlertUser) => {\n dispatch(updateStoreUser(buyerAlertUser));\n handleErrors(buyerAlertUser);\n }\n\n const handleErrors = (object) => {\n Object.keys(object).forEach((key) => {\n if (errors[key]) dispatch(updateErrors({ ...errors, [key]: null }));\n });\n }\n\n return (\n
    \n
    \n {similarPropertiesCount > 0 && (\n
    \n \n\n

    Avec ces critères, vous recevrez en moyenne {similarPropertiesCount} biens par semaine !

    \n\n \n
    \n )}\n\n \n
    \n\n
    \n
    \n\n \n
    \n )\n};\n\nexport default ContactDetailsStep;\n","import React, { useRef } from 'react';\nimport { useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../../../../../../shared/utils/railsRoutes';\nimport { AnimatePresence, motion } from 'framer-motion';\n\nimport CriteriasStep from './components/CriteriasStep';\nimport ContactDetailsStep from './components/ContactDetailsStep';\n\nimport { LoadingLayer } from 'hosman-material';\nimport { S_CircleXmark } from 'hosman-material';\n\nconst RightPanel = () => {\n const { isSubmitting, showContactDetailsForm } = useSelector((state) => state.buyerAlertCreator);\n const rightPanelRef = useRef();\n\n return (\n
    \n \n
    \n window.location = generateLink(RailsRoutes.annonces_path())}\n />\n
    \n\n
    \n \n {showContactDetailsForm ? (\n \n \n \n ) : (\n \n \n \n )}\n \n
    \n
    \n\n {isSubmitting &&\n
    \n
    Veuillez patienter pendant que nous créons votre alerte
    \n
    \n }\n
    \n );\n};\n\nexport default RightPanel;\n","import React from 'react';\n\nimport LeftPanel from './components/LeftPanel';\nimport RightPanel from './components/RightPanel';\n\nconst BuyerAlertForm = () => {\n return (\n
    \n \n\n \n
    \n )\n}\n\nexport default BuyerAlertForm;\n","import React from 'react';\n\nimport { Label } from 'hosman-material';\n\nconst Criterias = ({ data }) => {\n const { zone, apartment, house, min_area, min_room_number, min_bedroom_number } = data;\n\n return (\n
    \n {zone.map(city => {\n return (\n \n )\n })}\n\n {apartment && }\n {house && }\n {min_area && }\n {min_room_number && }\n {min_bedroom_number && }\n
    \n );\n};\n\nexport default Criterias;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { partyingFace } from '../../../../../../../../../../shared/assets/emojis';\nimport { generateLink } from '../../../../../../../../../../shared/utils/railsRoutes';\n\nimport Characteristics from '../../../../../../../../../../shared/components/Property/Characteristics';\nimport { Card, Label, Avatar, Carousel, Emoji } from 'hosman-material';\n\nconst PropertyCard = ({ property }) => {\n return (\n \n )\n}\n\nexport default PropertyCard;\n\n// PropTypes\nPropertyCard.propTypes = {\n property: PropTypes.object.isRequired\n};\n","import React, { useState, useEffect } from 'react';\n\nimport PropertyCard from './components/PropertyCard';\n\nimport { LoadingLayer, FadeIn, Slider, Label } from 'hosman-material';\n\nimport BUYER_ALERTS from '../../../../../../../../api/ressources/App/buyerAlerts';\n\nconst CorrespondingProperties = ({ buyerAlertId }) => {\n const [properties, setProperties] = useState([])\n\n const fetchCorrespondingProperties = async () => {\n const response = await BUYER_ALERTS.getCorrespondingProperties(buyerAlertId)\n setProperties(response.data.results)\n }\n\n useEffect(() => {\n fetchCorrespondingProperties()\n }, []);\n\n const displayZipCode = (property) => {\n if (!['Paris', 'Marseille', 'Lyon'].includes(property.city)) return null;\n\n return property.zip_code\n }\n\n const setTitle = () => {\n return

    Ces biens correspondent à vos critères de recherche

    \n }\n\n if (properties.length < 1) return null;\n\n return (\n
    \n 0}>\n \n \n
    \n {property.city} {displayZipCode(property)}}\n price={property.sale.price}\n />\n
    \n )}\n title={setTitle()}\n />\n
    \n
    \n
    \n );\n}\n\nexport default CorrespondingProperties;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Button } from 'hosman-material';\nimport { S_CircleCheck } from 'hosman-material';\n\nconst SponsorshipCard = () => {\n return (\n \n
    \n
    \n

    Envie de gagner jusqu'à 600€ ?

    \n

    Parrainez un proche !

    \n
    \n\n
    \n
    \n

    Mandat de vente

    \n\n
    \n \n

    200€ offerts

    \n
    \n
    \n\n
    \n

    Vente conclue

    \n\n
    \n \n

    400€ offerts

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n );\n}\n\nexport default SponsorshipCard;\n","import React from 'react';\nimport { propertyCardCarousel } from '../../../../../../../../shared/assets/images';\nimport { generateLink } from '../../../../../../../../shared/utils/railsRoutes';\n\nimport { Button } from 'hosman-material';\n\nconst AdvertsCard = () => {\n return (\n \n
    \n

    Découvrez nos derniers biens à vendre

    \n\n

    Voir toutes nos annonces

    \n\n Buyer alert cards\n
    \n
    \n );\n};\n\nexport default AdvertsCard;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\n\nimport EstimationBanner from '../../../../../../components/Marketing/EstimationBanner';\nimport Criterias from './components/Criterias';\nimport CorrespondingProperties from './components/CorrespondingProperties';\nimport SponsorshipCard from './components/SponsorshipCard';\nimport AdvertsCard from './components/AdvertsCard';\n\nimport { HosmanLogo } from 'hosman-material';\nimport { S_Check } from 'hosman-material';\n\nconst BuyerAlertSuccess = () => {\n const { createdBuyerAlertData } = useSelector((state) => state.buyerAlertCreator);\n\n if (!createdBuyerAlertData.id) window.location = generateLink(RailsRoutes.root_path())\n\n return (\n
    \n
    \n \n \n \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n\n

    Félicitations, votre alerte achat a bien été enregistrée

    \n\n \n
    \n
    \n\n \n\n \n\n
    \n \n \n
    \n
    \n
    \n )\n}\n\nexport default BuyerAlertSuccess;\n","import React from 'react';\nimport { Route } from 'react-router-dom';\nimport CustomRoutes from '../../../../../shared/utils/customRoutes';\n\nimport BuyerAlertForm from './pages/BuyerAlertForm';\nimport BuyerAlertSuccess from './pages/BuyerAlertSuccess';\n\nconst BuyerAlertCreator = () => {\n return (\n \n } />\n } />\n \n )\n}\n\nexport default BuyerAlertCreator;\n","import { validateEmail, validatePhoneNumber } from '../../../../../../shared/utils/validators';\nimport { NO_SPECIAL_CHARACTER_REGEX } from '../../../../../../shared/utils/helpers/hosmanVars';\n\nexport const validateStep = ({ stepNumber, data }) => {\n switch (stepNumber) {\n case 1:\n return validateAddress(data);\n case 2:\n return validateTypology(data)\n case 3:\n case 4:\n case 5:\n return validateMainInfos(data)\n case 6:\n return validateEstimationReason(data)\n case 7:\n case 8:\n return validateLead(data)\n default:\n return { valid: true, errors: {} }\n }\n}\n\nfunction validateAddress({ placeData }) {\n if (!placeData.formatted_address) return { valid: false, errors: { formatted_address: ['*Veuillez entrer une adresse'] }}\n if (!placeData.street_number) return { valid: false, errors: { street_number: ['*Le numéro de rue est requis'] }}\n\n return { valid: true }\n}\n\nfunction validateTypology({ typology, placeData }) {\n if (!validateAddress({ placeData }).valid) return { valid: false }\n if (typology) return { valid: true }\n\n return { valid: false, errors: { typology: ['Veuillez sélectionner un type de bien'] }}\n}\n\nfunction validateMainInfos({ typology, mainInfos, placeData }) {\n if (!validateAddress({ placeData }).valid) return { valid: false }\n\n const { carrez_area, floor, total_floor, room_number, bedroom_number, construction_time, good_state, living_area, land_area } = mainInfos\n const errors = {}\n\n if (!total_floor) errors.total_floor = ['est requis']\n if (!room_number) errors.room_number = ['est requis']\n if (!bedroom_number) errors.bedroom_number = ['est requis']\n if (!construction_time) errors.construction_time = ['est requis']\n if (!good_state) errors.good_state = ['est requis']\n if (floor && total_floor && (Number(floor) > Number(total_floor))) errors.total_floor = [\"*L'étage du bien ne peut pas être supérieur au nombre d'étage total de l'immeuble\"]\n if (room_number && bedroom_number && (Number(bedroom_number) > Number(room_number))) errors.bedroom_number = [\"*Le nombre de chambres ne peut pas être supérieur au nombre de pièces\"]\n if (typology == 'apartment' && !carrez_area) errors.carrez_area = ['est requis']\n if (typology == 'apartment' && !floor) errors.floor = ['est requis']\n if (typology == 'house' && !living_area) errors.living_area = ['est requis']\n if (typology == 'house' && !land_area) errors.land_area = ['est requis']\n\n const isValid = Object.keys(errors).length === 0\n return { valid: isValid, errors: errors }\n}\n\nfunction validateEstimationReason({ waitingTimePeriod, nonSellingReason, placeData }) {\n if (!validateAddress({ placeData }).valid) return { valid: false }\n if (!waitingTimePeriod) return { valid: false, errors: { waitingTimePeriod: [\"Veuillez sélectionner un horizon potentiel de vente\"] }}\n if (waitingTimePeriod !== 'no_selling_project' || nonSellingReason) return { valid: true }\n\n return { valid: false, errors: { waitingTimePeriod: [\"Veuillez sélectionner un motif d'estimation\"] }}\n}\n\nasync function validateLead({ lead }) {\n const { civility, first_name, last_name, email, phone_country_code, phone_number } = lead\n const errors = {}\n\n if (!NO_SPECIAL_CHARACTER_REGEX.test(first_name)) errors.first_name = ['contient des caractères spéciaux non valides']\n if (!NO_SPECIAL_CHARACTER_REGEX.test(last_name)) errors.last_name = ['contient des caractères spéciaux non valides']\n if (!civility) errors.civility = ['est requis']\n if (!first_name) errors.first_name = ['est requis']\n if (!last_name) errors.last_name = ['est requis']\n if (!validateEmail(email)) errors.email = ['non valide']\n const isPhoneValid = await validatePhoneNumber(phone_country_code, phone_number)\n if (!isPhoneValid.valid) errors.phone_number = ['*Numéro de téléphone non valide']\n\n const isValid = Object.keys(errors).length === 0\n return { valid: isValid, errors: errors }\n}\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { scrollToFirstError } from '../../../../../../shared/utils/uiEffects/scrollTo';\n\nimport { Button } from 'hosman-material';\n\nimport { validateStep } from '../steps/Validators';\nimport { updateStep, updateErrors } from '../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst NavigationButtons = ({ classes }) => {\n const { currentStep, estimationData } = useSelector((state) => state.estimationFunnel);\n const { user } = useSelector((state) => state.user);\n const dispatch = useDispatch();\n\n const goToNextStep = async() => {\n const contract = await validateStep({ stepNumber: currentStep.number, data: estimationData });\n\n if (contract.valid) {\n dispatch(updateStep({ stepNumber: currentStep.number + 1 }))\n } else {\n dispatch(updateErrors(contract.errors))\n\n setTimeout(() => {\n scrollToFirstError();\n }, 300);\n }\n }\n\n const hideReturnButton = [1, 8].includes(currentStep.number)\n const hideNextButton = [8].includes(currentStep.number)\n\n if (hideReturnButton && hideNextButton) return null;\n\n const setLabel = () => {\n if (currentStep.number === 1) return \"Commencer l'estimation\"\n else if (currentStep.number < 6 || (currentStep.number == 6 && !user.id)) return 'Étape suivante'\n else return \"Découvrir l'estimation\"\n }\n\n return (\n
    \n
    \n {!hideReturnButton &&\n
    \n
    \n }\n {!hideNextButton &&\n
    \n
    \n }\n
    \n
    \n )\n}\n\nexport default NavigationButtons;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { D_CircleExclamation } from 'hosman-material';\n\nconst Error = ({ name, label = 'Ce champs', errors = {} }) => {\n if (!errors[name]) return null;\n\n const displayError = () => {\n if (errors[name][0].startsWith('*')) return errors[name][0].replace('*', '');\n\n return `${label.replace(':', '')} ${errors[name][0]}`\n }\n\n return (\n
    \n \n\n

    {displayError()}

    \n
    \n );\n};\n\nexport default Error;\n\nError.propTypes = {\n name: PropTypes.string.isRequired,\n label: PropTypes.string,\n errors: PropTypes.object\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport Error from './Error';\n\nconst TextInput = ({ refProp , name = '', label = '', type = 'text', value = '', onChange, placeholder = '', paddings = '', disabled = false, errors = {}, icon = null, inputMode = 'text', pattern = '' }) => {\n return (\n
    \n {label &&\n
    \n \n
    \n }\n\n
    \n \n\n {icon &&\n \n }\n
    \n\n \n
    \n );\n};\n\nexport default TextInput;\n\nTextInput.propTypes = {\n refProp: PropTypes.object,\n name: PropTypes.string.isRequired,\n label: PropTypes.string,\n value: PropTypes.string,\n type: PropTypes.string,\n onChange: PropTypes.func,\n disabled: PropTypes.bool,\n errors: PropTypes.object,\n paddings: PropTypes.string\n}\n","const geocoderUrl = 'https://maps.googleapis.com/maps/api/geocode/json';\nconst mapApiUrl = 'https://maps.googleapis.com/maps/api/js';\n\nexport async function fetchAddressData(prediction) {\n try {\n const response = await fetch(\n `${geocoderUrl}?address=${prediction}®ion=fr&components=country:FR&key=${process.env.GOOGLE_API_SERVER_KEY}`\n );\n const jsonData = await response.json();\n return jsonData.results[0];\n } catch (error) {\n return null;\n }\n}\n\nexport function extractAddress(name, place) {\n if (!place?.address_components) return null;\n\n const addressComponents = place.address_components;\n return {\n [name]: place.formatted_address,\n street_number: addressComponents.find(t => t.types[0].includes('street_number'))?.long_name,\n street_name: addressComponents.find(t => t.types[0].includes('route'))?.long_name,\n city: addressComponents.find(t => t.types[0].includes('locality'))?.long_name,\n zip_code: addressComponents.find(t => t.types[0].includes('postal_code'))?.long_name,\n country_code: addressComponents.find(t => t.types[0].includes('country'))?.short_name,\n lat: place.geometry?.location?.lat,\n lng: place.geometry?.location?.lng\n };\n}\n\nexport function initMapScript() {\n if (window.google) {\n return Promise.resolve();\n }\n\n window.initMap = function() {};\n const src = `${mapApiUrl}?key=${process.env.GOOGLE_API_BROWSER_KEY}&libraries=places&language=fr&callback=initMap`;\n return loadAsyncScript(src);\n}\n\nfunction loadAsyncScript(src) {\n return new Promise(resolve => {\n const script = document.createElement('script');\n Object.assign(script, {\n type: 'text/javascript',\n async: true,\n src\n })\n script.addEventListener('load', () => resolve(script));\n document.head.appendChild(script);\n })\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { S_LocationDot } from 'hosman-material';\nimport TextInput from './TextInput';\nimport { initMapScript, fetchAddressData, extractAddress } from '../service/googleMapsService';\n\nconst AddressInput = ({ name = 'address', value, label, onChange, errors = {}, placeholder, listPlacement = 'top-10' }) => {\n const [stateValue, setStateValue] = useState(value || '');\n const [predictions, setPredictions] = useState([]);\n const [displayPredictions, setDisplayPredictions] = useState(false);\n const [selectedIndex, setSelectedIndex] = useState(-1);\n const inputRef = useRef(null);\n\n useEffect(() => {\n initMapScript().then(() => initAutocomplete())\n }, [stateValue]);\n\n useEffect(() => {\n setStateValue(value || '')\n }, [value]);\n\n useEffect(() => {\n // Close prediction list when clicking outside input\n window.onclick = () => {\n setDisplayPredictions(false)\n };\n }, []);\n\n useEffect(() => {\n // Focus on main input on page load\n if (inputRef.current && !stateValue) {\n inputRef.current.focus();\n }\n }, []);\n\n useEffect(() => {\n document.addEventListener('keydown', handleKeyDown);\n return () => {\n document.removeEventListener('keydown', handleKeyDown);\n };\n }, [predictions, selectedIndex]);\n\n function initAutocomplete() {\n if (stateValue.length < 2) setPredictions([])\n\n const displaySuggestions = function (predictions, status) {\n if (document.activeElement === inputRef.current) setDisplayPredictions(true)\n if (status != google.maps.places.PlacesServiceStatus.OK || !predictions) return;\n\n setPredictions(predictions.map(prediction => prediction.description))\n };\n\n const service = new google.maps.places.AutocompleteService();\n\n service.getPlacePredictions({ input: stateValue, types: ['address'], componentRestrictions: { country: 'fr' } }, displaySuggestions);\n }\n\n const selectOption = async (prediction) => {\n setDisplayPredictions(false)\n const result = await fetchAddressData(prediction)\n const addressObj = extractAddress(name, result)\n setStateValue(addressObj[name]);\n onChange(addressObj);\n }\n\n const handleChange = (e) => {\n setStateValue(e.target.value)\n onChange({ [name]: e.target.value })\n }\n\n const handleKeyDown = (event) => {\n if (!displayPredictions || predictions.length === 0) return;\n\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n setSelectedIndex(prevIndex =>\n prevIndex < predictions.length - 1 ? prevIndex + 1 : prevIndex\n );\n break;\n case 'ArrowUp':\n event.preventDefault();\n setSelectedIndex(prevIndex =>\n prevIndex > 0 ? prevIndex - 1 : prevIndex\n );\n break;\n case 'Enter':\n event.preventDefault();\n if (selectedIndex >= 0) {\n selectOption(predictions[selectedIndex]);\n }\n break;\n }\n };\n\n return (\n
    \n \n\n {displayPredictions && predictions.length > 0 &&\n
      \n {predictions.map((prediction, index) => {\n return (\n selectOption(prediction)}\n className={`text-ih-indigo first:rounded-t-2xl last:rounded-b-2xl hover:bg-ih-purple-5 cursor-pointer select-none relative py-3 px-3 border-b border-b-ih-purple-10 ${index === selectedIndex ? 'bg-ih-purple-5' : ''}`}\n >\n {prediction}\n \n )\n })}\n
    \n }\n
    \n );\n};\n\nexport default AddressInput;\n\nAddressInput.propTypes = {\n name: PropTypes.string,\n label: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func,\n errors: PropTypes.object,\n placeholder: PropTypes.string,\n listPlacement: PropTypes.string\n};\n","import React from 'react';\nimport AvatarsCounter from '../../../../../../../../shared/components/AvatarsCounter';\n\nimport { ellipseFuStep1, ellipseFuStep2, ellipseFuStep3, productFuStep4 } from '../../../../../../../../shared/assets/images';\n\nconst ReinsuranceBlocks = () => {\n const similarPropertySold = () => {\n return (\n
    \n {[ellipseFuStep1, ellipseFuStep2, ellipseFuStep3].map((image, index) => {\n return ellipse\n })}\n
    \n )\n }\n\n const potentialBuyers = () => {\n return (\n
    \n \n
    \n

    1132 acquéreurs potentiels

    \n

    sont intéressés par votre bien

    \n
    \n
    \n )\n }\n\n const blocks = [\n { title: 'Une estimation précise & immédiate de votre bien', description: 'En quelques minutes seulement, recevez une première fourchette d\\'estimation de votre bien.', footer: ellipse },\n { title: 'Les biens vendus par Hosman, similaires au vôtre', description: 'Découvrez les derniers biens vendus autour du vôtre. Des prix exactes actualisés en temps réel.', footer: similarPropertySold() },\n { title: 'Les acquéreurs potentiels pour votre bien', description: 'Découvrez le volume d’acquéreurs potentiels ayants renseignés des critères similaires à votre bien.', footer: potentialBuyers() },\n ]\n\n return (\n
    \n
    \n
    \n

    Qu'obtiendrez-vous suite à cette estimation ?

    \n\n
    \n {blocks.map((block, index) => (\n
    \n
    \n
    \n

    0{index + 1}

    \n
    \n\n

    {block.title}

    \n

    {block.description}

    \n
    {block.footer}
    \n
    \n
    \n ))}\n
    \n
    \n
    \n
    \n )\n}\n\nexport default ReinsuranceBlocks;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useLocation, useNavigate, useSearchParams } from 'react-router-dom';\nimport { toast } from 'react-hot-toast';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { validateStep } from '../Validators';\n\nimport { FadeIn } from 'hosman-material';\nimport { S_CircleCheck } from 'hosman-material';\nimport NavigationButtons from '../../components/NavigationButtons'\nimport AddressInput from './components/AddressInput';\nimport TextInput from './components/TextInput';\nimport ReinsuranceBlocks from './components/ReinsuranceBlocks';\nimport { updateStep, updateEstimationData, updateErrors, updateDisplayStreetNumberError } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\nimport { fetchAddressData, extractAddress } from './service/googleMapsService';\n\nconst Address = () => {\n const { estimationData, estimationData: { placeData: { formatted_address }}, errors, displayStreetNumberError } = useSelector((state) => state.estimationFunnel);\n const [triggerValidation, setTriggerValidation] = useState(false);\n const [streetNumber, setStreetNumber] = useState(null);\n const dispatch = useDispatch();\n const location = useLocation();\n const navigate = useNavigate();\n const [searchParams, _] = useSearchParams();\n\n useEffect(() => {\n if (!searchParams.get('formatted_address')) return;\n\n const newEstimationData = {\n ...estimationData,\n placeData: {\n formatted_address: searchParams.get('formatted_address') || null,\n street_number: searchParams.get('street_number') || null,\n street_name: searchParams.get('street_name') || null,\n zip_code: searchParams.get('zip_code') || null,\n city: searchParams.get('city') || null,\n country_code: searchParams.get('country_code') || null,\n lat: searchParams.get('lat') || null,\n lng: searchParams.get('lng') || null\n }\n }\n\n dispatch(updateEstimationData(newEstimationData))\n\n const contract = validateStep({ stepNumber: 1, data: newEstimationData });\n navigate(location.pathname, { replace: true });\n\n if (contract.valid) {\n dispatch(updateStep({ stepNumber: 2 }))\n return\n }\n\n setTriggerValidation(true)\n }, []);\n\n useEffect(() => {\n if (!triggerValidation) return\n\n const contract = validateStep({ stepNumber: 1, data: estimationData });\n if (contract.valid) {\n dispatch(updateStep({ stepNumber: 2 }))\n } else {\n toast.error('Le numéro de rue est requis', { id: 'address-validation-fail', duration: 3000 })\n dispatch(updateErrors(contract.errors))\n dispatch(updateDisplayStreetNumberError(true))\n }\n }, [triggerValidation]);\n\n const handleChange = (addressObj) => {\n dispatch(updateErrors({}))\n setTriggerValidation(false)\n dispatch(updateEstimationData({ ...estimationData, placeData: addressObj }))\n\n if (addressObj.lat) {\n setTriggerValidation(true)\n } else {\n dispatch(updateDisplayStreetNumberError(false))\n }\n }\n\n const handleChangeStreetNumber = async (e) => {\n try {\n dispatch(updateErrors({}))\n setStreetNumber(e.target.value)\n setTriggerValidation(false)\n\n const searchTerm = estimationData.placeData.street_name\n ? `${e.target.value} ${estimationData.placeData.street_name}`\n : `${e.target.value} ${estimationData.placeData.formatted_address}`;\n\n const result = await fetchAddressData(searchTerm);\n\n const addressObj = extractAddress('formatted_address', result)\n\n if (addressObj == null) return;\n dispatch(updateEstimationData({ ...estimationData, placeData: addressObj }))\n } catch (error) {\n toast.error('Une erreur est survenue lors de la récupération de l\\'adresse');\n }\n }\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n

    Obtenez votre estimation en moins de 2 minutes :

    \n
    \n\n
    \n \n\n

    Ex : 12 rue Saint Denis, 75011 Paris

    \n\n
    \n \n
    \n
    \n\n
    \n
    \n \n

    Rapide

    \n
    \n\n
    \n \n

    Sans engagement

    \n
    \n\n
    \n \n

    Données fiables et vérifiées

    \n
    \n
    \n
    \n\n \n
    \n\n \n
    \n
    \n
    \n )\n}\n\nexport default Address;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { buildingDrawing, houseDrawing } from '../../../../../../../shared/assets/emojis';\nconst classNames = require('classnames');\nimport { initialExtraInfos } from '../../../../../../reducers/_Pages/Public/initialData';\n\nimport NavigationButtons from '../../components/NavigationButtons'\nimport { FadeIn } from 'hosman-material';\nimport { S_Check, D_CircleExclamation } from 'hosman-material';\n\nimport { updateStep, updateEstimationData } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst Typology = () => {\n const { estimationData, estimationData: { typology }, errors} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n\n const kinds = [\n { slug: 'apartment', label: 'Un appartement', icon: buildingDrawing },\n { slug: 'house', label: 'Une maison', icon: houseDrawing }\n ]\n\n const typologyIs = (kind) => {\n return kind === typology;\n }\n\n const cardClasses = (kind) => {\n return classNames(\n 'relative flex flex-col justify-around rounded-2xl p-3 h-32 md:h-52 w-56 bg-white cursor-pointer',\n { 'border border-ih-blue-30 hover:border-ih-blue': !typologyIs(kind) },\n { 'border-2 border-ih-blue': typologyIs(kind) }\n )\n }\n\n const handleChange = (kind) => {\n dispatch(updateEstimationData({ ...estimationData, typology: kind, extraInfos: initialExtraInfos }))\n dispatch(updateStep({ stepNumber: 3 }))\n }\n\n return (\n
    \n \n
    \n

    Quel type de bien souhaitez-vous estimer ?

    \n\n
    \n {kinds.map(kind => {\n return (\n
    handleChange(kind.slug)} className={cardClasses(kind.slug)}>\n {typologyIs(kind.slug) &&\n
    \n \n
    \n }\n
    \n \n

    {kind.label}

    \n
    \n
    \n )\n })}\n
    \n\n {errors.typology &&\n
    \n \n\n

    {errors.typology}

    \n
    \n }\n\n \n
    \n
    \n
    \n )\n}\n\nexport default Typology;\n","export const goodStateOptions = [\n { id: 1, value: 'to_renovate', name: 'A rénover' },\n { id: 2, value: 'good', name: 'Bon état' },\n { id: 3, value: 'new', name: 'Neuf / Refait à neuf (< 3 ans)' }\n]\n\nexport const constructionTimeOptions = [\n { id: 1, value: 'before_1850', name: 'avant 1850' },\n { id: 2, value: 'f1850t1913', name: 'de 1850 à 1913' },\n { id: 3, value: 'f1914t1947', name: 'de 1914 à 1947' },\n { id: 4, value: 'f1948t1969', name: 'de 1948 à 1969' },\n { id: 5, value: 'f1970t1980', name: '1970 à 1980' },\n { id: 6, value: 'f1981t1991', name: '1981 à 1991' },\n { id: 7, value: 'f1992t2000', name: '1992 à 2000' },\n { id: 8, value: 'f2001t2010', name: '2001 à 2010' },\n { id: 9, value: 'f2011tnow', name: 'après 2011' },\n { id: 10, value: 'future', name: 'Programme neuf à livrer' },\n { id: 11, value: 'unknown', name: 'Je ne sais pas' }\n]\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { goodStateOptions, constructionTimeOptions } from './selectOptions';\n\nimport { NumberInput, NumberInputStepper, SelectInput, InfoIcon } from 'hosman-material';\n\nconst ApartmentInputs = ({ handleInputChange }) => {\n const { estimationData: { mainInfos }, errors} = useSelector((state) => state.estimationFunnel);\n\n return (\n
    \n handleInputChange(e, { integer: true })}\n value={mainInfos.carrez_area}\n sign='m²'\n allowDecimal\n errors={errors}\n autoFocus\n />\n\n
    \n
    \n \n
    \n \n

    Mettre 0 si appartement au rez-de-chaussée.

    \n
    \n
    \n\n \n
    \n\n
    \n \n
    \n \n

    Ne comptez ni la cuisine, ni les salles de bains, ni les toilettes.

    \n
    \n
    \n\n \n\n option.value === mainInfos.construction_time)}\n handleChange={(option) => handleInputChange({ target: { name: 'construction_time', value: option.value }})}\n errors={errors}\n />\n\n option.value === mainInfos.good_state)}\n handleChange={(option) => handleInputChange({ target: { name: 'good_state', value: option.value }})}\n errors={errors}\n />\n
    \n )\n}\n\nexport default ApartmentInputs;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { goodStateOptions, constructionTimeOptions } from './selectOptions';\n\nimport { NumberInput, NumberInputStepper, SelectInput, InfoIcon } from 'hosman-material';\n\nconst HouseInputs = ({ handleInputChange }) => {\n const { estimationData, estimationData: { mainInfos }, errors} = useSelector((state) => state.estimationFunnel);\n\n return (\n
    \n handleInputChange(e, { integer: true })}\n value={mainInfos.living_area}\n sign='m²'\n allowDecimal\n errors={errors}\n />\n\n
    \n handleInputChange(e, { integer: true })}\n value={mainInfos.land_area}\n sign='m²'\n allowDecimal\n errors={errors}\n />\n
    \n \n

    Surface cumulée de la maison et du jardin

    \n
    \n
    \n\n
    \n \n
    \n \n

    Mettre 0 si maison de plain-pied. Ne pas compter le sous-sol ou la cave comme un niveau

    \n
    \n
    \n\n
    \n \n
    \n \n

    Ne comptez que les chambres, bureaux, ou salons de plus de 9m²

    \n
    \n
    \n\n \n\n
    \n option.value === mainInfos.construction_time)}\n handleChange={(option) => handleInputChange({ target: { name: 'construction_time', value: option.value }})}\n errors={errors}\n />\n
    \n\n
    \n option.value === mainInfos.good_state)}\n handleChange={(option) => handleInputChange({ target: { name: 'good_state', value: option.value }})}\n errors={errors}\n />\n
    \n
    \n )\n}\n\nexport default HouseInputs;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport NavigationButtons from '../../components/NavigationButtons'\nimport ApartmentInputs from './components/ApartmentInputs'\nimport HouseInputs from './components/HouseInputs'\nimport { FadeIn } from 'hosman-material';\n\nimport { updateEstimationData, updateErrors } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst MainInfos = () => {\n const { estimationData, estimationData: { typology, mainInfos }, errors} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n\n const handleInputChange = (e, { integer = false } = {}) => {\n const { name, value } = e.target;\n const parsedValue = integer ? value.replace(/\\s/g, '') || 0 : value;\n \n dispatch(updateEstimationData({\n ...estimationData,\n mainInfos: {\n ...mainInfos,\n [name]: parsedValue\n }\n }));\n\n removeFieldError(name)\n };\n\n const removeFieldError = (name) => {\n if (!errors[name]) return;\n\n const newErrors = {...errors}\n delete newErrors[name];\n dispatch(updateErrors(newErrors))\n }\n\n return (\n
    \n \n
    \n

    Vérifions ensemble les informations de votre bien.

    \n\n {typology === 'apartment' && }\n {typology === 'house' && }\n\n \n
    \n
    \n
    \n )\n}\n\nexport default MainInfos;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport NavigationButtons from '../../components/NavigationButtons'\n\nimport { FadeIn, Checkbox } from 'hosman-material'\n\nimport { updateEstimationData } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nexport const characteristics = {\n apartment: [\n { slug: 'elevator', name: 'Ascenseur' },\n { slug: 'balcony', name: 'Balcon' },\n { slug: 'terrace', name: 'Terrasse' },\n { slug: 'cellar', name: 'Cave' },\n { slug: 'concierge', name: 'Gardien' },\n { slug: 'parking', name: 'Parking' }\n ],\n house: [\n { slug: 'terrace', name: 'Terrasse' },\n { slug: 'parking', name: 'Parking' },\n { slug: 'garage', name: 'Garage' },\n { slug: 'pool', name: 'Piscine' }\n ]\n}\n\nconst ExtraInfos = () => {\n const { estimationData, estimationData: { typology, extraInfos }} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n const typoCharacteristics = characteristics[typology]\n\n const handleChange = (e, characteristic) => {\n e.preventDefault();\n dispatch(updateEstimationData({\n ...estimationData,\n extraInfos: {\n ...extraInfos,\n [characteristic.slug]: !extraInfos[characteristic.slug]\n }\n }))\n }\n\n if (!typoCharacteristics) return null;\n\n return (\n
    \n \n
    \n

    Votre logement comporte-t-il une de ces spécificités ?

    \n\n
    \n {characteristics[typology].map(characteristic => {\n return (\n handleChange(e, characteristic)}\n >\n \n
    \n )\n })}\n
    \n
    \n\n \n \n
    \n )\n}\n\nexport default ExtraInfos;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport NavigationButtons from '../../components/NavigationButtons';\n\nimport { FadeIn, NumberInput, Label } from 'hosman-material';\n\nimport { updateEstimationData } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst PriceExpectations = () => {\n const { estimationData, estimationData: { priceExpectations }} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n\n return (\n
    \n \n
    \n

    Quel serait votre prix de vente idéal ?

    \n\n
    \n dispatch(updateEstimationData({\n ...estimationData,\n priceExpectations: e.target.value\n }))}\n value={priceExpectations}\n sign='€'\n autoFocus\n />\n\n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n )\n}\n\nexport default PriceExpectations;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { Checkbox } from 'hosman-material';\n\nimport { updateStep, updateEstimationData, updateErrors } from '../../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst WaitingTimePeriodSelector = () => {\n const { estimationData, estimationData: { waitingTimePeriod }} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n\n const periods = [\n { slug: 'asap', name: 'Dès que possible' },\n { slug: 'less_than_six_months', name: 'Dans les 6 prochains mois' },\n { slug: 'more_than_six_months', name: 'Dans plus de 6 mois' },\n { slug: 'no_idea', name: 'Je ne sais pas, je démarre seulement ma réflexion' },\n { slug: 'no_selling_project', name: \"Je n'ai pas de projet de vente\" }\n ]\n\n const handleChange = (period) => {\n dispatch(updateErrors([]));\n dispatch(updateEstimationData({ ...estimationData, waitingTimePeriod: period.slug, nonSellingReason: null }))\n if (period.slug !== 'no_selling_project') dispatch(updateStep({ stepNumber: 7 }))\n }\n\n return (\n
    \n

    Quand souhaitez vous vendre ce bien ?

    \n\n
    \n {periods.map(period => {\n return (\n handleChange(period)}\n >\n \n
    \n )\n })}\n
    \n
    \n )\n}\n\nexport default WaitingTimePeriodSelector;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\n\nimport { FadeIn, Checkbox } from 'hosman-material';\n\nimport { updateStep, updateEstimationData } from '../../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst NonSellingReasonSelector = () => {\n const { estimationData, estimationData: { waitingTimePeriod, nonSellingReason }} = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch();\n\n const reasons = [\n { slug: 'family_activity', name: \"J'ai besoin d'une estimation pour une donation, une succession, ou un divorce\" },\n { slug: 'administration', name: \"J'ai besoin d'une estimation pour renégocier mon prêt ou pour les impôts\" },\n { slug: 'buying', name: \"J'achète ce bien et souhaite vérifier sa valeur\" },\n { slug: 'tenant', name: 'Je suis locataire de ce bien' },\n { slug: 'curiosity', name: \"Je souhaite vérifier la valeur de mon bien\" }\n ]\n\n useEffect(() => {\n if (waitingTimePeriod !== 'no_selling_project') return;\n\n setTimeout(() => {\n window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' })\n }, 220);\n }, [waitingTimePeriod]);\n\n const handleChange = (reason) => {\n dispatch(updateEstimationData({ ...estimationData, nonSellingReason: reason.slug }))\n dispatch(updateStep({ stepNumber: 6 }))\n window.scrollTo({ top: 0, behavior: 'smooth' })\n }\n\n if (waitingTimePeriod !== 'no_selling_project') return null;\n return (\n \n
    \n

    Pourquoi estimez-vous ce bien ?

    \n\n
    \n {reasons.map(reason => {\n return (\n handleChange(reason)}\n >\n \n
    \n )\n })}\n
    \n
    \n \n )\n}\n\nexport default NonSellingReasonSelector;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport NavigationButtons from '../../components/NavigationButtons';\nimport WaitingTimePeriodSelector from './components/WaitingTimePeriodSelector';\nimport NonSellingReasonSelector from './components/NonSellingReasonSelector';\n\nimport { FadeIn } from 'hosman-material';\nimport { D_CircleExclamation } from 'hosman-material';\n\nconst Reason = () => {\n const { errors } = useSelector((state) => state.estimationFunnel);\n // We need to reinitialize hasEffectRun to make sure it can rerun for a new estimation\n localStorage.removeItem('hasEffectRun');\n\n return (\n
    \n \n
    \n

    Votre projet de vente

    \n\n \n\n \n
    \n\n
    \n {errors.waitingTimePeriod &&\n
    \n \n\n

    {errors.waitingTimePeriod}

    \n
    \n }\n\n \n
    \n
    \n
    \n )\n}\n\nexport default Reason;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\n\nimport NavigationButtons from '../../components/NavigationButtons'\nimport { FadeIn, RadioInput, TextInput, PhoneNumberInput } from 'hosman-material';\n\nimport { updateStep, updateEstimationData, updateErrors } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst Contact = () => {\n const { currentStep, estimationData, estimationData: { lead }, errors} = useSelector((state) => state.estimationFunnel);\n const { user } = useSelector((state) => state.user);\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (user.id) {\n dispatch(updateEstimationData({\n ...estimationData,\n lead: {\n civility: user.civility,\n first_name: user.first_name,\n last_name: user.last_name,\n email: user.email,\n phone_number: user.phone_number,\n phone_country_code: user.phone_country_code,\n }\n }))\n\n dispatch(updateStep({ stepNumber: currentStep.number + 1 }))\n }\n }, []);\n\n const handleInputChange = (e) => {\n const { name, value } = e.target\n dispatch(updateEstimationData({\n ...estimationData,\n lead: {\n ...lead,\n [name]: value\n }\n }))\n\n removeFieldError(name)\n };\n\n const removeFieldError = (name) => {\n if (!errors[name]) return;\n\n const newErrors = {...errors}\n delete newErrors[name];\n dispatch(updateErrors(newErrors))\n }\n\n return (\n
    \n \n
    \n
    \n

    Votre estimation est prête !

    \n

    Renseignez ces informations afin de recevoir votre estimation.

    \n
    \n\n
    \n handleInputChange({ target: { name: 'civility', value: val }})}\n small\n errors={errors}\n />\n\n \n\n \n\n \n\n handleInputChange({ target: { name: 'phone_number', value: val }})}\n onChangeCountryCode={(val) => handleInputChange({ target: { name: 'phone_country_code', value: val }})}\n phoneValue={lead.phone_number}\n countryCodeValue={lead.phone_country_code}\n errors={errors}\n autoComplete='tel-national'\n />\n\n \n\n

    En confirmant, vous acceptez notre politique d'utilisation des données personnelles.

    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Contact;\n","import { useEffect, useState } from 'react';\n\nfunction usePreventRefresh() {\n const [isRefreshAttempted, setIsRefreshAttempted] = useState(false);\n\n useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === 'F5' || (event.ctrlKey && event.key === 'r')) {\n event.preventDefault();\n setIsRefreshAttempted(true);\n }\n };\n\n const handleBeforeUnload = (event) => {\n event.preventDefault();\n event.returnValue = ''; // Nécessaire pour certains navigateurs\n setIsRefreshAttempted(true);\n };\n\n window.addEventListener('keydown', handleKeyDown);\n window.addEventListener('beforeunload', handleBeforeUnload);\n\n // Clean les eventListeners quand le composant est démonté\n return () => {\n window.removeEventListener('keydown', handleKeyDown);\n window.removeEventListener('beforeunload', handleBeforeUnload);\n };\n }, []);\n\n return isRefreshAttempted;\n}\n\nexport default usePreventRefresh;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { D_House } from 'hosman-material';\n\nconst Loader = ({ resultData, setIsReady }) => {\n const [value, setValue] = useState(0)\n const loaderStarted = useRef(false);\n\n useEffect(() => {\n if (loaderStarted.current) return;\n\n loaderStarted.current = true;\n Array.from({ length: 90 }).map((item, index) => {\n setTimeout(() => {\n setValue((prev => prev + 1))\n }, index * 50);\n })\n }, []);\n\n useEffect(() => {\n if (!resultData) return;\n\n setValue(90)\n Array.from({ length: 10 }).map((item, index) => {\n setTimeout(() => {\n setValue((prev => prev + 1))\n }, index * 90);\n })\n\n setTimeout(() => {\n setIsReady(true)\n }, 500);\n }, [resultData]);\n\n return (\n
    \n \n \n
    \n \n )\n}\n\nexport default Loader;\n","import React, { useState, useEffect } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { S_CircleCheck, S_HourglassHalf } from 'hosman-material';\n\nconst FadeInList = () => {\n const baseItems = [\n { visible: false, icon: S_CircleCheck, iconColor: 'text-ih-blue', content: 'Récupération des transactions historiques' },\n { visible: false, icon: S_CircleCheck, iconColor: 'text-ih-blue', content: 'Analyse des biens en vente à proximité' },\n { visible: false, icon: S_CircleCheck, iconColor: 'text-ih-blue', content: 'Calcul de votre estimation...' },\n { visible: false, icon: S_HourglassHalf, iconColor: 'text-ih-orange', content: \"Le calcul est plus long que d'habitude, merci pour votre patience\" }\n ];\n const [items, setItems] = useState(baseItems)\n\n useEffect(() => {\n items.map((item, index) => {\n setTimeout(() => {\n setItems((prev => {\n const newItems = [...prev]\n newItems[index].visible = true\n return newItems\n }))\n }, index * 2000);\n })\n }, []);\n\n return (\n
    \n {items.map(item => {\n return (\n
    \n \n

    {item.content}

    \n
    \n )\n })}\n
    \n )\n}\n\nexport default FadeInList;\n","import client from '../client';\n\nconst ESTIMATIONS = {\n createEstimation(params) {\n if (isNonEmptyString(params.email)) return {};\n\n return client.post('/estimations', { estimation: params }, { withCredentials: true })\n },\n\n getBaseEstimationData(uniqueHash) {\n return client.get(`/sales/${uniqueHash}/estimation_results`)\n },\n}\n\nfunction isNonEmptyString(value) {\n return typeof value !== 'string' || value.length <= 1;\n}\n\nexport default ESTIMATIONS;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { toast } from 'react-hot-toast';\nimport usePreventRefresh from '../../../../../../../shared/utils/hooks/usePreventRefresh';\n\nimport Circle from './components/Circle';\nimport FadeInList from './components/FadeInList';\n\nimport { FadeIn } from 'hosman-material';\n\nimport ESTIMATIONS from '../../../../../../../shared/apiPublic/ressources/estimations';\nimport { updateStep } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\nimport { ga4Event } from '../../../../../../../shared/utils/ga4Event';\n\nconst Loader = () => {\n const { estimationData } = useSelector((state) => state.estimationFunnel);\n const [resultData, setResultData] = useState()\n const [isReady, setIsReady] = useState(false)\n const navigate = useNavigate();\n const dispatch = useDispatch();\n const isRefreshAttempted = usePreventRefresh();\n\n const createEstimation = async () => {\n const mergedObj = Object.assign(\n {},\n estimationData.placeData,\n estimationData.mainInfos,\n estimationData.extraInfos,\n estimationData.lead,\n { kind: estimationData.typology },\n { price_expectations: parseInt(estimationData.priceExpectations.replace(/\\s/g, '')) },\n { waiting_time_period: estimationData.waitingTimePeriod },\n { non_selling_reason: estimationData.nonSellingReason }\n );\n\n let response;\n try {\n if (localStorage.getItem('hasEffectRun') || mergedObj.email === undefined) return;\n\n localStorage.setItem('hasEffectRun', 'true');\n response = await ESTIMATIONS.createEstimation(mergedObj)\n setResultData(response.data)\n try {\n handleGaEvent(response.data);\n } catch (gaError) {\n console.error('Error in handleGaEvent:', gaError);\n }\n } catch (e) {\n const errorMessage = e.response?.data?.error?.message?.error || 'Une erreur est survenue lors de la création de votre estimation';\n toast.error(errorMessage, { id: 'estimation-creation-fail', duration: 3000 })\n dispatch(updateStep({ stepNumber: 1 }))\n }\n }\n\n useEffect(() => {\n const hasEffectRun = localStorage.getItem('hasEffectRun');\n\n // Make sure to only create estimation once\n if (!hasEffectRun) {\n createEstimation();\n }\n }, []);\n\n const handleGaEvent = (responseData) => {\n const payload = {\n city: responseData.property?.city,\n region: responseData.region?.name_raw,\n amount: responseData.last_yanport_valuation?.sale_price,\n potential_premium: responseData.potential_premium,\n waiting_time_period: estimationData.waitingTimePeriod,\n non_selling_reason: estimationData.nonSellingReason,\n property_kind: estimationData.typology,\n surface: estimationData.mainInfos.carrez_area || estimationData.mainInfos.living_area,\n user_id: responseData.owner?.id,\n user_email: estimationData.lead.email,\n user_phone: estimationData.lead.phone_number,\n user_first_name: estimationData.lead.first_name,\n user_last_name: estimationData.lead.last_name\n }\n\n ga4Event('complete_estimation', payload);\n }\n\n useEffect(() => {\n if (!isReady || !resultData) return;\n\n localStorage.removeItem('hasEffectRun');\n navigate(`/estimation/resultat/${resultData.unique_hash}`);\n }, [isReady, resultData]);\n\n return (\n \n
    \n \n\n

    Première estimation de votre bien en cours...

    \n\n \n
    \n
    \n )\n}\n\nexport default Loader;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { Modal, Button } from 'hosman-material';\nimport { S_LocationDot } from 'hosman-material';\n\nimport { purgeEstimationData } from '../../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst RestoreModal = ({ persitedStoreModalOpen, setPersitedStoreModalOpen }) => {\n const { estimationData: { placeData } } = useSelector((state) => state.estimationFunnel);\n const navigate = useNavigate();\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (!placeData.lat) return\n\n setPersitedStoreModalOpen(true)\n }, []);\n\n useEffect(() => {\n if (placeData.lat) return\n\n setPersitedStoreModalOpen(false)\n }, [placeData]);\n\n const continueFunnel = () => {\n setPersitedStoreModalOpen(false);\n navigate(location.pathname, { replace: true });\n }\n\n const emptyPersistedStore = () => {\n setPersitedStoreModalOpen(false);\n dispatch(purgeEstimationData());\n }\n\n return (\n setPersitedStoreModalOpen(false)} width='w-full md:w-2/3'>\n
    \n
    \n

    Une estimation est déjà en cours

    \n
    \n \n

    {placeData.formatted_address}

    \n
    \n
    \n

    Souhaitez-vous continuer cette estimation ou estimer un autre bien?

    \n\n
    \n
    \n
    \n
    \n )\n}\n\nexport default RestoreModal;\n","const allSteps = [\n { number: 1, name: 'Adresse', path: 'adresse', displayNavigation: true },\n { number: 2, name: 'Type de bien', path: 'typologie', displayNavigation: true },\n { number: 3, name: 'Informations principales', path: 'informations', displayNavigation: true },\n { number: 4, name: 'Spécificités du bien', path: 'specificites', displayNavigation: true },\n { number: 5, name: 'Motif', path: 'motif', displayNavigation: true },\n { number: 6, name: 'Contact', path: 'contact', displayNavigation: false },\n { number: 7, name: 'Résultat', path: 'resultat', displayNavigation: false },\n]\n\nconst matchedStep = allSteps.find((step) => window.location.pathname.includes(step.path));\n\nexport const DemoStore = {\n storeCreationTime: new Date(),\n allSteps: allSteps,\n currentStep: matchedStep || allSteps[0],\n placeData: {\n formatted_address: '4 Rue de Rivoli, 75002 Paris, France',\n street_number: '4',\n street_name: 'Rue de Rivoli',\n zip_code: '75002',\n city: 'Paris',\n country_code: 'FR',\n lat: 48.8807699,\n lng: 2.3416789\n },\n typology: 'apartment',\n mainInfos: {\n carrez_area: 34,\n living_area: 56,\n land_area: 70,\n floor: 3,\n total_floor: 7,\n room_number: 2,\n bedroom_number: 1,\n construction_time: 'before_1850',\n good_state: 'good'\n },\n extraInfos: {\n elevator: false,\n balcony: false,\n terrace: true,\n cellar: false,\n concierge: false,\n parking: true\n },\n priceExpectations: '',\n waitingTimePeriod: null,\n nonSellingReason: null,\n lead: {\n civility: '',\n first_name: '',\n last_name: '',\n email: '',\n phone_number: '',\n phone_country_code: 'FR'\n }\n}\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport CustomRoutes from '../../../../../../../shared/utils/customRoutes';\nimport { validateStep } from '../../steps/Validators';\nconst PERSISTSTORE_MAX_DURATION = 60 * 60 * 1000; // One hour\n\nimport RestoreModal from './components/RestoreModal';\n\nimport { updateStep, purgeEstimationData, updateFullStore } from '../../../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nimport { DemoStore } from './DemoStore';\n\nconst RoutesWrapper = ({ children }) => {\n const { storeCreationTime, currentStep, estimationData } = useSelector((state) => state.estimationFunnel);\n const [persitedStoreModalOpen, setPersitedStoreModalOpen] = useState(false);\n const dispatch = useDispatch();\n\n useEffect(() => {\n // Check validity of step at URL arrival\n const contract = validateStep({ stepNumber: currentStep.number - 1, data: estimationData });\n if (contract.valid) return;\n\n dispatch(updateStep({ stepNumber: 1 }))\n }, []);\n\n useEffect(() => {\n // Empty persisted store when persisted store is more than 1 hour old\n const oldEstimation = ((new Date) - new Date(storeCreationTime)) > PERSISTSTORE_MAX_DURATION\n\n if (oldEstimation) {\n setTimeout(() => {\n dispatch(purgeEstimationData())\n }, 500);\n }\n }, []);\n\n const minHeightMobile = () => {\n return currentStep.displayNavigation ? 'min-h-[calc(100vh-10rem)]' : 'min-h-[calc(100vh-7rem)]'\n }\n\n return (\n
    \n
    \n {!persitedStoreModalOpen &&\n \n {children}\n \n }\n\n {process.env.NODE_ENV === 'development' &&\n
    \n \n \n
    \n }\n\n \n
    \n
    \n )\n}\n\nexport default RoutesWrapper;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { validateStep } from '../../../steps/Validators';\nimport { toast } from 'react-hot-toast';\n\nimport { updateStep } from '../../../../../../../reducers/_Pages/Public/estimationFunnelSlice'\n\nconst StepsNavigation = () => {\n const { currentStep, allSteps, estimationData } = useSelector((state) => state.estimationFunnel);\n const dispatch = useDispatch()\n\n const handleNavigate = (step) => {\n if (isPreviousStepValid(step.number)) {\n dispatch(updateStep({ stepNumber: step.number }))\n } else {\n toast(\n

    Veuillez remplir les étapes précédentes d'abord

    \n , { type: 'info', duration: 3000, id: 'stepFunnel' })\n }\n }\n\n const isPreviousStepValid = (stepNumber) => {\n const contract = validateStep({ stepNumber: stepNumber - 1, data: estimationData });\n\n return contract.valid\n }\n\n return (\n
    \n {allSteps.filter(step => step.displayNavigation).map((step, index) => {\n return (\n
    handleNavigate(step)}>\n
    \n
    0{step.number}
    \n
    \n\n
    \n

    {step.name}

    \n {(currentStep.name !== step.name && index !== 5) &&

    -

    }\n
    \n
    \n )\n })}\n
    \n )\n}\n\nexport default StepsNavigation;\n","import React, { useState, useEffect } from 'react';\n\nconst MobileHeader = ({ currentStep, allSteps }) => {\n const [progress, setProgress] = useState()\n const totalSteps = allSteps.filter(step => step.displayNavigation).length;\n\n useEffect(() => {\n setProgress(((currentStep.number / totalSteps) - 0.1) * 100);\n }, [currentStep]);\n\n return (\n
    \n
    \n

    {currentStep.number}/{totalSteps}

    \n

    {currentStep.name}

    \n
    \n
    \n \n \n
    \n
    \n )\n}\n\nexport default MobileHeader;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { trustpilot } from '../../../../../../../shared/assets/logos'\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\n\nimport StepsNavigation from './components/StepsNavigation';\nimport MobileHeader from './components/MobileHeader';\nimport { HosmanLogo } from 'hosman-material';\n\nconst Header = () => {\n const { currentStep, allSteps } = useSelector((state) => state.estimationFunnel);\n\n return (\n
    \n
    \n
    \n \n \n \n
    \n\n {currentStep.displayNavigation && }\n\n
    \n trustpilot\n\n

    4,9/5 • Excellent

    \n
    \n
    \n\n {currentStep.displayNavigation &&\n \n }\n
    \n )\n}\n\nexport default Header;\n","import React, { useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { Route, Navigate, useNavigate, useLocation } from 'react-router-dom';\nimport { generateLink } from '../../../../../shared/utils/railsRoutes';\nimport { ga4Event } from '../../../../../shared/utils/ga4Event';\n\nimport Address from './steps/1.Address';\nimport Typology from './steps/2.Typology';\nimport MainInfos from './steps/3.MainInfos';\nimport ExtraInfos from './steps/4.ExtraInfos';\nimport PriceExpectations from './steps/5.PriceExpectations';\nimport Reason from './steps/6.Reason';\nimport Contact from './steps/7.Contact';\nimport Loader from './steps/8.Loader';\n\nimport RoutesWrapper from './components/RoutesWrapper';\nimport Header from './components/Header';\nimport NavigationButtons from './components/NavigationButtons';\n\nimport { updateStep } from '../../../../reducers/_Pages/Public/estimationFunnelSlice'\n\nconst EstimationFunnel = () => {\n const { currentStep, allSteps } = useSelector((state) => state.estimationFunnel);\n const { user } = useSelector((state) => state.user);\n const dispatch = useDispatch()\n const navigate = useNavigate()\n const location = useLocation()\n\n useEffect(() => {\n ga4Event('start_estimation')\n }, [])\n\n useEffect(() => {\n if (!user.email) return;\n\n if (user.email.endsWith('@hosman.co')) {\n window.location.href = generateLink(RailsRoutes.root_path())\n }\n }, [user]);\n\n useEffect(() => {\n window.scrollTo(0, 0);\n if (!currentStep) return;\n\n handleMatchedStep();\n handleTitleAndMetaDatas(currentStep);\n window.addEventListener('popstate', handleBackButton);\n }, [currentStep]);\n\n const handleMatchedStep = () => {\n const matchedStep = allSteps.find(step => step.number === currentStep.number)\n navigate(`${matchedStep.path}${location.search}`)\n }\n\n const handleBackButton = () => {\n if (currentStep.number === 1) {\n dispatch(updateStep({ stepNumber: 1 }))\n } else {\n dispatch(updateStep({ stepNumber: currentStep.number - 1 }))\n }\n };\n\n return (\n
    \n
    \n\n \n } />\n } />\n } />\n } />\n } />\n } />\n } />\n } />\n } />\n \n\n {currentStep.number != 1 &&\n \n }\n
    \n )\n}\n\nexport default EstimationFunnel;\n\nfunction handleTitleAndMetaDatas(currentStep) {\n document.title = `Estimation - ${currentStep.name}`;\n const metaTitleTag = document.querySelector(\"meta[name='title']\");\n const metaDescTag = document.querySelector(\"meta[name='description']\");\n\n if (metaTitleTag) {\n metaTitleTag.content = 'Estimez votre bien gratuitement en quelques clics seulement';\n metaDescTag.content = \"Notre estimateur en ligne vous permet d'obtenir la fourchette de prix de votre bien en 5 minutes seulement, gratuitement et sans engagement\";\n }\n}\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { trustpilot } from '../../../../../../shared/assets/logos'\nimport { generateLink } from '../../../../../../shared/utils/railsRoutes';\n\nimport { HosmanLogo } from 'hosman-material';\n\nconst Header = () => {\n\n return (\n
    \n
    \n \n \n \n\n
    \n trustpilot\n\n

    4,9/5 • Excellent

    \n
    \n
    \n
    \n )\n}\n\nexport default Header;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { useParams } from 'react-router-dom';\n\nimport EstimationResult from '../../../../../shared/EstimationResult';\nimport Header from '../../components/Header';\n\nimport ESTIMATIONS from '../../../../../../../shared/apiPublic/ressources/estimations';\n\nconst Result = ({ baseEstimationData }) => {\n const [sale, setSale] = useState(baseEstimationData);\n const intervalIdRef = useRef(null);\n let { uniqueHash } = useParams();\n\n useEffect(() => {\n if (sale.expert) return;\n\n intervalIdRef.current = setInterval(async () => {\n getAllocatedExpert();\n }, 3000);\n\n return () => {\n if (intervalIdRef.current) clearInterval(intervalIdRef.current);\n };\n }, []);\n\n const getAllocatedExpert = async() => {\n const response = await ESTIMATIONS.getBaseEstimationData(uniqueHash);\n setSale(response.data);\n\n if (response.data.expert && intervalIdRef.current) {\n clearInterval(intervalIdRef.current);\n intervalIdRef.current = null;\n }\n }\n\n return (\n <>\n
    \n\n
    \n \n
    \n \n )\n}\n\nexport default Result;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { HosmanLogo, S_CircleCheck } from 'hosman-material';\nimport { generateLink } from '../../../../../../../../shared/utils/railsRoutes';\n\nconst LeftBanner = () => {\n const pros = [\n \"Une première fourchette d'estimation de votre bien\",\n \"Des informations précises sur l'immobilier dans votre quartier\",\n 'La possibilité de faire estimer votre bien par un expert Hosman'\n ]\n\n return (\n
    \n
    \n \n \n \n

    Sur votre espace en ligne Hosman vous pourrez retrouver

    \n\n {pros.map(pro => {\n return (\n
    \n \n

    {pro}

    \n
    \n )\n })}\n
    \n
    \n )\n}\n\nexport default LeftBanner;\n","import React, { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { useNavigate } from 'react-router-dom';\nimport { generateLink } from '../../../../../../../../shared/utils/railsRoutes';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { smilingFace } from '../../../../../../../../shared/assets/emojis'\n\nimport { TextInput, Button, Emoji, Label, HosmanLogo } from 'hosman-material';\nimport { S_CircleCheck, S_EyeSlash, S_Eye } from 'hosman-material';\n\nimport { getUser } from '../../../../../../../reducers/App/userSlice';\nimport USERS from '../../../../../../../../shared/apiPublic/ressources/users';\nimport { greeting } from '../../../../../../../../shared/utils/helpers/hosmanVars';\n\nconst LoginForm = ({ baseEstimationData }) => {\n const [user, setUser] = useState({ email: baseEstimationData.owner.email, password: '', passwordConfirmation: '' })\n const [errors, setErrors] = useState({})\n const [isSubmitted, setIsSubmitted] = useState(false)\n const [showPasswords, setShowPasswords] = useState({})\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const minCharPassword = user.password.length >= 8\n const newUser = baseEstimationData.owner.last_sign_in_at == null\n\n const handleChange = (e) => {\n setErrors({});\n const { name, value } = e.target;\n\n setUser((prev) => ({ ...prev, [name]: value }))\n }\n\n const validatePasswords = () => {\n const { password, passwordConfirmation } = user;\n\n if (!minCharPassword) return setErrors({ password: ['*Le mot de passe doit contenir au minimum 8 caractères'] })\n if (password !== passwordConfirmation) return setErrors({ passwordConfirmation: ['*Les mots de passe ne sont pas identiques'] })\n\n return true;\n }\n\n const signUserIn = async() => {\n const passwordIsValid = !newUser || validatePasswords()\n\n if (!passwordIsValid) return;\n\n let response;\n try {\n setIsSubmitted(true)\n response = await USERS.signIn({ email: user.email, password: user.password })\n\n if (response.data.error) {\n setIsSubmitted(false)\n setErrors({ password: [`*${response.data.error}`] })\n }\n } catch (e) {\n console.log(e);\n } finally {\n if (response.data.sign_in) {\n localStorage.setItem('token', response.data.token);\n dispatch(getUser());\n navigate(`/ev`);\n }\n }\n }\n\n return (\n
    \n
    \n
    \n \n \n \n
    \n

    Bienvenue {greeting(baseEstimationData.owner)}

    \n \n
    \n\n {!newUser &&

    Votre estimation est prête ! Visualisez-là sur votre espace en ligne en vous connectant à votre compte

    }\n {newUser &&

    Votre estimation est prête ! Visualisez-là sur votre espace en ligne en choisissant un mot de passe

    }\n
    \n\n
    \n
    \n \n\n \n
    \n\n
    \n \n\n setShowPasswords({ ...showPasswords, password: !showPasswords.password })} />\n \n
    \n\n {newUser &&\n
    \n \n\n setShowPasswords({ ...showPasswords, newPassword: !showPasswords.newPassword })} />\n
    \n }\n
    \n\n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default LoginForm;\n","import React from 'react';\n\nimport LeftBanner from './components/LeftBanner';\nimport LoginForm from './components/LoginForm';\n\nimport { LoadingLayer, FadeIn } from 'hosman-material';\n\nconst Signup = ({ baseEstimationData, setDisplayResult }) => {\n return (\n
    \n \n\n \n \n \n \n \n
    \n )\n}\n\nexport default Signup;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { Route, useParams, useNavigate } from 'react-router-dom';\nimport CustomRoutes from '../../../../../shared/utils/customRoutes';\nimport { generateLink } from '../../../../../shared/utils/railsRoutes';\n\nimport Result from './pages/Result';\nimport Signup from './pages/Signup';\nimport { LoadingLayer, FadeIn } from 'hosman-material';\n\nimport ESTIMATIONS from '../../../../../shared/apiPublic/ressources/estimations';\nimport { purgeEstimationData, updateStep } from '../../../../reducers/_Pages/Public/estimationFunnelSlice';\n\nconst EstimationResult = () => {\n const { user } = useSelector((state) => state.user);\n const [baseEstimationData, setBaseEstimationData] = useState({});\n const dispatch = useDispatch();\n const navigate = useNavigate();\n let { uniqueHash } = useParams();\n\n useEffect(() => {\n // Catch browser back button to redirect to AdressStep and avoid duplicates\n const handleBackButton = () => {\n dispatch(updateStep({ stepNumber: 1 }))\n };\n\n window.addEventListener('popstate', handleBackButton);\n document.title = 'Estimation - Résultat';\n }, []);\n\n const fetchBaseEstimationData = async () => {\n try {\n const response = await ESTIMATIONS.getBaseEstimationData(uniqueHash)\n setBaseEstimationData(response.data);\n } catch (error) {\n if (error.response && error.response.status === 403) {\n alert(\"Cette estimation n'est plus accessible\");\n window.location = generateLink(RailsRoutes.root_path())\n } else {\n window.location = generateLink(RailsRoutes.root_path())\n }\n }\n }\n\n useEffect(() => {\n dispatch(purgeEstimationData())\n fetchBaseEstimationData()\n }, []);\n\n useEffect(() => {\n if (!baseEstimationData || Object.keys(baseEstimationData).length === 0) return;\n\n if (baseEstimationData.state === 'dead') {\n navigate('invite')\n } else {\n if (user.id) {\n navigate(`/ev/ventes/${baseEstimationData.id || ''}`);\n }\n }\n }, [baseEstimationData]);\n\n return (\n \n \n \n } />\n } />\n \n \n \n )\n}\n\nexport default EstimationResult;\n","import React from 'react';\n\nimport { SelectInput } from 'hosman-material';\n\nconst reasons = [\n { id: 1, value: 'visitor_emergency', name: \"J'ai un imprévu\" },\n { id: 2, value: 'location', name: \"L'emplacement du bien ne me convient finalement pas\" },\n { id: 3, value: 'found', name: \"J'ai trouvé un bien qui me convient mieux\" },\n { id: 4, value: 'dislike', name: 'Ce bien a une caractéristique rédhibitoire pour moi' },\n { id: 5, value: 'partner', name: 'Le bien ne plaît pas à mon conjoint' }\n]\n\nconst ReasonInput = ({ selectedReason, setSelectedReason, errors, setErrors }) => {\n const handleSelect = (reason) => {\n setSelectedReason(reason);\n setErrors((prev) => ({ ...prev, cancel_reason: null }))\n }\n\n return (\n handleSelect(reason)}\n errors={errors}\n />\n )\n}\n\nexport default ReasonInput;\n","import React from 'react';\n\nimport { TextAreaInput } from 'hosman-material';\n\nconst CancelCommentInput = ({ cancelComment, setCancelComment, errors, setErrors }) => {\n const handleChange = (e) => {\n setCancelComment(e.target.value);\n setErrors((prev) => ({ ...prev, cancel_comment: null }))\n }\n\n return (\n handleChange(e)}\n errors={errors}\n />\n )\n}\n\nexport default CancelCommentInput;\n","import React, { useState } from 'react';\nimport { useParams, useNavigate } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { toast } from 'react-hot-toast';\nimport { S_Check } from 'hosman-material';\nimport { longDateTime } from '../../../../../../../../../shared/utils/formattedDates';\n\nimport ReasonInput from './components/ReasonInput';\nimport CancelCommentInput from './components/CancelCommentInput';\n\nimport { D_CalendarStar } from 'hosman-material';\nimport { Card, Box, InfoBox, Button } from 'hosman-material';\n\nimport PUBLIC_VISITS from '../../../../../../../../api/ressources/App/visits';\n\nconst VisitCancelForm = ({ visit }) => {\n const [selectedReason, setSelectedReason] = useState(null);\n const [cancelComment, setCancelComment] = useState('');\n const [errors, setErrors] = useState({});\n const [isCancelling, setIsCancelling] = useState(false);\n const { userSlug } = useParams();\n let navigate = useNavigate();\n\n const handleSubmit = async() => {\n if (handleErrors()) return;\n\n try {\n setIsCancelling(true)\n const response = await PUBLIC_VISITS.cancelVisit(visit.id, userSlug, {\n cancel_reason: selectedReason.value,\n cancel_comment: cancelComment\n })\n navigate('success');\n toast.success(\n

    Votre visite a bien été annulée

    \n , { icon: S_Check, duration: 3000 })\n } catch (error) {\n console.log(error);\n } finally {\n setIsCancelling(false)\n }\n }\n\n const handleErrors = () => {\n if (!selectedReason) setErrors((prev) => ({ ...prev, cancel_reason: ['*Veuillez sélectionner un motif'] }))\n if (!cancelComment) setErrors((prev) => ({ ...prev, cancel_comment: ['*Veuillez apporter plus de détails'] }))\n\n return (!selectedReason || !cancelComment)\n }\n\n return (\n
    \n

    \n Visite du {longDateTime({ date: visit.start_time })} au {visit.property_address.replace(', France', '')}\n

    \n\n \n \n\n

    Pour quel motif souhaitez-vous annuler la visite ?

    \n\n
    \n \n\n \n
    \n\n \n

    Si vous souhaitez décaler votre visite, veuillez d'abord annuler celle-ci, puis en réserver une nouvelle.

    \n
    \n\n
    \n
    \n
    \n
    \n )\n}\n\nexport default VisitCancelForm;\n","import React, { useState } from 'react';\nimport { useParams, useNavigate } from 'react-router-dom';\nimport { toast } from 'react-hot-toast';\n\nimport { Card, TextInput, Button } from 'hosman-material';\nimport { S_Check } from 'hosman-material';\n\nimport VISITS from '../../../../../../../api/ressources/App/visits';\n\nconst Authentication = ({ setVisit }) => {\n const [email, setEmail] = useState('')\n const [errors, setErrors] = useState({})\n const [isPending, setIsPending] = useState(false)\n const { visitId, userSlug } = useParams();\n let navigate = useNavigate();\n\n const handleEmail = (e) => {\n setEmail(e.target.value);\n setErrors({});\n }\n\n const handleAuth = async() => {\n try {\n setIsPending(true)\n const response = await VISITS.authCancelVisit(visitId, { email: email })\n if (response.status == 200) fetchVisit();\n } catch (error) {\n setIsPending(false)\n setErrors({ email: [\"*L'email ne correspond pas\"] })\n }\n }\n\n const fetchVisit = async() => {\n try {\n const response = await VISITS.getVisit(visitId, userSlug)\n setVisit(response.data);\n\n if (response.data.canceled) {\n toast.success(\n

    Cette visite est déja annulée

    \n , { icon: S_Check, duration: 3000 })\n navigate('success');\n }\n } catch (error) {\n setErrors({ email: [\"*L'email ne correspond pas\"] })\n } finally {\n setIsPending(false)\n }\n }\n\n return (\n
    \n

    Authentification

    \n\n \n handleEmail(e)}\n errors={errors}\n />\n\n
    \n )\n}\n\nexport default Authentication;\n","import React, { useRef } from 'react';\nimport { AnimatePresence, motion } from 'framer-motion';\n\nimport VisitCancelForm from './components/VisitCancelForm';\nimport Authentication from './components/Authentication';\n\nconst VisitCancelModule = ({ visit, setVisit }) => {\n const containerRef = useRef();\n\n return (\n
    \n \n {visit.id ? (\n \n \n \n ) : (\n \n \n \n )}\n \n
    \n )\n}\n\nexport default VisitCancelModule;\n","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { longDateTime } from '../../../../../../../shared/utils/formattedDates';\nimport { generateLink } from '../../../../../../../shared/utils/railsRoutes';\n\nimport { Button } from 'hosman-material';\nimport { S_Check } from 'hosman-material';\n\nconst VisitCancelSuccess = ({ visit }) => {\n if (!visit.id) {\n location.href = location.href.replace('/success', '');\n return\n }\n\n return (\n
    \n
    \n \n\n

    \n Votre visite du {longDateTime({ date: visit.start_time })} au {visit.property_address.replace(', France', '')} a bien été annulée\n

    \n\n

    Vous souhaitez visiter ce bien sur un autre créneau ?

    \n\n \n
    \n
    \n )\n}\n\nexport default VisitCancelSuccess;\n","import React, { useState } from 'react';\nimport { Route } from 'react-router-dom';\nimport CustomRoutes from '../../../../../shared/utils/customRoutes';\nimport { generateLink } from '../../../../../shared/utils/railsRoutes';\n\nimport VisitCancelModule from './pages/VisitCancelModule';\nimport VisitCancelSuccess from './pages/VisitCancelSuccess';\n\nimport { HosmanLogo, Avatar } from 'hosman-material';\n\nconst VisitCanceler = () => {\n const [visit, setVisit] = useState({})\n\n return (\n <>\n
    \n
    \n
    \n \n \n \n\n {visit.expert &&\n
    \n \n\n
    \n

    Expert Hosman

    \n\n

    \n {visit.expert.first_name}\n ({visit.expert.phone_number.replace(/.{2}/g, '$& ').trim()})\n

    \n
    \n
    \n }\n
    \n
    \n
    \n\n \n } />\n } />\n \n \n )\n}\n\nexport default VisitCanceler;\n","import React, { useState, useEffect } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport {\n Route,\n Navigate,\n useNavigate,\n useLocation\n} from 'react-router-dom';\nimport { generateLink } from '../../../../shared/utils/railsRoutes';\nimport CustomRoutes from '../../../../shared/utils/customRoutes';\nimport AuthenticatedRoutes from '../../../utils/AuthenticatedRoutes';\nimport ErrorsBoundary from '../../../../shared/utils/errorsBoundary';\n\nimport BuyerApp from '../BuyerApp';\nimport SellerApp from '../SellerApp';\nimport AcceptOffer from '../../_Pages/AcceptOffer';\nimport MyAccount from '../../_Pages/MyAccount';\nimport BuyerAlertCreator from '../../_Pages/Public/BuyerAlertCreator';\nimport EstimationFunnel from '../../_Pages/Public/EstimationFunnel';\nimport EstimationResult from '../../_Pages/Public/EstimationResult';\nimport VisitCanceler from '../../_Pages/Public/VisitCanceler';\n\nimport { ClientSwitch, AccountCard } from 'hosman-material';\n\nimport { getUser, updateAuthState, resetUserReducer } from '../../../reducers/App/userSlice';\n\nconst App = () => {\n const { user } = useSelector((state) => state.user);\n let navigate = useNavigate();\n let location = useLocation();\n const dispatch = useDispatch();\n\n const clientSwitchOptions = [\n { section: 'seller', title: 'Espace vendeur', path: '/ev' },\n { section: 'buyer', title: 'Espace acheteur', path: '/ea' }\n ]\n const matchedPath = clientSwitchOptions.find((option) => location.pathname.includes(option.path));\n const [selectedOption, setSelectedOption] = useState(matchedPath || { path: '/' })\n\n useEffect(() => {\n if (!localStorage.getItem('token')) {\n dispatch(updateAuthState('none'));\n return;\n }\n\n if (localStorage.getItem('customerId') === 'none') return;\n dispatch(getUser());\n\n return function cleanup() {\n dispatch(resetUserReducer());\n };\n }, []);\n\n useEffect(() => {\n if (user.id && localStorage.sessionId !== localStorage.ga4SessionId) {\n localStorage.setItem('ga4SessionId', localStorage.sessionId)\n }\n localStorage.setItem('userId', user?.id)\n }, [user]);\n\n useEffect(() => {\n if (!user.first_name || selectedOption.section) return;\n\n if (user.salesCount > 0) {\n setSelectedOption(clientSwitchOptions[0])\n return\n }\n\n if (user.salesInterestsCount > 0) {\n setSelectedOption(clientSwitchOptions[1])\n return\n }\n }, [user]);\n\n const switchApp = (option) => {\n if (!location.pathname.includes(option.path)) {\n setSelectedOption(option);\n navigate(option.path);\n }\n }\n\n const clientSwitch = () => {\n if (!user || user.salesCount == 0 || user.salesInterestsCount == 0) return;\n\n return (\n
    \n \n
    \n )\n }\n\n const accountCard = () => {\n return (\n navigate(`/mon-compte`)}\n logoutLink={generateLink(RailsRoutes.destroy_user_session_path())}\n eugeneLink={generateLink(RailsRoutes.root_path())}\n />\n )\n }\n\n return (\n \n
    \n \n } />\n } />\n } />\n } />\n\n }>\n } />\n } />\n } />\n } />\n } />\n \n \n
    \n
    \n )\n}\n\nexport default App;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport PARTNERS from '../../api/ressources/App/partners';\n\nexport const getPartners = createAsyncThunk(\n '/partners',\n async (params) => {\n const response = await PARTNERS.getPartners(params)\n return response.data\n }\n);\n\nconst initialState = {\n partners: []\n};\n\nexport const partnersSlice = createSlice({\n name: 'partners',\n initialState,\n extraReducers: (builder) => {\n builder.addCase(getPartners.fulfilled, (state, { payload }) => {\n state.partners = payload.results;\n })\n },\n})\n\nexport default partnersSlice.reducer;\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';\n\nimport VALUATIONS from '../../api/ressources/SellerApp/valuations';\nimport BUYER_ALERTS from '../../api/ressources/SellerApp/buyerAlerts';\nimport PROPERTIES from '../../../shared/apiPublic/ressources/properties';\n\nexport const getValuation = createAsyncThunk(\n '/valuation#show',\n async (valuationId) => {\n const response = await VALUATIONS.getValuation(valuationId)\n return response.data\n }\n);\n\nexport const updateValuation = createAsyncThunk(\n '/valuation#update',\n async ({ valuationId, params }) => {\n await VALUATIONS.updateValuation(valuationId, params)\n return params\n }\n);\n\nexport const getSectorPropertiesCoordinates = createAsyncThunk(\n '/sectorPropertiesCoordinates#index',\n async (params) => {\n const response = await PROPERTIES.getPropertiesCoordinates(params)\n return response.data\n }\n);\n\nexport const getBuyerAlerts = createAsyncThunk(\n '/buyerAlerts#index',\n async ({ saleUniqueHash, price }) => {\n const response = await BUYER_ALERTS.getBuyerAlerts(saleUniqueHash, price)\n return response.data\n }\n);\n\nexport const getSoldProperties = createAsyncThunk(\n '/soldProperties#index',\n async (params) => {\n const response = await PROPERTIES.getProperties(params)\n return response.data\n }\n);\n\nconst initialState = {\n valuation: {},\n sectorPropertiesCoordinates: {\n requestState: '',\n sold: 0,\n mandateSigned: 0\n },\n buyerAlerts: { count: 0 },\n soldProperties: [],\n estimationMeeting: {},\n availabaleSlots: []\n};\n\nexport const onlineEstimationsSlice = createSlice({\n name: 'onlineEstimation',\n initialState,\n reducers: {\n resetOnlineEstimationReducer: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(getValuation.fulfilled, (state, { payload }) => {\n state.valuation = payload\n })\n builder.addCase(updateValuation.fulfilled, (state, { payload }) => {\n state.valuation = { ...state.valuation, ...payload }\n })\n builder.addCase(getSectorPropertiesCoordinates.fulfilled, (state, { payload }) => {\n state.sectorPropertiesCoordinates = {\n requestState: 'done',\n sold: payload.filter(sale => sale.state === 'sold'),\n mandateSigned: payload.filter(sale => sale.state === 'awaiting_offer')\n }\n })\n builder.addCase(getBuyerAlerts.fulfilled, (state, { payload }) => {\n state.buyerAlerts = payload\n })\n builder.addCase(getSoldProperties.fulfilled, (state, { payload }) => {\n state.soldProperties = payload.results\n })\n },\n})\n\nexport const { resetOnlineEstimationReducer } = onlineEstimationsSlice.actions;\n\nexport default onlineEstimationsSlice.reducer;\n","import { configureStore } from '@reduxjs/toolkit';\nimport { errorsInterceptor } from '../shared/middlewares/errorsInterceptor';\nimport { persistReducer } from 'redux-persist';\nimport storage from 'redux-persist/lib/storage';\n\n// Reducers\nimport { userReducer, articlesReducer, partnersReducer } from './reducers/App/_index';\nimport { salesInterestsReducer, visitsReducer, offersReducer, buyerAlertsReducer } from './reducers/BuyerApp/_index';\nimport { sellerSalesReducer, sellerOffersReducer, sellerPhotoMeetingsReducer, sellerVisitsReducer, sellerUnavailabilitiesReducer, sellerDocumentsReducer, sellerEstimationFoldersReducer, sellerOnlineEstimationsReducer, sellerMandatesReducer, sellerSalesUsersReducer } from './reducers/SellerApp/_index';\nimport { estimationFunnelReducer, buyerAlertCreatorReducer, sponsorshipModuleReducer } from './reducers/_Pages/_index';\n\n// Redux persist config\nconst estimationFunnelPersistConfig = {\n key: 'estimationFunnel',\n storage,\n blacklist: ['allSteps', 'currentStep']\n};\n\nconst persistedEstimationFunnelReducer = persistReducer(estimationFunnelPersistConfig, estimationFunnelReducer);\n\nconst reducers = {\n // Reducers only for General App\n user: userReducer,\n articles: articlesReducer,\n partners: partnersReducer,\n\n // Reducers only for BuyerApp\n buyerSalesInterests: salesInterestsReducer,\n buyerVisits: visitsReducer,\n buyerOffers: offersReducer,\n buyerBuyerAlerts: buyerAlertsReducer,\n\n // Reducers only for SellerApp\n sellerSales: sellerSalesReducer,\n sellerOffers: sellerOffersReducer,\n sellerPhotoMeetings: sellerPhotoMeetingsReducer,\n sellerVisits: sellerVisitsReducer,\n sellerUnavailabilities: sellerUnavailabilitiesReducer,\n sellerDocuments: sellerDocumentsReducer,\n sellerEstimationFolders: sellerEstimationFoldersReducer,\n sellerOnlineEstimations: sellerOnlineEstimationsReducer,\n sellerMandates: sellerMandatesReducer,\n sellerSalesUsers: sellerSalesUsersReducer,\n\n // Reducers only for Public Pages\n estimationFunnel: persistedEstimationFunnelReducer,\n buyerAlertCreator: buyerAlertCreatorReducer,\n sponsorshipModule: sponsorshipModuleReducer,\n};\n\n// Middlewares\nlet middlewares = [errorsInterceptor];\n\n// Adds redux logger only in developement mode\nif (process.env.NODE_ENV === 'development') {\n const { logger } = require('redux-logger');\n middlewares.push(logger);\n}\n\nexport function setupStore(preloadedState) {\n return configureStore({\n middleware: (getDefaultMiddleware) => getDefaultMiddleware({\n immutableCheck: process.env.NODE !== 'test',\n serializableCheck: false\n }).concat(middlewares),\n reducer: reducers,\n preloadedState\n })\n}\n","const gtmScript = () => {\n window.addEventListener('load', function() {\n if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'staging') {\n (function(w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });\n var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s),\n dl = l != 'dataLayer' ? '&l=' + l : '';\n j.async = true;\n j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\n if (process.env.NODE_ENV === 'staging') j.src += '>m_auth=cysMdMC7XenZFjqTsh2BBw>m_preview=env-109>m_cookies_win=x'\n f.parentNode.insertBefore(j, f);\n })(window, document, 'script', 'dataLayer', 'GTM-NGQZT4X');\n }\n });\n}\n\nexport default gtmScript;\n","import React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport ErrorsBoundary from './main/application/errorsBoundary';\nimport { Provider } from 'react-redux';\nimport { BrowserRouter } from 'react-router-dom';\nimport { PersistGate } from 'redux-persist/integration/react';\nimport { persistStore } from 'redux-persist';\nimport Toaster from '../_Apps/napoleon/components/Toaster';\n\n// import rails routes and add the to window\nimport * as routes from '../routes.js.erb'\nwindow.RailsRoutes = routes;\n\nimport App from './../_Apps/napoleon/containers/Apps/App'\nimport { setupStore } from './../_Apps/napoleon/store';\n\nimport gtmScript from '../shared/utils/gtm_script';\ngtmScript()\n\nconst napoleonRoot = document.getElementById('napoleon-root');\n\n// Set token and loggedUserId in localStorage and remove it from data-attribute\nlocalStorage.setItem('token', napoleonRoot.dataset.token);\ndelete napoleonRoot.dataset.token;\nlocalStorage.setItem('loggedUserId', napoleonRoot.dataset.loggedUserId);\ndelete napoleonRoot.dataset.loggedUserId;\n\n// Set customerId in localStorage\nif (napoleonRoot.dataset.customerId) {\n localStorage.setItem('customerId', napoleonRoot.dataset.customerId);\n delete napoleonRoot.dataset.customer_id;\n} else {\n const url = new URL(window.location.href);\n const customerId = url.searchParams.get('customer-id');\n\n if (customerId) {\n localStorage.setItem('customerId', customerId);\n } else {\n localStorage.setItem('customerId', 'none');\n }\n}\n\n// Set sessionId in localStorage\nlocalStorage.setItem('sessionId', napoleonRoot.dataset.sessionId);\ndelete napoleonRoot.dataset.session_id;\n\nif (napoleonRoot) {\n const store = setupStore();\n const persistor = persistStore(store);\n\n const root = createRoot(napoleonRoot);\n root.render(\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n"],"names":["ga4Event","eventName","data","window","dataLayer","push","options","observedElementIsVisible","setObservedElementIsVisible","useState","observedElementRef","useRef","useEffect","observer","IntersectionObserver","entries","forEach","entry","isIntersecting","currentElement","current","observe","unobserve","classNames","require","Toaster","toasts","handlers","useToaster","startPause","endPause","calculateOffset","updateHeight","React","className","onMouseEnter","onMouseLeave","map","toast","offset","id","reverseOrder","margin","classes","type","key","ref","el","height","getBoundingClientRect","style","transform","opacity","visible","FadeIn","icon","FontAwesomeIcon","size","message","S_Xmark","onClick","libToast","dismiss","AuthenticatedRoutes","user","children","authState","role_name","document","title","Outlet","location","generateLink","RailsRoutes","root_path","new_user_session_path","AvatarMenu","loggedUserId","first_name","last_name","useSelector","state","Menu","as","open","Button","Avatar","textColor","bgColor","userName","S_AngleUp","S_AngleDown","Transition","Fragment","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Items","Card","Item","Link","to","S_UserGroup","iconColor","label","fullWidth","href","S_ArrowLeft","destroy_user_session_path","rel","S_RightFromBracket","PageTitle","Box","AddToCalendarLinks","visit","calendar_links","length","calendarLink","index","link","target","charAt","toUpperCase","slice","ContactCard","imageSrc","firstName","phoneNumber","email","civility","border","InfoIcon","tooltip","replace","trim","S_Phone","S_Envelope","NextVisit","visits","salesInterests","buyerSalesInterests","sale","find","sale_id","visitIsDone","src","property","property_pictures","photo_url","S_Check","longDateTime","date","start_time","shortDateAndYear","address","google_maps_link","expert","photo","phone_number","visit_guide","profile_pic_url","post_visit_adverts_property_path","slug","adverts_property_path","LastOffer","offer","offers","textContent","review_status","status","amount","toLocaleString","created_at","timeline","review_accepted_at","review_refused_at","review_dropped_at","querystring","isProd","host","BASE_URL","origin","config","headers","localStorage","getItem","customerId","get","path","params","axios","stringify","post","delete","put","getBuyerAlerts","client","createBuyerAlert","buyer_alert","updateBuyerAlert","buyerAlertId","buyerAlertWithoutId","createAsyncThunk","async","BUYER_ALERTS","rejectWithValue","error","response","action","initialState","buyerAlerts","editedBuyerAlert","newModalOpen","isSubmitting","buyerAlertsState","unsubscriptionBuyerAlert","errors","buyerAlertsSlice","createSlice","name","reducers","setEditedBuyerAlert","payload","setNewModalOpen","updateUnsubscriptionBuyerAlert","updateError","resetBuyerAlerts","extraReducers","builder","addCase","pending","fulfilled","order","newPayload","updatedIndex","findIndex","buyerAlert","success","duration","active","rejected","actions","sort","a","b","Date","LastBuyerAlert","buyerBuyerAlerts","sortedBuyerAlerts","dispatch","useDispatch","navigate","useNavigate","D_BellOn","zone","join","min_budget","max_budget","min_area","min_room_number","user_id","EstimationBanner","gtmEvent","userId","place","setPlace","setParams","URLSearchParams","lat","lng","handleSubmit","formatted_address","dataToParams","url","toString","append","street_number","street_name","zip_code","city","country_code","e","stopPropagation","GeocoderInput","onChange","value","placeholder","listPlacement","locationIconColor","withSubmitBtn","firstEstimResult","alt","BuyerAlertCard","propertyCardCarousel","AdvertsCard","annonces_path","SponsorshipCard","S_CircleCheck","Home","saleInterestsState","allOffers","offersState","buyerOffers","allVisits","visitsState","buyerVisits","selectedVisit","futureVisits","filter","includes","pastVisits","selectDisplayedVisit","selectedOffer","D_House","LoadingLayer","isReady","every","greeting","Emoji","emojiSrc","smilingFace","width","Separator","setStateInfos","lastOffer","enrichedAdvert","color","linkText","online_offers_path","property_slug","offerInfos","selectVisit","canceled","SaleCard","setVisits","setOffers","labelInfos","setLabelInfos","Carousel","images","Label","expert_picture_url","Characteristics","short","NoSalesInterestsCard","D_CalendarStar","InterestsIndex","PropertySummary","stateLabel","cityLabel","avatar","propertyInfos","premium","advert","draft","picture","Property","stateInfos","PriceBox","price","reasons","ReasonInput","selectedReason","setSelectedReason","setErrors","SelectInput","selectedOption","handleChange","reason","prev","cancel_reason","handleSelect","CancelCommentInput","cancelComment","setCancelComment","TextAreaInput","rows","cancel_comment","getVisits","authCancelVisit","visitId","visit_id","getVisit","userSlug","user_slug","cancelVisit","VISITS","PUBLIC_VISITS","cancelModalVisitId","visitCancelState","visitsSlice","setCancelModalVisitId","resetVisits","results","CancelModal","handleErrors","Modal","isOpen","closeModal","undefined","InfoBox","avatarSrc","isLoading","StateLabel","StateCard","displayedContent","cancel_reason_text","displayActions","bookings_slots_path","Visits","events","setEvents","event","content","S_HourglassHalf","TimeFeed","emojy","eyes","crossedFingers","partyingFace","disappointedFace","handleShowOffer","handleNewOffer","TimeLineOfferCard","reviewStatus","createdAt","updatedAt","small","getOffers","getOffer","offerId","OfferModal","modalOffer","setOffer","OFFERS","then","house","OfferStateLabel","buyer_presentation","margins","BulletPoint","financial_profile","cash_payment","proof_of_funds_doc_url","folder","D_ArrowDownToBracket","real_estate_sale","real_estate_amount","proof_of_sale_doc_url","loan","loan_condition","apport","revenues","charges","promise_of_financing_doc_url","Offers","setModalOffer","unique_hash","displayOfferModal","SaleFolder","documents","groupedDocuments","setGroupedDocuments","group","category","category_slug","displayTitle","emoji","building","triangularRuler","handShake","Object","DocumentsBox","Document","getDocuments","saleId","Documents","setDocuments","useParams","DOCUMENTS","fetchDocuments","getContacts","Contacts","contacts","setContacts","some","offer_id","CONTACTS","fetchContacts","contact","phone","InterestShow","setSale","items","setItems","selectedItem","setSelectedItem","useLocation","currentSale","addEventListener","handleBackButton","baseItems","splice","count","matchedItem","item","pathname","houseWithGarden","Tabs","Tab","CustomRoutes","Route","element","Navigate","Interests","Actions","S_Pen","customColors","S_BellSlash","S_Bell","Localisation","zones","Criterias","displayCriteria","display","check","S_CircleXmark","apartment","parking","Number","min_bedroom_number","floor_text","renovation","min_floor_for_elevator","outdoor_space_text","PropertyCard","recently_published","picture_url","LinkToAdverts","properties","total","annonces_url","getCorrespondingProperties","CorrespondingProperties","firstAlert","setState","setProperties","setTotal","fetchCorrespondingProperties","setTimeout","borderColor","LoadingCircle","Slider","propertyItems","array","NoBuyerAlerts","UnsubscriptionModal","setError","bell","listHeight","unsubscription_reason","unsubscribed_at","mapApiUrl","GeocoderZonesSelect","inputValue","setInputValue","predictions","setPredictions","displayPredictions","setDisplayPredictions","highlightedIndex","setHighlightedIndex","inputRef","containerRef","google","Promise","resolve","initMap","script","createElement","assign","head","appendChild","loadAsyncScript","initMapScript","displaySuggestions","activeElement","maps","places","PlacesServiceStatus","OK","filteredPredictions","prediction","test","description","AutocompleteService","getPlacePredictions","input","types","componentRestrictions","country","initAutocomplete","handleClickOutside","contains","removeEventListener","selectOption","Array","from","Set","TextInput","refProp","handleKeyDown","preventDefault","onFocus","setIsFocused","onBlur","paddings","S_LocationDot","removeSelectedOption","locationToRemove","newZones","Error","D_CircleExclamation","startsWith","PropertyKindCheckbox","setStateBuyerAlert","checked","BudgetNumber","NumberInput","sign","AreaNumber","floorOptions","FloorSelect","option","floor","elevatorOptions","ElevatorSelect","RenovationRadio","RadioInput","outdoorSpaceOptions","OutdoorSpaceSelect","outdoor_space","FreeFieldTextArea","free_input_field","roomOptions","RoomRadio","RadioGroup","Option","bedroomOptions","BedroomRadio","setZones","commonProps","CreateModal","stateBuyerAlert","formatToNumberType","keys","EditModal","CriteriasForm","BuyerAlerts","salesCount","salesInterestsCount","ArticlesList","articles","article","user_kind","userKind","article_name","handleGA4Event","ArticleCard","blog_article_path","banner_picture_url","labelContent","titleColor","author","readTime","time_to_read","authorProfilePicture","Articles","Partners","partners","partner","card_picture_url","labelColor","partner_name","getArticles","ARTICLES","getPartners","getPartner","BuyerGuide","setPartners","per_page","responses","all","PARTNERS","console","log","fetchPartners","D_Book","getSponsorship","createSponsorship","getSponsorships","SPONSORSHIP","err","sponsorships","godsonForm","phone_country_code","formErrors","sponsorshipsSlice","resetSponsorships","resetErrorAndForm","updateGodsonForm","updateFormErrors","error_type","Inputs","sponsorshipModule","PhoneNumberInput","onChangePhone","val","onChangeCountryCode","phoneValue","countryCodeValue","CreationForm","sponsorship","onSubmit","Dashboard","padStart","getProgressBarClassNames","totalEvents","done","cancelled","getCircleClassNames","EventsList","renderIcon","iconConfig","getIconConfig","role","dateText","customNoDate","getDateText","renderDate","SPONSORSHIP_STATUS","EVENTS","warningLabel","formatDate","dateString","month","year","getSponsorshipStatus","sale_state","state_changes","last_awaiting_notarial_deed_at","getEventsForSponsorship","last_awaiting_publication_at","isDead","finalLabel","GodsonCard","ModalError","D_CircleInfo","GodsonsList","lastCardRef","prevLength","scrollIntoView","behavior","block","KeyPointItem","KEY_POINTS","KeyPoints","point","SponsorshipModule","Sponsorship","D_MessageHeart","DesktopMenu","clientSwitch","navigation","selectedNav","handleClick","handleColor","handleTitle","subtitle","starStruck","HosmanLogo","gtmEventParams","handleInnerClick","MenuItem","disabled","MenuButton","setSidebarOpen","MobileBanner","sidebarOpen","logoWidth","innerWidth","rgbColor","S_BarsStaggered","MobileMenu","sales","propertySelectOptions","sellerSales","Root","show","Dialog","onClose","Child","Panel","PropertySelect","handleSaleChange","eventSale","Sidebar","iconName","nav","getSalesInterests","SALES_INTERESTS","salesInterestsSlice","resetSalesInterests","offersSlice","resetOffers","BASE_PATH","BuyerApp","accountCard","setSelectedNav","matchedPath","SaleStateLabel","on_break","last_estimation_meeting_id","mandateSigned","last_photo_meeting_at","getTime","camera","clappingHands","SaleSummary","SalesIndex","setNavigation","requestState","navigationState","setNavigationState","actionConsumer","module","createConsumer","getSalesUsers","createSalesUser","sales_user","updateSalesUser","salesUserId","removeSalesUser","SALES_USERS","submitSalesUser","displaySalesUsersModal","signatories","saleContacts","salesUser","salesUserToRemove","isRemoving","salesUsersSlice","resetSalesUsers","saleUser","updateDisplaySalesUsersModal","updateSalesUserToRemove","updateErrors","signatory","SalesUsersList","sellerSalesUsers","concat","kind","handleUpdate","S_TrashCan","S_Info","SalesUsersModal","S_UserPlus","allKinds","KindSelectInput","setKind","autoScroll","NewSalesUserModal","handleSalesUserChange","user_attributes","getPhotoMeetings","getSlots","createPhotoMeeting","photo_meeting","getPhotoPacks","updatePhotoPacks","PHOTO_MEETINGS","photoMeetings","plannedPhotoMeeting","newPhotoMeetingModalOpen","photoPacks","newPhotoMeetingParams","availableSlots","step","formValues","contact_name","contact_phone_country_code","contact_phone_number","access_details","start_date","photoMeetingsSlice","resetPhotoMeetings","updateNewPhotoMeetingModalOpen","updateStep","resetSlots","updateFormValues","resetPhotoMeetingSlice","lastPlannedPhotoMeeting","photoMeeting","pop","NewPhotoMeetingModal","setIsClosing","Introduction","DiagsPresence","hasDiags","setHasDiags","getSales","getSale","updateSale","getPublicationData","DiagsPartner","needsDiags","setNeedsDiags","can_use_lightshop_pack_max","sellerPhotoMeetings","SALES","needs_diagnostics","importDiags","setImportDiags","Diagnostics","DiagsImport","uploadDocument","getDocumentTypes","deleteDocument","documentId","SELLER_DOCUMENTS","addDocument","form","DOCUMENT_TYPES","propertyKindGroup","mandatoryDocs","uploadedOptionalDocs","allDocs","lastDocumentUpload","documentTypes","groupedDocumentTypes","addedInputs","diagnostic","condo","acquisition","docTypeInfos","houses","documentsSlice","fileEdit","addInput","findAddedDoc","doc","copy","updateInputs","dataFile","filteredDocs","handleDocChanges","filterMandatoryDocs","filterUploadedOptionalDocs","handleDocTypeOrder","newDoc","updatedDocs","saleDocsAndDocTypes","mergeSaleDocsAndDocTypes","groupByCategoryDocs","handleGroupByCategoryDocs","handleOrderedDocsByCategory","_","docs","flat","docTypes","docType","docTypeCopy","docsGroupedByCategory","keyOrder","sortedKeys","compareByOrder","indexOf","orderedDocsByCategory","DiagsUploader","sellerDocuments","setPropertyKindGroup","setIsSubmitting","kindGroup","handlePropertyKindGroup","propertyKind","handleUpload","file","FormData","resultAction","match","documentCanBeDeleted","uploader_id","FileInputContainer","uploaded","mandatory","UploadedFile","deleteAction","FileInput","values","SelectInputFile","optionList","categorySlug","handleOptionChange","lightshop_pack_max","handleNextStep","PackMax","lightshop_fee","handlePhotoMeeting","scrollToSection","targetElement","isMobile","screen","targetOffset","offsetTop","scrollOffset","pageYOffset","distance","startTime","Math","abs","requestAnimationFrame","scrollAnimation","timestamp","increment","newPosition","scrollTo","scrollToFirstError","firstError","querySelector","SlotSelection","daysDisplayed","setDaysDisplayed","handleDaysDisplayed","number","SlotsSelector","slots","onSelect","modal","parent","parentElement","getComputedStyle","isScrollable","overflow","overflowY","overflowX","hasScrollableContent","scrollHeight","clientHeight","scrollWidth","clientWidth","getFirstScrollableParent","getElementById","top","ContactForm","handleInputChange","PhotoMeeting","lightshop_payment_form_url","handleValidationForPayement","validatePhoneNumber","valid","isValid","bookmarkTabs","capitalized","PayementIframe","payementDone","setPayementDone","isLoaded","setIsLoaded","iframeRef","interval","setInterval","iframe","contentWindow","currentLocation","hash","clearInterval","warn","onLoad","Paiement","ProgressBar","timeOutAfterSuccess","motion","div","initial","animate","transition","ease","publicationData","showRequestState","salesSlice","resetSale","resetPublicationData","setPropertySelectOptions","formPropertySelectOptions","JSON","parse","availiableForVisits","flatsy_id","flatsy_state","visits_management","mapSale","obj","SuccessAnimation","hasExecuted","isClosing","motionContainer","Component","exit","ClosingConfirmModal","AnimatePresence","mode","renderContent","ModalsContainer","Greetings","currentStep","sellerMandates","memo","allSituations","FamilySituationInput","familySituation","setFamilySituation","PersonalAddressInput","onboardedUser","isChecked","setIsChecked","physical_address_attributes","physical_address","updateOnboardedUser","_destroy","Checkbox","addressObj","additional_address","allCoOwnershipKinds","CoOwnershipInput","co_ownership","co_ownership_kind","co_ownership_name","handleKindSelect","getUser","updateUser","USER","phisical_address","userSlice","updateAuthState","resetUserReducer","sales_count","offers_as_owner_count","visits_count","buyer_alerts_count","Coordinates","saleBuyingYear","stateReady","birth_date","family_situation","buying_year","updateSaleBuyingYear","handleUserChange","DatePickerInput","submitCoordinates","D_UserPen","tooltipLabel","D_UserGroup","SituationSelect","mandate","sign_person","updateMandate","mandateId","original_mandate_id","Signatories","SignatoriesModule","Situation","updateCurrentStep","handleNext","SignatureIframe","isGenerating","yousignStatus","handleMessage","updateYousignStatus","yousign_url","referrerPolicy","getRandomValue","min","max","random","getRandomColor","colors","FeuArtifice","particles","setParticles","newParticles","i","x","y","delay","fadeOutDelay","scale","sign_status","partyPopper","Signature","isFirstRender","genereteMandate","getMandate","getState","mandateStore","userStateWithoutEmail","allSettled","result","reduce","acc","MANDATES","allSteps","component","steps","mandateRequestState","mandatesSlice","resetMandate","StepTab","validSteps","isPreviousStepValid","stepNumber","handleNavigate","Mandate","setValidSteps","userValid","saleValid","situationValid","validStepNumbers","SaleSteps","acceptedOffer","sellerOffers","memoizedevents","useMemo","publication","last_awaiting_offer_at","acceptedOfferDate","last_awaiting_sale_agreement_at","saleAgreement","notarialDeed","last_sold_at","lightshop","sale_agreement_date","notarial_deed_date","SalePropertySummary","link_virtual_visit","avatarSize","Action","displayed","important","exclamationMark","DownloadImagesModal","setDownloadImagesModalOpen","hasFetched","fetchZipFile","fetch","method","blob","URL","createObjectURL","setAttribute","body","click","parentNode","removeChild","revokeObjectURL","CallToActions","visitsToCome","sellerVisits","ongoingOffers","classicVisitsToCome","downloadImagesModalOpen","displayPhotoMeeting","displayDocuments","missing_mandatory_documents","displayNewSalesUsers","displayPlanning","displayOffers","displayDlPictures","displayEnterNotary","seller_notary_present","displayPaperas","displayFurnitureForm","furniture","bool","D_CameraRetro","D_FolderOpen","D_FileCircleCheck","D_ScaleBalanced","D_File","D_Loveseat","SaleKeyNumbersCard","thresholdWarning","warningText","numbersColor","warningClassesCard","Price","sale_estimation_medium","priceAboveEstimation","setPriceAboveEstimation","handleSalePriceSubtitle","Duration","daysDifference","differenceInDays","first_awaiting_offer_at","D_ClockThree","VisitorsInterest","visitsWithReport","percentageInterestedVisitors","setPercentageInterestedVisitors","setNumbersColor","notInRange","setNotInRange","visit_report","interest","round","uninterestedVisitors","D_CalendarCheck","handleWarningText","visitsDone","nextVisitToCome","shortDate","displayTime","lastVisit","timeSince","end_time","visitToComeColorException","SaleKeyNumbers","MarketingCard","logos","leadInitials","altText","leadInitial","region","displayPartnersNumber","name_raw","PortalsContacts","on_ubiflow","PotentialBuyers","potential_buyers_solicitations_count","lead_initials","Marketing","Sale","getEstimationFolder","getComparableSales","estimationFolderId","getSimilarSalesScreenshots","ESTIMATION_FOLDERS","estimationFolder","comparableSales","similarSalesScreenshots","estimationFoldersSlice","resetEstimationFolder","anchor","ExpertEstimation","sellerEstimationFolders","sectionRefs","scroll","estimation_folder_id","handleScroll","windowHeight","innerHeight","bottom","onclick","EstimationFolderView","getValuation","valuationId","updateValuation","valuation","EstimationReview","setValuation","optionClasses","opinion","text","VALUATIONS","updateOpinionValuation","NoValuationError","EstimatedPrices","roundTo","sale_price","pricePerMeter","confidence","lower_price","upper_price","saleUniqueHash","setBuyerAlerts","AvatarsCounter","BottomBanner","createPortal","phone_calendar_link","LoadingBlock","ExpertBlock","expertContactRef","ExpertMeeting","expertContactIsVisible","useVisibility","root","rootMargin","threshold","NextSteps","owner","potential_premium","handleGa4Event","user_email","user_first_name","user_last_name","PropertyAdverts","SoldProperties","states","PROPERTIES","getProperties","sale_state_eq_any","relevant_id","fetchProperties","displayZipCode","distance_from_relevant","centerLabel","HosmanPros","EstimationResult","last_yanport_valuation","saleIsDead","last_yanport_valuation_id","FunnelEstimation","Estimation","sent_at","DocumentsTab","uploadProgression","setUploadProgression","mandatoryDocsLength","mandatoryDocsNotUploadedLength","ProgressCircle","ArchievesTab","getProperty","updateProperty","PropertyInfosTab","propertyState","setPropertyState","condoState","setCondoState","setFormErrors","works_property","taxe_fonciere","quarterly_charges","syndic_name","handlePropertyNumberInputChange","parseInt","handleCondoInputChange","condo_attributes","catch","previewContent","planning","checks","visitReports","Preview","page","imageLoaded","setImageLoaded","isToday","dayjs","Header","referenceDate","header","monthAsString","monthIndex","months","getDate","getMonth","getFullYear","DaysHeader","containerNavRef","setReferenceDate","dates","setDates","getWeekDays","dayAsString","dayIndex","weekDays","newReferenceDay","newDate","setDate","startDate","rawDates","currentDate","today","isSame","dayName","getDay","dayNumber","S_CaretLeft","S_CaretRight","weekDay","String","displayDate","HorizontalLines","containerOffsetRef","gridTemplateRows","hour","VerticalLines","isBetween","EventsGrid","nowLine","setNowLine","calculateNowLinePosition","span","getHours","getMinutes","setGreenBg","setUTCHours","col","grid","gridRow","dateBeginningOfDay","referenceDateBeginningOfDay","setColStart","Event","handleEventUpdate","handleEventDelete","eventDone","start","cardClasses","typeSlug","textClasses","timeClasses","handleDelete","dateTime","end","S_PenToSquare","Events","handleEventOpen","setGridRow","diffMinutes","setZindex","clickable","NewEvent","newEventModal","setModalOpen","setNewEventData","newEvent","setNewEvent","setSelectedEvent","selectedDate","day","startHourRaw","time","endHourRaw","startDateTime","endDateTime","setHours","onMouseUp","onMouseDown","dayRef","closest","dataset","timeStart","dur","handleMouseDown","toLocaleTimeString","minute","Calendar","setParentReferenceDate","editable","setNewEventModalOpen","lastMonday","currentMinute","scrollTop","offsetHeight","MobileEventsFeed","groupedEvents","setSortedEvents","longDate","previousEvents","lastPreviousEvent","separator","buble","classList","add","insertBefore","nextSibling","insertAdjacentElement","addSeparator","NewEventModal","handleNewOrUpdateEvent","newEventData","existingEvents","visitInBetween","setvisitInBetween","setStartTime","endTime","setEndTime","allDay","setallDay","isRecurring","setIsRecurring","slot","setSlot","isoDateTime","isWeeklyRecurring","setSlots","split","setMinutes","newSlots","nextSlot","nextSlotStart","nextSlotEnd","checkVisitsInBetweenSlots","newSlot","formatAllDay","paramSlots","formattedSlots","paramSlot","Switch","handeChange","htmlFor","toLocaleDateString","weekday","VisitModal","S_CalendarDays","eventDate","S_Message","S_FileCircleCheck","context","DemoModal","autoPlay","loop","muted","RemoveEventModal","setRemoveEventSlot","handleRemoveEvent","diff","SufficientAbailabilityState","unavailabilities","availableHours","setAvailableHours","sufficientAbailabilities","setSufficiantAvailabilities","monday","sunday","weekUnavalabilities","unavailableHours","ButtonInfo","getUnavailabilities","propertyId","updateUnavailabilities","keepAttrs","UNAVAILABILITIES","unavailabilitiesRequestState","unavailabilitiesSlice","formatEvents","uuidv4","Planning","sellerUnavailabilities","modalVisitId","setModalVisitId","newEventModalOpen","removeEventSlot","demoModal","setDemoModal","visitEvents","unavailabilityEvents","unavailability","newUnavailabilities","recurring","openUpdateModal","eventModal","toISOString","InterestLabel","setPayload","ProsAndConsCard","positive_points","negative_points","VisitReportCard","next_steps","questions_seller","NoVisitReportCard","D_FileLines","VisitReports","roundedFull","OfferState","OfferCard","offerIdInAcceptance","review_ongoing_at","NoOffersCard","setOfferIdInAcceptance","searchParams","setSearchParams","useSearchParams","Partner","preTitle","setPartner","partner_page_path","ImageCard","Advices","partnersInfo","randomPartner","blog_articles_path","displayNavigation","matchedStep","initialPlaceData","initialMainInfos","carrez_area","living_area","land_area","total_floor","room_number","bedroom_number","construction_time","good_state","initialExtraInfos","elevator","balcony","terrace","cellar","concierge","pool","garage","initialLead","storeCreationTime","estimationData","placeData","typology","mainInfos","extraInfos","priceExpectations","waitingTimePeriod","nonSellingReason","lead","displayStreetNumberError","estimationFunnelSlice","updateEstimationData","purgeEstimationData","initialPayload","updateFullStore","updateDisplayStreetNumberError","resetOffer","getAcceptedOffer","filterVisitsWithReport","filterVisitsToCome","notif_seller_sent","reverse","SaleShow","subscriptions","create","channel","received","D_HandsHoldingDollar","ContactCardMinimize","mail","SellerApp","stepInfos","ConfirmationModal","DesktopSidebar","OfferSummaryCard","FinancialPlanCard","FinancialPlanSection","profile","promiseOfFinancingBox","D_MemoCircleCheck","promise_of_financing","D_SackDollar","D_MoneyBillTransfer","D_HandHoldingDollar","OfferSummary","setStepInfos","confirmationModal","setConfirmationModal","offerIsOngoing","offerIsAccepted","userIsSeller","owner_id","comments","signed_document","document_url","OfferSign","yousignUrl","setYousignUrl","AcceptOffer","MyAccount","userState","setUserState","showPasswords","setShowPasswords","password","new_password","new_password_confirmation","current_password","password_confirmation","D_User","S_EyeSlash","S_Eye","submitForm","reload","Step1","buyerAlertCreatorLeftPanel","Step2","buyerAlertCreatorLeftPanelStep2","LeftPanel","showContactDetailsForm","buyerAlertCreator","buyer_alerts_attributes","buyer_alert_attributes","validateBuyerAlert","similarProperties","buyer_alert_params","buyerAlertParams","loggedIn","formatBuyerAlert","getSimilarPropertiesCount","buyerAlertCreatorSlice","storeBuyerAlert","storeUser","similarPropertiesCount","openModal","createdBuyerAlertData","updateShowContactDetailsForm","updateStoreBuyerAlert","updateStoreUser","updateOpenModal","redirect_url","last_sign_in_at","CriteriaStep","rightPanelRef","PurchaseTypeSelect","ProjectStateSelect","ContactDetailsForm","buyerAlertUser","setStateBuyerAlertUser","isDisabled","purchase_type","situation","project_state","autoComplete","signIn","withCredentials","SignInSignUpModal","isSubmitted","setIsSubmitted","minCharPassword","newUser","signUserIn","validatePasswords","passwordConfirmation","USERS","sign_in","setItem","token","handleCloseModal","newPassword","new_user_password_path","ContactDetailsStep","object","RightPanel","CriteriasStep","BuyerAlertForm","BuyerAlertSuccess","BuyerAlertCreator","validateStep","validateAddress","validateTypology","validateMainInfos","validateEstimationReason","NO_SPECIAL_CHARACTER_REGEX","validateEmail","validateLead","NavigationButtons","estimationFunnel","hideReturnButton","hideNextButton","contract","goToNextStep","inputMode","pattern","fetchAddressData","json","extractAddress","address_components","addressComponents","t","long_name","short_name","geometry","AddressInput","stateValue","setStateValue","selectedIndex","setSelectedIndex","focus","prevIndex","ReinsuranceBlocks","blocks","footer","productFuStep4","ellipseFuStep1","ellipseFuStep2","ellipseFuStep3","image","Address","triggerValidation","setTriggerValidation","streetNumber","setStreetNumber","newEstimationData","searchTerm","Typology","kinds","buildingDrawing","houseDrawing","typologyIs","goodStateOptions","constructionTimeOptions","ApartmentInputs","integer","allowDecimal","autoFocus","NumberInputStepper","HouseInputs","MainInfos","parsedValue","removeFieldError","newErrors","characteristics","ExtraInfos","typoCharacteristics","characteristic","readOnly","PriceExpectations","WaitingTimePeriodSelector","period","NonSellingReasonSelector","Reason","removeItem","Contact","personal_data_path","isRefreshAttempted","setIsRefreshAttempted","ctrlKey","handleBeforeUnload","returnValue","Loader","resultData","setIsReady","setValue","loaderStarted","FadeInList","newItems","createEstimation","estimation","getBaseEstimationData","uniqueHash","setResultData","usePreventRefresh","mergedObj","price_expectations","waiting_time_period","non_selling_reason","ESTIMATIONS","handleGaEvent","gaError","errorMessage","responseData","property_kind","surface","user_phone","Circle","RestoreModal","persitedStoreModalOpen","setPersitedStoreModalOpen","RoutesWrapper","process","StepsNavigation","MobileHeader","progress","setProgress","totalSteps","left","trustpilot","EstimationFunnel","endsWith","handleMatchedStep","metaTitleTag","metaDescTag","handleTitleAndMetaDatas","search","Result","baseEstimationData","intervalIdRef","getAllocatedExpert","LeftBanner","pro","LoginForm","setUser","Signup","setDisplayResult","setBaseEstimationData","alert","fetchBaseEstimationData","VisitCancelForm","isCancelling","setIsCancelling","property_address","Authentication","setVisit","setEmail","isPending","setIsPending","fetchVisit","handleEmail","VisitCancelModule","VisitCancelSuccess","VisitCanceler","App","clientSwitchOptions","section","setSelectedOption","sessionId","ga4SessionId","switchApp","ClientSwitch","defaultOption","AccountCard","userSpace","accountLink","logoutLink","eugeneLink","ErrorsBoundary","getSectorPropertiesCoordinates","getPropertiesCoordinates","getSoldProperties","sectorPropertiesCoordinates","sold","soldProperties","estimationMeeting","availabaleSlots","onlineEstimationsSlice","resetOnlineEstimationReducer","estimationFunnelPersistConfig","storage","blacklist","userReducer","articlesReducer","partnersReducer","salesInterestsReducer","visitsReducer","offersReducer","buyerAlertsReducer","sellerSalesReducer","sellerOffersReducer","sellerPhotoMeetingsReducer","sellerVisitsReducer","sellerUnavailabilitiesReducer","sellerDocumentsReducer","sellerEstimationFoldersReducer","sellerOnlineEstimations","sellerOnlineEstimationsReducer","sellerMandatesReducer","sellerSalesUsersReducer","persistReducer","estimationFunnelReducer","buyerAlertCreatorReducer","sponsorshipModuleReducer","middlewares","errorsInterceptor","gtmScript","w","d","s","l","f","getElementsByTagName","j","routes","napoleonRoot","customer_id","session_id","store","configureStore","middleware","getDefaultMiddleware","immutableCheck","env","NODE","serializableCheck","reducer","preloadedState","persistor","persistStore","createRoot","render","Provider","PersistGate","loading","BrowserRouter"],"sourceRoot":""}