{"version":3,"sources":["components/Apartment/ApartmentSpecs/styles.js","components/Form/ContactFormSelectable/styles.js","components/Developer/DeveloperFormBlocks/DeveloperApartmentSelector/styles.js","components/Developer/DeveloperFormBlocks/DeveloperApartmentSelector/index.tsx","components/Form/ContactFormSelectable/index.tsx"],"names":["Specs","div","props","last","md","SpecsTitle","H3","SpecsChevron","span","isOpen","SpecsContent","SpecItem","P","PSmall","SpecKey","SpecValue","AInline","FormWrapper","attrs","className","id","hugeLight","H3Condensed","FormContainer","split","FormColumns","FormColumn","gutterSmall","lg","gutter","SubjectSelection","ariaRole","MicroText","isActive","FormFooter","FormDisclaimer","p","DeveloperApartmentSelectorWrapper","ApartmentSelectorElement","ApartmentCurrentSelection","TextLinkSecondary","ApartmentSelectorRowContainer","basic","ApartmentSelectorRow","setOpen","selectedProperties","setSelectedProperties","setDeveloperProperties","setFieldValue","pKeys","map","push","key","housingCompanyData","isEmpty","properties","onClick","e","stopPropagation","currentValue","length","filter","label","icon","property","apartmentAddress","totalArea","livingArea","toString","replace","roomTypes","type","checked","includes","onChange","newValues","splice","indexOf","htmlFor","floor","floorAmount","salesPriceUnencumbered","console","log","Formik","then","module","default","ErrorMessage","contactFormStyle","width","initialValues","validationSchema","contactSubmitTimeout","buttonText","children","developer","email","firstName","lastName","message","phone","propertyID","name","postCode","isSubmitted","setSubmitted","subjectIndex","setSubjectIndex","clearTimeout","fallback","onSubmit","values","setSubmitting","resetForm","submitUrl","location","href","formData","Array","isArray","sort","Math","random","slice","doBasicContact","res","window","setTimeout","handleChange","handleBlur","handleSubmit","isSubmitting","aria-label","disabled","onBlur","placeholder","value","component","msg","defaultValue","to","target","CtaButton","text","submitting"],"mappings":"4/BAGO,IAAMA,EAAQ,IAAOC,IAAV,oCAAG,CAAH,iEACW,YAAM,OAAQ,IACxB,SAAAC,GAAK,OAAIA,EAAMC,KAAO,iBAAmB,SAGxD,IAAMC,GALQ,MAULC,EAAa,IAAOJ,IAAV,oCAAG,CAAH,4FAKnB,IAA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AoC,GAAG,OAAI,kBAAC,IAAD,KAAYA,QAGhB3C,GAAkC,QAArBP,IAA+B,oCAChD,kBAAC3D,EAAD,CACCwG,SAAU7B,GAAe2B,EACzBnG,SAA2B,IAAjB0E,EACVnD,QAAS,kBAAMoD,EAAgB,KAHhC,+CAOA,kBAAC9E,EAAD,CACCwG,SAAU7B,GAAe2B,EACzBnG,SAA2B,IAAjB0E,EACVnD,QAAS,kBAAMoD,EAAgB,KAHhC,iDAOA,kBAAC9E,EAAD,CACCwG,SAAU7B,GAAe2B,EACzBnG,SAA2B,IAAjB0E,EACVnD,QAAS,kBAAMoD,EAAgB,KAHhC,uEAWDH,GACD,kBAACvE,EAAD,KACC,kBAACC,EAAD,CAAgBhB,UAAWsE,EAAmB,MAAQ,IAC/B,QAArBA,GAA8B,oCAC9B,kBAAC,IAAD,CACCc,KAAK,iBACLqC,aAAa,2DAEd,8BAEqB,QAArBnD,GAA8B,oJAG/B,kBAAC,OAAD,CAAMoD,GAAG,cAAcC,OAAO,UAA9B,sBAID,kBAACC,EAAA,EAAD,CACCC,KAAMlD,EACNvB,KAAK,SACL+D,SAAUF,EACVa,WAAYb,KAKd3B,GACA,kBAAC,IAAD,KACC,8BACC,kBAAC,IAAD,CAAQ1C,KAAK,WAFf,UAI8B,OAApB0B,EAA4B,wBAAoB,iBAJ1D","file":"assets/js/default-pages-AreaListingPage-pages-AreaPage-pages-DeveloperPage.chunk.js?cb=58b3c343a11303bde952","sourcesContent":["import styled, { css } from 'styled-components';\nimport { color, textStyles, lineHeight, media } from '@utils/style-utils';\n\nexport const Specs = styled.div`\n\tborder-bottom: 1px solid ${ color('grey', 5) };\n\tmargin-bottom: ${ props => props.last ? '0px !important' : '20px' };\n\twidth: 100%;\n\n\t${ media.md`\n\t\tmargin-bottom: 40px;\n\t`}\n`\n\nexport const SpecsTitle = styled.div`\n\talign-items: center;\n\tdisplay: flex;\n\tmargin-bottom: 20px;\n\n\t${ media.md`\n\t\tmargin-bottom: 40px;\n\t`}\n\n\th3 {\n\t\t${ textStyles.H3 }\n\t\tcursor: pointer;\n\t\tmargin: 0;\n\t}\n`\n\nexport const SpecsChevron = styled.span`\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\tflex-grow: 1;\n\tfont-size: 30px;\n\tjustify-content: flex-end;\n\n\tsvg {\n\t\tdisplay: block;\n\t\tmax-width: 14px;\n\t\ttransform: rotate(0deg);\n\t}\n\n\t${ props => props.isOpen && css`\n\t\tsvg {\n\t\t\ttransform: rotate(180deg);\n\t\t}\n\t`}\n`\n\nexport const SpecsContent = styled.div`\n\tdisplay: ${ props => props.isOpen ? 'block' : 'none' };\n\tpadding-bottom: 20px;\n\n\t${ media.md`\n\t\tpadding-bottom: 40px;\n\t`}\n`\n\nexport const SpecItem = styled.div`\n\t${ textStyles.P }\n\t${ textStyles.PSmall }\n\n\tdisplay: flex;\n\tflex-direction: column;\n\tline-height: ${ lineHeight(17, 25) };\n\tmargin-bottom: 17px;\n\twidth: 100%;\n\n\t${ media.md`\n\t\tflex-direction: row;\n\t`}\n\n\t&:last-of-type {\n\t\tmargin-bottom: 0;\n\t}\n`\n\nexport const SpecKey = styled.span`\n\tflex: 1 0 100%;\n\tfont-weight: 500;\n\n\t${ media.md`\n\t\tfont-weight: normal;\n\t\tflex: 1 0 22.5%;\n\t`}\n`\n\nexport const SpecValue = styled.span`\n\tflex: 1 0 100%;\n\n\t${ media.md`\n\t\tflex: 1 0 77.5%;\n\t\tpadding-left: 32px;\n\t`}\n\n\ta {\n\t\t${ textStyles.AInline }\n\t}\n`\n","import styled, { css } from \"styled-components\";\nimport { color, media, textStyles, ribbon, boxShadow, grid } from \"@utils/style-utils\";\n\nexport const FormWrapper = styled.div.attrs(() => ({\n\tclassName: \"contact-form-selectable\",\n\tid: \"contactFormSelectable\",\n}))`\n\tbackground: ${color(\"white\")};\n\tborder: 1px solid ${color(\"grey\", 6)};\n\tborder-radius: 4px;\n\tbox-shadow: ${boxShadow.hugeLight};\n\toverflow: hidden;\n\tpadding: 50px 15px 30px;\n\tposition: relative;\n\n\t@media (min-height: 840px) and (min-width: 992px) {\n\t\tposition: sticky;\n\t\ttop: 30px;\n\t}\n\n\t&::before {\n\t\t${ribbon};\n\t\tcontent: '';\n\t\theight: 6px;\n\t\tleft: 0;\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\twidth: 100%;\n\t}\n\n\t${media.md`\n\t\tpadding: 60px 32px 40px;\n\t`};\n\n\th4 {\n\t\t${textStyles.H3Condensed}\n\t\tmargin: 0 auto 24px;\n\t\ttext-align: center;\n\t}\n\n\t.placeholder-textarea {\n\t\tmargin-bottom: 28px;\n\t\tmargin-top: 16px;\n\t}\n\n\ttextarea {\n\t\tmargin-bottom: 28px;\n\t}\n\n\tbutton {\n\t\tdisplay: block;\n\t\tmax-width: 312px;\n\t\tmargin: 0 auto;\n\t\twidth: 100%;\n\t}\n\n\t.contact-form-pretext {\n\t\t${textStyles.P};\n\t}\n`;\n\nexport const FormContainer = styled.div.attrs(props => ({\n\tclassName: props.split ? \"form-container form-container-split\" : \"form-container\",\n}))`\n\tmargin: 0 auto;\n\tmax-width: 312px;\n`;\n\nexport const FormColumns = styled.div`\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t${props =>\n\t\tprops.split &&\n\t\tcss`\n\t\t\t${media.md`\n\t\t\t\tflex-direction: row;\n\t\t\t\tjustify-content: space-between;\n\t\t\t`};\n\t\t`};\n`;\n\nexport const FormColumn = styled.div`\n\tflex-basis: 100%;\n\n\ttextarea {\n\t\tmargin-top: 16px;\n\t}\n\n\t${props =>\n\t\tprops.split &&\n\t\tcss`\n\t\t\t${media.md`\n\t\t\t\tflex-basis: calc((100% - ${grid.gutterSmall}px) / 2);\n\n\t\t\t\ttextarea,\n\t\t\t\t.placeholder-textarea {\n\t\t\t\t\theight: 96px;\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t}\n\t\t\t`}\n\t\t\t${media.lg`\n\t\t\t\tflex-basis: calc((100% - ${grid.gutter}px) / 2);\n\t\t\t`};\n\t\t`}\n`;\n\nexport const SubjectSelection = styled.div.attrs(() => ({\n\tariaRole: \"button\",\n}))`\n\t${textStyles.MicroText};\n\tcolor: ${color(\"grey\", 2)};\n\tcursor: pointer;\n\tmargin-bottom: 16px;\n\tpadding-left: 26px;\n\tposition: relative;\n\ttransition: color 150ms;\n\n\t&::before {\n\t\tbackground-color: ${color(\"white\")};\n\t\tbackground-image: ${`radial-gradient(circle 8px at 50%, ${color(\"greenBright\", 1)} 50%, transparent 50%)`};\n\t\tbackground-position: 50% 50%;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: 0px;\n\t\tborder: 1px solid ${color(\"grey\", 5)};\n\t\tborder-radius: 50%;\n\t\tcontent: \"\";\n\t\tdisplay: inline-block;\n\t\theight: 16px;\n\t\tleft: 0;\n\t\tposition: absolute;\n\t\ttop: 2px;\n\t\ttransition: background-color 150ms, background-size 150ms, border-color 150ms;\n\t\twidth: 16px;\n\t}\n\n\t&:hover {\n\t\tcolor: ${color(\"grey\", 1)};\n\n\t\t&::before {\n\t\t\tbackground-color: ${color(\"greenBright\", 4)};\n\t\t}\n\t}\n\n\t&[disabled] {\n\t\topacity: 0.7;\n\t\tpointer-events: none;\n\t}\n\n\t${props =>\n\t\tprops.isActive &&\n\t\tcss`\n\t\t\t&::before {\n\t\t\t\tbackground-color: ${color(\"greenBright\", 4)};\n\t\t\t\tbackground-size: 8px;\n\t\t\t\tborder-color: ${color(\"greenBright\", 1)};\n\t\t\t}\n\t\t`};\n`;\n\nexport const FormFooter = styled.div.attrs(() => ({\n\tclassName: \"form-footer\",\n}))`\n\t.form-container-split & {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\n\t\t${media.md`\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding-top: 10px;\n\n\t\t\tbutton {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmax-height: 48px;\n\t\t\t\tmax-width: 193px;\n\t\t\t}\n\t\t`};\n\t}\n`;\n\nexport const FormDisclaimer = styled.p`\n\t${textStyles.MicroText};\n\tcolor: ${color(\"grey\", 3)};\n\tletter-spacing: normal;\n\tmargin: 20px 0;\n\tmax-width: 361px;\n\ttext-align: center;\n\n\t.form-container-split & {\n\t\t${media.md`\n\t\t\tmargin-bottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\ttext-align: left;\n\t\t`};\n\t}\n\n\ta {\n\t\tcolor: ${color(\"greenDark\", 1)};\n\t\tdisplay: block;\n\t\ttext-align: center;\n\t\ttext-decoration: none;\n\n\t\t.form-container-split & {\n\t\t\tmargin-top: 5px;\n\n\t\t\t${media.md`\n\t\t\t\tdisplay: inline;\n\t\t\t\tmargin-top: 0;\n\t\t\t\ttext-align: left;\n\t\t\t`};\n\t\t}\n\n\t\t&:hover {\n\t\t\tcolor: ${color(\"greenDark\", 2)};\n\t\t\ttext-decoration: underline;\n\t\t}\n\t}\n`;\n\nexport const DeveloperApartmentSelectorWrapper = styled.div`\n\tmargin-top: 16px;\n\n\t${media.md`\n\t\tmargin-bottom: 16px;\n\t\tmargin-top: 0;\n\t`};\n`;\n","import styled from \"styled-components\";\nimport { boxShadow, color, textStyles } from \"@utils/style-utils\";\n\nexport const ApartmentSelectorElement = styled.div`\n\tposition: relative;\n`;\n\nexport const ApartmentCurrentSelection = styled.div`\n\t${textStyles.TextLinkSecondary};\n\tborder-radius: 4px;\n\tborder: 1px solid ${color(\"grey\", 5)};\n\tpadding: 11px 16px 8px 16px;\n\tdisplay: flex;\n\n\tspan {\n\t\tcolor: ${color(\"grey\", 1)};\n\t\tcursor: pointer;\n\t\t&::selection {\n\t\t\tbackground: transparent;\n\t\t}\n\t}\n\n\t.apartment-selector-chevron {\n\t\tfont-size: 14px;\n\t\tline-height: 14px;\n\t\tcolor: ${color(\"greenBright\", 1)};\n\t}\n`;\n\nexport const ApartmentSelectorRowContainer = styled.div`\n\tposition: absolute;\n\ttop: 55px;\n\tleft: 0;\n\twidth: 100%;\n\tbackground: ${color(\"white\")};\n\tborder-radius: 4px;\n\tborder: 1px solid ${color(\"grey\", 5)};\n\tbox-shadow: ${boxShadow.basic};\n\tmax-height: 300px;\n\toverflow-y: auto;\n\tz-index: 20;\n\tpadding: 23px 8px;\n`;\n\nexport const ApartmentSelectorRow = styled.div`\n\tdisplay: block;\n\n\tinput[type=\"checkbox\"] {\n\t\tdisplay: none;\n\n\t\t&:checked ~ label {\n\t\t\t.box {\n\t\t\t\tbackground: ${ color('greenBright', 4) };\n\t\t\t\tborder-color: ${ color('greenBright', 1) };\n\n\t\t\t\ti {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tlabel {\n\t\talign-items: flex-start;\n\t\tcolor: ${ color('grey', 2) };\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tfont-size: 17px;\n\t\tline-height: 120%;\n\t\tmargin-bottom: 8px;\n\t\tpadding-top: 8px;\n\t\tborder-radius: 4px;\n\t\ttransition: color 150ms;\n\t\tuser-select: none;\n\n\t\t&:hover:not(:checked) {\n\t\t\t.box {\n\t\t\t\tbackground-color: ${ color('grey', 7) };\n\t\t\t}\n\t\t}\n\n\t\t.box {\n\t\t\tbackground: ${ color('white') };\n\t\t\tborder: 1px solid ${ color('grey', 5) };\n\t\t\tborder-radius: 2px;\n\t\t\tcolor: ${ color('greenBright', 1) };\n\t\t\tcursor: pointer;\n\t\t\tfont-size: 10px;\n\t\t\tdisplay: inline-block;\n\t\t\theight: 16px;\n\t\t\tmargin: -1px 12px 0;\n\t\t\tposition: relative;\n\t\t\ttransition: background-color 150ms, border-color 150ms;\n\t\t\twidth: 16px;\n\t\t\tmin-width: 16px;\n\n\t\t\ti {\n\t\t\t\tdisplay: none;\n\t\t\t\tleft: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 0;\n\t\t\t\ttext-align: center;\n\t\t\t\ttop: 50%;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t}\n\t\t}\n\t\t.label-text {\n\t\t\tpadding: 0;\n\t\t\tmargin: -5px 0 0 0;\n\t\t\tfont-weight: normal; // required for admin, defaults to bold\n\t\t\tP {\n\t\t\t\tpadding: 0;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t.apartment-selector-row__first {\n\t\tmax-height: 52px;\n\t\toverflow: hidden;\n\t}\n\n\t.apartment-selector-row__second {\n\t\t${textStyles.MicroText};\n\t\tcolor: ${color(\"grey\", 2)};\n\t\tmargin: -8px 0 5px 40px;\n\t}\n`;\n","import React, { useEffect, useState } from \"react\";\nimport isEmpty from \"lodash-es/isEmpty\";\nimport {\n\tApartmentCurrentSelection,\n\tApartmentSelectorElement,\n\tApartmentSelectorRow,\n\tApartmentSelectorRowContainer\n} from \"./styles\";\nimport { FontAwesomeIcon as FaIcon } from \"@fortawesome/react-fontawesome\";\nimport { SpecsChevron } from \"@components/Apartment/ApartmentSpecs/styles\";\n\nconst DeveloperApartmentSelector = (props: any) => {\n\n\tconst [isOpen, setOpen] = useState(false);\n\tconst [selectedProperties, setSelectedProperties] = useState([]);\n\tconst { setDeveloperProperties, setFieldValue } = props;\n\n\tuseEffect(() => {\n\t\tif (setDeveloperProperties && typeof(setDeveloperProperties) === 'function') {\n\t\t\tsetDeveloperProperties(selectedProperties);\n\t\t}\n\t\tif (setFieldValue && typeof(setFieldValue) === 'function') {\n\t\t\tlet pKeys = [];\n\t\t\tselectedProperties.map((p) => {\n\t\t\t\tpKeys.push(p.key);\n\t\t\t});\n\t\t\tsetFieldValue(\"propertyID\", pKeys);\n\t\t}\n\t}, [selectedProperties]);\n\n\ttry {\n\t\tconst { housingCompanyData } = props || { housingCompanyData: {} };\n\t\tif (isEmpty(housingCompanyData)) return null;\n\n\t\tconst { properties } = housingCompanyData;\n\t\tif (isEmpty(properties)) return null;\n\n\t\treturn \n\t\t\t {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tsetOpen((currentValue) => {\n\t\t\t\t\t\treturn !currentValue;\n\t\t\t\t\t});\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{selectedProperties.length === 0 && Valitse asunto}\n\t\t\t\t{selectedProperties.length === 1 && {selectedProperties.filter(() => {return true})[0].label}}\n\t\t\t\t{selectedProperties.length > 1 && Valitut asunnot ({selectedProperties.length})}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t{isOpen && \n\t\t\t\t{properties.map((property) => {\n\t\t\t\t\tproperty.label = (property.apartmentAddress || property.key) + \" \" + (property.totalArea || property.livingArea || '').toString().replace('.', ',') + \" m² \" + (property.roomTypes || '');\n\t\t\t\t\treturn \n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\t\tsetSelectedProperties((currentValue) => {\n\t\t\t\t\t\t\t\t\t\tlet newValues = [...currentValue];\n\t\t\t\t\t\t\t\t\t\tif (currentValue.includes(property)) {\n\t\t\t\t\t\t\t\t\t\t\tnewValues.splice(currentValue.indexOf(property), 1);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tnewValues.push(property);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn newValues;\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
{(property.floor || '').toString().length > 1 ? \"Kerros \" + property.floor + \"/\" + (property.floorAmount || property.floor) + \", \" : \"\"}{(property.salesPriceUnencumbered && property.salesPriceUnencumbered.toString().length > 0) ? property.salesPriceUnencumbered.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \" \").replace('.', ',') + \" €\" : \"\"}
\n\t\t\t\t\t
\n\t\t\t\t})}\n\t\t\t
}\n\t\t
;\n\t} catch (e) {\n\t\tconsole.log(e);\n\t\treturn null;\n\t}\n};\n\nexport default DeveloperApartmentSelector;\n","import React, { lazy, Suspense, useState, useEffect } from \"react\";\nimport {\n\tInputGroup,\n\tFormError,\n\tTextarea,\n\tThankYouMessage,\n\tPlaceholder,\n\tPlaceholderButton,\n\tPlaceholderGdpr,\n\tPlaceholderInput,\n\tPlaceholderTextarea,\n\tPlaceholderSelectable,\n} from \"@components/Form/form-styles\";\nimport contactService from \"@services/contact.service\";\nimport { hasWindow } from \"@utils\";\nimport { getSchema } from \"@utils/validators\";\nimport CtaButton from \"@components/Buttons/CtaButton\";\nimport { Link } from \"react-router-dom\";\nimport { FontAwesomeIcon as FaIcon } from \"@fortawesome/react-fontawesome\";\nimport Text from \"wake-react-components/text\";\nimport {\n\tFormWrapper,\n\tFormContainer,\n\tSubjectSelection,\n\tFormDisclaimer,\n\tFormColumns,\n\tFormColumn,\n\tFormFooter, DeveloperApartmentSelectorWrapper,\n} from \"./styles\";\nimport DeveloperApartmentSelector from \"@components/Developer/DeveloperFormBlocks/DeveloperApartmentSelector\";\n\nconst Formik = lazy(() => import(/* webpackPrefetch:true */ \"formik\").then(module => ({ default: module.Formik })));\nconst ErrorMessage = lazy(() =>\n\timport(/* webpackPrefetch:true */ \"formik\").then(module => ({ default: module.ErrorMessage }))\n);\n\nconst FormPlaceholder = ({ split = false, contactFormStyle = \"old\" }) => {\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{contactFormStyle === \"new\" && }\n\t\t\t\t\t\n\t\t\t\t\t{contactFormStyle !== \"new\" && <>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nconst ContactFormSelectable = ({ buttonText = \"Lähetä\", split = false, children = null, developer = null, housingCompanyData = null, contactFormStyle = \"old\" }) => {\n\tlet initialValues, validationSchema;\n\tif (contactFormStyle === \"new\") {\n\t\tinitialValues = {\n\t\t\temail: \"\",\n\t\t\tfirstName: \"\",\n\t\t\tlastName: \"\",\n\t\t\tmessage: \"\",\n\t\t\tphone: \"\",\n\t\t\tpropertyID: [],\n\t\t};\n\t\tvalidationSchema = getSchema([\"firstName\", \"lastName\", \"email\", \"phone\", \"message\", \"propertyID\"]);\n\t} else {\n\t\tinitialValues = {\n\t\t\temail: \"\",\n\t\t\tmessage: \"\",\n\t\t\tname: \"\",\n\t\t\tphone: \"\",\n\t\t\tpostCode: \"\",\n\t\t};\n\t\tvalidationSchema = getSchema([\"name\", \"email\", \"phone\", \"postCode\", \"message\"]);\n\t}\n\n\tlet contactSubmitTimeout: number;\n\tconst [isSubmitted, setSubmitted] = useState(false);\n\tconst [subjectIndex, setSubjectIndex] = useState(contactFormStyle === \"new\" ? 4 : 1);\n\n\tconst doSubmit = async (values, { setSubmitting, resetForm }) => {\n\t\tsetSubmitting(true);\n\n\t\tconst submitUrl = location.href;\n\n\t\tconst formData = {\n\t\t\tsubjectIndex,\n\t\t\tsubmitUrl,\n\t\t\t...values,\n\t\t};\n\n\t\tif (developer) {\n\t\t\tformData.developer = developer;\n\t\t\tif (formData.propertyID && Array.isArray(formData.propertyID)) {\n\t\t\t\tformData.property = formData.propertyID.sort(() => Math.random() - Math.random()).slice(0, 1)[0];\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconst res = await contactService.doBasicContact(formData);\n\t\t\tconsole.log(\"successful form submit\", res);\n\t\t\tsetSubmitting(false);\n\t\t\tsetSubmitted(true);\n\n\t\t\tif (hasWindow) {\n\t\t\t\tcontactSubmitTimeout = window.setTimeout(() => {\n\t\t\t\t\tsetSubmitted(false);\n\t\t\t\t\tresetForm(initialValues);\n\t\t\t\t}, 6000);\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tconsole.log(\"error while sending form..\", e);\n\t\t\tsetSubmitting(false);\n\t\t\tsetSubmitted(false);\n\t\t\tthrow e;\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\t/* clear the reset timeout before component unmounts */\n\t\t\tif (contactSubmitTimeout) {\n\t\t\t\tclearTimeout(contactSubmitTimeout);\n\t\t\t}\n\t\t};\n\t}, []);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t

