{"version":3,"sources":["utils/prismic.js","redux/actions/content.js","redux/reducers/content.js","redux/actions/listing.js","redux/reducers/listing.js","redux/actions/cities.js","redux/reducers/cities.js","redux/actions/questionnaire.js","redux/reducers/questionnaire.js","redux/actions/flash-notifications.js","redux/reducers/flash-notifications.js","redux/index.js","context/AppContext.jsx","components/icons/Arrow.jsx","styles/colors.js","components/icons/Bed.jsx","components/icons/Bricks.jsx","components/icons/Celebrate.jsx","components/icons/Check.jsx","components/icons/Chevron.jsx","components/icons/Copy.jsx","components/icons/Cross.jsx","components/icons/Door.jsx","components/icons/Distance.jsx","components/icons/Email.jsx","components/icons/Filter.jsx","components/icons/HouseApartment.jsx","components/icons/Houses.jsx","components/icons/Label.jsx","components/icons/List.jsx","components/icons/Location.jsx","components/icons/Money.jsx","components/icons/NewMail.jsx","components/icons/Parcel.jsx","components/icons/Phone.jsx","components/icons/Share.jsx","components/icons/Sun.jsx","components/icons/Surface.jsx","components/icons/Target.jsx","components/icons/Validated.jsx","components/icons/WhatsApp.jsx","constants/iconMap.js","components/icons/Icon.jsx","styles/sizes.js","components/FlashNotifications.jsx","styles/reset.js","styles/fonts.js","styles/breakpoints.js","styles/textStyles.js","styles/global.js","constants/paths.js","providers/I18nContextProvider.jsx","components/Seo.jsx","components/layouts/Container.jsx","components/elements/LanguageSwitch.jsx","components/elements/Burger.jsx","components/assets/Logo.jsx","components/assets/ShapeBottom.jsx","components/Header.jsx","components/Footer.jsx","components/layouts/Page.jsx","components/elements/Loader.jsx","components/elements/Button.jsx","components/assets/Shape.jsx","components/Intro.jsx","components/Cta.jsx","components/Steps.jsx","components/Usps.jsx","utils/formatNumber.js","components/Stats.jsx","pages/Index.jsx","pages/questionnaire/Index.jsx","constants/questionnaire.js","components/elements/Error.jsx","components/formFields/TextField.jsx","components/formFields/AutocompleteField.jsx","components/formFields/Checkbox.jsx","components/formFields/Radio.jsx","components/FilterField.jsx","components/elements/SuggestionButton.jsx","components/formFields/Suggestions.jsx","components/elements/FormStepper.jsx","components/QuestionnaireForm.jsx","components/elements/Progressbar.jsx","pages/questionnaire/Buy.jsx","pages/questionnaire/Rent.jsx","components/elements/NavLink.jsx","pages/questionnaire/Overview.jsx","pages/questionnaire/Edit.jsx","pages/questionnaire/Register.jsx","pages/questionnaire/Success.jsx","pages/questionnaire/Confirm.jsx","pages/Unsubscribe.jsx","components/PhotoGallery.jsx","components/assets/Map.jsx","components/assets/MapMarker.jsx","components/GoogleMaps.jsx","components/ListingFeatureCard.jsx","components/AccordionSingle.jsx","components/ListingDetailSection.jsx","components/RealtorCard.jsx","components/elements/ShareButton.jsx","components/ShareCard.jsx","pages/ListingDetail.jsx","pages/Faq.jsx","pages/Contact.jsx","components/elements/Richtext.jsx","pages/Terms.jsx","pages/Privacy.jsx","pages/404.jsx","Router.jsx","App.jsx","reportWebVitals.js","index.js"],"names":["repoName","get","process","apiEndpoint","accessToken","client","length","Prismic","CONTENT_FETCH","STATS_FETCH_SUCCESS","fetchContent","locale","page","dispatch","Error","query","Predicates","at","lang","then","response","type","results","INITIAL_STATE","newData","LISTING_FETCH_SUCCESS","LISTING_FETCH_FAIL","CITIES_FETCH_SUCCESS","fetchCities","payload","request","url","method","data","q","items","STORE_DATA","NEXT_STEP","PREV_STEP","storeData","listingType","activeStepIndex","FLASH_NOTIFICATIONS","addFlashNotifications","notifications","reducers","combineReducers","content","state","actions","homepage","home","meta","title","meta_title","description","meta_description","intro","intro_title","text","uspList","intro_usp_list","map","usp","image","intro_image","alt","dimensions","steps","steps_title","buttonLabel","steps_button_label","step","step_title","step_text","usps","usp_blocks","usp_title","usp_text","usp_image","usp_blocks_button_label","stats","stats_title","stats_image","subtitle","stats_subtitle","faq","accordion","item","question","answer","privacy","copy","disclaimer","listing","status","cities","city","value","geohash","questionnaire","filters","flashNotifications","Context","createContext","AppContext","children","useState","setState","Provider","bool","Arrow","width","color","className","style","viewBox","fillRule","clipRule","d","fill","stroke","strokeWidth","white","grey","black","primary","primaryLight","secondary","error","warning","valid","Bed","colors","Bricks","Celebrate","clipPath","id","Chevron","defaultProps","Styled","Path","styled","path","Copy","Cross","Door","Distance","Email","Filter","HouseApartment","Houses","Label","List","Location","Money","NewMail","Parcel","Sun","Share","Surface","Target","Validated","WhatsApp","iconMap","arrow","bed","bricks","celebrate","check","Check","chevron","cross","door","distance","email","filter","houseApartment","houses","label","list","location","money","newMail","parcel","phone","Phone","share","sun","surface","target","validated","whatsapp","Icon","icon","IconComponent","resize","keyframes","Component","div","sizes","Notification","shown","Info","Title","h5","SubTitle","p","CloseBtn","button","Duration","duration","FlashNotification","notification","history","useHistory","hidden","localStorage","getItem","setShown","useEffect","setTimeout","onClick","link","push","message","stayHiddenOnClose","setItem","console","FlashNotifications","connect","ResetStyle","createGlobalStyle","XL","L","M","S","XS","XXS","mediaQueries","from","Object","keys","reduce","mediaQueriesObject","breakPointLabel","emSize","cssStrings","breakpointSize","css","px","to","titleExtreme","fonts","mediaQuery","titleLoud","titleNormal","titleSubtle","screamingHighlight","bodyLarge","bodySmall","GlobalStyle","textStyles","name","token","translations","en","nl","formatLabel","variables","formattedLabel","key","replace","getTranslate","langCode","split","getSubLabel","forEach","subKey","String","window","initialState","translate","axios","defaults","headers","common","I18nContext","I18nContextProvider","useReducer","action","Seo","formattedTitle","useContext","setLang","Helmet","htmlAttributes","property","Date","valueOf","SharedStyling","container","columnHolder","ExtraSmall","Small","Medium","Large","Container","size","Select","select","LanguageSwitch","selectRef","useRef","ref","defaultValue","onChange","current","reload","changeLanguage","Slice","span","props","open","lineSize","Burger","StyledPath","Logo","inverted","beta","ShapeBottom","mask","Header","header","Menu","nav","Link","NavLink","MobileMenu","menuOpen","Overlay","setMenuOpen","mobileMenuRef","disableBodyScroll","enableBodyScroll","clearAllBodyScrollLocks","handleResize","innerWidth","breakpoints","addEventListener","removeEventListener","paths","exact","activeClassName","StyledFooter","footer","StyledLogo","StyledMenu","ul","StyledLink","Footer","Page","main","Content","hasHeader","hasFooter","noHeader","noFooter","pathname","useLocation","scrollTo","rotate","shadow","LoaderHolder","Loader","Box","prop","Shadow","Size","Restyled","hasLabel","rotateIcon","disabled","a","Primary","Secondary","Button","version","loading","href","loader","useMemo","Shape","ShapeHolder","Row","h1","ImageWrapper","Intro","ctaLabel","router","src","h4","ButtonsWrapper","Cta","buyLabel","rentLabel","Inner","h2","ol","Step","li","StepTitle","h3","CtaHolder","Text","ButtonWrapper","Usps","points","point","layout","formatNumber","thousandsChar","toString","formatMoney","decimal","decimalChar","thousands","re","val","num","parseFloat","toFixed","Math","max","RegExp","TextWrapper","Number","Subtitle","Stats","contentRef","counter","start","end","startTimestamp","requestAnimationFrame","timestamp","progress","min","document","getElementById","innerHTML","floor","total_purchase","total_rental","useLayoutEffect","contentPosition","getBoundingClientRect","top","onScroll","scrollPosition","scrollY","innerHeight","section","fetchStats","contentActions","Steps","blue","Buttons","Questionnaire","fieldTypes","autocomplete","currency","checkbox","radio","cityField","placeholder","required","additionalValidation","minPriceField","maxPriceField","minSizeField","suggestions","buyFlow","fields","rentFlow","buyFiltersOverview","options","rentFiltersOverview","InputWrapper","Input","input","hasError","Reset","TextField","forwardRef","clearValue","setFocus","defaultVal","combinedRef","refs","targetRef","useCombinedRefs","hasFocus","setHasFocus","focus","htmlFor","onMouseDown","event","preventDefault","clearValues","onFocus","onBlur","StyledInputWrapper","StyledInput","StyledValidated","StyledReset","StyledDropDownWrapper","StyledDropDown","active","StyledComplete","AutocompleteField","setValue","autoCompleteValues","inputValue","setInputValue","completionValues","setCompletionValues","completionValuesArray","autoCompleteItem","toLowerCase","startsWith","populateAutoComplete","e","autoComplete","blur","handleAutoComplete","Checkbox","register","Holder","red","checked","Bullet","Radio","FilterField","field","errors","v","customInput","thousandSeparator","decimalSeparator","prefix","allowNegative","isNumericString","onValueChange","option","SuggestionButton","Suggestions","suggestion","StyledComponent","FormStepper","nextLabel","onBackClick","onNextClick","StyledStep","StyledIntro","StyledForm","form","StyledIcon","StyledTitle","StyledText","StyledFieldHolder","citiesActions","questionnaireActions","nextStep","prevStep","flow","activeStep","schema","yup","oneOf","typeError","test","place","includes","useForm","resolver","yupResolver","shape","handleSubmit","watch","getValues","formState","handleSetValue","onSubmit","Bar","percentage","ProgressBar","ProgressbarHolder","round","Progressbar","LeftSide","labelColor","leftIcon","rightIcon","StyledWrapper","filtersOverview","minPrice","FieldHolder","useParams","activeItem","find","fieldName","submitData","formattedData","listing_type","price","rooms","bedrooms","bathrooms","construction_year","radius","parseInt","notificationId","flashNotificationsActions","formattedEmail","PageInner","Success","confirmEmail","setLoading","unsubscribe","Authorization","isDone","setIsDone","handleUnsubscribe","sharedButtonStyling","sharedImageStyling","sharedCounterStyling","StyledContainer","StyledGallery","StyledFeaturedPhoto","StyledPhoto","StyledPhotosWrapper","StyledModal","dialog","StyledImageWrapper","StyledImage","img","StyledNext","StyledPrevious","StyledCounter","StyledMobileCounter","StyledClose","PhotoGallery","images","handleDragStart","i","onDragStart","sliderRef","modalRef","openModal","setOpenModal","activeIndex","setActiveIndex","sliderCounter","setSliderCounter","handleOpenCarousel","index","handleKeyDown","useCallback","keyCode","role","photo","slideNext","slidePrev","mouseTracking","infinite","animationDuration","keyboardNavigation","disableDotsControls","disableButtonsControls","autoHeight","onSlideChanged","Map","cx","cy","r","Svg","svg","MapMarker","GoogleMaps","bootstrapURLKeys","defaultCenter","defaultZoom","minZoom","maxZoom","lat","lng","StyledMap","Item","MapHolder","Modal","Close","ListingFeatureCard","initialHeight","ReadMoreButton","Circle","AccordionSingle","setOpen","height","scrollHeight","StyledTitleWrapper","StyledContent","StyledLabel","StyledValue","ListingDetailSection","RealtorCard","website","phoneIsValid","rel","ShareButton","ShareCard","StyledShapeWrapper","StyledShape","StyledLogoLink","StyledPhotoGallery","StyledSummary","StyledPrice","StyledListingFeatureCard","StyledAccordionSingle","StyledMapContainer","StyledMapTitle","StyledFooterCards","ListingDetail","fetchListing","listingId","listingData","listings","address","postal","formattedDescription","descriptions","substring","meterPrice","priceDetailItems","layoutDetailItems","latitude","longitude","energy_rating","agency","readMore","readLess","listingActions","Question","activeItems","setActiveItems","accordionDataLoaded","setAccordionDataLoaded","_ref","createRef","element","oldState","handleOpenItem","dangerouslySetInnerHTML","__html","Contact","Richtext","RichText","render","NotFound","RouterComponent","component","Home","Buy","Rent","Overview","Edit","Register","Confirm","Unsubscribe","LisitingDetail","Faq","Terms","Privacy","NoMatch","App","Router","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","store","createStore","applyMiddleware","axiosMiddleware","create","baseURL","responseType","ReduxThunk","ReactDOM","StrictMode"],"mappings":"isTAGMA,EAAWC,IAAIC,+bAAa,8BAA+B,IACpDC,EAAW,kBAAcH,EAAd,0BAClBI,EAAcH,IAAIC,+bAAa,iCAAkC,IAE1DG,EACXL,EAASM,QAAUF,EAAYE,OAASC,IAAQF,OAAOF,EAAa,CAAEC,gBAAiB,KCH5EI,EAAgB,gBAEhBC,EAAsB,sBAE5B,SAASC,EAAaC,EAAQC,GACnC,OAAO,SAACC,GACN,IAAKR,EACH,MAAMS,MAAM,+BAGd,OAAOT,EACJU,MAAMR,IAAQS,WAAWC,GAAG,gBAAiBL,GAAO,CACnDM,KAAK,GAAD,OAAKP,EAAL,SAELQ,MAAK,SAACC,GACLP,EAAS,aACPQ,KAAMb,GACLI,EAAOQ,EAASE,cCnB3B,IAAMC,EAAgB,GAEhBC,EAAU,GCJHC,EAAwB,wBACxBC,EAAqB,qBCClC,IAAMH,EAAgB,GCFTI,EAAuB,uBAE7B,SAASC,EAAYb,GAC1B,MAAO,CACLM,KALwB,eAMxBQ,QAAS,CACPC,QAAS,CACPC,IAAI,aAAD,OAAehB,EAAf,YACHiB,OAAQ,MACRC,KAAM,CACJC,EAAGnB,MCRb,IAAMQ,EAAgB,CACpBY,MAAO,ICJIC,EAAa,aACbC,EAAY,YACZC,EAAY,YAKlB,SAASC,EAAUlB,EAAMY,GAC9B,MAAO,CACLZ,KAAMe,EACNI,YAAanB,EACbY,QCRJ,IAAMV,EAAgB,CACpBkB,g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M,EAAQN,OCQRtf,GAAU,GACZpE,aAAaC,QAAQ,kBACvBmE,GAAQyV,cAAR,iBAAkC7Z,aAAaC,QAAQ,kBAGzD,IAAMgkB,GAAQC,YACZ9uB,EACA+uB,YACEC,IACElgB,IAAMmgB,OAAO,CACXC,QAAS7xB,sCACT8xB,aAAc,OACdngB,cAGJogB,MAIJC,IAASnC,OACP,cAAC,IAAMoC,WAAP,UACE,cAAC,GAAD,UACE,cAAC,IAAD,CAAUT,MAAOA,GAAjB,SACE,cAAC,GAAD,UAIN1V,SAASC,eAAe,SAM1BiV,O","file":"static/js/main.6aad48d9.chunk.js","sourcesContent":["import Prismic from 'prismic-javascript';\nimport get from 'lodash.get';\n\nconst repoName = get(process.env, 'REACT_APP_PRISMIC_REPO_NAME', '');\nexport const apiEndpoint = `https://${repoName}.cdn.prismic.io/api/v2`;\nconst accessToken = get(process.env, 'REACT_APP_PRISMIC_ACCESS_TOKEN', '');\n\nexport const client =\n repoName.length && accessToken.length ? Prismic.client(apiEndpoint, { accessToken }) : null;\n","import Prismic from '@prismicio/client';\n\n// Utils\nimport { client } from '../../utils/prismic';\n\nexport const CONTENT_FETCH = 'CONTENT_FETCH';\nexport const STATS_FETCH = 'STATS_FETCH';\nexport const STATS_FETCH_SUCCESS = 'STATS_FETCH_SUCCESS';\n\nexport function fetchContent(locale, page) {\n return (dispatch) => {\n if (!client) {\n throw Error('Prismic credentials not set');\n }\n\n return client\n .query(Prismic.Predicates.at('document.type', page), {\n lang: `${locale}-nl`,\n })\n .then((response) => {\n dispatch({\n type: CONTENT_FETCH,\n [page]: response.results,\n });\n });\n };\n}\n\nexport function fetchStats() {\n return {\n type: STATS_FETCH,\n payload: {\n request: {\n url: '/stats',\n method: 'GET',\n },\n },\n };\n}\n","// actions\nimport { CONTENT_FETCH, STATS_FETCH_SUCCESS } from '../actions/content';\n\nconst INITIAL_STATE = {};\n\nconst newData = {};\nexport default (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case CONTENT_FETCH:\n // reformat home data\n if (actions.homepage) {\n newData.home = {\n meta: {\n title: actions.homepage[0].data.meta_title,\n description: actions.homepage[0].data.meta_description,\n },\n intro: {\n title: actions.homepage[0].data.intro_title[0].text,\n uspList: actions.homepage[0].data.intro_usp_list.map((usp) => usp.usp),\n image: {\n url: actions.homepage[0].data.intro_image.url,\n alt: actions.homepage[0].data.intro_image.alt,\n dimensions: actions.homepage[0].data.intro_image.dimensions,\n },\n },\n steps: {\n title: actions.homepage[0].data.steps_title[0].text,\n buttonLabel: actions.homepage[0].data.steps_button_label,\n steps: actions.homepage[0].data.steps.map((step) => {\n return {\n title: step.step_title[0].text,\n text: step.step_text[0].text,\n };\n }),\n },\n usps: {\n usps: actions.homepage[0].data.usp_blocks.map((usp) => {\n return {\n title: usp.usp_title[0].text,\n text: usp.usp_text[0].text,\n image: {\n url: usp.usp_image.url,\n alt: usp.usp_image.alt,\n dimensions: usp.usp_image.dimensions,\n },\n };\n }),\n buttonLabel: actions.homepage[0].data.usp_blocks_button_label,\n },\n stats: {\n title: actions.homepage[0].data.stats_title[0].text,\n image: {\n url: actions.homepage[0].data.stats_image.url,\n alt: actions.homepage[0].data.stats_image.alt,\n dimensions: actions.homepage[0].data.stats_image.dimensions,\n },\n subtitle: actions.homepage[0].data.stats_subtitle[0].text,\n },\n };\n }\n\n // reformat faq data\n if (actions.faq) {\n newData.faq = {\n meta: {\n title: actions.faq[0].data.meta_title,\n description: actions.faq[0].data.meta_description,\n },\n title: actions.faq[0].data.title[0].text,\n accordion: actions.faq[0].data.accordion.map((item) => {\n return {\n question: item.question[0].text,\n answer: item.answer[0].text,\n };\n }),\n };\n }\n\n if (actions.privacy) {\n newData.privacy = {\n meta: {\n title: actions.privacy[0].data.meta_title,\n description: actions.privacy[0].data.meta_description,\n },\n title: actions.privacy[0].data.title[0].text,\n copy: actions.privacy[0].data.copy,\n };\n }\n\n if (actions.disclaimer) {\n newData.disclaimer = {\n meta: {\n title: actions.disclaimer[0].data.meta_title,\n description: actions.disclaimer[0].data.meta_description,\n },\n title: actions.disclaimer[0].data.title[0].text,\n copy: actions.disclaimer[0].data.copy,\n };\n }\n\n return {\n ...state,\n ...newData,\n };\n\n case STATS_FETCH_SUCCESS: {\n return {\n ...state,\n stats: actions.payload.data,\n };\n }\n\n default:\n return state;\n }\n};\n","export const LISTING_FETCH = 'LISTING_FETCH';\nexport const LISTING_FETCH_SUCCESS = 'LISTING_FETCH_SUCCESS';\nexport const LISTING_FETCH_FAIL = 'LISTING_FETCH_FAIL';\n\nexport function fetchListing(id) {\n return {\n type: LISTING_FETCH,\n payload: {\n request: {\n url: `/properties/${id}`,\n method: 'GET',\n },\n },\n };\n}\n","// actions\nimport { LISTING_FETCH_SUCCESS, LISTING_FETCH_FAIL } from '../actions/listing';\n\nconst INITIAL_STATE = {};\n\nexport default (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case LISTING_FETCH_SUCCESS: {\n return {\n ...state,\n status: 'success',\n data: {\n ...actions.payload.data,\n },\n };\n }\n\n case LISTING_FETCH_FAIL: {\n return {\n status: 'failed',\n };\n }\n\n default:\n return state;\n }\n};\n","export const CITIES_FETCH = 'CITIES_FETCH';\nexport const CITIES_FETCH_SUCCESS = 'CITIES_FETCH_SUCCESS';\n\nexport function fetchCities(query) {\n return {\n type: CITIES_FETCH,\n payload: {\n request: {\n url: `/cities?q=${query}&limit=5`,\n method: 'GET',\n data: {\n q: query,\n },\n },\n },\n };\n}\n","// actions\nimport { CITIES_FETCH_SUCCESS } from '../actions/cities';\n\nconst INITIAL_STATE = {\n items: [],\n};\n\nexport default (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case CITIES_FETCH_SUCCESS:\n const { data } = actions.payload;\n\n const cities = data.map((item) => {\n const city = item;\n city.value = city.geohash;\n delete city.geohash;\n return city;\n });\n\n return {\n ...state,\n items: cities,\n };\n\n default:\n return state;\n }\n};\n","export const STORE_DATA = 'STORE_DATA';\nexport const NEXT_STEP = 'NEXT_STEP';\nexport const PREV_STEP = 'PREV_STEP';\nexport const POST_FILTERS = 'POST_FILTERS';\nexport const CONFIRM_EMAIL = 'CONFIRM_EMAIL';\nexport const UNSUBSCRIBE = 'UNSUBSCRIBE';\n\nexport function storeData(type, data) {\n return {\n type: STORE_DATA,\n listingType: type,\n data,\n };\n}\n\nexport function nextStep() {\n return {\n type: NEXT_STEP,\n };\n}\n\nexport function prevStep() {\n return {\n type: PREV_STEP,\n };\n}\n\nexport function submitData(email, data) {\n const formattedData = {};\n formattedData.email = email;\n formattedData.filters = {\n listing_type: data.listingType || null,\n price: {\n min: 0,\n },\n size: {\n min: 0,\n },\n rooms: {\n min: 0,\n },\n bedrooms: {\n min: 0,\n },\n bathrooms: {\n min: 0,\n },\n construction_year: {\n min: 0,\n },\n location: {\n geohash: '',\n radius: 6,\n },\n };\n\n if (data.filters) {\n Object.keys(data.filters).forEach((key) => {\n const value = data.filters[key];\n\n if (value) {\n if (key === 'minPrice') {\n formattedData.filters.price.min = parseInt(value, 10);\n }\n\n if (key === 'maxPrice') {\n formattedData.filters.price.max = parseInt(value, 10);\n }\n\n if (key === 'minSize') {\n formattedData.filters.size.min = parseInt(value, 10);\n }\n\n if (key === 'bedrooms') {\n formattedData.filters.bedrooms.min = parseInt(value, 10);\n }\n\n if (key === 'rooms') {\n formattedData.filters.rooms.min = parseInt(value, 10);\n }\n\n if (key === 'constructionYear') {\n formattedData.filters.construction_year.min = parseInt(value, 10);\n }\n\n if (key === 'range') {\n formattedData.filters.location.radius = parseInt(value, 10);\n }\n\n if (key === 'city') {\n formattedData.filters.location.geohash = value.value;\n }\n }\n });\n }\n\n return {\n type: POST_FILTERS,\n payload: {\n request: {\n url: '/alerts',\n method: 'POST',\n data: formattedData,\n },\n },\n };\n}\n\nexport function confirmEmail(id, token) {\n return {\n type: CONFIRM_EMAIL,\n payload: {\n request: {\n url: `/alerts/${id}/confirm`,\n method: 'PUT',\n data: {\n token,\n },\n },\n },\n };\n}\n\nexport function unsubscribe(id, token) {\n return {\n type: UNSUBSCRIBE,\n payload: {\n request: {\n url: `/alerts/${id}`,\n method: 'DELETE',\n headers: {\n Authorization: `Bearer ${token}`,\n },\n },\n },\n };\n}\n","// actions\nimport { STORE_DATA, NEXT_STEP, PREV_STEP } from '../actions/questionnaire';\n\nconst INITIAL_STATE = {\n activeStepIndex: 0,\n};\n\nexport default (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case STORE_DATA: {\n return {\n ...state,\n listingType: actions.listingType,\n filters: actions.data,\n };\n }\n\n case NEXT_STEP: {\n return {\n ...state,\n activeStepIndex: state.activeStepIndex + 1,\n };\n }\n\n case PREV_STEP: {\n return {\n ...state,\n activeStepIndex: state.activeStepIndex - 1,\n };\n }\n\n default:\n return state;\n }\n};\n","export const FLASH_NOTIFICATIONS = 'FLASH_NOTIFICATIONS';\n\n/**\n * Add notifications to flash module\n * @param {Array} notifications\n */\nexport function addFlashNotifications(notifications) {\n if (!notifications || notifications.length === 0) return null;\n\n return {\n type: FLASH_NOTIFICATIONS,\n notifications,\n };\n}\n","// actions\nimport { FLASH_NOTIFICATIONS } from '../actions/flash-notifications';\n\nconst INITIAL_STATE = [];\n\nexport default function reducer(state = INITIAL_STATE, actions) {\n switch (actions.type) {\n case FLASH_NOTIFICATIONS: {\n return [...state, ...actions.notifications];\n }\n default:\n return state;\n }\n}\n","import { combineReducers } from 'redux';\n\nimport content from './reducers/content';\nimport listing from './reducers/listing';\nimport cities from './reducers/cities';\nimport questionnaire from './reducers/questionnaire';\nimport flashNotifications from './reducers/flash-notifications';\n\nconst reducers = combineReducers({\n content,\n listing,\n cities,\n questionnaire,\n flashNotifications,\n});\n\nexport default reducers;\n","import React, { createContext, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nconst Context = createContext(null);\n\nconst AppContext = ({ children }) => {\n // ! Delete this dummy state whenever a state has been added\n const [state, setState] = useState(false);\n\n return (\n setState(bool),\n }}\n >\n {children}\n \n );\n};\n\nAppContext.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport { Context };\nexport default AppContext;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Arrow = ({ width, color, className }) => (\n \n \n \n);\n\nArrow.propTypes = {\n width: PropTypes.number.isRequired,\n color: PropTypes.string.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Arrow;\n","export default {\n white: '#FFFFFF',\n grey: '#999999',\n black: '#000000',\n\n primary: '#53D28D',\n primaryLight: '#E6FBEF',\n secondary: '#FE8F50',\n\n error: '#E71F1F',\n warning: '#E56821',\n valid: '#53D28D',\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Bed = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nBed.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Bed;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Bricks = ({ width, className }) => (\n \n \n \n \n \n \n \n \n);\n\nBricks.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Bricks;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Celebrate = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nCelebrate.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Celebrate;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Bricks = ({ width, className }) => (\n \n \n \n);\n\nBricks.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Bricks;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Chevron = ({ width, className, color }) => (\n \n \n \n);\n\nChevron.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n color: PropTypes.string,\n};\n\nChevron.defaultProps = {\n color: colors.black,\n};\n\nexport default Chevron;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Path: styled.path`\n tranition: fill 0.2s ease-in-out;\n `,\n};\n\nconst Copy = ({ width, className, color }) => (\n \n \n \n);\n\nCopy.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n color: PropTypes.string,\n};\n\nCopy.defaultProps = {\n color: colors.black,\n};\n\nexport default Copy;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Cross = ({ width, color, className }) => (\n \n \n \n);\n\nCross.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n color: PropTypes.string,\n};\n\nCross.defaultProps = {\n color: colors.black,\n};\n\nexport default Cross;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Door = ({ width, className }) => (\n \n \n \n \n \n \n \n \n);\n\nDoor.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Door;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Distance = ({ width, className }) => (\n \n \n \n \n \n);\n\nDistance.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Distance;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Path: styled.path`\n tranition: fill 0.2s ease-in-out;\n `,\n};\n\nconst Email = ({ width, className, color }) => (\n \n \n \n);\n\nEmail.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n color: PropTypes.string,\n};\n\nEmail.defaultProps = {\n color: colors.black,\n};\n\nexport default Email;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Filter = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nFilter.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Filter;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst HouseApartment = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nHouseApartment.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default HouseApartment;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Houses = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nHouses.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Houses;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Label = ({ width, className }) => (\n \n \n \n);\n\nLabel.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Label;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst List = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n);\n\nList.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default List;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Location = ({ width, className }) => (\n \n \n \n \n \n \n);\n\nLocation.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Location;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Money = ({ width, className }) => (\n \n \n \n \n \n \n \n);\n\nMoney.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Money;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst NewMail = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n);\n\nNewMail.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default NewMail;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Parcel = ({ width, className }) => (\n \n \n \n \n \n);\n\nParcel.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Parcel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Sun = ({ width, color, className }) => (\n \n \n \n);\n\nSun.propTypes = {\n width: PropTypes.number.isRequired,\n color: PropTypes.string.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Sun;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Share = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n);\n\nShare.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Share;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Sun = ({ width, className }) => (\n \n \n \n \n);\n\nSun.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Sun;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Surface = ({ width, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n);\n\nSurface.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Surface;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Target = ({ width, className }) => (\n \n \n \n \n \n \n);\n\nTarget.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Target;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Validated = ({ width, className }) => (\n \n \n \n \n);\n\nValidated.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default Validated;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Path: styled.path`\n tranition: fill 0.2s ease-in-out;\n `,\n};\n\nconst WhatsApp = ({ width, className, color }) => (\n \n \n \n);\n\nWhatsApp.propTypes = {\n width: PropTypes.number.isRequired,\n className: PropTypes.string.isRequired,\n color: PropTypes.string,\n};\n\nWhatsApp.defaultProps = {\n color: colors.black,\n};\n\nexport default WhatsApp;\n","import Arrow from '../components/icons/Arrow';\nimport Bed from '../components/icons/Bed';\nimport Bricks from '../components/icons/Bricks';\nimport Celebrate from '../components/icons/Celebrate';\nimport Check from '../components/icons/Check';\nimport Chevron from '../components/icons/Chevron';\nimport Copy from '../components/icons/Copy';\nimport Cross from '../components/icons/Cross';\nimport Door from '../components/icons/Door';\nimport Distance from '../components/icons/Distance';\nimport Email from '../components/icons/Email';\nimport Filter from '../components/icons/Filter';\nimport HouseApartment from '../components/icons/HouseApartment';\nimport Houses from '../components/icons/Houses';\nimport Label from '../components/icons/Label';\nimport List from '../components/icons/List';\nimport Location from '../components/icons/Location';\nimport Money from '../components/icons/Money';\nimport NewMail from '../components/icons/NewMail';\nimport Parcel from '../components/icons/Parcel';\nimport Phone from '../components/icons/Phone';\nimport Share from '../components/icons/Share';\nimport Sun from '../components/icons/Sun';\nimport Surface from '../components/icons/Surface';\nimport Target from '../components/icons/Target';\nimport Validated from '../components/icons/Validated';\nimport WhatsApp from '../components/icons/WhatsApp';\n\nconst iconMap = {\n arrow: Arrow,\n bed: Bed,\n bricks: Bricks,\n celebrate: Celebrate,\n check: Check,\n chevron: Chevron,\n copy: Copy,\n cross: Cross,\n door: Door,\n distance: Distance,\n email: Email,\n filter: Filter,\n houseApartment: HouseApartment,\n houses: Houses,\n label: Label,\n list: List,\n location: Location,\n money: Money,\n newMail: NewMail,\n parcel: Parcel,\n phone: Phone,\n share: Share,\n sun: Sun,\n surface: Surface,\n target: Target,\n validated: Validated,\n whatsapp: WhatsApp,\n};\n\nexport default iconMap;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Constants\nimport iconMap from '../../constants/iconMap';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Icon = ({ icon, width, color, className }) => {\n const IconComponent = iconMap[icon];\n return ;\n};\n\nIcon.propTypes = {\n icon: PropTypes.oneOf(Object.keys(iconMap)).isRequired,\n width: PropTypes.number,\n color: PropTypes.string,\n className: PropTypes.string,\n};\n\nIcon.defaultProps = {\n width: 20,\n className: '',\n color: colors.black,\n};\n\nexport default Icon;\n","export default {\n space: 8,\n borderRadius: 8,\n borderRadiusImage: 18,\n};\n","import React, { useState, useEffect } from 'react';\nimport styled, { keyframes } from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\n\n// Components\nimport Icon from './icons/Icon';\n\n// Styles\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\n\nconst resize = keyframes`\n from {\n width: 0%;\n }\n to {\n width: 100%;\n }\n`;\n\nconst Styled = {\n Component: styled.div`\n position: fixed;\n z-index: 999999;\n top: 100px;\n right: ${sizes.space * 3}px;\n width: 0;\n `,\n Notification: styled.div`\n display: flex;\n align-items: center;\n position: relative;\n width: 300px;\n border-radius: ${sizes.borderRadius}px;\n overflow: hidden;\n background: #fff;\n ${({ type }) => {\n if (type === 'success') {\n return `border-left: 5px solid ${colors.valid};`;\n }\n if (type === 'warning') {\n return `border-left: 5px solid ${colors.warning};`;\n }\n if (type === 'error') {\n return `border-left: 5px solid ${colors.error};`;\n }\n return `border-left: 5px solid ${colors.grey};`;\n }}\n\n box-shadow: 0px 2px 15px 1px rgba(0, 0, 0, 0.2);\n height: ${({ shown }) => (shown ? '70px' : '0')};\n margin-top: ${({ shown }) => (shown ? `${sizes.space * 2}px` : '0')};\n transform: translateX(${({ shown }) => (shown ? '-300px' : '50px')});\n transition: transform 0.5s ease, height 0.3s ease-out 0.5s, margin-top 0.3s ease-out 0.5s;\n `,\n Info: styled.div`\n flex: 1;\n overflow: hidden;\n padding: ${sizes.space * 2}px;\n `,\n Title: styled.h5`\n font-weight: bold;\n line-height: 1.6;\n margin: 0;\n color: ${({ type }) => {\n if (type === 'success') {\n return colors.valid;\n }\n if (type === 'warning') {\n return colors.warning;\n }\n if (type === 'error') {\n return colors.error;\n }\n return colors.black;\n }};\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n `,\n SubTitle: styled.p`\n font-size: 12px;\n line-height: 1.5;\n margin: 0;\n color: ${colors.black};\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n `,\n CloseBtn: styled.button`\n cursor: pointer;\n margin-left: auto;\n padding: ${sizes.space * 2}px;\n border: none;\n background: transparent;\n opacity: 0.3;\n transition: opacity 0.2s ease-out;\n\n &:hover {\n opacity: 1;\n }\n `,\n Duration: styled.div`\n position: absolute;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n opacity: 0.05;\n background: ${colors.black};\n animation: ${resize} ${({ duration }) => duration}ms linear;\n `,\n};\n\nconst FlashNotification = ({ notification }) => {\n const history = useHistory();\n let hidden = false;\n if (notification.id) {\n hidden = localStorage.getItem(notification.id);\n }\n const [shown, setShown] = useState(true);\n\n useEffect(() => {\n let duration = 5000;\n if (notification.duration) {\n duration = notification.duration;\n }\n // if duration is set to 0 do not tween it out automatically\n if (duration !== 0) {\n // auto hide after duration that is set\n setTimeout(() => {\n setShown(false);\n }, duration);\n }\n }, [notification.duration]);\n\n const handleClose = () => {\n // tween out\n setShown(false);\n\n // set storage so it stays hidden\n if (notification.stayHiddenOnClose) {\n if (notification.id) {\n localStorage.setItem(notification.id, true);\n } else {\n console.error('To \"stayHiddenOnClose\" you need to give the message an \"id\"');\n }\n }\n };\n\n const handleClick = () => {\n if (notification.link) {\n history.push(notification.link);\n }\n };\n\n // don't show if storage is set\n if (hidden) return null;\n\n return (\n \n \n {notification.title}\n {notification.message}\n \n \n \n \n \n \n );\n};\n\nFlashNotification.propTypes = {\n notification: PropTypes.shape({\n id: PropTypes.string,\n link: PropTypes.string,\n title: PropTypes.string,\n message: PropTypes.string,\n type: PropTypes.oneOf(['normal', 'success', 'warning', 'error']),\n duration: PropTypes.number,\n stayHiddenOnClose: PropTypes.bool,\n }).isRequired,\n};\n\nconst FlashNotifications = ({ notifications }) => (\n \n {notifications.map((notification) => (\n \n ))}\n \n);\n\nFlashNotifications.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n })\n ),\n};\n\nFlashNotifications.defaultProps = {\n notifications: [],\n};\n\nexport default connect((state) => ({\n notifications: state.flashNotifications,\n}))(FlashNotifications);\n","import { createGlobalStyle } from 'styled-components';\n\nconst ResetStyle = createGlobalStyle`\n html {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n article,\n aside,\n details,\n figcaption,\n figure,\n footer,\n header,\n main,\n menu,\n nav,\n section,\n summary {\n display: block;\n }\n audio,\n canvas,\n progress,\n video {\n display: inline-block;\n }\n audio:not([controls]) {\n display: none;\n height: 0;\n }\n progress {\n vertical-align: baseline;\n }\n [hidden],\n template {\n display: none;\n }\n a {\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n }\n a:active,\n a:hover {\n outline-width: 0;\n }\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n text-decoration: underline dotted;\n }\n b,\n strong {\n font-weight: inherit;\n font-weight: bolder;\n }\n dfn {\n font-style: italic;\n }\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n mark {\n background-color: #ff0;\n color: #000;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n img {\n border-style: none;\n }\n svg:not(:root) {\n overflow: hidden;\n }\n code,\n kbd,\n pre,\n samp {\n font-family: monospace, monospace;\n font-size: 1em;\n }\n figure {\n margin: 1em 40px;\n }\n hr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n button,\n input,\n optgroup,\n select,\n textarea {\n font: inherit;\n margin: 0;\n }\n optgroup {\n font-weight: 700;\n }\n button,\n input {\n overflow: visible;\n }\n button,\n select {\n text-transform: none;\n }\n [type=\"reset\"],\n [type=\"submit\"],\n button,\n html [type=\"button\"] {\n -webkit-appearance: button;\n }\n [type=\"button\"]::-moz-focus-inner,\n [type=\"reset\"]::-moz-focus-inner,\n [type=\"submit\"]::-moz-focus-inner,\n button::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n [type=\"button\"]:-moz-focusring,\n [type=\"reset\"]:-moz-focusring,\n [type=\"submit\"]:-moz-focusring,\n button:-moz-focusring {\n outline: 1px dotted ButtonText;\n }\n fieldset {\n border: 1px solid silver;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n }\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n textarea {\n overflow: auto;\n }\n [type=\"checkbox\"],\n [type=\"radio\"] {\n box-sizing: border-box;\n padding: 0;\n }\n [type=\"number\"]::-webkit-inner-spin-button,\n [type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n }\n [type=\"search\"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n [type=\"search\"]::-webkit-search-cancel-button,\n [type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n }\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n html {\n font: 112.5%/1.45em georgia, serif;\n box-sizing: border-box;\n overflow-y: scroll;\n }\n * {\n box-sizing: inherit;\n }\n *:before {\n box-sizing: inherit;\n }\n *:after {\n box-sizing: inherit;\n }\n body {\n color: hsla(0, 0%, 0%, 0.8);\n font-family: georgia, serif;\n font-weight: normal;\n word-wrap: break-word;\n font-kerning: normal;\n -moz-font-feature-settings: \"kern\", \"liga\", \"clig\", \"calt\";\n -ms-font-feature-settings: \"kern\", \"liga\", \"clig\", \"calt\";\n -webkit-font-feature-settings: \"kern\", \"liga\", \"clig\", \"calt\";\n font-feature-settings: \"kern\", \"liga\", \"clig\", \"calt\";\n }\n img {\n max-width: 100%;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n }\n h1 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 2.25rem;\n line-height: 1.1;\n }\n h2 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 1.62671rem;\n line-height: 1.1;\n }\n h3 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 1.38316rem;\n line-height: 1.1;\n }\n h4 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 1rem;\n line-height: 1.1;\n }\n h5 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 0.85028rem;\n line-height: 1.1;\n }\n h6 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n color: inherit;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n font-weight: bold;\n text-rendering: optimizeLegibility;\n font-size: 0.78405rem;\n line-height: 1.1;\n }\n hgroup {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n ul {\n margin-left: 1.45rem;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n list-style-position: outside;\n list-style-image: none;\n }\n ol {\n margin-left: 1.45rem;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n list-style-position: outside;\n list-style-image: none;\n }\n dl {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n dd {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n p {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n figure {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n pre {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 1.45rem;\n font-size: 0.85rem;\n line-height: 1.42;\n background: hsla(0, 0%, 0%, 0.04);\n border-radius: 3px;\n overflow: auto;\n word-wrap: normal;\n padding: 1.45rem;\n }\n table {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n font-size: 1rem;\n line-height: 1.45rem;\n border-collapse: collapse;\n width: 100%;\n }\n fieldset {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n blockquote {\n margin-left: 1.45rem;\n margin-right: 1.45rem;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n form {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n noscript {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n iframe {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n hr {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: calc(1.45rem - 1px);\n background: hsla(0, 0%, 0%, 0.2);\n border: none;\n height: 1px;\n }\n address {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n margin-bottom: 1.45rem;\n }\n b {\n font-weight: bold;\n }\n strong {\n font-weight: bold;\n }\n dt {\n font-weight: bold;\n }\n th {\n font-weight: bold;\n }\n li {\n margin-bottom: calc(1.45rem / 2);\n }\n ol li {\n padding-left: 0;\n }\n ul li {\n padding-left: 0;\n }\n li > ol {\n margin-left: 1.45rem;\n margin-bottom: calc(1.45rem / 2);\n margin-top: calc(1.45rem / 2);\n }\n li > ul {\n margin-left: 1.45rem;\n margin-bottom: calc(1.45rem / 2);\n margin-top: calc(1.45rem / 2);\n }\n blockquote *:last-child {\n margin-bottom: 0;\n }\n li *:last-child {\n margin-bottom: 0;\n }\n p *:last-child {\n margin-bottom: 0;\n }\n li > p {\n margin-bottom: calc(1.45rem / 2);\n }\n code {\n font-size: 0.85rem;\n line-height: 1.45rem;\n }\n kbd {\n font-size: 0.85rem;\n line-height: 1.45rem;\n }\n samp {\n font-size: 0.85rem;\n line-height: 1.45rem;\n }\n abbr {\n border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5);\n cursor: help;\n }\n acronym {\n border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5);\n cursor: help;\n }\n abbr[title] {\n border-bottom: 1px dotted hsla(0, 0%, 0%, 0.5);\n cursor: help;\n text-decoration: none;\n }\n thead {\n text-align: left;\n }\n td,\n th {\n text-align: left;\n border-bottom: 1px solid hsla(0, 0%, 0%, 0.12);\n font-feature-settings: \"tnum\";\n -moz-font-feature-settings: \"tnum\";\n -ms-font-feature-settings: \"tnum\";\n -webkit-font-feature-settings: \"tnum\";\n padding-left: 0.96667rem;\n padding-right: 0.96667rem;\n padding-top: 0.725rem;\n padding-bottom: calc(0.725rem - 1px);\n }\n th:first-child,\n td:first-child {\n padding-left: 0;\n }\n th:last-child,\n td:last-child {\n padding-right: 0;\n }\n tt,\n code {\n background-color: hsla(0, 0%, 0%, 0.04);\n border-radius: 3px;\n font-family: \"SFMono-Regular\", Consolas, \"Roboto Mono\", \"Droid Sans Mono\",\n \"Liberation Mono\", Menlo, Courier, monospace;\n padding: 0;\n padding-top: 0.2em;\n padding-bottom: 0.2em;\n }\n pre code {\n background: none;\n line-height: 1.42;\n }\n code:before,\n code:after,\n tt:before,\n tt:after {\n letter-spacing: -0.2em;\n content: \" \";\n }\n pre code:before,\n pre code:after,\n pre tt:before,\n pre tt:after {\n content: \"\";\n }\n @media only screen and (max-width: 480px) {\n html {\n font-size: 100%;\n }\n }\n`;\n\nexport default ResetStyle;\n","export default {\n title: \"'Gopher-Bold', sans-serif\",\n body: \"'Heebo', sans-serif\",\n};\n","import { css } from 'styled-components';\n\n// these sizes are arbitrary and you can set them to whatever you wish\nconst sizes = {\n XL: 1440,\n L: 1280,\n M: 1024,\n S: 768,\n XS: 600,\n XXS: 376,\n};\n\n// iterate through the sizes and create a media template\nconst from = Object.keys(sizes).reduce(\n (mediaQueriesObject, breakPointLabel) => {\n // use em in breakpoints to work properly cross-browser and support users\n // changing their browsers font-size: https://zellwk.com/blog/media-query-units/\n const emSize = sizes[breakPointLabel] / 16;\n\n // eslint-disable-next-line no-param-reassign\n mediaQueriesObject[breakPointLabel] = (cssStrings, breakpointSize) => css`\n @media (min-width: ${emSize}em) {\n ${css(cssStrings, breakpointSize)}\n }\n `;\n return mediaQueriesObject;\n },\n {\n px: (px) => (cssStrings, breakpointSize) =>\n css`\n @media (min-width: ${px}px) {\n ${css(cssStrings, breakpointSize)}\n }\n `,\n }\n);\n\n// iterate through the sizes and create a media template\nconst to = Object.keys(sizes).reduce(\n (mediaQueriesObject, breakPointLabel) => {\n // use em in breakpoints to work properly cross-browser and support users\n // changing their browsers font-size: https://zellwk.com/blog/media-query-units/\n const emSize = sizes[breakPointLabel] / 16;\n\n // eslint-disable-next-line no-param-reassign\n mediaQueriesObject[breakPointLabel] = (cssStrings, breakpointSize) => css`\n @media (max-width: ${emSize}em) {\n ${css(cssStrings, breakpointSize)}\n }\n `;\n return mediaQueriesObject;\n },\n {\n px: (px) => (cssStrings, breakpointSize) =>\n css`\n @media (max-width: ${px}px) {\n ${css(cssStrings, breakpointSize)}\n }\n `,\n }\n);\n\nconst mediaQueries = {\n from,\n to,\n};\n\nexport { sizes };\nexport default mediaQueries;\n","import { css } from 'styled-components';\n\n// Styling\nimport fonts from './fonts';\nimport mediaQuery from './breakpoints';\n\n// Text styles\nexport default {\n titleExtreme: css`\n margin: 0;\n font-family: ${fonts.title};\n font-size: 32px;\n font-weight: 700;\n line-height: 1.125;\n\n ${mediaQuery.from.S`\n font-size: 56px;\n `};\n\n ${mediaQuery.from.L`\n font-size: 64px;\n `};\n `,\n titleLoud: css`\n margin: 0;\n font-family: ${fonts.title};\n font-size: 32px;\n font-weight: 700;\n line-height: 1.125;\n\n ${mediaQuery.from.S`\n font-size: 40px;\n `};\n\n ${mediaQuery.from.L`\n font-size: 48px;\n `};\n `,\n titleNormal: css`\n margin: 0;\n font-family: ${fonts.title};\n font-size: 24px;\n font-weight: 700;\n line-height: 1.125;\n\n ${mediaQuery.from.S`\n font-size: 32px;\n `};\n `,\n titleSubtle: css`\n margin: 0;\n font-family: ${fonts.title};\n font-size: 18px;\n font-weight: 700;\n line-height: 1.125;\n\n ${mediaQuery.from.L`\n font-size: 20px;\n `};\n `,\n screamingHighlight: css`\n margin: 0;\n font-family: ${fonts.title};\n font-size: 64px;\n font-weight: 700;\n line-height: 1.125;\n\n ${mediaQuery.from.S`\n font-size: 80px;\n `};\n\n ${mediaQuery.from.L`\n font-size: 96px;\n `};\n `,\n bodyLarge: css`\n margin: 0;\n font-family: ${fonts.body};\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n\n ${mediaQuery.from.L`\n font-size: 18px;\n `};\n `,\n bodySmall: css`\n margin: 0;\n font-family: ${fonts.body};\n font-size: 14px;\n font-weight: 400;\n line-height: 1.5;\n `,\n};\n","// Global stylesheet\nimport { createGlobalStyle } from 'styled-components';\n\n// Styling\nimport colors from './colors';\nimport textStyles from './textStyles';\nimport fonts from './fonts';\nimport sizes from './sizes';\nimport mediaQuery from './breakpoints';\n\nconst GlobalStyle = createGlobalStyle`\n /*\n @license\n MyFonts Webfont Build ID 4096838, 2021-06-01T16:30:22-0400\n */\n @font-face {\n font-family: \"Gopher-Bold\";\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url('/fonts/gopher-bold-webfont.woff2') format('woff2'),\n url('/fonts/gopher-bold-webfont.woff') format('woff');\n }\n\n html,\n body {\n width: 100%;\n margin: 0;\n color: ${colors.black};\n background-color: ${colors.white};\n font-family: ${fonts.body};\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n overflow: visible;\n }\n\n p {\n ${textStyles.bodyLarge};\n margin-bottom: ${sizes.space * 2}px;\n }\n\n h1 {\n ${textStyles.titleExtreme};\n }\n\n h2 {\n ${textStyles.titleLoud};\n }\n\n h3 {\n ${textStyles.titleNormal};\n }\n\n h4 {\n ${textStyles.titleSubtle};\n }\n\n a {\n color: ${colors.primary}\n }\n\n section {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding-bottom: 20%;\n\n ${mediaQuery.from.M`\n padding-bottom: 15%;\n `}\n\n ${mediaQuery.from.L`\n padding-bottom: ${sizes.space * 15}px;\n `}\n\n ${mediaQuery.from.XL`\n padding-bottom: ${sizes.space * 20}px;\n `}\n }\n`;\n\nexport default GlobalStyle;\n","export default {\n home: '/',\n faq: '/faq',\n contact: '/contact',\n profile: '/profile',\n questionnaire: '/questionnaire',\n questionnaireBuy: '/questionnaire/buy',\n questionnaireRent: '/questionnaire/rent',\n questionnaireOverview: '/questionnaire/overview',\n questionnaireEdit: (name) => `/questionnaire/edit/${name}`,\n questionnaireRegister: '/questionnaire/register',\n questionnaireSuccess: '/questionnaire/success',\n questionnaireConfirm: (id, token) => `/questionnaire/confirm/${id}/${token}`, // !hardcoded in the email\n unsubscribe: (id, token) => `/unsubscribe/${id}/${token}`, // !hardcoded in the email\n listingDetail: (id) => `/listing/${id}`,\n privacy: '/privacy',\n disclaimer: '/terms-and-conditions',\n};\n","import React, { useReducer, createContext } from 'react';\nimport PropTypes from 'prop-types';\nimport get from 'lodash.get';\nimport axios from 'axios';\n\n// Constants\nimport EN from '../constants/en.json';\nimport NL from '../constants/nl.json';\n\n// To make it easier to read from JSON files\nconst translations = {\n en: EN,\n nl: NL,\n};\n\nconst formatLabel = (label, variables) => {\n if (!variables) return label;\n\n // replace variables if has any\n let formattedLabel = label;\n if (variables) {\n formattedLabel = Object.keys(variables).map((key) => {\n const value = variables[key];\n return formattedLabel.replace(`{${key}}`, value);\n });\n }\n\n return formattedLabel;\n};\n\n// This function will be used to create `translate` function for the context\nconst getTranslate = (langCode) => (key, variables) => {\n if (!key) return '';\n const keys = key.split('.');\n\n let getSubLabel = translations[langCode];\n\n // if has no sub keys\n if (!keys || keys.length < 2) {\n // return label if found otherwise just the key\n return getSubLabel[key] ? formatLabel(getSubLabel[key], variables) : key;\n }\n\n keys.forEach((subKey) => {\n if (getSubLabel[subKey]) {\n getSubLabel = getSubLabel[subKey];\n }\n });\n\n // if string is found in json\n if (typeof getSubLabel === 'string' || getSubLabel instanceof String) {\n return formatLabel(getSubLabel, variables);\n }\n\n // if not found just return key\n return key;\n};\n\nconst locale = localStorage.getItem('lang') || get(window, 'client.locale', 'nl');\nconst initialState = {\n langCode: locale,\n translate: getTranslate(locale),\n};\n\n// add default language to all api headers\naxios.defaults.headers.common['Accept-Language'] = locale;\n\nexport const I18nContext = createContext(initialState);\n\nconst I18nContextProvider = ({ children }) => {\n /**\n * We're creating a reducer to manage the global state which will sit in\n * I18nContext. For now, the only action we will have is setting language\n *\n * @param {*} state\n * @param {*} action\n * @returns\n */\n const reducer = (state, action) => {\n switch (action.type) {\n case 'setLanguage':\n return {\n langCode: action.payload,\n translate: getTranslate(action.payload),\n };\n default:\n return { ...initialState };\n }\n };\n\n /* useReducer hook receives a reducer and an initialState to\n return the current state object with a dispatch method to\n dispatch actions. */\n const [state, dispatch] = useReducer(reducer, initialState);\n\n /* We're Providing state object (langCode and translate method\n in this case) and also the dispatch for the children components */\n return {children};\n};\n\nI18nContextProvider.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default I18nContextProvider;\n","import React, { useContext, useState, useEffect } from 'react';\nimport { Helmet } from 'react-helmet';\nimport PropTypes from 'prop-types';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\nconst Seo = ({ title, description, image }) => {\n const formattedTitle = title ? `${title} - Rplace` : title;\n const { langCode } = useContext(I18nContext);\n const [lang, setLang] = useState('nl-nl');\n\n useEffect(() => {\n setLang(langCode === 'nl' ? 'nl-nl' : 'en-nl');\n }, [langCode]);\n\n return (\n \n {formattedTitle}\n \n \n \n \n \n \n {/* ready flag for SSR */}\n \n );\n};\n\nSeo.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n image: PropTypes.string,\n};\n\nSeo.defaultProps = {\n title: 'Rplace',\n description: '',\n image: '/images/share.jpg',\n};\n\nexport default Seo;\n","import React from 'react';\nimport styled, { css } from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport mediaQuery from '../../styles/breakpoints';\nimport sizes from '../../styles/sizes';\n\nconst SharedStyling = {\n container: css`\n margin: 0 auto;\n padding: 0 ${({ columnHolder }) => (columnHolder ? 0 : sizes.space * 2)}px;\n width: 100%;\n\n ${mediaQuery.from.S`\n padding: 0 ${({ columnHolder }) => (columnHolder ? 0 : sizes.space * 4)}px;\n `}\n\n ${mediaQuery.from.M`\n padding: 0 ${({ columnHolder }) => (columnHolder ? sizes.space * 2 : sizes.space * 6)}px;\n `}\n `,\n};\n\nconst Styled = {\n ExtraSmall: styled.div`\n ${SharedStyling.container};\n max-width: 600px;\n `,\n\n Small: styled.div`\n ${SharedStyling.container};\n max-width: 800px;\n `,\n\n Medium: styled.div`\n ${SharedStyling.container};\n max-width: 1240px;\n `,\n\n Large: styled.div`\n ${SharedStyling.container};\n max-width: 1600px;\n `,\n};\n\nconst Container = ({ children, size, columnHolder, className }) => {\n if (size === 'extraSmall') {\n return (\n \n {children}\n \n );\n }\n if (size === 'small') {\n return (\n \n {children}\n \n );\n }\n if (size === 'medium') {\n return (\n \n {children}\n \n );\n }\n return (\n \n {children}\n \n );\n};\n\nContainer.propTypes = {\n children: PropTypes.node.isRequired,\n size: PropTypes.oneOf(['extraSmall', 'small', 'medium', 'large']),\n columnHolder: PropTypes.bool,\n className: PropTypes.string,\n};\n\nContainer.defaultProps = {\n size: 'large',\n columnHolder: false,\n className: '',\n};\n\nexport default Container;\n","import React, { useContext, useRef } from 'react';\nimport styled from 'styled-components';\nimport axios from 'axios';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Styles\nimport textStyles from '../../styles/textStyles';\n\n// Components\nimport Icon from '../icons/Icon';\n\nconst Styled = {\n Component: styled.div`\n position: relative;\n `,\n Select: styled.select`\n ${textStyles.bodyLarge};\n cursor: pointer;\n padding-right: 20px;\n background: transparent;\n border: none;\n outline: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n :-ms-expand {\n display: none;\n }\n `,\n Icon: styled(Icon)`\n pointer-events: none;\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n `,\n};\n\nconst LanguageSwitch = () => {\n const { langCode, dispatch } = useContext(I18nContext);\n const selectRef = useRef();\n\n const changeLanguage = () => {\n const lang = selectRef?.current?.value;\n dispatch({\n type: 'setLanguage',\n payload: lang,\n });\n localStorage.setItem('lang', lang);\n\n // change the common header in axios for all the api calls\n axios.defaults.headers.common['Accept-Language'] = lang;\n\n // TODO: find out a better way to reload \"content\"\n window.location.reload();\n };\n\n return (\n \n changeLanguage()}>\n NL\n EN\n \n \n \n );\n};\n\nexport default LanguageSwitch;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// styles\nimport colors from '../../styles/colors';\n\nconst width = 30;\nconst height = 26;\nconst lineSize = 4;\nconst Styled = {\n Component: styled.button`\n position: relative;\n width: ${width}px;\n height: ${height}px;\n background: transparent;\n border: none;\n padding: 0;\n cursor: pointer;\n\n &:focus {\n outline: none;\n }\n `,\n Slice: styled.span`\n position: absolute;\n display: block;\n height: ${lineSize}px;\n width: ${width}px;\n background-color: ${colors.black};\n transition: all 0.2s ease-out;\n\n &:nth-child(1) {\n margin-top: ${(props) => (props.open ? `-${lineSize}px` : 0)};\n top: ${(props) => (props.open ? '50%' : 0)};\n transform: ${(props) => (props.open ? 'rotate(45deg)' : 'rotate(0deg)')};\n }\n\n &:nth-child(2) {\n top: 50%;\n margin-top: -${lineSize / 2}px;\n opacity: ${(props) => (props.open ? 0 : 1)};\n }\n\n &:nth-child(3) {\n top: auto;\n margin-top: ${(props) => (props.open ? `-${lineSize}px` : 0)};\n bottom: ${(props) => (props.open ? '50%' : 0)};\n transform: ${(props) => (props.open ? 'rotate(-45deg)' : 'rotate(0deg)')};\n }\n `,\n};\n\nconst Burger = ({ open, onClick }) => (\n \n \n \n \n \n);\n\nBurger.propTypes = {\n open: PropTypes.bool,\n onClick: PropTypes.func.isRequired,\n};\n\nBurger.defaultProps = {\n open: false,\n};\n\nexport default Burger;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styling\nimport colors from '../../styles/colors';\n\nconst StyledPath = styled.path`\n transition: fill 0.2s ease-in-out;\n`;\n\nconst Logo = ({ inverted, beta, className }) => (\n \n \n \n \n \n {beta && (\n \n )}\n \n \n \n \n \n \n \n);\n\nLogo.propTypes = {\n inverted: PropTypes.bool,\n beta: PropTypes.bool,\n className: PropTypes.string.isRequired,\n};\n\nLogo.defaultProps = {\n inverted: false,\n beta: false,\n};\n\nexport default Logo;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst ShapeBottom = ({ className }) => (\n \n \n \n \n \n);\n\nShapeBottom.propTypes = {\n className: PropTypes.string.isRequired,\n};\n\nexport default ShapeBottom;\n","import React, { useContext, useState, useEffect, useRef } from 'react';\nimport styled from 'styled-components';\nimport { Link, NavLink } from 'react-router-dom';\nimport { disableBodyScroll, enableBodyScroll, clearAllBodyScrollLocks } from 'body-scroll-lock';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Styles\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\nimport textStyles from '../styles/textStyles';\nimport mediaQuery, { sizes as breakpoints } from '../styles/breakpoints';\n\n// Components\nimport Container from './layouts/Container';\nimport LanguageSwitch from './elements/LanguageSwitch';\nimport Burger from './elements/Burger';\nimport Logo from './assets/Logo';\nimport ShapeBottom from './assets/ShapeBottom';\n\nconst Styled = {\n Container: styled(Container)`\n position: absolute;\n z-index: 9;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n `,\n Header: styled.header`\n z-index: 1;\n position: relative;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n padding: ${sizes.space * 2}px 0;\n `,\n Logo: styled(Logo)`\n width: 100px;\n max-width: 174px;\n cursor: pointer;\n\n ${mediaQuery.from.S`\n width: 174px;\n `}\n `,\n Menu: styled.nav`\n position: relative;\n z-index: 1;\n\n ul {\n list-style: none;\n display: none;\n margin: 0;\n\n ${mediaQuery.from.M`\n display: flex;\n align-items: center;\n `}\n\n li {\n margin: 0;\n margin-right: ${sizes.space * 4}px;\n\n :last-child {\n margin-right: 0;\n }\n }\n }\n `,\n Link: styled(NavLink)`\n ${textStyles.titleSubtle};\n color: ${colors.black};\n text-decoration: none;\n display: block;\n line-height: 1.6;\n border-bottom: 2px solid transparent;\n transition: border-color 200ms ease-out;\n\n &:hover {\n border-color: ${colors.black};\n }\n\n &.active {\n border-bottom: 2px solid ${colors.black};\n }\n `,\n Burger: styled.div`\n position: relative;\n z-index: 2;\n margin-left: ${sizes.space * 3}px;\n\n ${mediaQuery.from.M`\n display: none;\n `}\n `,\n MobileMenu: styled.nav`\n z-index: 3;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n padding-top: 110px;\n transform: ${({ menuOpen }) => (menuOpen ? 'translateY(0)' : 'translateY(-100%)')};\n opacity: ${({ menuOpen }) => (menuOpen ? '1' : '0')};\n transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out;\n background-color: ${colors.primary};\n\n ${mediaQuery.from.S`\n padding-top: 160px;\n `}\n\n ${mediaQuery.from.M`\n display: none;\n `}\n\n ul {\n display: flex;\n flex-direction: column;\n align-items: center;\n list-style: none;\n margin: 0;\n\n li {\n margin: 0;\n margin-bottom: ${sizes.space * 4}px;\n\n :last-child {\n margin-bottom: 0;\n }\n }\n }\n\n ${mediaQuery.from.M`\n display: none;\n `};\n `,\n ShapeBottom: styled(ShapeBottom)`\n position: absolute;\n width: 100%;\n transition: opacity 0.2s ease-in-out;\n opacity: ${({ menuOpen }) => (menuOpen ? '1' : '0')};\n pointer-events: ${({ menuOpen }) => (menuOpen ? 'auto' : 'none')};\n `,\n Overlay: styled.div`\n z-index: 2;\n background-color: rgba(0, 0, 0, 0.32);\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n transition: opacity 0.2s ease-in-out;\n opacity: ${({ menuOpen }) => (menuOpen ? '1' : '0')};\n `,\n};\n\nconst Header = () => {\n const { translate } = useContext(I18nContext);\n const [menuOpen, setMenuOpen] = useState(false);\n const mobileMenuRef = useRef(null);\n\n useEffect(() => {\n if (menuOpen) {\n disableBodyScroll(mobileMenuRef?.current);\n } else {\n enableBodyScroll(mobileMenuRef?.current);\n }\n\n return () => {\n clearAllBodyScrollLocks();\n };\n }, [menuOpen]);\n\n const handleResize = () => {\n if (window.innerWidth > breakpoints.M) {\n setMenuOpen(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener('resize', handleResize);\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n {translate('app.header.menu.home')}\n \n \n \n \n {translate('app.header.menu.faq')}\n \n \n \n \n {translate('app.header.menu.contact')}\n \n \n \n \n \n \n \n \n setMenuOpen(!menuOpen)} />\n \n \n \n \n \n \n \n {translate('app.header.menu.home')}\n \n \n \n \n {translate('app.header.menu.faq')}\n \n \n \n \n {translate('app.header.menu.contact')}\n \n \n \n \n \n \n \n \n \n >\n );\n};\n\nexport default Header;\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport { Link } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Logo from './assets/Logo';\n\n// Styles\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\nimport mediaQuery from '../styles/breakpoints';\n\nconst StyledFooter = styled.footer`\n width: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n box-sizing: border-box;\n\n ${mediaQuery.from.S`\n flex-direction: row-reverse;\n align-items: flex-end;\n `}\n`;\n\nconst StyledLogo = styled(Logo)`\n width: 300px;\n margin-left: -47px;\n margin-bottom: -74px;\n\n ${mediaQuery.from.S`\n width: 450px;\n margin-top: ${sizes.space * 8}px;\n margin-left: -70px;\n margin-bottom: -108px;\n `},\n`;\n\nconst StyledMenu = styled.ul`\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin: 0;\n padding: ${sizes.space * 3}px;\n\n ${mediaQuery.from.S`\n width: auto;\n `},\n\n li {\n margin: 0;\n }\n`;\n\nconst StyledLink = styled(Link)`\n color: ${colors.black};\n text-decoration: none;\n display: block;\n padding: ${sizes.space}px;\n font-size: 14px;\n line-height: 1.6;\n transition: opacity 200ms ease-out;\n\n ${mediaQuery.from.S`\n padding: ${sizes.space * 2}px;\n `},\n\n &:hover {\n opacity: 0.5;\n }\n`;\n\nconst Footer = () => {\n const { translate } = useContext(I18nContext);\n return (\n \n \n \n {translate('app.footer.menu.privacy')}\n \n \n {translate('app.footer.menu.disclaimer')}\n \n \n {translate('app.footer.menu.contact')}\n \n \n \n \n \n \n );\n};\n\nexport default Footer;\n","import React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { useLocation } from 'react-router-dom';\n\n// Styles\nimport mediaQuery from '../../styles/breakpoints';\nimport sizes from '../../styles/sizes';\n\n// Components\nimport Header from '../Header';\nimport Footer from '../Footer';\n\nconst Styled = {\n Page: styled.main`\n overflow-x: hidden;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-height: 100vh;\n `,\n Content: styled.div`\n ${({ hasHeader }) => hasHeader && `padding-top: 30%;`};\n ${mediaQuery.from.S`\n ${({ hasHeader }) => hasHeader && `padding-top: 20%;`};\n `}\n ${mediaQuery.from.L`\n ${({ hasHeader }) => hasHeader && `padding-top: 15%;`};\n `}\n ${mediaQuery.from.XL`\n ${({ hasHeader }) => hasHeader && `padding-top: 180px;`};\n `}\n\n ${({ hasFooter }) => hasFooter && `padding-bottom: 20%;`};\n ${mediaQuery.from.M`\n ${({ hasFooter }) => hasFooter && `padding-bottom: 15%;`};\n `}\n ${mediaQuery.from.L`\n ${({ hasFooter }) => hasFooter && `padding-bottom: ${sizes.space * 15}px;`};\n `}\n ${mediaQuery.from.XL`\n ${({ hasFooter }) => hasFooter && `padding-bottom: ${sizes.space * 20}px;`};\n `}\n `,\n};\n\nconst Page = ({ children, noHeader, noFooter }) => {\n const { pathname } = useLocation();\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [pathname]);\n\n return (\n \n {!noHeader && }\n \n {children}\n \n {!noFooter && }\n \n );\n};\n\nPage.propTypes = {\n children: PropTypes.node.isRequired,\n noHeader: PropTypes.bool,\n noFooter: PropTypes.bool,\n};\n\nPage.defaultProps = {\n noHeader: false,\n noFooter: false,\n};\n\nexport default Page;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { keyframes } from 'styled-components';\n\n// Styles\nimport sizes from '../../styles/sizes';\nimport colors from '../../styles/colors';\n\nconst Size = 40;\nconst BounceOffset = 9;\n\nconst rotate = keyframes`\n 17% {\n border-bottom-right-radius: 5px;\n }\n 25% {\n transform: translateY(${BounceOffset}px) rotate(22.5deg);\n }\n 50% {\n transform: translateY(18px) scale(1, 0.9) rotate(45deg) ;\n border-bottom-right-radius: 35px;\n }\n 75% {\n transform: translateY(${BounceOffset}px) rotate(67.5deg);\n }\n 100% {\n transform: translateY(0) rotate(90deg);\n }\n`;\n\nconst shadow = keyframes`\n 50% {\n transform: scale(1.2, 1);\n }\n`;\n\nconst Styled = {\n LoaderHolder: styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n `,\n Loader: styled.div`\n position: relative;\n margin: ${sizes.space * 4}px auto;\n `,\n Box: styled.div`\n width: ${Size}px;\n height: ${Size}px;\n background: ${(prop) => (prop.color === 'white' ? colors.white : colors.primary)};\n animation: ${rotate} 0.5s linear infinite;\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 5px;\n `,\n Shadow: styled.div`\n width: ${Size}px;\n height: ${Size / 10}px;\n background: #000;\n opacity: 0.1;\n position: absolute;\n top: ${Size + BounceOffset}px;\n left: 0;\n border-radius: 50%;\n animation: ${shadow} 0.5s linear infinite;\n `,\n};\n\nconst Loader = ({ color }) => {\n return (\n \n \n \n \n \n \n );\n};\n\nLoader.propTypes = {\n color: PropTypes.oneOf(['primary', 'white']),\n};\n\nLoader.defaultProps = {\n color: 'primary',\n};\n\nexport default Loader;\n","import React, { useMemo } from 'react';\nimport styled, { css, keyframes } from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Constants\nimport iconMap from '../../constants/iconMap';\n\n// Components\nimport Icon from '../icons/Icon';\n\n// Styles\nimport sizes from '../../styles/sizes';\nimport textStyles from '../../styles/textStyles';\nimport colors from '../../styles/colors';\nimport mediaQuery from '../../styles/breakpoints';\n\nconst Restyled = {\n Icon: styled(Icon)`\n transition: transform 0.2s ease-in-out;\n ${({ hasLabel }) => hasLabel && `margin-left: ${sizes.space * 2}px;`}\n ${({ rotateIcon }) => rotateIcon && `transform: rotate(180deg);`}\n `,\n};\n\nconst SharedStyling = {\n button: css`\n ${textStyles.titleSubtle};\n position: relative;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n padding: ${sizes.space * 2}px ${sizes.space * 3}px;\n color: ${colors.black};\n border: none;\n border-radius: 80px;\n box-shadow: 0px 9px 20px rgba(0, 0, 0, 0.16);\n transition: box-shadow 0.2s ease-out, padding-left 0.2s ease-out;\n ${({ disabled }) => disabled && 'opacity: 0.5;'}\n\n ${mediaQuery.from.S`\n padding: 24px 32px;\n `}\n\n :hover {\n ${Restyled.Icon} {\n transform: ${({ rotateIcon }) =>\n rotateIcon ? 'rotate(180deg) translateX(8px)' : 'translateX(8px)'};\n\n ${mediaQuery.from.S`\n transform: ${({ rotateIcon }) =>\n rotateIcon ? 'rotate(180deg) translateX(12px)' : 'translateX(12px)'};\n `}\n }\n }\n\n :focus {\n outline: none;\n box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);\n }\n `,\n};\n\nconst rotate = keyframes`\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n`;\n\nconst Styled = {\n Link: styled.a`\n ${SharedStyling.button};\n text-decoration: none;\n background-color: ${colors.white};\n `,\n\n Primary: styled.button`\n ${SharedStyling.button};\n background-color: ${colors.secondary};\n\n &.loading {\n padding-left: 50px;\n }\n `,\n\n Secondary: styled.button`\n ${SharedStyling.button};\n background-color: ${colors.white};\n\n &.loading {\n padding-left: 50px;\n }\n `,\n\n Loader: styled.span`\n position: absolute;\n left: ${sizes.space * 2}px;\n top: 50%;\n height: 20px;\n width: 20px;\n margin-top: -10px;\n background-color: transparent;\n box-sizing: border-box;\n border-radius: 50%;\n border-top: 3px solid #fff;\n border-left: 3px solid #fff;\n border-bottom: 3px solid #fff;\n border-right: 3px solid rgba(255, 255, 255, 0.3);\n animation: ${rotate} 0.75s linear infinite;\n transition: all 0.5s ease;\n opacity: 0;\n\n &.shown {\n opacity: 1;\n }\n `,\n};\n\nconst Button = ({ label, version, type, onClick, icon, rotateIcon, disabled, loading, href }) => {\n const loader = useMemo(() => , [loading]);\n const arrow = useMemo(\n () => (\n \n ),\n [label, rotateIcon]\n );\n\n if (type === 'phone') {\n return (\n \n {label}\n \n \n );\n }\n\n if (version === 'secondary') {\n return (\n {\n if (disabled) return;\n onClick();\n }}\n rotateIcon={rotateIcon}\n disabled={disabled}\n className={loading ? 'loading' : ''}\n >\n {loader}\n {label}\n {arrow}\n \n );\n }\n\n return (\n {\n if (disabled) return;\n onClick();\n }}\n rotateIcon={rotateIcon}\n disabled={disabled}\n className={loading ? 'loading' : ''}\n >\n {loader}\n {label}\n {arrow}\n \n );\n};\n\nButton.propTypes = {\n label: PropTypes.string,\n version: PropTypes.oneOf(['primary', 'secondary']),\n type: PropTypes.oneOf(['button', 'submit', 'phone']),\n onClick: PropTypes.func,\n icon: PropTypes.oneOf(Object.keys(iconMap)),\n rotateIcon: PropTypes.bool,\n disabled: PropTypes.bool,\n loading: PropTypes.bool,\n href: PropTypes.string,\n};\n\nButton.defaultProps = {\n label: '',\n version: 'primary',\n type: 'button',\n onClick: null,\n icon: 'arrow',\n rotateIcon: false,\n disabled: false,\n loading: false,\n href: '',\n};\n\nexport default Button;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Shape = ({ className }) => (\n \n \n \n);\n\nShape.propTypes = {\n className: PropTypes.string.isRequired,\n};\n\nexport default Shape;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Components\nimport Container from './layouts/Container';\nimport Button from './elements/Button';\nimport Shape from './assets/Shape';\n\n// Styles\nimport sizes from '../styles/sizes';\nimport mediaQuery from '../styles/breakpoints';\n\nconst Styled = {\n ShapeHolder: styled.div`\n position: absolute;\n z-index: 0;\n top: 0;\n width: 100%;\n height: 100%;\n min-height: 1000px;\n overflow: hidden;\n `,\n\n Shape: styled(Shape)`\n position: absolute;\n z-index: 0;\n top: -2%;\n right: -20%;\n width: 80%;\n max-width: 1300px;\n\n ${mediaQuery.from.XS`\n top: -80px;\n right: -140px;\n width: 80%;\n `}\n\n ${mediaQuery.from.S`\n top: -100px;\n right: -20%;\n width: 80%;\n `}\n\n ${mediaQuery.from.M`\n top: -400px;\n right: -18%;\n width: 80%;\n `}\n\n ${mediaQuery.from.L`\n top: -450px;\n right: -20%;\n width: 90%;\n `}\n\n ${mediaQuery.from.XL`\n top: -640px;\n right: -240px;\n `}\n `,\n\n Row: styled.div`\n display: block;\n align-items: center;\n justify-content: space-between;\n\n ${mediaQuery.from.L`\n display: flex;\n `}\n `,\n\n Content: styled.div`\n position: relative;\n z-index: 1;\n padding-bottom: ${sizes.space * 6}px;\n\n ${mediaQuery.from.L`\n padding-bottom: 0;\n margin-right: ${sizes.space * 4}px;\n `}\n\n ul {\n margin-bottom: ${sizes.space * 4}px;\n list-style-image: url('/images/list-shape.svg');\n\n li {\n padding-left: 10px;\n }\n }\n\n button {\n margin: 0 auto;\n display: block;\n\n ${mediaQuery.from.L`\n margin: 0;\n `}\n }\n `,\n\n Title: styled.h1`\n max-width: 800px;\n margin-bottom: ${sizes.space * 4}px;\n `,\n\n ImageWrapper: styled.div`\n display: flex;\n position: relative;\n z-index: 1;\n width: 100%;\n max-width: 600px;\n margin: 0 auto;\n border-radius: ${sizes.borderRadiusImage}px;\n overflow: hidden;\n\n ${mediaQuery.from.L`\n min-width: 40%;\n margin-left: auto;\n margin-right: 0;\n `}\n `,\n};\n\nconst Intro = ({ title, uspList, image, ctaLabel }) => {\n const router = useHistory();\n return (\n <>\n \n \n \n \n \n \n {title}\n \n {uspList.map((usp) => (\n {usp}\n ))}\n \n router.push(paths.questionnaire)} />\n \n \n \n \n \n \n >\n );\n};\n\nIntro.propTypes = {\n title: PropTypes.string.isRequired,\n uspList: PropTypes.arrayOf(PropTypes.string).isRequired,\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n }).isRequired,\n ctaLabel: PropTypes.string.isRequired,\n};\n\nexport default Intro;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Components\nimport Container from './layouts/Container';\nimport Button from './elements/Button';\n\n// Styles\nimport colors from '../styles/colors';\nimport textStyles from '../styles/textStyles';\nimport mediaQuery from '../styles/breakpoints';\nimport sizes from '../styles/sizes';\n\nconst Styled = {\n Container: styled.div`\n position: relative;\n z-index: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: ${sizes.space * 4}px ${sizes.space * 2}px;\n background-color: ${colors.secondary};\n border-radius: ${sizes.borderRadius}px;\n\n ${mediaQuery.from.S`\n padding: ${sizes.space * 6}px;\n `}\n `,\n\n Title: styled.h4`\n ${textStyles.titleNormal};\n text-align: center;\n margin-bottom: ${sizes.space * 4}px;\n `,\n\n ButtonsWrapper: styled.div`\n display: flex;\n flex-direction: column;\n\n > button:first-of-type {\n margin-bottom: ${sizes.space * 4}px;\n }\n\n ${mediaQuery.from.S`\n flex-direction: row;\n\n > button:first-of-type {\n margin-bottom: 0;\n margin-right: ${sizes.space * 4}px;\n }\n `}\n `,\n};\n\nconst Cta = ({ title, buyLabel, rentLabel }) => {\n const router = useHistory();\n return (\n \n \n {title}\n \n router.push(paths.questionnaireBuy)}\n />\n router.push(paths.questionnaireRent)}\n />\n \n \n \n );\n};\n\nCta.propTypes = {\n title: PropTypes.string.isRequired,\n buyLabel: PropTypes.string.isRequired,\n rentLabel: PropTypes.string.isRequired,\n};\n\nexport default Cta;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Layouts\nimport Container from './layouts/Container';\n\n// Components\nimport Button from './elements/Button';\n\n// Styles\nimport sizes from '../styles/sizes';\nimport colors from '../styles/colors';\nimport mediaQuery from '../styles/breakpoints';\nimport textStyles from '../styles/textStyles';\n\nconst Styled = {\n Component: styled.div`\n min-height: 30vh;\n `,\n Inner: styled.div`\n width: 100%;\n `,\n Title: styled.h2`\n text-align: center;\n margin-bottom: ${sizes.space * 2}px;\n `,\n Row: styled.ol`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n margin: 0;\n list-style: none;\n counter-reset: my-awesome-counter;\n\n li {\n counter-increment: my-awesome-counter;\n\n &:before {\n content: counter(my-awesome-counter) '. ';\n ${textStyles.screamingHighlight};\n display: block;\n margin-bottom: ${sizes.space}px;\n }\n }\n\n ${mediaQuery.from.M`\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n `}\n `,\n Step: styled.li`\n padding: ${sizes.space * 2}px;\n\n ${mediaQuery.from.S`\n padding: ${sizes.space * 4}px;\n `}\n\n ${mediaQuery.from.M`\n width: ${100 / 3}%;\n padding: ${sizes.space * 4}px;\n `}\n `,\n StepTitle: styled.h3`\n ${textStyles.titleLoud};\n color: ${colors.primary};\n margin-bottom: ${sizes.space * 2}px;\n `,\n CtaHolder: styled.div`\n display: flex;\n justify-content: center;\n margin-top: ${sizes.space}px;\n `,\n};\n\nconst Intro = ({ title, steps, buttonLabel }) => {\n const router = useHistory();\n return (\n \n \n \n {title}\n \n \n \n {steps.map((step) => (\n \n {step.title}\n {step.text}\n \n ))}\n \n \n \n \n router.push(paths.questionnaire)} />\n \n \n \n \n );\n};\n\nIntro.propTypes = {\n title: PropTypes.string.isRequired,\n steps: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.string,\n })\n ).isRequired,\n buttonLabel: PropTypes.string.isRequired,\n};\n\nexport default Intro;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Container from './layouts/Container';\nimport Button from './elements/Button';\n\n// Styles\nimport mediaQuery from '../styles/breakpoints';\nimport sizes from '../styles/sizes';\nimport textStyles from '../styles/textStyles';\n\nconst Styled = {\n Row: styled.div`\n margin-bottom: ${sizes.space * 8}px;\n\n ${mediaQuery.from.XS`\n display: flex;\n align-items: center;\n margin-bottom: ${sizes.space * 5}px;\n `}\n `,\n ImageWrapper: styled.div`\n margin-bottom: ${sizes.space * 3}px;\n\n ${mediaQuery.from.XS`\n min-width: 33.33333%;\n margin-right: ${sizes.space * 4}px;\n margin-bottom: 0;\n `}\n\n ${mediaQuery.from.M`\n margin-right: ${sizes.space * 6}px;\n `}\n\n ${mediaQuery.from.L`\n min-width: 30%;\n `}\n\n ${mediaQuery.from.XL`\n margin-right: ${sizes.space * 8}px;\n `}\n `,\n Title: styled.h2`\n ${textStyles.titleLoud};\n margin-bottom: ${sizes.space * 2}px;\n `,\n Text: styled.p`\n margin-bottom: 0;\n `,\n ButtonWrapper: styled.div`\n display: flex;\n justify-content: center;\n `,\n};\n\nconst Usps = ({ points, buttonLabel }) => (\n \n {points?.map((point) => (\n \n \n \n \n \n {point.title}\n {point.text}\n \n \n ))}\n \n \n \n \n);\n\nUsps.propTypes = {\n points: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.string,\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n }),\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n })\n ).isRequired,\n buttonLabel: PropTypes.string.isRequired,\n};\n\nexport default Usps;\n","export const formatNumber = (value, thousandsChar = '.') => {\n if (!value) {\n return '';\n }\n return value.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, thousandsChar);\n};\n\n/**\n * Format money\n *\n * @param value\n * @param thousandsChar\n * @param decimalChar\n * @param decimal\n * @param thousands\n * @returns {string}\n */\nexport const formatMoney = (\n value,\n decimal = 0,\n decimalChar = ',',\n thousands = 3,\n thousandsChar = '.'\n) => {\n const re = `\\\\d(?=(\\\\d{${thousands}})+${decimal > 0 ? '\\\\D' : '$'})`;\n\n let val = 0.0;\n if (value) {\n val = value;\n }\n const num = parseFloat(val)\n .toFixed(Math.max(0, decimal))\n .replace(`${decimalChar}00`, `${decimalChar}-`);\n\n return (decimalChar ? num.replace('.', decimalChar) : num).replace(\n new RegExp(re, 'g'),\n `$&${thousandsChar}`\n );\n};\n","import React, { useContext, useState, useRef, useEffect, useLayoutEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Utils\nimport { formatNumber } from '../utils/formatNumber';\n\n// Styles\nimport textStyles from '../styles/textStyles';\nimport colors from '../styles/colors';\nimport mediaQuery from '../styles/breakpoints';\nimport sizes from '../styles/sizes';\n\n// Components\nimport Container from './layouts/Container';\nimport Shape from './assets/Shape';\n\nconst Restyled = {\n Shape: styled(Shape)`\n z-index: 1;\n position: absolute;\n bottom: -20%;\n left: -20%;\n width: 60%;\n `,\n};\n\nconst Styled = {\n Title: styled.h2`\n margin-bottom: ${sizes.space * 3}px;\n text-align: center;\n\n ${mediaQuery.from.S`\n margin-bottom: ${sizes.space * 5}px;\n `}\n `,\n\n Content: styled.div`\n ${mediaQuery.from.S`\n display: flex;\n `}\n `,\n\n ImageWrapper: styled.div`\n position: relative;\n margin-bottom: ${sizes.space * 3}px;\n border-radius: ${sizes.borderRadiusImage}px;\n overflow: hidden;\n background-color: ${colors.grey};\n\n ${mediaQuery.from.S`\n min-width: 50%;\n margin-right: ${sizes.space * 4}px;\n margin-bottom: 0;\n `}\n\n ${mediaQuery.from.M`\n margin-right: ${sizes.space * 10}px;\n `}\n\n ${mediaQuery.from.L`\n min-width: 40%;\n width: 40%;\n margin-right: ${sizes.space * 14}px;\n `}\n `,\n\n TextWrapper: styled.div`\n display: flex;\n flex-direction: column;\n\n ${mediaQuery.from.S`\n margin: auto 0;\n `}\n `,\n\n Number: styled.span`\n ${textStyles.screamingHighlight};\n display: block;\n color: ${colors.primary};\n `,\n\n Label: styled.span`\n ${textStyles.bodyLarge};\n display: block;\n margin-bottom: ${sizes.space * 3}px;\n\n ${mediaQuery.from.S`\n margin-bottom: ${sizes.space * 2}px;\n `}\n\n ${mediaQuery.from.M`\n margin-bottom: ${sizes.space * 5}px;\n `}\n `,\n\n Subtitle: styled.h3`\n ${textStyles.titleNormal};\n max-width: 750px;\n `,\n};\n\nconst Stats = ({ title, image, stats, subtitle }) => {\n const { translate } = useContext(I18nContext);\n\n const [shown, setShown] = useState(false);\n const contentRef = useRef(null);\n\n const counter = (id, start, end, duration) => {\n let startTimestamp = null;\n\n const step = (timestamp) => {\n if (!startTimestamp) startTimestamp = timestamp;\n\n const progress = Math.min((timestamp - startTimestamp) / duration, 1);\n\n const element = document.getElementById(id);\n element.innerHTML = formatNumber(Math.floor(progress * (end - start) + start));\n if (progress < 1) {\n window.requestAnimationFrame(step);\n }\n };\n window.requestAnimationFrame(step);\n };\n\n useEffect(() => {\n if (shown && stats) {\n counter('total-purchase-stat', 10000, stats.total_purchase, 1500);\n counter('total-rental-stat', 10000, stats.total_rental, 2000);\n }\n }, [shown, stats]);\n\n useLayoutEffect(() => {\n const topPos = (element) => element.getBoundingClientRect().top;\n const contentPosition = topPos(contentRef.current);\n\n const onScroll = () => {\n const scrollPosition = window.scrollY + window.innerHeight;\n setShown(contentPosition <= scrollPosition);\n };\n window.addEventListener('scroll', onScroll);\n return () => window.removeEventListener('scroll', onScroll);\n }, []);\n\n return (\n \n {title}\n \n \n \n \n \n \n \n \n {stats ? formatNumber(stats.total_purchase) : 0}\n \n {translate('app.home.stats.buyLabel')}\n \n \n \n {stats ? formatNumber(stats.total_rental) : 0}\n \n {translate('app.home.stats.rentLabel')}\n \n {subtitle}\n \n \n \n );\n};\n\nStats.propTypes = {\n title: PropTypes.string.isRequired,\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n }).isRequired,\n stats: PropTypes.shape({\n total_purchase: PropTypes.number,\n total_rental: PropTypes.number,\n }),\n subtitle: PropTypes.string.isRequired,\n};\n\nStats.defaultProps = {\n stats: {},\n};\n\nexport default Stats;\n","import React, { useContext, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Loader from '../components/elements/Loader';\nimport Intro from '../components/Intro';\nimport Cta from '../components/Cta';\nimport Steps from '../components/Steps';\nimport Usps from '../components/Usps';\nimport Stats from '../components/Stats';\n\n// Redux\nimport * as contentActions from '../redux/actions/content';\n\nconst Styled = {\n LoaderHolder: styled.section`\n min-height: 75vh;\n `,\n};\n\nconst Home = ({ fetchStats, fetchContent, content }) => {\n const { langCode, translate } = useContext(I18nContext);\n\n useEffect(() => {\n fetchStats();\n fetchContent(langCode, 'homepage');\n }, []);\n\n if (!content.home) {\n return (\n \n \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};\n\nHome.propTypes = {\n fetchStats: PropTypes.func.isRequired,\n fetchContent: PropTypes.func.isRequired,\n content: PropTypes.shape({\n home: PropTypes.shape({\n meta: PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n }),\n intro: PropTypes.shape({\n title: PropTypes.string,\n uspList: PropTypes.arrayOf(PropTypes.string),\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n }),\n ctaLabel: PropTypes.string,\n }),\n cta: PropTypes.shape({\n title: PropTypes.string,\n buyLabel: PropTypes.string,\n rentLabel: PropTypes.string,\n }),\n steps: PropTypes.shape({\n title: PropTypes.string,\n steps: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.string,\n })\n ),\n buttonLabel: PropTypes.string,\n }),\n usps: PropTypes.shape({\n usps: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.string,\n image: PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.string,\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n }),\n }),\n })\n ),\n buttonLabel: PropTypes.string,\n }),\n stats: PropTypes.shape({\n title: PropTypes.string,\n image: PropTypes.shape({\n url: PropTypes.string,\n alt: PropTypes.string,\n dimensions: PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number,\n }),\n }),\n subtitle: PropTypes.string,\n }),\n }),\n stats: PropTypes.shape({\n total_purchase: PropTypes.number,\n total_rental: PropTypes.number,\n }),\n }).isRequired,\n};\n\nexport default connect(\n (state) => ({\n content: state.content,\n }),\n (dispatch) => ({\n fetchStats: () => dispatch(contentActions.fetchStats()),\n fetchContent: (locale, page) => dispatch(contentActions.fetchContent(locale, page)),\n })\n)(Home);\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../../constants/paths';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Icon from '../../components/icons/Icon';\nimport Button from '../../components/elements/Button';\n\n// Styling\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\nimport mediaQuery from '../../styles/breakpoints';\n\nconst Restyled = {\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n};\n\nconst Styled = {\n Inner: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 10}px;\n `,\n Buttons: styled.div`\n display: flex;\n flex-direction: column;\n > button:first-child {\n margin-bottom: ${sizes.space * 4}px;\n }\n\n ${mediaQuery.from.S`\n flex-direction: row;\n justify-content: center;\n > button:first-child {\n margin-right: ${sizes.space * 4}px;\n margin-bottom: 0;\n }\n `}\n `,\n};\n\nconst Questionnaire = () => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n return (\n \n \n \n \n \n {translate('app.questionnaire.title')}\n \n router.push(paths.questionnaireBuy)}\n />\n router.push(paths.questionnaireRent)}\n />\n \n \n \n \n );\n};\n\nexport default Questionnaire;\n","export const fieldTypes = {\n autocomplete: 'Autocomplete',\n currency: 'Currency',\n text: 'Text',\n checkbox: 'Checkbox',\n radio: 'Radio',\n};\n\nconst cityField = {\n type: fieldTypes.autocomplete,\n name: 'city',\n label: 'app.form.city.label',\n placeholder: 'app.form.city.placeholder',\n required: true,\n additionalValidation: true,\n};\n\nconst minPriceField = {\n type: fieldTypes.currency,\n name: 'minPrice',\n label: 'app.form.minPrice.label',\n placeholder: 'app.form.minPrice.placeholder',\n required: false,\n};\n\nconst maxPriceField = {\n type: fieldTypes.currency,\n name: 'maxPrice',\n label: 'app.form.maxPrice.label',\n placeholder: 'app.form.maxPrice.placeholder',\n required: true,\n};\n\nconst minSizeField = {\n type: fieldTypes.text,\n name: 'minSize',\n label: 'app.form.minSize.label',\n placeholder: 'app.form.minSize.placeholder',\n required: true,\n suggestions: [\n { label: '50+ m2', value: 50 },\n { label: '70+ m2', value: 70 },\n { label: '90+ m2', value: 90 },\n ],\n};\n\nexport const buyFlow = {\n steps: [\n {\n icon: 'location',\n title: 'app.buy.city.title',\n text: 'app.buy.city.text',\n link: 'app.buy.city.link',\n fields: [cityField],\n },\n {\n icon: 'money',\n title: 'app.buy.price.title',\n text: 'app.buy.price.text',\n fields: [\n {\n type: fieldTypes.currency,\n name: 'minPrice',\n label: 'app.form.minPrice.label',\n placeholder: 'app.form.minPrice.placeholder',\n required: false,\n },\n {\n type: fieldTypes.currency,\n name: 'maxPrice',\n label: 'app.form.maxPrice.label',\n placeholder: 'app.form.maxPrice.placeholder',\n required: true,\n },\n ],\n },\n {\n icon: 'parcel',\n title: 'app.buy.size.title',\n fields: [minSizeField],\n },\n ],\n};\n\nexport const rentFlow = {\n steps: [\n {\n icon: 'location',\n title: 'app.rent.city.title',\n text: 'app.rent.city.text',\n link: 'app.rent.city.link',\n fields: [cityField],\n },\n {\n icon: 'money',\n title: 'app.rent.price.title',\n text: 'app.rent.price.text',\n fields: [\n {\n type: fieldTypes.currency,\n name: 'minPrice',\n label: 'app.form.minPrice.label',\n placeholder: 'app.rent.price.minPrice.placeholder',\n required: false,\n },\n {\n type: fieldTypes.currency,\n name: 'maxPrice',\n label: 'app.form.maxPrice.label',\n placeholder: 'app.rent.price.maxPrice.placeholder',\n required: true,\n },\n ],\n },\n {\n icon: 'parcel',\n title: 'app.rent.size.title',\n fields: [minSizeField],\n },\n ],\n};\n\nexport const buyFiltersOverview = [\n {\n name: 'rooms',\n icon: 'door',\n label: 'app.filter.rooms.label',\n title: 'app.filter.rooms.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'rooms',\n required: true,\n options: [\n { label: '1+', value: 1 },\n { label: '2+', value: 2 },\n { label: '3+', value: 3 },\n { label: '4+', value: 4 },\n { label: '5+', value: 5 },\n ],\n },\n ],\n },\n {\n name: 'bedrooms',\n icon: 'bed',\n label: 'app.filter.bedrooms.label',\n title: 'app.filter.bedrooms.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'bedrooms',\n required: true,\n options: [\n { label: '1+', value: 1 },\n { label: '2+', value: 2 },\n { label: '3+', value: 3 },\n { label: '4+', value: 4 },\n { label: '5+', value: 5 },\n ],\n },\n ],\n },\n {\n name: 'constructionYear',\n icon: 'bricks',\n label: 'app.filter.constructionYear.label',\n title: 'app.filter.constructionYear.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'constructionYear',\n required: true,\n options: [\n { label: '1906+', value: 1906 },\n { label: '1920+', value: 1920 },\n { label: '1940+', value: 1940 },\n { label: '1960+', value: 1960 },\n { label: '1980+', value: 1980 },\n { label: '2000+', value: 2000 },\n { label: '2020+', value: 2020 },\n ],\n },\n ],\n },\n {\n name: 'range',\n icon: 'distance',\n label: 'app.filter.range.label',\n title: 'app.filter.range.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'range',\n required: true,\n options: [\n { label: '2+ km', value: 2 },\n { label: '5+ km', value: 5 },\n { label: '10+ km', value: 10 },\n { label: '15+ km', value: 15 },\n { label: '30+ km', value: 30 },\n ],\n },\n ],\n },\n {\n name: 'location',\n icon: 'location',\n label: 'app.filter.city.label',\n title: 'app.filter.city.title',\n fields: [cityField],\n },\n {\n name: 'price',\n icon: 'money',\n label: 'app.filter.price.label',\n title: 'app.filter.price.title',\n fields: [minPriceField, maxPriceField],\n },\n {\n name: 'size',\n icon: 'parcel',\n label: 'app.filter.size.label',\n title: 'app.filter.size.title',\n fields: [minSizeField],\n },\n];\n\nexport const rentFiltersOverview = [\n {\n name: 'rooms',\n icon: 'door',\n label: 'app.filter.rooms.label',\n title: 'app.filter.rooms.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'rooms',\n required: true,\n options: [\n { label: '1+', value: 1 },\n { label: '2+', value: 2 },\n { label: '3+', value: 3 },\n { label: '4+', value: 4 },\n { label: '5+', value: 5 },\n ],\n },\n ],\n },\n {\n name: 'bedrooms',\n icon: 'bed',\n label: 'app.filter.bedrooms.label',\n title: 'app.filter.bedrooms.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'bedrooms',\n required: true,\n options: [\n { label: '1+', value: 1 },\n { label: '2+', value: 2 },\n { label: '3+', value: 3 },\n { label: '4+', value: 4 },\n { label: '5+', value: 5 },\n ],\n },\n ],\n },\n {\n name: 'constructionYear',\n icon: 'bricks',\n label: 'app.filter.constructionYear.label',\n title: 'app.filter.constructionYear.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'constructionYear',\n required: true,\n options: [\n { label: '1906+', value: 1906 },\n { label: '1920+', value: 1920 },\n { label: '1940+', value: 1940 },\n { label: '1960+', value: 1960 },\n { label: '1980+', value: 1980 },\n { label: '2000+', value: 2000 },\n { label: '2020+', value: 2020 },\n ],\n },\n ],\n },\n {\n name: 'range',\n icon: 'distance',\n label: 'app.filter.range.label',\n title: 'app.filter.range.title',\n fields: [\n {\n type: fieldTypes.radio,\n name: 'range',\n required: true,\n options: [\n { label: '2+ km', value: 2 },\n { label: '5+ km', value: 5 },\n { label: '10+ km', value: 10 },\n { label: '15+ km', value: 15 },\n { label: '30+ km', value: 30 },\n ],\n },\n ],\n },\n {\n name: 'location',\n icon: 'location',\n label: 'app.filter.city.label',\n title: 'app.filter.city.title',\n fields: [cityField],\n },\n {\n name: 'price',\n icon: 'money',\n label: 'app.filter.price.label',\n title: 'app.filter.price.title',\n fields: [minPriceField, maxPriceField],\n },\n {\n name: 'size',\n icon: 'parcel',\n label: 'app.filter.size.label',\n title: 'app.filter.size.title',\n fields: [minSizeField],\n },\n];\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\nimport textStyles from '../../styles/textStyles';\n\nconst Styled = {\n Container: styled.div`\n ${textStyles.bodySmall};\n margin-top: 4px;\n color: ${({ type }) => (type === 'error' ? colors.error : colors.warning)};\n `,\n};\n\nconst Error = ({ type, label }) => {label};\n\nError.propTypes = {\n type: PropTypes.oneOf(['error', 'warning']),\n label: PropTypes.string.isRequired,\n};\n\nError.defaultProps = {\n type: 'error',\n};\n\nexport default Error;\n","import React, { useRef, useEffect, useState, forwardRef } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\nimport textStyles from '../../styles/textStyles';\nimport sizes from '../../styles/sizes';\n\n// Components\nimport Error from '../elements/Error';\nimport Icon from '../icons/Icon';\n\nconst Styled = {\n Label: styled.label`\n ${textStyles.bodySmall};\n margin-bottom: ${sizes.space / 2}px;\n font-weight: 700;\n `,\n InputWrapper: styled.div`\n position: relative;\n `,\n Input: styled.input`\n ${textStyles.titleSubtle};\n position: relative;\n width: 100%;\n padding: ${sizes.space * 2}px ${sizes.space * 3}px;\n border: 2px solid ${colors.black};\n border-radius: 8px;\n outline: none;\n transition: border-color 200ms;\n ${({ disabled }) => disabled && 'opacity: 0.5;'}\n ${({ hasError }) =>\n hasError\n ? `border-color: ${colors.error};`\n : `&:focus {\n border-color: ${colors.primary};\n }`}\n\n &::placeholder {\n color: ${colors.grey};\n opacity: 1;\n }\n\n &[type='number'] {\n -moz-appearance: textfield;\n }\n\n &::-webkit-calendar-picker-indicator {\n display: none;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n `,\n Validated: styled(Icon)`\n z-index: 1;\n position: absolute;\n top: 50%;\n right: ${sizes.space * 2}px;\n transform: translateY(-50%);\n `,\n Reset: styled.div`\n cursor: pointer;\n z-index: 1;\n display: flex;\n position: absolute;\n top: 50%;\n right: calc(${sizes.space * 3}px - 4px);\n transform: translateY(-50%);\n padding: 4px;\n border: none;\n background-color: transparent;\n `,\n};\n\nconst useCombinedRefs = (...refs) => {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n const newRef = { ...ref };\n newRef.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n};\n\nconst TextField = forwardRef(\n (\n {\n name,\n value,\n clearValue,\n label,\n placeholder,\n type,\n setFocus,\n onChange,\n error,\n warning,\n defaultVal,\n },\n ref\n ) => {\n const fieldRef = useRef(null);\n const combinedRef = useCombinedRefs(ref, fieldRef);\n\n const [hasFocus, setHasFocus] = useState(false);\n\n const clearValues = (event) => {\n event.preventDefault();\n const inputElement = combinedRef?.current;\n inputElement.value = '';\n clearValue();\n };\n\n useEffect(() => {\n if (setFocus) combinedRef?.current?.focus();\n }, [setFocus]);\n\n return (\n <>\n {label}\n \n {!!value.length && !hasFocus && }\n {!!value.length && hasFocus && (\n clearValues(event)}>\n \n \n )}\n setHasFocus(true)}\n onBlur={() => setHasFocus(false)}\n hasError={!!error}\n onChange={onChange}\n defaultValue={defaultVal}\n />\n \n {(!!error || !!warning) && (\n \n )}\n >\n );\n }\n);\n\nTextField.propTypes = {\n name: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n clearValue: PropTypes.func.isRequired,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n placeholder: PropTypes.string,\n type: PropTypes.oneOf(['text', 'number', 'email', 'password', 'hidden']),\n setFocus: PropTypes.bool,\n warning: PropTypes.string,\n error: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n defaultVal: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nTextField.defaultProps = {\n value: '',\n label: false,\n placeholder: '',\n type: 'text',\n setFocus: false,\n warning: '',\n error: '',\n defaultVal: '',\n};\n\nexport default TextField;\n","import React, { useRef, useEffect, useState, forwardRef } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\nimport textStyles from '../../styles/textStyles';\nimport sizes from '../../styles/sizes';\n\n// Components\nimport Error from '../elements/Error';\nimport Icon from '../icons/Icon';\n\nconst Styled = styled.label`\n ${textStyles.bodySmall};\n margin-bottom: ${sizes.space / 2}px;\n font-weight: 700;\n`;\n\nconst StyledInputWrapper = styled.div`\n position: relative;\n z-index: 3;\n`;\n\nconst StyledInput = styled.input`\n ${textStyles.titleSubtle};\n position: relative;\n width: 100%;\n padding: ${sizes.space * 2}px ${sizes.space * 3}px;\n border: 2px solid ${colors.black};\n border-radius: 8px;\n outline: none;\n transition: border-color 200ms;\n ${({ disabled }) => disabled && 'opacity: 0.5;'}\n ${({ hasError }) =>\n hasError\n ? `border-color: ${colors.error};`\n : `&:focus {\n border-color: ${colors.primary};\n }`}\n\n &::placeholder {\n color: ${colors.grey};\n opacity: 1;\n }\n\n &[type='number'] {\n -moz-appearance: textfield;\n }\n\n &::-webkit-calendar-picker-indicator {\n display: none;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n`;\n\nconst StyledValidated = styled(Icon)`\n z-index: 1;\n position: absolute;\n top: 50%;\n right: ${sizes.space * 2}px;\n transform: translateY(-50%);\n`;\n\nconst StyledReset = styled.div`\n cursor: pointer;\n z-index: 1;\n display: flex;\n position: absolute;\n top: 50%;\n right: calc(${sizes.space * 3}px - 4px);\n transform: translateY(-50%);\n padding: 4px;\n border: none;\n background-color: transparent;\n`;\n\nconst StyledDropDownWrapper = styled.div`\n position: relative;\n z-index: 2;\n`;\n\nconst StyledDropDown = styled.div`\n display: flex;\n flex-direction: column;\n position: absolute;\n top: -2px;\n width: 100%;\n background-color: ${colors.white};\n border-radius: 8px;\n overflow: hidden;\n ${({ active }) => active && `border: 2px solid ${colors.primary}`};\n`;\n\nconst StyledComplete = styled.div`\n ${textStyles.titleSubtle};\n cursor: pointer;\n width: 100%;\n text-align: left;\n padding: ${sizes.space * 2}px ${sizes.space * 3}px;\n border: none;\n background-color: transparent;\n\n :hover {\n background-color: ${colors.primaryLight};\n }\n`;\n\nfunction useCombinedRefs(...refs) {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n const newRef = { ...ref };\n newRef.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n}\n\nconst AutocompleteField = forwardRef(\n (\n {\n name,\n value,\n clearValue,\n setValue,\n label,\n placeholder,\n type,\n setFocus,\n onChange,\n error,\n warning,\n defaultVal,\n autoCompleteValues,\n },\n ref\n ) => {\n const fieldRef = useRef(null);\n const combinedRef = useCombinedRefs(ref, fieldRef);\n\n const [inputValue, setInputValue] = useState('');\n const [hasFocus, setHasFocus] = useState(false);\n const [completionValues, setCompletionValues] = useState([]);\n\n const clearValues = (event) => {\n event.preventDefault();\n const inputElement = combinedRef?.current;\n inputElement.value = '';\n setInputValue('');\n clearValue();\n };\n\n const populateAutoComplete = () => {\n const completionValuesArray = [];\n if (autoCompleteValues.length > 0 && typeof value === 'string') {\n autoCompleteValues.forEach((autoCompleteItem) => {\n if (autoCompleteItem.name.toLowerCase().startsWith(value.toLowerCase())) {\n completionValuesArray.push(autoCompleteItem);\n } else {\n setCompletionValues([]);\n }\n });\n }\n setCompletionValues(completionValuesArray);\n };\n\n const handleAutoComplete = (event, item) => {\n event.preventDefault();\n setValue(item);\n setInputValue(item.name);\n combinedRef?.current?.blur();\n };\n\n useEffect(() => {\n if (setFocus) combinedRef?.current?.focus();\n }, [setFocus]);\n\n useEffect(() => {\n populateAutoComplete();\n }, [value]);\n\n return (\n <>\n {label}\n \n {!!value.length && !hasFocus && }\n {!!value.length && hasFocus && (\n clearValues(event)}>\n \n \n )}\n setHasFocus(true)}\n onBlur={() => setHasFocus(false)}\n hasError={!!error}\n onChange={(e) => {\n setInputValue(e.target.value);\n onChange(e.target.value);\n }}\n defaultValue={defaultVal}\n value={inputValue}\n autoComplete=\"off\"\n />\n \n \n \n {completionValues.map((item) => (\n \n {hasFocus && (\n handleAutoComplete(event, item)}>\n {item.name}\n \n )}\n \n ))}\n \n \n {(!!error || !!warning) && (\n \n )}\n >\n );\n }\n);\n\nAutocompleteField.propTypes = {\n name: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.shape({})]),\n clearValue: PropTypes.func.isRequired,\n setValue: PropTypes.func.isRequired,\n autoCompleteValues: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.string,\n })\n ),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n placeholder: PropTypes.string,\n type: PropTypes.oneOf(['text', 'number', 'email', 'password', 'hidden']),\n setFocus: PropTypes.bool,\n warning: PropTypes.string,\n error: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n defaultVal: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nAutocompleteField.defaultProps = {\n value: '',\n autoCompleteValues: [],\n label: false,\n placeholder: '',\n type: 'text',\n setFocus: false,\n warning: '',\n error: '',\n defaultVal: '',\n};\n\nexport default AutocompleteField;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\n// import sizes from '../../styles/sizes';\nimport colors from '../../styles/colors';\nimport textStyles from '../../styles/textStyles';\n\n// Components\nimport Icon from '../icons/Icon';\nimport Error from '../elements/Error';\n\nconst Styled = {\n Component: styled.div`\n position: relative;\n `,\n Label: styled.label`\n ${textStyles.titleSubtle};\n cursor: pointer;\n user-select: none;\n display: flex;\n align-items: center;\n transition: color 120ms ease-in-out;\n `,\n Box: styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n margin-right: 16px;\n border-radius: 8px;\n border: 2px solid ${({ error }) => (error ? colors.error : colors.black)};\n transition: border 120ms ease-in-out, background-color 120ms ease-in-out;\n `,\n Icon: styled(Icon)`\n opacity: 0;\n transition: opacity 120ms ease-in-out;\n `,\n};\n\nconst StyledInput = styled.input`\n position: absolute;\n opacity: 0;\n\n + ${Styled.Label} {\n :hover,\n :focus {\n ${Styled.Box} {\n border-color: ${colors.primary};\n }\n }\n }\n\n :checked {\n + ${Styled.Label} {\n color: ${colors.primary};\n\n :hover {\n ${Styled.Box} {\n border-color: ${({ error }) => (error ? colors.error : colors.black)};\n }\n }\n\n ${Styled.Box} {\n background-color: ${colors.primary};\n\n > ${Styled.Icon} {\n opacity: 1;\n }\n }\n }\n }\n\n :focus {\n + ${Styled.Label} > ${Styled.Box} {\n border-color: ${colors.primary};\n }\n }\n`;\n\nconst Checkbox = ({ register, name, label, error }) => (\n \n \n \n \n \n \n {label}\n \n {!!error && }\n \n);\n\nCheckbox.propTypes = {\n register: PropTypes.func.isRequired,\n name: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n error: PropTypes.string,\n};\n\nCheckbox.defaultProps = {\n error: '',\n};\n\nexport default Checkbox;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Error from '../elements/Error';\n\n// Styles\nimport sizes from '../../styles/sizes';\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Component: styled.label`\n cursor: pointer;\n display: block;\n margin-bottom: ${sizes.space * 2}px;\n `,\n Label: styled.label`\n display: block;\n font-size: 12px;\n line-height: normal;\n color: ${colors.black};\n margin-bottom: ${sizes.space}px;\n user-select: none;\n `,\n Holder: styled.div`\n position: relative;\n display: flex;\n align-items: center;\n ${(props) => props.disabled && 'opacity: 0.5;'}\n ${(props) => props.error && `color: ${colors.red};`}\n `,\n Input: styled.div`\n position: fixed;\n top: -500px;\n left: -500px;\n `,\n Icon: styled.div`\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n padding: 5px;\n border: 2px solid ${(props) => (props.checked ? colors.primary : colors.grey)};\n margin-right: ${sizes.space * 2}px;\n transition: border 0.2s ease;\n `,\n Bullet: styled.div`\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: ${(props) => (props.checked ? colors.primary : colors.white)};\n transition: background-color 0.2s ease;\n `,\n Error: styled.div`\n height: 16px;\n font-size: 10px;\n color: ${colors.red};\n line-height: 16px;\n `,\n};\n\nconst Radio = ({ register, name, value, checked, label, children, disabled, error, onChange }) => (\n \n {!!label && {label}}\n \n \n \n \n \n {\n if (disabled) return;\n onChange(value);\n }}\n />\n \n {children}\n \n {!!error && }\n \n);\n\nRadio.propTypes = {\n register: PropTypes.func.isRequired,\n name: PropTypes.string.isRequired,\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n checked: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n children: PropTypes.node.isRequired,\n error: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func.isRequired,\n};\n\nRadio.defaultProps = {\n defaultValue: '',\n value: 'on',\n label: null,\n checked: false,\n error: null,\n disabled: false,\n};\n\nexport default Radio;\n","import React, { useContext, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport NumberFormat from 'react-number-format';\n\n// Constants\nimport { fieldTypes } from '../constants/questionnaire';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport TextField from './formFields/TextField';\nimport AutocompleteField from './formFields/AutocompleteField';\nimport Checkbox from './formFields/Checkbox';\nimport Radio from './formFields/Radio';\n\nconst FilterField = ({\n register,\n defaultValue,\n value,\n field,\n errors,\n setValue,\n autoCompleteValues,\n}) => {\n const { translate } = useContext(I18nContext);\n\n const label = useMemo(() => {\n if (field.label && !field.required) {\n return `${translate(field.label)} (${translate('app.form.optional')})`;\n }\n\n if (field.label) {\n return translate(field.label);\n }\n\n return '';\n }, [field.label, field.required]);\n\n if (field.type === fieldTypes.autocomplete) {\n return (\n setValue(field.name, '')}\n setValue={(v) => setValue(field.name, v)}\n autoCompleteValues={autoCompleteValues}\n onChange={(v) => {\n setValue(field.name, v);\n }}\n />\n );\n }\n\n if (field.type === fieldTypes.currency) {\n return (\n setValue(field.name, '')}\n // Custom NumberForm props:\n customInput={TextField}\n thousandSeparator=\".\"\n decimalSeparator=\",\"\n prefix=\"€ \"\n allowNegative={false}\n isNumericString\n onValueChange={(v) => {\n setValue(field.name, v.value);\n }}\n />\n );\n }\n\n if (field.type === fieldTypes.checkbox) {\n return (\n \n );\n }\n\n if (field.type === fieldTypes.radio) {\n return field.options.map((option) => (\n {\n setValue(field.name, v);\n }}\n >\n {option.label}\n \n ));\n }\n\n if (field.type === fieldTypes.text) {\n return (\n setValue(field.name, '')}\n setFocus={field.setFocus}\n error={errors[field.name]?.message}\n />\n );\n }\n\n return null;\n};\n\nFilterField.propTypes = {\n register: PropTypes.func.isRequired,\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]),\n field: PropTypes.shape({\n type: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n label: PropTypes.string,\n placeholder: PropTypes.string,\n required: PropTypes.bool,\n setFocus: PropTypes.bool,\n options: PropTypes.arrayOf(PropTypes.shape({})),\n }).isRequired,\n errors: PropTypes.shape({}),\n setValue: PropTypes.func.isRequired,\n autoCompleteValues: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.string,\n })\n ),\n};\n\nFilterField.defaultProps = {\n defaultValue: '',\n value: '',\n errors: {},\n autoCompleteValues: [],\n};\n\nexport default FilterField;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\nimport textStyles from '../../styles/textStyles';\nimport sizes from '../../styles/sizes';\n\nconst Styled = {\n Component: styled.button`\n ${textStyles.bodySmall};\n cursor: pointer;\n padding: ${sizes.space}px ${sizes.space * 2}px;\n border: 2px solid ${colors.black};\n border-radius: ${sizes.space * 5}px;\n outline: none;\n background-color: transparent;\n font-weight: 700;\n\n :hover,\n :focus {\n background-color: ${colors.primary};\n }\n `,\n};\n\nconst SuggestionButton = ({ label, onClick }) => (\n \n {label}\n \n);\n\nSuggestionButton.propTypes = {\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default SuggestionButton;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport sizes from '../../styles/sizes';\n\n// Components\nimport SuggestionButton from '../elements/SuggestionButton';\n\nconst Styled = {\n Component: styled.div`\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: ${sizes.space * 3}px;\n\n > button {\n margin-top: ${sizes.space * 2}px;\n margin-right: ${sizes.space * 1}px;\n margin-left: ${sizes.space * 1}px;\n }\n `,\n};\n\nconst Suggestions = ({ suggestions, setValue }) => (\n \n {suggestions.map((suggestion) => (\n setValue(suggestion.value)}\n />\n ))}\n \n);\n\nSuggestions.propTypes = {\n suggestions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n })\n ).isRequired,\n setValue: PropTypes.func.isRequired,\n};\n\nexport default Suggestions;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport sizes from '../../styles/sizes';\nimport mediaQuery from '../../styles/breakpoints';\n\n// Components\nimport Button from './Button';\n\nconst StyledComponent = styled.div`\n z-index: 1;\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n bottom: ${sizes.space * 4}px;\n display: flex;\n justify-content: center;\n\n ${mediaQuery.from.XXS`\n bottom: ${sizes.space * 6}px;\n `}\n\n > button:first-child {\n margin-right: ${sizes.space * 2}px;\n }\n`;\n\nconst FormStepper = ({ nextLabel, onBackClick, onNextClick }) => (\n \n \n {\n if (onNextClick) {\n onNextClick();\n }\n }}\n />\n \n);\n\nFormStepper.propTypes = {\n nextLabel: PropTypes.string.isRequired,\n onBackClick: PropTypes.func.isRequired,\n onNextClick: PropTypes.func,\n};\n\nFormStepper.defaultProps = {\n onNextClick: null,\n};\n\nexport default FormStepper;\n","import React, { useContext, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useForm } from 'react-hook-form';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport * as yup from 'yup';\nimport { useHistory, Link } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\nimport { fieldTypes } from '../constants/questionnaire';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Redux\nimport * as citiesActions from '../redux/actions/cities';\nimport * as questionnaireActions from '../redux/actions/questionnaire';\n\n// Components\nimport Container from './layouts/Container';\nimport Icon from './icons/Icon';\nimport FilterField from './FilterField';\nimport Suggestions from './formFields/Suggestions';\nimport Stepper from './elements/FormStepper';\n\n// Styling\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\nimport mediaQuery from '../styles/breakpoints';\n\nconst StyledStep = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nconst StyledIntro = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nconst StyledForm = styled.form`\n width: 100%;\n margin-bottom: ${sizes.space * 8}px;\n`;\n\nconst StyledIcon = styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n`;\n\nconst StyledTitle = styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 2}px;\n`;\n\nconst StyledText = styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n`;\n\nconst StyledLink = styled(Link)`\n position: relative;\n text-decoration: none;\n color: ${colors.black};\n\n :after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n height: 1px;\n width: 100%;\n background-color: ${colors.black};\n }\n`;\n\nconst StyledFieldHolder = styled.div`\n margin-bottom: ${sizes.space * 2}px;\n`;\n\nconst QuestionnaireForm = ({\n flow,\n type,\n cities,\n questionnaire,\n fetchCities,\n storeData,\n nextStep,\n prevStep,\n}) => {\n const { translate } = useContext(I18nContext);\n\n const activeStep = flow.steps[questionnaire.activeStepIndex];\n\n // create validation rules from dynamic flow data\n const schema = {};\n if (activeStep) {\n activeStep.fields.forEach((field) => {\n if (field.required) {\n if (\n field.type === fieldTypes.text ||\n field.type === fieldTypes.autocomplete ||\n field.type === fieldTypes.currency\n ) {\n schema[field.name] = yup.string().required(translate('app.form.errors.required'));\n }\n if (field.type === fieldTypes.Checkbox) {\n schema[field.name] = yup.bool().oneOf([true], translate('app.form.errors.required'));\n }\n }\n\n // Exception: Think of a nicer way to do this more dynamicly\n if (field.required && field.additionalValidation) {\n schema[field.name] = yup\n .object({\n name: yup.string().required(translate('app.buy.form.place.errors.required')),\n value: yup.string().required(translate('app.buy.form.place.errors.required')),\n })\n .typeError(translate('app.buy.form.place.errors.required'))\n .test('valid', translate('app.buy.form.errors.valid'), (place) => {\n return cities.map((city) => {\n return city.value.includes(place.value);\n });\n });\n }\n });\n }\n\n const router = useHistory();\n const {\n register,\n handleSubmit,\n watch,\n getValues,\n setValue,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(yup.object().shape(schema)),\n });\n\n useEffect(() => {\n if (!activeStep) {\n // skip to overview when already filled in\n router.push(paths.questionnaireOverview);\n }\n }, [activeStep]);\n\n /**\n * Set default values\n */\n useEffect(() => {\n if (questionnaire.filters) {\n Object.keys(questionnaire.filters).forEach((key) => {\n const value = questionnaire.filters[key];\n // Exception: Think of a nicer way to do this more dynamicly\n // TODO: add markup for currency default values adding € and dots\n if (value) {\n setValue(key, value);\n }\n });\n }\n }, [questionnaire.filters]);\n\n const handleSetValue = (name, value) => {\n setValue(name, value);\n\n // Exception: Think of a nicer way to do this more dynamicly\n if (name === 'city') {\n fetchCities(value);\n }\n };\n\n const onSubmit = async (data) => {\n await storeData(type, data);\n await nextStep();\n\n // if is at last step\n if (questionnaire.activeStepIndex + 1 === flow.steps.length) {\n router.push(paths.questionnaireOverview);\n }\n };\n\n if (!activeStep) return null;\n\n return (\n \n \n \n \n {translate(activeStep.title)}\n {activeStep.text && (\n \n {translate(activeStep.text)}{' '}\n {activeStep.link && (\n \n {translate(activeStep.link)}\n \n )}\n \n )}\n \n \n\n \n \n {activeStep.fields.map((field) => (\n \n \n {field.suggestions && (\n setValue(field.name, value)}\n />\n )}\n \n ))}\n \n\n {\n // if is at first step\n if (questionnaire.activeStepIndex === 0) {\n router.push(paths.questionnaire);\n return;\n }\n prevStep();\n }}\n />\n \n \n );\n};\n\nQuestionnaireForm.propTypes = {\n flow: PropTypes.shape({\n steps: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n text: PropTypes.string,\n link: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n label: PropTypes.string,\n placeholder: PropTypes.string,\n })\n ),\n })\n ),\n }).isRequired,\n type: PropTypes.oneOf(['purchase', 'rental']).isRequired,\n cities: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.string,\n })\n ).isRequired,\n questionnaire: PropTypes.shape({\n activeStepIndex: PropTypes.number.isRequired,\n filters: PropTypes.shape({}),\n }).isRequired,\n fetchCities: PropTypes.func.isRequired,\n storeData: PropTypes.func.isRequired,\n nextStep: PropTypes.func.isRequired,\n prevStep: PropTypes.func.isRequired,\n};\n\nexport default connect(\n (state) => ({\n cities: state.cities.items,\n questionnaire: state.questionnaire,\n }),\n (dispatch) => ({\n fetchCities: (query) => dispatch(citiesActions.fetchCities(query)),\n storeData: (type, data) => dispatch(questionnaireActions.storeData(type, data)),\n nextStep: () => dispatch(questionnaireActions.nextStep()),\n prevStep: () => dispatch(questionnaireActions.prevStep()),\n })\n)(QuestionnaireForm);\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Styles\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Component: styled.div`\n display: flex;\n align-items: center;\n `,\n Bar: styled.div`\n width: 100%;\n height: 8px;\n position: relative;\n overflow: hidden;\n\n &:after {\n content: '';\n width: ${({ percentage }) => percentage}%;\n height: 8px;\n position: absolute;\n left: 0;\n top: 0;\n background: ${colors.primary};\n transition: width 0.2s;\n }\n `,\n};\n\nconst ProgressBar = ({ percentage }) => (\n \n \n \n);\n\nProgressBar.propTypes = {\n percentage: PropTypes.number,\n};\n\nProgressBar.defaultProps = {\n percentage: 0,\n};\n\nexport default ProgressBar;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Constants\nimport { buyFlow } from '../../constants/questionnaire';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport QuestionnaireForm from '../../components/QuestionnaireForm';\nimport Progressbar from '../../components/elements/Progressbar';\n\nconst Styled = {\n ProgressbarHolder: styled.div`\n position: fixed;\n z-index: 1;\n left: 0;\n bottom: 0;\n width: 100%;\n `,\n};\n\nconst Buy = ({ activeStepIndex }) => {\n let percentage = 0;\n if (activeStepIndex) {\n percentage = Math.round((activeStepIndex / buyFlow.steps.length) * 100);\n }\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nBuy.propTypes = {\n activeStepIndex: PropTypes.number.isRequired,\n};\n\nexport default connect((state) => ({\n activeStepIndex: state.questionnaire.activeStepIndex,\n}))(Buy);\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Constants\nimport { rentFlow } from '../../constants/questionnaire';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport QuestionnaireForm from '../../components/QuestionnaireForm';\nimport Progressbar from '../../components/elements/Progressbar';\n\nconst Styled = {\n ProgressbarHolder: styled.div`\n position: fixed;\n z-index: 1;\n left: 0;\n bottom: 0;\n width: 100%;\n `,\n};\n\nconst Rent = ({ activeStepIndex }) => {\n let percentage = 0;\n if (activeStepIndex) {\n percentage = Math.round((activeStepIndex / rentFlow.steps.length) * 100);\n }\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nRent.propTypes = {\n activeStepIndex: PropTypes.number.isRequired,\n};\n\nexport default connect((state) => ({\n activeStepIndex: state.questionnaire.activeStepIndex,\n}))(Rent);\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Components\nimport Icon from '../icons/Icon';\n\n// Styles\nimport sizes from '../../styles/sizes';\nimport textStyles from '../../styles/textStyles';\nimport colors from '../../styles/colors';\n\nconst Styled = {\n Component: styled.a`\n cursor: pointer;\n width: 100%;\n padding: ${sizes.space * 2}px ${sizes.space}px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: padding-right 0.2s ease-out;\n\n &:hover {\n padding-right: 0;\n }\n `,\n\n LeftSide: styled.span`\n display: flex;\n align-items: center;\n `,\n\n Label: styled.span`\n ${textStyles.titleSubtle}\n padding-left: ${sizes.space * 2}px;\n color: ${({ labelColor }) => (labelColor === 'primary' ? colors.primary : colors.black)};\n `,\n};\n\nconst NavLink = ({ leftIcon, label, labelColor, rightIcon, onClick }) => (\n \n \n {leftIcon && }\n {label}\n \n {rightIcon && }\n \n);\n\nNavLink.propTypes = {\n leftIcon: PropTypes.string,\n label: PropTypes.string,\n labelColor: PropTypes.oneOf(['default', 'primary']),\n rightIcon: PropTypes.string,\n onClick: PropTypes.func,\n};\n\nNavLink.defaultProps = {\n leftIcon: '',\n label: '',\n labelColor: 'default',\n rightIcon: '',\n onClick: null,\n};\n\nexport default NavLink;\n","import React, { useContext, useMemo } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../../constants/paths';\nimport { buyFiltersOverview, rentFiltersOverview } from '../../constants/questionnaire';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Utils\nimport { formatMoney } from '../../utils/formatNumber';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Icon from '../../components/icons/Icon';\nimport NavLink from '../../components/elements/NavLink';\nimport Stepper from '../../components/elements/FormStepper';\n\n// Styling\nimport mediaQuery from '../../styles/breakpoints';\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\n\nconst StyledIntro = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nconst StyledIcon = styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n`;\n\nconst StyledTitle = styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 2}px;\n`;\n\nconst StyledText = styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n`;\n\nconst StyledWrapper = styled.div`\n margin-bottom: ${sizes.space * 8}px;\n`;\n\nconst Overview = ({ questionnaire }) => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n\n const filters = useMemo(() => {\n let filtersOverview = buyFiltersOverview;\n if (questionnaire.listingType === 'rental') {\n filtersOverview = rentFiltersOverview;\n }\n\n // add values of filters already set in questionnaire flow\n if (questionnaire.filters) {\n return filtersOverview.map((filter) => {\n let setValue = null;\n let minPrice = false;\n Object.keys(questionnaire.filters).forEach((key) => {\n const value = questionnaire.filters[key];\n\n if (filter.name === 'price') {\n if (key === 'minPrice' && value) {\n minPrice = value;\n }\n if (key === 'maxPrice') {\n setValue = `max € ${formatMoney(value)}`;\n\n // if also has minPrice\n if (minPrice) {\n setValue = `€ ${formatMoney(minPrice)} - € ${formatMoney(value)}`;\n }\n }\n }\n\n if (filter.name === 'location' && key === 'city') {\n setValue = `in ${value.name}`;\n }\n\n if (filter.name === 'size' && key === 'minSize') {\n setValue = `${value} m2`;\n }\n\n if (filter.name === 'rooms' && key === 'rooms') {\n setValue = `Min ${value} rooms`;\n }\n\n if (filter.name === 'bedrooms' && key === 'bedrooms') {\n setValue = `Min ${value} bedrooms`;\n }\n\n if (filter.name === 'range' && key === 'range') {\n setValue = `+ ${value} km`;\n }\n\n if (filter.name === 'constructionYear' && key === 'constructionYear') {\n setValue = `${value}+`;\n }\n });\n\n return {\n ...filter,\n value: setValue,\n };\n });\n }\n\n return filtersOverview;\n }, [questionnaire]);\n\n return (\n \n \n \n \n \n \n \n {translate('app.questionnaire.overview.title')}\n {translate('app.questionnaire.overview.text')}\n \n \n \n {filters.map((filter) => {\n return (\n router.push(paths.questionnaireEdit(filter.name))}\n />\n );\n })}\n \n \n router.push(paths.questionnaire)}\n onNextClick={() => router.push(paths.questionnaireRegister)}\n />\n \n \n );\n};\n\nOverview.propTypes = {\n questionnaire: PropTypes.shape({\n listingType: PropTypes.oneOf(['purchase', 'rental']).isRequired,\n activeStepIndex: PropTypes.number.isRequired,\n filters: PropTypes.shape({}),\n }).isRequired,\n};\n\nexport default connect((state) => ({\n questionnaire: state.questionnaire,\n}))(Overview);\n","import React, { useContext, useEffect, useMemo } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { useForm } from 'react-hook-form';\n// import { yupResolver } from '@hookform/resolvers/yup';\n// import * as yup from 'yup';\nimport find from 'lodash.find';\n\n// Constants\nimport paths from '../../constants/paths';\nimport { buyFiltersOverview, rentFiltersOverview } from '../../constants/questionnaire';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Redux\nimport * as citiesActions from '../../redux/actions/cities';\nimport * as questionnaireActions from '../../redux/actions/questionnaire';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Icon from '../../components/icons/Icon';\nimport FilterField from '../../components/FilterField';\nimport Stepper from '../../components/elements/FormStepper';\nimport Suggestions from '../../components/formFields/Suggestions';\n\n// Styling\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\nimport mediaQuery from '../../styles/breakpoints';\n\nconst Styled = {\n Intro: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 2}px;\n `,\n Text: styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n FieldHolder: styled.div`\n margin-bottom: ${sizes.space * 2}px;\n `,\n};\n\nconst Edit = ({ cities, questionnaire, fetchCities, storeData }) => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n const { name } = useParams();\n\n const activeItem = useMemo(() => {\n let filtersOverview = buyFiltersOverview;\n if (questionnaire.listingType === 'rental') {\n filtersOverview = rentFiltersOverview;\n }\n return find(filtersOverview, { name }) || {};\n }, [name]);\n\n const {\n register,\n watch,\n getValues,\n setValue,\n handleSubmit,\n formState: { errors },\n } = useForm();\n\n /**\n * Set default values\n */\n useEffect(() => {\n if (questionnaire.filters) {\n Object.keys(questionnaire.filters).forEach((key) => {\n const value = questionnaire.filters[key];\n // Exception: Think of a nicer way to do this more dynamicly\n // TODO: add markup for currency default values adding € and dots\n if (value) {\n setValue(key, value);\n }\n });\n }\n }, [questionnaire.filters]);\n\n const handleSetValue = (fieldName, value) => {\n setValue(fieldName, value);\n\n // Exception: Think of a nicer way to do this more dynamicly\n if (fieldName === 'city') {\n fetchCities(value);\n }\n };\n\n const onSubmit = async (data) => {\n await storeData(questionnaire.listingType, {\n ...questionnaire.filters,\n ...data,\n });\n router.push(paths.questionnaireOverview);\n };\n\n return (\n \n \n \n \n \n \n \n \n {translate(activeItem.title)}\n {translate(activeItem.text)}\n \n \n \n {activeItem.fields.map((field) => (\n \n \n {field.suggestions && (\n setValue(field.name, value)}\n />\n )}\n \n ))}\n \n \n \n {\n router.push(paths.questionnaireOverview);\n }}\n />\n \n \n );\n};\n\nEdit.propTypes = {\n cities: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string,\n value: PropTypes.string,\n })\n ).isRequired,\n questionnaire: PropTypes.shape({\n listingType: PropTypes.oneOf(['purchase', 'rental']).isRequired,\n activeStepIndex: PropTypes.number.isRequired,\n filters: PropTypes.shape({}),\n }).isRequired,\n fetchCities: PropTypes.func.isRequired,\n storeData: PropTypes.func.isRequired,\n};\n\nexport default connect(\n (state) => ({\n cities: state.cities.items,\n questionnaire: state.questionnaire,\n }),\n (dispatch) => ({\n fetchCities: (query) => dispatch(citiesActions.fetchCities(query)),\n storeData: (type, data) => dispatch(questionnaireActions.storeData(type, data)),\n })\n)(Edit);\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { useForm } from 'react-hook-form';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport * as yup from 'yup';\n\n// Constants\nimport paths from '../../constants/paths';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Redux\nimport * as questionnaireActions from '../../redux/actions/questionnaire';\nimport * as flashNotificationsActions from '../../redux/actions/flash-notifications';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Icon from '../../components/icons/Icon';\nimport TextField from '../../components/formFields/TextField';\nimport Stepper from '../../components/elements/FormStepper';\n\n// Styling\nimport mediaQuery from '../../styles/breakpoints';\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\n\nconst Styled = {\n Intro: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n};\n\nconst Register = ({ questionnaire, submitData, addFlashNotifications }) => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n\n const {\n register,\n handleSubmit,\n watch,\n setValue,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(\n yup.object().shape({\n email: yup.string().required(translate('app.form.errors.required')),\n })\n ),\n });\n\n const onSubmit = async ({ email }) => {\n // this is because iOS defices can prefill with an extra space and/or capital\n const formattedEmail = email.toLowerCase().replace(' ', '');\n try {\n const response = await submitData(formattedEmail, questionnaire);\n if (!response.error) {\n router.push(paths.questionnaireSuccess);\n } else {\n addFlashNotifications([\n {\n title: translate('app.questionnaire.register.error.title'),\n message: translate('app.questionnaire.register.error.message'),\n type: 'error',\n },\n ]);\n }\n } catch (error) {\n console.error(error);\n addFlashNotifications([\n {\n title: translate('app.questionnaire.register.error.title'),\n message: translate('app.questionnaire.register.error.message'),\n type: 'error',\n },\n ]);\n }\n };\n\n return (\n \n \n \n \n \n \n \n \n {translate('app.questionnaire.register.title')}\n \n \n \n setValue('email', '')}\n setFocus\n error={errors.email?.message}\n />\n \n \n \n router.push(paths.questionnaireOverview)}\n />\n \n \n );\n};\n\nRegister.propTypes = {\n questionnaire: PropTypes.shape({\n activeStepIndex: PropTypes.number.isRequired,\n filters: PropTypes.shape({}),\n }).isRequired,\n submitData: PropTypes.func.isRequired,\n addFlashNotifications: PropTypes.func.isRequired,\n};\n\nexport default connect(\n (state) => ({\n questionnaire: state.questionnaire,\n }),\n (dispatch) => ({\n submitData: (email, data) => dispatch(questionnaireActions.submitData(email, data)),\n addFlashNotifications: (notificationId) =>\n dispatch(flashNotificationsActions.addFlashNotifications(notificationId)),\n })\n)(Register);\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Icon from '../../components/icons/Icon';\n\n// Styling\nimport mediaQuery from '../../styles/breakpoints';\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\n\nconst Styled = {\n PageInner: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n Text: styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n};\n\nconst Success = () => {\n const { translate } = useContext(I18nContext);\n return (\n \n \n \n \n \n \n \n {translate('app.questionnaire.success.title')}\n \n \n \n {translate('app.questionnaire.success.text')}\n \n \n \n \n );\n};\n\nexport default Success;\n","import React, { useContext, useEffect, useState } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useParams, useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../../constants/paths';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Redux\nimport * as questionnaireActions from '../../redux/actions/questionnaire';\n\n// Components\nimport Seo from '../../components/Seo';\nimport Page from '../../components/layouts/Page';\nimport Container from '../../components/layouts/Container';\nimport Loader from '../../components/elements/Loader';\nimport Icon from '../../components/icons/Icon';\nimport Button from '../../components/elements/Button';\n\n// Styling\nimport mediaQuery from '../../styles/breakpoints';\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\n\nconst Styled = {\n PageInner: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n Text: styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n};\n\nconst Confirm = ({ confirmEmail }) => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n const { id, token } = useParams();\n const [loading, setLoading] = useState(true);\n\n useEffect(() => {\n (async () => {\n try {\n await confirmEmail(id, token);\n } catch (error) {\n console.error(error);\n } finally {\n setLoading(false);\n }\n })();\n }, []);\n\n if (loading) {\n return (\n \n \n \n \n \n \n );\n }\n\n return (\n \n \n \n \n \n {translate('app.questionnaire.confirm.title')}\n router.push(paths.questionnaire)}\n />\n \n \n \n );\n};\n\nConfirm.propTypes = {\n confirmEmail: PropTypes.func.isRequired,\n};\n\nexport default connect(\n () => ({}),\n (dispatch) => ({\n confirmEmail: (id, token) => dispatch(questionnaireActions.confirmEmail(id, token)),\n })\n)(Confirm);\n","import React, { useContext, useState } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { useParams, useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Redux\nimport * as questionnaireActions from '../redux/actions/questionnaire';\nimport * as flashNotificationsActions from '../redux/actions/flash-notifications';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\nimport Icon from '../components/icons/Icon';\nimport Button from '../components/elements/Button';\n\n// Styling\nimport mediaQuery from '../styles/breakpoints';\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\n\nconst Styled = {\n PageInner: styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n `,\n Icon: styled(Icon)`\n margin-bottom: 16px;\n\n ${mediaQuery.from.S`\n margin-bottom: 32px;\n transform: scale(1.5);\n `}\n\n ${mediaQuery.from.M`\n transform: scale(2);\n `}\n `,\n Title: styled.h1`\n color: ${colors.blue};\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n Text: styled.p`\n text-align: center;\n margin-bottom: ${sizes.space * 5}px;\n `,\n};\n\nconst Unsubscribe = ({ unsubscribe, addFlashNotifications }) => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n const { id, token } = useParams();\n const [loading, setLoading] = useState(false);\n const [isDone, setIsDone] = useState(false);\n\n const handleUnsubscribe = async () => {\n try {\n setLoading(true);\n await unsubscribe(id, token);\n setIsDone(true);\n } catch (error) {\n console.error(error);\n addFlashNotifications([\n {\n title: translate('app.unsubscribe.error.title'),\n message: translate('app.unsubscribe.error.message'),\n type: 'error',\n },\n ]);\n } finally {\n setLoading(false);\n }\n };\n\n return (\n \n \n \n \n \n {isDone ? (\n <>\n {translate('app.unsubscribed.title')}\n router.push(paths.questionnaire)}\n loading={loading}\n disabled={loading}\n />\n >\n ) : (\n <>\n {translate('app.unsubscribe.title')}\n \n >\n )}\n \n \n \n );\n};\n\nUnsubscribe.propTypes = {\n unsubscribe: PropTypes.func.isRequired,\n addFlashNotifications: PropTypes.func.isRequired,\n};\n\nexport default connect(\n () => ({}),\n (dispatch) => ({\n unsubscribe: (id, token) => dispatch(questionnaireActions.unsubscribe(id, token)),\n addFlashNotifications: (notificationId) =>\n dispatch(flashNotificationsActions.addFlashNotifications(notificationId)),\n })\n)(Unsubscribe);\n","import React, { useCallback, useState, useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\nimport AliceCarousel from 'react-alice-carousel';\nimport 'react-alice-carousel/lib/alice-carousel.css';\nimport { disableBodyScroll, enableBodyScroll, clearAllBodyScrollLocks } from 'body-scroll-lock';\n\n// Styling\nimport colors from '../styles/colors';\nimport mediaQuery from '../styles/breakpoints';\nimport sizes from '../styles/sizes';\nimport textStyles from '../styles/textStyles';\n\n// Components\nimport Container from './layouts/Container';\nimport Icon from './icons/Icon';\n\nconst sharedButtonStyling = css`\n cursor: pointer;\n z-index: 1;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n display: none;\n padding: 0;\n background: transparent;\n border: none;\n outline: none;\n transition: transform 0.08s ease-in-out;\n\n ${mediaQuery.from.S`\n display: flex;\n `}\n`;\n\nconst sharedImageStyling = css`\n cursor: pointer;\n position: relative;\n background-image: url(${({ src }) => src});\n background-size: cover;\n background-position: center;\n overflow: hidden;\n\n :before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: ${colors.primary};\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n }\n\n :hover:before {\n opacity: 0.4;\n }\n`;\n\nconst sharedCounterStyling = css`\n z-index: 1;\n position: absolute;\n bottom: ${sizes.space * 2}px;\n left: 50%;\n color: ${colors.black};\n transform: translateX(-50%);\n`;\n\nconst StyledContainer = styled(Container)`\n ${mediaQuery.to.S`\n padding: 0;\n `}\n`;\n\nconst StyledGallery = styled.div`\n display: flex;\n flex-wrap: wrap;\n`;\n\nconst StyledFeaturedPhoto = styled.div`\n ${sharedImageStyling};\n width: 100%;\n padding-top: 60%;\n background-color: ${colors.grey};\n\n ${mediaQuery.from.S`\n width: calc(50% - 8px);\n margin-right: 8px;\n padding-top: 37.5%;\n border-bottom-left-radius: 18px;\n border-top-left-radius: 18px;\n `}\n`;\n\nconst StyledPhoto = styled.div`\n ${sharedImageStyling};\n width: calc(50% - (${sizes.space}px / 2));\n max-height: 50%;\n padding-top: 20%;\n background-color: ${colors.grey};\n\n :nth-child(1) {\n margin-bottom: ${sizes.space}px;\n }\n\n :nth-child(2) {\n margin-bottom: ${sizes.space}px;\n margin-left: ${sizes.space}px;\n border-top-right-radius: ${sizes.borderRadiusImage}px;\n }\n\n :nth-child(4) {\n margin-left: ${sizes.space}px;\n border-bottom-right-radius: ${sizes.borderRadiusImage}px;\n }\n`;\n\nconst StyledPhotosWrapper = styled.div`\n display: none;\n\n ${mediaQuery.from.S`\n display: flex;\n flex-wrap: wrap;\n width: 50%;\n `}\n`;\n\nconst StyledModal = styled.dialog`\n z-index: 99;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: ${colors.white};\n border: none;\n display: ${({ open }) => (open ? 'flex' : 'none')};\n`;\n\nconst StyledImageWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst StyledImage = styled.img`\n max-width: 80vw;\n max-height: 80vh;\n`;\n\nconst StyledNext = styled.button`\n ${sharedButtonStyling};\n right: 23px;\n transform: rotate(-90deg);\n\n :hover {\n transform: scale(1.2) rotate(-90deg);\n }\n`;\n\nconst StyledPrevious = styled.button`\n ${sharedButtonStyling};\n left: 23px;\n transform: rotate(90deg);\n\n :hover {\n transform: scale(1.2) rotate(90deg);\n }\n`;\n\nconst StyledCounter = styled.div`\n ${textStyles.bodyLarge};\n ${sharedCounterStyling};\n`;\n\nconst StyledMobileCounter = styled.div`\n ${textStyles.bodySmall};\n ${sharedCounterStyling};\n padding: ${sizes.space / 2}px;\n color: ${colors.white};\n background-color: ${colors.black};\n border-radius: ${sizes.space / 2}px;\n\n ${mediaQuery.from.S`\n display: none;\n `}\n`;\n\nconst StyledClose = styled.button`\n cursor: pointer;\n position: absolute;\n top: ${sizes.space * 2}px;\n right: ${sizes.space * 2}px;\n display: flex;\n padding: 0;\n background: transparent;\n border: 0;\n outline: none;\n transition: transform 0.08s ease-in-out;\n\n ${mediaQuery.from.S`\n top: 32px;\n right: 32px;\n `}\n\n :hover {\n transform: scale(1.2);\n }\n`;\n\nconst PhotoGallery = ({ images, alt, className }) => {\n const handleDragStart = (e) => e.preventDefault();\n\n const items = images.map((image, i) => (\n \n \n \n ));\n\n const sliderRef = useRef(null);\n const modalRef = useRef(null);\n\n const [openModal, setOpenModal] = useState(false);\n const [activeIndex, setActiveIndex] = useState(0);\n const [sliderCounter, setSliderCounter] = useState(1);\n\n const handleOpenCarousel = (index) => {\n setActiveIndex(index);\n setSliderCounter(index + 1);\n setOpenModal(true);\n };\n\n const handleSliderCounter = (event) => {\n setActiveIndex(event.item);\n setSliderCounter(event.item + 1);\n };\n\n const handleKeyDown = useCallback((event) => {\n // esc key\n if (event.keyCode === 27) {\n setOpenModal(false);\n }\n }, []);\n\n useEffect(() => {\n document.addEventListener('keydown', handleKeyDown, false);\n return () => {\n document.removeEventListener('keydown', handleKeyDown, false);\n };\n }, []);\n\n useEffect(() => {\n if (openModal) {\n disableBodyScroll(modalRef?.current);\n } else {\n enableBodyScroll(modalRef?.current);\n }\n\n return () => {\n clearAllBodyScrollLocks();\n };\n }, [openModal]);\n\n return (\n <>\n \n \n handleOpenCarousel(0)}\n >\n {!openModal && 1 / {images.length}}\n \n \n {images.map((photo, i) => {\n if (i !== 0 && i < 5) {\n return (\n handleOpenCarousel(i)}\n />\n );\n }\n return null;\n })}\n \n \n \n\n \n setOpenModal(false)}>\n \n \n sliderRef?.current?.slideNext()}>\n \n \n sliderRef?.current?.slidePrev()}>\n \n \n \n \n {sliderCounter} / {images.length}\n \n \n >\n );\n};\n\nPhotoGallery.propTypes = {\n images: PropTypes.arrayOf(PropTypes.string).isRequired,\n alt: PropTypes.string.isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default PhotoGallery;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst Map = ({ onClick, className }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nMap.propTypes = {\n onClick: PropTypes.func,\n className: PropTypes.string.isRequired,\n};\n\nMap.defaultProps = {\n onClick: () => {},\n};\n\nexport default Map;\n","import React from 'react';\nimport styled from 'styled-components';\n\n// Styling\nimport colors from '../../styles/colors';\nimport mediaQuery from '../../styles/breakpoints';\n\nconst Styled = {\n Svg: styled.svg`\n with: 52px;\n height: 60px;\n transform: translate(-50%, -50%);\n\n ${mediaQuery.from.M`\n with: 78px;\n height: 90px;\n `}\n `,\n};\n\nconst MapMarker = () => (\n \n \n \n \n \n);\n\nexport default MapMarker;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport GoogleMapReact from 'google-map-react';\n\n// Styles\nimport sizes from '../styles/sizes';\n\n// Components\nimport MapMarker from './assets/MapMarker';\n\nconst Styled = {\n Component: styled.div`\n overflow: hidden;\n height: 400px;\n width: 100%;\n border-radius: ${sizes.borderRadiusImage}px;\n `,\n};\n\nconst GoogleMaps = ({ location, className }) => (\n \n \n \n \n \n \n \n);\n\nGoogleMaps.propTypes = {\n location: PropTypes.shape({\n lat: PropTypes.number,\n lng: PropTypes.number,\n }).isRequired,\n className: PropTypes.string,\n};\n\nGoogleMaps.defaultProps = {\n className: '',\n};\n\nexport default GoogleMaps;\n","import React, { useEffect, useState, useRef, useContext } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { disableBodyScroll, enableBodyScroll, clearAllBodyScrollLocks } from 'body-scroll-lock';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Styles\nimport colors from '../styles/colors';\nimport mediaQuery from '../styles/breakpoints';\nimport textStyles from '../styles/textStyles';\nimport sizes from '../styles/sizes';\n\n// Components\nimport Map from './assets/Map';\nimport Icon from './icons/Icon';\nimport GoogleMaps from './GoogleMaps';\n\nconst StyledMap = styled(Map)`\n width: 80px;\n height: 80px;\n transition: transform 0.2s ease-in-out;\n`;\n\nconst Styled = {\n Container: styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: ${sizes.space}px;\n background-color: ${colors.primaryLight};\n border-radius: ${sizes.borderRadius}px;\n\n ${mediaQuery.from.XS`\n padding: 8px 8px 8px 16px;\n `}\n\n ${mediaQuery.from.S`\n padding: 16px 16px 16px 56px;\n `}\n `,\n Content: styled.div`\n ${textStyles.titleSubtle};\n display: flex;\n `,\n Item: styled.div`\n display: flex;\n align-items: center;\n margin-right: ${sizes.space * 2}px;\n\n ${mediaQuery.from.XS`\n margin-right: ${sizes.space * 7}px;\n `};\n\n > span {\n ${mediaQuery.to.M`\n display: none;\n `}\n }\n `,\n Icon: styled(Icon)`\n margin-right: ${sizes.space}px;\n\n ${mediaQuery.from.S`\n margin-right: ${sizes.space * 2}px;\n `}\n `,\n MapHolder: styled.div`\n cursor: pointer;\n overflow: hidden;\n display: flex;\n border-radius: ${sizes.borderRadius}px;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n\n :hover {\n ${StyledMap} {\n transform: scale(1.2);\n }\n }\n `,\n Modal: styled.dialog`\n z-index: 1;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n padding: 64px 16px 16px;\n background-color: ${colors.white};\n border: none;\n display: ${({ open }) => (open ? 'flex' : 'none')};\n\n ${mediaQuery.from.S`\n padding: 80px 32px 32px;\n `}\n `,\n Close: styled.button`\n cursor: pointer;\n position: absolute;\n top: ${sizes.space * 2}px;\n right: ${sizes.space * 2}px;\n display: flex;\n padding: 0;\n background: transparent;\n border: 0;\n outline: none;\n transition: transform 0.08s ease-in-out;\n\n ${mediaQuery.from.S`\n top: 32px;\n right: 32px;\n `}\n\n :hover {\n transform: scale(1.2);\n }\n `,\n GoogleMaps: styled(GoogleMaps)`\n height: calc(100vh - 80px);\n\n ${mediaQuery.from.S`\n height: calc(100vh - 112px);\n `}\n `,\n};\n\nconst ListingFeatureCard = ({ size, rooms, bedrooms, location, className }) => {\n const { translate } = useContext(I18nContext);\n const modalRef = useRef(null);\n const [openModal, setOpenModal] = useState(false);\n\n useEffect(() => {\n if (openModal) {\n disableBodyScroll(modalRef?.current);\n } else {\n enableBodyScroll(modalRef?.current);\n }\n\n return () => {\n clearAllBodyScrollLocks();\n };\n }, [openModal]);\n\n return (\n <>\n \n \n \n \n {size}m2 \n {translate('app.listing.details.surface.size').toLowerCase()}\n \n \n \n {rooms} \n {translate('app.listing.details.layout.rooms').toLowerCase()}\n \n \n \n {bedrooms} \n {translate('app.listing.details.layout.bedrooms').toLowerCase()}\n \n \n {location.lat !== 0 && location.lng !== 0 && (\n \n setOpenModal(true)} />\n \n )}\n \n\n {location.lat !== 0 && location.lng !== 0 && (\n \n setOpenModal(false)}>\n \n \n \n \n )}\n >\n );\n};\n\nListingFeatureCard.propTypes = {\n size: PropTypes.number.isRequired,\n rooms: PropTypes.number.isRequired,\n bedrooms: PropTypes.number.isRequired,\n location: PropTypes.shape({\n lat: PropTypes.number,\n lng: PropTypes.number,\n }).isRequired,\n className: PropTypes.string.isRequired,\n};\n\nexport default ListingFeatureCard;\n","import React, { useState, useEffect, useRef, useContext } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Styles\nimport colors from '../styles/colors';\nimport textStyles from '../styles/textStyles';\nimport sizes from '../styles/sizes';\n\nconst Styled = {\n Title: styled.h3`\n ${textStyles.titleLoud};\n margin-bottom: ${sizes.space * 2}px;\n `,\n Content: styled.div`\n position: relative;\n height: ${({ initialHeight }) => `${initialHeight}px`};\n overflow: hidden;\n margin-bottom: ${sizes.space * 2}px;\n transition: height 0.2s ease-in-out;\n\n :before {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: ${sizes.space * 10}px;\n background: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 1) 100%\n );\n ${({ open }) => open && 'opacity: 0;'};\n transition: opacity 0.2s ease-in-out;\n }\n `,\n ReadMoreButton: styled.button`\n ${textStyles.titleSubtle};\n cursor: pointer;\n display: flex;\n align-items: center;\n padding: 0;\n border: 0;\n background-color: transparent;\n `,\n Circle: styled.div`\n position: relative;\n width: ${sizes.space * 4}px;\n height: ${sizes.space * 4}px;\n margin-right: ${sizes.space}px;\n background-color: ${colors.primary};\n border-radius: 50%;\n\n :before,\n :after {\n content: '';\n position: absolute;\n background-color: ${colors.black};\n }\n\n :before {\n top: 50%;\n left: 8px;\n width: calc(100% - 16px);\n height: 2px;\n transform: translateY(-50%);\n }\n\n :after {\n ${({ open }) => open && 'display: none'};\n top: 8px;\n left: 50%;\n width: 2px;\n height: calc(100% - 16px);\n transform: translateX(-50%);\n }\n `,\n};\n\nconst AccordionSingle = ({ title, children, initialHeight, className }) => {\n const { translate } = useContext(I18nContext);\n const ref = useRef();\n const [open, setOpen] = useState(false);\n\n useEffect(() => {\n if (ref.current) {\n ref.current.style.height = open ? `${ref.current.scrollHeight}px` : `${initialHeight}px`;\n }\n }, [open]);\n\n return (\n \n {title && {title}}\n \n {children}\n \n setOpen(!open)}>\n \n {open\n ? translate('app.accordionSingle.readLess')\n : translate('app.accordionSingle.readMore')}\n \n \n );\n};\n\nAccordionSingle.propTypes = {\n title: PropTypes.string,\n children: PropTypes.node.isRequired,\n initialHeight: PropTypes.number,\n className: PropTypes.string.isRequired,\n};\n\nAccordionSingle.defaultProps = {\n title: '',\n initialHeight: 112,\n};\n\nexport default AccordionSingle;\n","import React from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\n// Constants\nimport iconMap from '../constants/iconMap';\n\n// Styles\nimport colors from '../styles/colors';\nimport textStyles from '../styles/textStyles';\nimport sizes from '../styles/sizes';\n\n// Components\nimport Icon from './icons/Icon';\n\nconst StyledContainer = styled.div`\n margin-bottom: ${sizes.space * 4}px;\n padding-top: ${sizes.space}px;\n border-top: solid 2px ${colors.black};\n`;\n\nconst StyledTitleWrapper = styled.div`\n display: flex;\n align-items: center;\n margin-bottom: ${sizes.space * 2}px;\n`;\n\nconst StyledTitle = styled.h4`\n ${textStyles.titleNormal};\n`;\n\nconst StyledIcon = styled(Icon)`\n margin-right: ${sizes.space}px;\n max-height: ${sizes.space * 3}px;\n`;\n\nconst StyledContent = styled.div`\n padding-left: ${sizes.space * 4}px;\n`;\n\nconst StyledLabel = styled.span`\n ${textStyles.bodySmall};\n margin-bottom: ${sizes.space / 2}px;\n`;\n\nconst StyledValue = styled.h4`\n ${textStyles.titleSubtle};\n margin-bottom: ${sizes.space * 3}px;\n`;\n\nconst ListingDetailSection = ({ title, icon, items }) => (\n \n \n \n {title}\n \n \n {items.map((item, i) => (\n // eslint-disable-next-line react/no-array-index-key\n \n {item.label}\n {item.value}\n \n ))}\n \n \n);\n\nListingDetailSection.propTypes = {\n title: PropTypes.string.isRequired,\n icon: PropTypes.oneOf(Object.keys(iconMap)).isRequired,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n })\n ).isRequired,\n};\n\nexport default ListingDetailSection;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// Styles\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\n\n// Components\nimport Icon from './icons/Icon';\nimport Button from './elements/Button';\n\nconst StyledComponent = styled.div`\n padding: ${sizes.space * 5}px;\n color: ${colors.white};\n background-color: ${colors.primary};\n text-align: center;\n border-radius: ${sizes.borderRadiusImage}px;\n`;\n\nconst StyledIcon = styled(Icon)`\n margin-bottom: ${sizes.space * 4}px;\n`;\n\nconst StyledTitle = styled.h3`\n margin-bottom: ${sizes.space * 3}px;\n`;\n\nconst StyledLink = styled.a`\n font-size: 18px;\n color: ${colors.white};\n`;\n\nconst RealtorCard = ({ name, phone, website }) => {\n const phoneIsValid = /(?:\\D*\\d){3}/.test(phone);\n\n return (\n \n \n {name}\n {phoneIsValid ? (\n \n ) : (\n \n {website.replace('http://', '').replace('https://', '').replace('www.', '')}\n \n )}\n \n );\n};\n\nRealtorCard.propTypes = {\n name: PropTypes.string.isRequired,\n phone: PropTypes.string.isRequired,\n website: PropTypes.string.isRequired,\n};\n\nexport default RealtorCard;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\n\n// Providers\nimport { I18nContext } from '../../providers/I18nContextProvider';\n\n// Styles\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\nimport textStyles from '../../styles/textStyles';\n\n// Components\nimport Icon from '../icons/Icon';\n\nconst Circle = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 56px;\n height: 56px;\n margin-bottom: ${sizes.space}px;\n background-color: ${colors.primary};\n border-radius: 50%;\n transition: background-color 0.2s ease-in-out;\n`;\n\nconst Styled = {\n Component: styled.div`\n cursor: pointer;\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-right: ${sizes.space * 2}px;\n\n :last-of-type {\n margin-right: 0;\n }\n\n > a {\n text-decoration: none;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n > div {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n :hover {\n ${Circle} {\n background-color: ${colors.secondary};\n }\n }\n `,\n Label: styled.span`\n ${textStyles.bodySmall};\n color: ${colors.black};\n `,\n};\n\nconst ShareButton = ({ type, url, title }) => {\n const { translate } = useContext(I18nContext);\n switch (type) {\n case 'email':\n return (\n \n \n \n \n \n {translate('app.share.email')}\n \n \n );\n case 'whatsapp':\n return (\n \n \n \n \n \n {translate('app.share.whatsapp')}\n \n \n );\n case 'copy':\n return (\n \n \n \n \n \n \n {translate('app.share.copy')}\n \n \n \n );\n default:\n return null;\n }\n};\n\nShareButton.propTypes = {\n type: PropTypes.oneOf(['email', 'whatsapp', 'copy']).isRequired,\n url: PropTypes.string.isRequired,\n title: PropTypes.string,\n};\n\nShareButton.defaultProps = {\n title: '',\n};\n\nexport default ShareButton;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Styles\nimport colors from '../styles/colors';\nimport sizes from '../styles/sizes';\n\n// Components\nimport Icon from './icons/Icon';\nimport ShareButton from './elements/ShareButton';\n\nconst Styled = {\n Component: styled.div`\n padding: ${sizes.space * 5}px;\n background-color: ${colors.primaryLight};\n text-align: center;\n border-radius: ${sizes.borderRadiusImage}px;\n `,\n Icon: styled(Icon)`\n margin-bottom: ${sizes.space * 4}px;\n `,\n Title: styled.h3`\n margin-bottom: ${sizes.space * 3}px;\n `,\n Buttons: styled.div`\n display: flex;\n justify-content: center;\n `,\n};\n\nconst ShareCard = ({ title, url }) => {\n const { translate } = useContext(I18nContext);\n return (\n \n \n {translate('app.shareCard.title')}\n \n \n \n \n \n \n );\n};\n\nShareCard.propTypes = {\n title: PropTypes.string.isRequired,\n url: PropTypes.string.isRequired,\n};\n\nexport default ShareCard;\n","import React, { useContext, useEffect, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { Link, useParams, useHistory } from 'react-router-dom';\nimport { connect } from 'react-redux';\n\n// Redux\nimport * as listingActions from '../redux/actions/listing';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Utils\nimport { formatMoney } from '../utils/formatNumber';\n\n// Styling\nimport sizes from '../styles/sizes';\nimport textStyles from '../styles/textStyles';\nimport mediaQuery from '../styles/breakpoints';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\nimport Logo from '../components/assets/Logo';\nimport Shape from '../components/assets/Shape';\nimport PhotoGallery from '../components/PhotoGallery';\nimport ListingFeatureCard from '../components/ListingFeatureCard';\nimport AccordionSingle from '../components/AccordionSingle';\nimport ListingDetailSection from '../components/ListingDetailSection';\nimport GoogleMaps from '../components/GoogleMaps';\nimport RealtorCard from '../components/RealtorCard';\nimport ShareCard from '../components/ShareCard';\nimport Loader from '../components/elements/Loader';\n\nconst StyledShapeWrapper = styled.div`\n position: relative;\n`;\nconst StyledShape = styled(Shape)`\n overflow: hidden;\n width: 120%;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(15%, -50%);\n`;\nconst StyledContainer = styled(Container)`\n display: flex;\n position: relative;\n`;\nconst StyledLogoLink = styled(Link)`\n z-index: 1;\n display: block;\n margin: 0 auto;\n`;\nconst StyledLogo = styled(Logo)`\n width: 120px;\n margin-top: ${sizes.space * 2}px;\n\n ${mediaQuery.from.S`\n width: 180px;\n margin-top: ${sizes.space * 4}px;\n `}\n\n ${mediaQuery.from.M`\n width: 240px;\n `}\n`;\nconst StyledPhotoGallery = styled(PhotoGallery)`\n margin-top: -${sizes.space * 2}px;\n margin-bottom: ${sizes.space * 3}px;\n\n ${mediaQuery.from.S`\n margin-top: -${sizes.space * 3}px;\n `}\n\n ${mediaQuery.from.M`\n margin-bottom: ${sizes.space * 4}px;\n `}\n`;\nconst StyledSummary = styled.div`\n width: 100%;\n margin-bottom: ${sizes.space * 8}px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n > p {\n margin-bottom: 0;\n }\n`;\nconst StyledPrice = styled.h2`\n ${textStyles.titleNormal};\n margin-top: ${sizes.space * 5}px;\n margin-bottom: ${sizes.space / 2}px;\n\n ${mediaQuery.from.M`\n margin-bottom: ${sizes.space}px;\n `}\n`;\nconst StyledListingFeatureCard = styled(ListingFeatureCard)`\n z-index: 1;\n position: relative;\n min-height: 64px;\n margin-bottom: ${sizes.space * 8}px;\n\n ${mediaQuery.from.S`\n min-height: 96px;\n margin-bottom: ${sizes.space * 13}px;\n `}\n`;\nconst StyledAccordionSingle = styled(AccordionSingle)`\n margin-bottom: ${sizes.space * 8}px;\n\n ${mediaQuery.from.S`\n margin-bottom: ${sizes.space * 13}px;\n `}\n`;\nconst StyledMapContainer = styled(Container)`\n margin-bottom: ${sizes.space * 13}px;\n`;\nconst StyledMapTitle = styled.h3`\n ${textStyles.titleLoud};\n margin-bottom: ${sizes.space * 2}px;\n text-align: center;\n`;\nconst StyledFooterCards = styled(Container)`\n > div:first-of-type {\n margin-bottom: ${sizes.space * 4}px;\n }\n\n ${mediaQuery.from.S`\n display: flex;\n\n > div {\n width: 50%;\n margin-right: ${sizes.space * 5}px;\n\n :first-of-type {\n margin-bottom: 0;\n }\n :last-of-type {\n margin-right: 0;\n }\n }\n `}\n`;\n\nconst ListingDetail = ({ listing, fetchListing }) => {\n const { translate } = useContext(I18nContext);\n const listingId = useParams().id;\n const history = useHistory();\n\n useEffect(() => {\n fetchListing(listingId);\n }, [listingId]);\n\n useEffect(() => {\n if (listing?.status === 'failed') {\n history.push('/404');\n }\n }, [listing]);\n\n const listingData = useMemo(() => {\n if (listing?.data?.listings[0]) {\n return listing?.data?.listings[0];\n }\n return {};\n }, [listing?.data?.listings]);\n\n const title = useMemo(() => {\n return listing?.data\n ? `${listing?.data?.address} ${listing?.data?.postal}, ${listing?.data?.city}`\n : 'Listing - Rplace';\n }, [listing?.data]);\n\n const formattedDescription = useMemo(() => {\n if (listingData.descriptions && listingData.descriptions.length) {\n return `${listingData.descriptions[0]?.substring(0, 152)}..`;\n }\n return '';\n }, [listingData.descriptions]);\n\n const price = useMemo(() => {\n return `€ ${formatMoney(listingData.price)} ${\n listingData.type === 'rental' ? translate('app.listing.rental.month') : ''\n }`;\n }, [listing?.data]);\n\n const meterPrice = useMemo(() => {\n return `€ ${formatMoney(listingData.price / listing?.data?.size)} per m²`;\n }, [listingData.price, listing?.data?.size]);\n\n const priceDetailItems = useMemo(() => {\n const items = [{ label: translate('app.listing.details.price.askingPrice'), value: price }];\n if (listingData.type === 'purchase') {\n items.push({\n label: `${translate('app.listing.details.price.askingPrice')} per m2`,\n value: meterPrice,\n });\n }\n return items;\n }, [listingData.type]);\n\n const layoutDetailItems = useMemo(() => {\n const items = [\n {\n label: translate('app.listing.details.layout.rooms'),\n value: listing?.data?.rooms,\n },\n {\n label: translate('app.listing.details.layout.bedrooms'),\n value: listing?.data?.bedrooms,\n },\n ];\n if (listing?.data?.bathrooms !== 0) {\n items.push({\n label: translate('app.listing.details.layout.bathrooms'),\n value: listing?.data?.bathrooms,\n });\n }\n return items;\n }, [listing?.data?.bathrooms]);\n\n if (!listing || !Object.keys(listing).length || listing?.status !== 'success') {\n return ;\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n {listing?.data?.address}\n \n {listing?.data?.postal} {listing?.data?.city}\n \n {price}\n {listingData.type === 'purchase' && (\n \n {translate('app.listing.purchase.meterPriceLabel')} {meterPrice}\n \n )}\n \n \n \n \n \n \n \n {/* eslint-disable react/no-array-index-key */}\n {listingData.descriptions &&\n listingData.descriptions.map((description, i) => (\n {description}\n ))}\n \n \n <>\n \n \n {listing?.data?.construction_year !== 0 && (\n \n )}\n \n \n {listing?.data?.energy_rating && (\n \n )}\n >\n \n \n {listing?.data?.latitude !== 0 && listing?.data?.longitude !== 0 && (\n \n {translate('app.listing.location')}\n \n \n )}\n \n \n \n \n \n );\n};\n\nListingDetail.propTypes = {\n fetchListing: PropTypes.func.isRequired,\n listing: PropTypes.shape({\n status: PropTypes.oneOf(['success', 'failed']),\n data: PropTypes.shape({\n id: PropTypes.string,\n identifier: PropTypes.string,\n address: PropTypes.string,\n city: PropTypes.string,\n district: PropTypes.string,\n postal: PropTypes.string,\n application: PropTypes.string,\n rooms: PropTypes.number,\n bathrooms: PropTypes.number,\n bedrooms: PropTypes.number,\n construction_year: PropTypes.number,\n size: PropTypes.number,\n energy_rating: PropTypes.string,\n longitude: PropTypes.number,\n latitude: PropTypes.number,\n location_hash: PropTypes.string,\n listings: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n agency: PropTypes.shape({\n id: PropTypes.string,\n name: PropTypes.string,\n phone: PropTypes.string,\n website: PropTypes.string,\n image: PropTypes.string,\n }),\n available_at: PropTypes.number,\n offered_at: PropTypes.number,\n price: PropTypes.number,\n descriptions: PropTypes.arrayOf(PropTypes.string),\n type: PropTypes.string,\n status: PropTypes.string,\n images: PropTypes.arrayOf(PropTypes.string),\n events: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n type: PropTypes.string,\n description: PropTypes.string,\n })\n ),\n meta: PropTypes.shape({\n service: PropTypes.string,\n source: PropTypes.string,\n }),\n updated_at: PropTypes.number,\n })\n ),\n }),\n }),\n};\n\nListingDetail.defaultProps = {\n listing: {},\n};\n\nexport default connect(\n (state) => ({\n listing: state.listing,\n }),\n (dispatch) => ({\n fetchListing: (id) => dispatch(listingActions.fetchListing(id)),\n })\n)(ListingDetail);\n","import React, { useContext, useEffect, useState, useRef, createRef } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Redux\nimport * as contentActions from '../redux/actions/content';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Loader from '../components/elements/Loader';\nimport Container from '../components/layouts/Container';\n\n// Styling\nimport sizes from '../styles/sizes';\nimport colors from '../styles/colors';\nimport textStyles from '../styles/textStyles';\n\nconst Styled = {\n Title: styled.h1`\n margin-bottom: ${sizes.space * 3}px;\n `,\n Item: styled.div`\n overflow: hidden;\n padding: ${sizes.space * 1}px;\n border-radius: 8px;\n margin-bottom: ${sizes.space * 2}px;\n background-color: ${colors.primaryLight};\n transition: height 0.2s ease-in-out;\n `,\n Question: styled.h2`\n ${textStyles.titleSubtle};\n cursor: pointer;\n position: relative;\n display: block;\n margin-bottom: 0;\n padding: ${sizes.space * 3}px ${sizes.space * 8}px ${sizes.space * 3}px ${sizes.space * 3}px;\n transition: color 0.2s ease-in-out;\n\n :hover {\n color: ${colors.primary};\n }\n\n :before,\n :after {\n content: '';\n position: absolute;\n top: 50%;\n right: ${sizes.space * 3}px;\n width: 24px;\n height: 3px;\n background-color: ${colors.black};\n border-radius: 4px;\n }\n\n :before {\n transform: translateY(-50%);\n }\n\n :after {\n transform: translateY(-50%) rotate(90deg);\n }\n\n ${({ active }) =>\n active &&\n `\n :after {\n opacity: 0;\n }\n `}\n `,\n\n Text: styled.div`\n box-sizing: border-box;\n height: 0;\n opacity: 0;\n padding-left: ${sizes.space * 3}px;\n padding-right: ${sizes.space * 4}px;\n pointer-events: none;\n transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, margin-bottom 0.2s ease-in-out;\n\n ${({ active }) =>\n active &&\n `\n margin-bottom: ${sizes.space * 3}px;\n opacity: 1;\n pointer-events: default;\n `}\n `,\n};\n\nconst Faq = ({ fetchContent, content }) => {\n const { langCode } = useContext(I18nContext);\n\n useEffect(() => {\n fetchContent(langCode, 'faq');\n }, []);\n\n const [activeItems, setActiveItems] = useState([]);\n const [accordionDataLoaded, setAccordionDataLoaded] = useState(false);\n\n const refs = useRef([]);\n\n useEffect(() => {\n if (content?.faq?.accordion.length) {\n refs.current = content?.faq?.accordion?.map(\n // eslint-disable-next-line no-return-assign\n (_ref, index) => (refs.current[index] = createRef())\n );\n setAccordionDataLoaded(true);\n }\n }, [content?.faq?.accordion]);\n\n const handleOpenItem = (i) => {\n const element = refs?.current[i]?.current;\n if (activeItems.includes(i)) {\n setActiveItems((oldState) => {\n const newState = oldState.filter((item) => item !== i);\n return newState;\n });\n element.style.height = '0px';\n } else {\n setActiveItems((oldState) => [...oldState, i]);\n element.style.height = `${element.scrollHeight}px`;\n }\n };\n\n return (\n \n \n \n {content?.faq?.title}\n {accordionDataLoaded ? (\n <>\n {content?.faq?.accordion.map((item, i) => (\n // eslint-disable-next-line react/no-array-index-key\n \n handleOpenItem(i)} active={activeItems.includes(i)}>\n {item.question}\n \n \n \n ))}\n >\n ) : (\n \n )}\n \n \n );\n};\n\nFaq.propTypes = {\n fetchContent: PropTypes.func.isRequired,\n content: PropTypes.shape({\n faq: PropTypes.shape({\n meta: PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n }),\n title: PropTypes.string,\n accordion: PropTypes.arrayOf(\n PropTypes.shape({\n question: PropTypes.string,\n answer: PropTypes.string,\n })\n ),\n }),\n }).isRequired,\n};\n\nexport default connect(\n (state) => ({\n content: state.content,\n }),\n (dispatch) => ({\n fetchContent: (locale, page) => dispatch(contentActions.fetchContent(locale, page)),\n })\n)(Faq);\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\n\n// Styling\nimport sizes from '../styles/sizes';\nimport textStyles from '../styles/textStyles';\n\nconst Styled = {\n Title: styled.h1`\n margin-bottom: ${sizes.space * 2}px;\n `,\n Email: styled.a`\n ${textStyles.titleLoud};\n text-decoration: none;\n `,\n};\n\nconst Contact = () => {\n const { translate } = useContext(I18nContext);\n return (\n \n \n \n {translate('app.contact.title')}\n {translate('app.contact.text')}\n \n support@rplace.nl\n \n \n \n );\n};\n\nexport default Contact;\n","import React from 'react';\nimport styled from 'styled-components';\nimport propTypes from 'prop-types';\nimport { RichText } from 'prismic-reactjs';\n\n// Styling\nimport textStyles from '../../styles/textStyles';\nimport colors from '../../styles/colors';\nimport sizes from '../../styles/sizes';\n\nconst Container = styled.div`\n h2 {\n ${textStyles.titleNormal};\n margin-top: ${sizes.space * 4}px;\n margin-bottom: ${sizes.space * 2}px;\n }\n\n a {\n color: ${colors.primary};\n }\n`;\n\nconst Richtext = ({ copy }) => {RichText.render(copy)};\n\nRichtext.propTypes = {\n copy: propTypes.string.isRequired,\n};\n\nexport default Richtext;\n","import React, { useContext, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Redux\nimport * as contentActions from '../redux/actions/content';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\nimport Richtext from '../components/elements/Richtext';\n\n// Styling\nimport sizes from '../styles/sizes';\n\n// Components\nimport Loader from '../components/elements/Loader';\n\nconst StyledTitle = styled.h1`\n margin-bottom: ${sizes.space * 4}px;\n`;\n\nconst Terms = ({ fetchContent, content }) => {\n const { langCode } = useContext(I18nContext);\n\n useEffect(() => {\n fetchContent(langCode, 'disclaimer');\n }, []);\n\n if (!content.disclaimer) {\n return ;\n }\n\n return (\n \n \n \n {content.disclaimer.title}\n \n \n \n );\n};\n\nTerms.propTypes = {\n fetchContent: PropTypes.func.isRequired,\n content: PropTypes.shape({\n disclaimer: PropTypes.shape({\n meta: PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n }),\n title: PropTypes.string,\n copy: PropTypes.string,\n }),\n }).isRequired,\n};\n\nexport default connect(\n (state) => ({\n content: state.content,\n }),\n (dispatch) => ({\n fetchContent: (locale, page) => dispatch(contentActions.fetchContent(locale, page)),\n })\n)(Terms);\n","import React, { useContext, useEffect } from 'react';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\n\n// Redux\nimport * as contentActions from '../redux/actions/content';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\nimport Richtext from '../components/elements/Richtext';\n\n// Styling\nimport sizes from '../styles/sizes';\n\n// Components\nimport Loader from '../components/elements/Loader';\n\nconst StyledTitle = styled.h1`\n margin-bottom: ${sizes.space * 4}px;\n`;\n\n// elsint-disable-next-line\nconst Privacy = ({ fetchContent, content }) => {\n const { langCode } = useContext(I18nContext);\n\n useEffect(() => {\n fetchContent(langCode, 'privacy');\n }, []);\n\n if (!content.privacy) {\n return ;\n }\n\n return (\n \n \n \n {content.privacy.title}\n \n \n \n );\n};\n\nPrivacy.propTypes = {\n fetchContent: PropTypes.func.isRequired,\n content: PropTypes.shape({\n privacy: PropTypes.shape({\n meta: PropTypes.shape({\n title: PropTypes.string,\n description: PropTypes.string,\n }),\n title: PropTypes.string,\n copy: PropTypes.string,\n }),\n }).isRequired,\n};\n\nexport default connect(\n (state) => ({\n content: state.content,\n }),\n (dispatch) => ({\n fetchContent: (locale, page) => dispatch(contentActions.fetchContent(locale, page)),\n })\n)(Privacy);\n","import React, { useContext } from 'react';\nimport styled from 'styled-components';\nimport { useHistory } from 'react-router-dom';\n\n// Constants\nimport paths from '../constants/paths';\n\n// Providers\nimport { I18nContext } from '../providers/I18nContextProvider';\n\n// Components\nimport Seo from '../components/Seo';\nimport Page from '../components/layouts/Page';\nimport Container from '../components/layouts/Container';\nimport Button from '../components/elements/Button';\n\n// Styling\nimport sizes from '../styles/sizes';\n\nconst Styled = {\n Title: styled.h1`\n margin-bottom: ${sizes.space * 2}px;\n `,\n};\n\nconst NotFound = () => {\n const { translate } = useContext(I18nContext);\n const router = useHistory();\n return (\n \n \n \n {translate('app.error.404.title')}\n router.push(paths.home)} />\n \n \n );\n};\n\nexport default NotFound;\n","import React from 'react';\nimport { BrowserRouter as Router, Switch, Route } from 'react-router-dom';\n\n// Constants\nimport paths from './constants/paths';\n\n// Pages\nimport Home from './pages/Index';\n\nimport Questionnaire from './pages/questionnaire/Index';\nimport Buy from './pages/questionnaire/Buy';\nimport Rent from './pages/questionnaire/Rent';\nimport Overview from './pages/questionnaire/Overview';\nimport Edit from './pages/questionnaire/Edit';\nimport Register from './pages/questionnaire/Register';\nimport Success from './pages/questionnaire/Success';\nimport Confirm from './pages/questionnaire/Confirm';\nimport Unsubscribe from './pages/Unsubscribe';\n\nimport LisitingDetail from './pages/ListingDetail';\n\nimport Faq from './pages/Faq';\nimport Contact from './pages/Contact';\nimport Terms from './pages/Terms';\nimport Privacy from './pages/Privacy';\n\nimport NoMatch from './pages/404';\n\nconst RouterComponent = () => (\n \n \n \n\n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n\n \n \n \n);\n\nexport default RouterComponent;\n","import React from 'react';\n\n// Context\nimport AppContext from './context/AppContext';\n\n// componens\nimport FlashNotifications from './components/FlashNotifications';\n\n// Styles\nimport ResetStyle from './styles/reset';\nimport GlobalStyle from './styles/global';\n\nimport Router from './Router';\n\nconst App = () => (\n <>\n \n \n \n \n \n \n >\n);\n\nexport default App;\n","const reportWebVitals = (onPerfEntry) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { createStore, applyMiddleware } from 'redux';\nimport { Provider } from 'react-redux';\nimport axiosMiddleware from 'redux-axios-middleware';\nimport ReduxThunk from 'redux-thunk';\nimport axios from 'axios';\n\nimport reducers from './redux/index';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\n// Providers\nimport I18nContextProvider from './providers/I18nContextProvider';\n\nconst headers = {};\nif (localStorage.getItem('access_token')) {\n headers.Authorization = `Bearer ${localStorage.getItem('access_token')}`;\n}\n\nconst store = createStore(\n reducers,\n applyMiddleware(\n axiosMiddleware(\n axios.create({\n baseURL: process.env.REACT_APP_API_BASE_URL,\n responseType: 'json',\n headers,\n })\n ),\n ReduxThunk\n )\n);\n\nReactDOM.render(\n \n \n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}
{step.text}
\n {listing?.data?.postal} {listing?.data?.city}\n
\n {translate('app.listing.purchase.meterPriceLabel')} {meterPrice}\n
{description}
{translate('app.contact.text')}
\n support@rplace.nl\n