Ota yhteyttä

\n\t\t\t\t{children &&
{children}
}\n\t\t\t\t{!hasWindow && }\n\t\t\t\t{hasWindow && (\n\t\t\t\t\t}>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{({ values, handleChange, handleBlur, handleSubmit, isSubmitting, setFieldValue }) => (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{contactFormStyle === \"new\" && \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t{contactFormStyle !== \"new\" && \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{!!(contactFormStyle === \"new\" && developer) && \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{msg => {msg}}\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t{!!(!developer || contactFormStyle === \"old\") && <>\n\t\t\t\t\t\t\t\t\t\t\t\t setSubjectIndex(1)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tHaluan keskustella asuntoasioista yleisesti\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t setSubjectIndex(0)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tHaluan lisätietoja tai esittelyn asunnosta\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t setSubjectIndex(2)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tHaluan perustellun hinta-arvion asunnostani Kotikäynnillä\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{!isSubmitted && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{contactFormStyle === \"new\" && <>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t{contactFormStyle !== \"new\" && <>\n\t\t\t\t\t\t\t\t\t\t\t\tVälitämme yhteydenottopyynnön postinumeron perusteella lähimpään\n\t\t\t\t\t\t\t\t\t\t\t\tmyymäläämme. }\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tTietosuojaseloste\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{isSubmitted && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tKiitos { contactFormStyle == \"new\" ? \"varauspyynnöstä\" : \"yhteydenotosta\"}!\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default ContactFormSelectable;\n"],"sourceRoot":""}