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A,GAAAA,UAAA,GAAG,KAClCmc,EAAeC,IAASH,GAC9B,OAAOG,IAASD,EAAc,CAC5BE,UAAW,IACXC,QAAS,IACTC,OAAQL,EACRM,mBAAoBN,EACpBO,QAAS,MACTC,gBAAiB,SAEhB7T,SACA8T,MACL,EAEaC,EAAY,SAACC,GAA0B,IAAhBjc,EAAKZ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,CAAC,EACvCyF,QAAUA,OAAOqX,WACnBrX,OAAOqX,UAAUD,EAAU,CAAEjc,MAAAA,GAEjC,EAEamc,EAAmB,SAACF,EAAUZ,GAAwB,IAAhBrb,EAAKZ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,CAAC,EACtDyF,QAAUA,OAAOqX,WACnBrX,OAAOqX,UAAUD,EAAU,CAAEG,QAAS,CAAEZ,SAAU,MAAOH,OAAQA,GAAUrb,MAAAA,GAE/E,C,mCCvFA,SAFgBqc,E,SAAAA,K","sources":["webpack://sunseasons24/./app/javascript/adapters/Gate.js","webpack://sunseasons24/./app/javascript/components/Elements/Icon.js","webpack://sunseasons24/./app/javascript/components/HOC/withThemeProvider.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Expanded/styles.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Expanded/CloseButton.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Expanded/ModalBox.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Expanded/Modal.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Minimal/styles.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Minimal/CloseButton.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Minimal/ModalBox.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/Minimal/Modal.js","webpack://sunseasons24/./app/javascript/components/Layout/Modal/index.js","webpack://sunseasons24/./app/javascript/hooks/index.js","webpack://sunseasons24/./app/javascript/i18n.js","webpack://sunseasons24/./app/javascript/components/Elements/LocaleSwitcher/styles.js","webpack://sunseasons24/./app/javascript/components/Elements/LocaleSwitcher/index.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/Result.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/AccommodationResult.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/LocationResult.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/PropertyResult.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/styled.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/Search/index.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/styles.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/StaticPageLink.js","webpack://sunseasons24/./app/javascript/components/Layout/Navigation/index.js","webpack://sunseasons24/./app/javascript/modules/navigation/app.js","webpack://sunseasons24/./app/javascript/styles/config.js","webpack://sunseasons24/./app/javascript/translations.js","webpack://sunseasons24/./app/javascript/utils/helpers.js","webpack://sunseasons24/./app/javascript/utils/history.js"],"sourcesContent":["import axios from 'axios';\nimport ReactOnRails from 'react-on-rails';\n\nimport i18next from '../i18n';\n\nconst request = (method, path, options) =>\n axios({\n baseURL: '/gate',\n method,\n url: path,\n ...options,\n headers: {\n 'X-Key-Inflection': 'camel',\n 'Content-Type': 'application/json',\n Locale: i18next.language,\n ...ReactOnRails.authenticityHeaders(options.headers),\n },\n });\n\nconst Gate = {\n get: (path, options = {}) => request('get', path, options),\n post: (path, options = {}) => request('post', path, options),\n delete: (path, options = {}) => request('delete', path, options),\n};\n\nexport default Gate;\n","import cx from 'classnames';\n\nconst Icon = ({ className, name }) => ;\n\nexport default Icon;\n","import { ThemeProvider } from 'styled-components';\nimport theme from 'styles/config';\n\nconst withThemeProvider = WrappedComponent => props =>\n (\n \n \n \n );\n\nexport default withThemeProvider;\n","import Icon from 'components/Elements/Icon';\nimport styled from 'styled-components';\nimport { breakpoints, colors } from 'styles/config';\n\nexport const Container = styled.div`\n display: block;\n width: 100%;\n\n ${breakpoints.desktopUp} {\n margin: 2.4rem;\n background: white;\n }\n`;\n\nexport const ModalContainer = styled.div`\n display: flex;\n height: calc(100% + 0.1rem);\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n align-items: ${props => (props.scrollable ? 'flex-start' : 'center')};\n justify-content: space-around;\n background: ${colors.white};\n overflow-y: auto;\n overflow-x: hidden;\n transform: translated3d(0, 0, 0);\n z-index: 2000;\n\n ${breakpoints.desktopUp} {\n padding: 2.4rem;\n background: rgba(0, 0, 0, 0.7);\n }\n`;\n\nexport const ModalBoxContainer = styled.div`\n position: relative;\n width: 100%;\n min-height: 100%;\n height: auto;\n background: white;\n\n ${breakpoints.desktopUp} {\n width: 50rem;\n min-height: 0;\n height: auto;\n }\n`;\n\nexport const ModalHeader = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: 100%;\n height: 5.4rem;\n border-bottom: 0.1rem solid ${colors.mercury};\n pointer-events: none;\n`;\n\nexport const ModalTitle = styled.div`\n color: ${colors.mineShaft};\n font-size: 1.6rem;\n font-weight: 300;\n`;\n\nexport const ModalContent = styled.div`\n height: auto;\n overflow-x: hidden;\n overflow-scrolling: touch;\n padding: 2rem;\n`;\n\nexport const CloseButton = styled.button`\n position: absolute;\n top: 0;\n right: 0;\n width: 5rem;\n height: 100%;\n background: none;\n border: none;\n pointer-events: auto;\n`;\n\nexport const CloseIcon = styled(Icon)`\n font-size: 1.8rem;\n color: ${colors.sun};\n`;\n","import { CloseButton, CloseIcon } from './styles';\n\nexport default ({ handleCloseClick }) => (\n \n \n \n);\n","import { compose, withProps } from 'recompose';\n\nimport CloseButton from './CloseButton';\nimport { Container, ModalContent, ModalHeader, ModalTitle } from './styles';\n\nconst enhance = compose(\n withProps(props => ({\n handleCloseClick: event => {\n event.preventDefault();\n props.hideModal();\n },\n }))\n);\n\nconst ModalBox = ({ children, handleCloseClick, title }) => (\n \n \n {title}\n \n \n {children}\n \n);\n\nexport default enhance(ModalBox);\n","import * as hooks from 'hooks';\nimport { branch, renderNothing } from 'recompose';\n\nimport ModalBox from './ModalBox';\nimport { ModalContainer } from './styles';\n\nconst Modal = ({ className, visible, children, hideModal, scrollable, title }) => {\n if (!visible) {\n return null;\n }\n\n hooks.useLockBodyScroll();\n\n return (\n \n \n {children}\n \n \n );\n};\n\nexport default Modal;\n","import Icon from 'components/Elements/Icon';\nimport styled from 'styled-components';\nimport { breakpoints, colors } from 'styles/config';\n\nexport const Button = styled.button`\n height: auto;\n margin-bottom: 3rem;\n background: none;\n\n ${breakpoints.tabletPortraitUp} {\n margin-bottom: 2rem;\n }\n`;\n\nexport const CloseIcon = styled(Icon)`\n font-size: 1.8rem;\n color: #aaa;\n`;\n\nexport const ModalBoxContainer = styled.div`\n position: relative;\n width: 100%;\n min-height: 100%;\n height: auto;\n padding: 3rem;\n background: ${colors.white};\n\n ${breakpoints.tabletPortraitUp} {\n width: 55rem;\n min-height: 0;\n height: auto;\n padding: 2rem;\n }\n\n ${breakpoints.tabletLandscapeUp} {\n width: 85rem;\n }\n`;\n\nexport const ModalContainer = styled.div`\n display: flex;\n height: calc(100% + 0.1rem);\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n align-items: ${props => (props.scrollable ? 'flex-start' : 'center')};\n justify-content: space-around;\n background: ${colors.white};\n overflow-y: auto;\n overflow-x: hidden;\n transform: translated3d(0, 0, 0);\n z-index: 2000;\n\n ${breakpoints.tabletPortraitUp} {\n padding: 2.4rem;\n background: rgba(0, 0, 0, 0.7);\n }\n`;\n","import { Button, CloseIcon } from './styles';\n\nconst CloseButton = ({ hideModal }) => (\n \n);\n\nexport default CloseButton;\n","import onClickOutside from 'react-onclickoutside';\nimport { compose, withHandlers } from 'recompose';\n\nimport CloseButton from './CloseButton';\nimport { ModalBoxContainer as Container } from './styles';\n\nconst enhance = compose(\n withHandlers({\n handleClickOutside: props => () => props.hideModal(),\n }),\n onClickOutside\n);\n\nconst ModalBox = ({ children, hideModal }) => (\n \n \n {children}\n \n);\n\nexport default enhance(ModalBox);\n","import * as hooks from 'hooks';\n\nimport ModalBox from './ModalBox';\nimport { ModalContainer } from './styles';\n\nconst Modal = ({ children, className, hideModal, scrollable }) => {\n hooks.useLockBodyScroll();\n\n return (\n \n {children}\n \n );\n};\n\nexport default Modal;\n","import uniqueId from 'lodash/uniqueId';\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\nimport { createPortal } from 'react-dom';\nimport { canUseDOM } from 'utils/helpers';\n\nimport ModalExpanded from './Expanded/Modal';\nimport ModalMinimal from './Minimal/Modal';\n\nconst Modal = ({ minimal, id, visible, title, children, scrollable, hideModal, className }) => {\n const modalTarget = useRef(document.createElement('div'));\n const ModalComponent = useMemo(() => (minimal ? ModalMinimal : ModalExpanded), [minimal]);\n\n const handleKeydown = useCallback(event => {\n if (event.keyCode === 27) {\n hideModal();\n }\n }, []);\n\n useEffect(() => {\n modalTarget.current.className = id || uniqueId('modal-');\n document.body.appendChild(modalTarget.current);\n\n if (visible) {\n document.addEventListener('keydown', handleKeydown, false);\n } else {\n document.removeEventListener('keydown', handleKeydown, false);\n }\n\n return () => {\n document.removeEventListener('keydown', handleKeydown, false);\n document.body.removeChild(modalTarget.current);\n };\n }, [visible]);\n\n if (!visible) {\n return null;\n }\n\n return createPortal(\n \n {children}\n ,\n modalTarget.current\n );\n};\n\nconst withCanUseDOM = Component => props => {\n if (!canUseDOM()) {\n return null;\n }\n return ;\n};\n\nexport default withCanUseDOM(Modal);\n","import queryString from 'query-string';\nimport { useCallback, useEffect, useLayoutEffect, useState } from 'react';\nimport useForceUpdate from 'use-force-update';\nimport history from 'utils/history';\n\nexport const useLockBodyScroll = () => {\n useLayoutEffect(() => {\n // Get original body overflow\n const originalStyle = window.getComputedStyle(document.body).overflow;\n // Prevent scrolling on mount\n document.body.style.overflow = 'hidden';\n // Re-enable scrolling when component unmounts\n return () => (document.body.style.overflow = originalStyle);\n }, []); // Empty array ensures effect is only run on mount and unmount\n};\n\nconst parseSearch = location => queryString.parse(location.search, { arrayFormat: 'comma' });\n\nexport const useHistory = () => {\n const [initialized, setInitialized] = useState(false);\n const forceUpdate = useForceUpdate();\n const [query, setQueryState] = useState({ guests: 2 });\n\n useEffect(() => {\n const unlisten = history.listen(location => {\n setQueryState(parseSearch(location));\n forceUpdate();\n });\n\n return unlisten;\n }, [history]);\n\n useEffect(() => {\n setQueryState(parseSearch(history.location));\n setInitialized(true);\n }, []);\n\n const setQuery = useCallback(\n obj => {\n const newQuery = {\n ...parseSearch(history.location),\n ...obj,\n };\n\n const newQueryString = `?${queryString.stringify(newQuery, {\n arrayFormat: 'comma',\n skipEmptyString: true,\n skipNull: true,\n })}`;\n\n history.push({ search: newQueryString });\n },\n [history.location.search]\n );\n\n return { query, setQuery, initialized };\n};\n","import i18n from 'i18next';\nimport translations from 'translations';\nimport { initReactI18next } from 'react-i18next';\n\nimport LanguageDetector from 'i18next-browser-languagedetector';\n// don't want to use this?\n// have a look at the Quick start guide\n// for passing in lng and translations on init\n\nconst DEFAULT_LANGUAGE = 'pl';\nconst OTHER_LANGUAGES = ['pl', 'en', 'de'];\n\ni18n\n // load translation using http -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)\n // learn more: https://github.com/i18next/i18next-http-backend\n // want your translations to be loaded from a professional CDN? => https://github.com/locize/react-tutorial#step-2---use-the-locize-cdn\n // .use(Backend)\n // detect user language\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\n .use(LanguageDetector)\n // pass the i18n instance to react-i18next.\n .use(initReactI18next)\n // init i18next\n // for all options read: https://www.i18next.com/overview/configuration-options\n .init({\n resources: translations,\n fallbackLng: DEFAULT_LANGUAGE,\n preload: OTHER_LANGUAGES,\n defaultLanguage: DEFAULT_LANGUAGE,\n otherLanguages: OTHER_LANGUAGES,\n fallbackLng: DEFAULT_LANGUAGE,\n whitelist: OTHER_LANGUAGES,\n debug: process.env.NODE_ENV !== 'production',\n preload: ['pl'],\n react: {\n useSuspense: false,\n },\n detection: {\n order: ['path'],\n lookupFromPathIndex: 0,\n caches: false,\n },\n interpolation: {\n escapeValue: false, // not needed for react!!\n formatSeparator: ',',\n format: (value, format) => {\n if (format === 'uppercase') return value.toUpperCase();\n return value;\n },\n },\n });\n\nexport default i18n;\n","import styled, { css } from 'styled-components';\nimport { breakpoints, colors } from 'styles/config';\n\nexport const Container = styled.div.attrs({ id: 'locale-switcher-container' })`\n position: relative;\n height: 100%;\n overflow: visible;\n cursor: pointer;\n`;\n\nexport const CurrentLocale = styled.div`\n display: none;\n\n ${breakpoints.tabletLandscapeUp} {\n display: flex;\n height: 100%;\n padding: 1.5rem 2rem;\n justify-content: flex-start;\n align-items: center;\n padding: 0;\n }\n`;\n\nexport const Image = styled.img`\n width: 1.8rem;\n height: auto;\n margin-right: 1rem;\n`;\n\nexport const LocaleName = styled.span`\n font-size: 1.5rem;\n font-weight: 300;\n vertical-align: middle;\n text-decoration: none;\n color: ${props => props.theme.colors.textDarker};\n`;\n\nexport const CurrentLocaleName = styled(LocaleName)`\n font-size: 1.5rem;\n font-weight: 300;\n color: ${props => props.theme.colors.textDarker};\n`;\n\nexport const Locales = styled.ul`\n display: inline-block;\n height: auto;\n width: 100%;\n\n ${breakpoints.tabletLandscapeUp} {\n display: none;\n position: absolute;\n top: 8rem;\n right: 0;\n background: ${colors.white};\n z-index: 999;\n padding: 0;\n margin-left: 0;\n border: 0.1rem solid ${colors.wildSand};\n\n ${Container}:hover & {\n display: inline-block;\n width: auto;\n }\n }\n\n ${breakpoints.desktopUp} {\n right: auto;\n left: 0;\n }\n`;\n\nexport const Li = styled.li`\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n\n ${props =>\n props.inactive &&\n css`\n pointer-events: none;\n cursor: default;\n opacity: 0.3;\n `}\n\n ${breakpoints.tabletLandscapeUp} {\n display: inline-block;\n width: auto;\n padding: 0;\n }\n`;\n\nexport const Link = styled.a`\n display: flex;\n width: 100%;\n justify-content: flex-start;\n align-items: center;\n padding: 1.5rem 2rem;\n\n &:hover,\n &:focus {\n background: ${props => props.theme.colors.navigation.linkHoverBg};\n }\n\n img {\n margin-right: 0.6rem;\n }\n\n ${breakpoints.tabletLandscapeUp} {\n width: auto;\n min-width: 13rem;\n }\n`;\n","import deFlag from 'images/germany_flag.png';\nimport plFlag from 'images/poland_flag.png';\nimport enFlag from 'images/uk_flag.png';\nimport pull from 'lodash/pull';\nimport React from 'react';\n\nimport { Container, CurrentLocale, CurrentLocaleName, Image, Li, Link, LocaleName, Locales } from './styles';\n\nconst localeData = {\n pl: {\n image: plFlag,\n name: 'Polski',\n },\n en: {\n image: enFlag,\n name: 'English',\n },\n de: {\n image: deFlag,\n name: 'Deutsch',\n },\n};\n\nconst LocaleSwitcher = ({ availableLocales, currentLocale }) => {\n const locales = pull(availableLocales, currentLocale);\n\n return (\n \n \n \n {localeData[currentLocale].name}\n \n \n {locales.map(locale => (\n \n \n \n {localeData[locale].name}\n \n \n ))}\n \n \n \n {localeData[currentLocale].name}\n \n \n \n \n );\n};\n\nexport default LocaleSwitcher;\n","import blank from 'images/blank.jpg';\nimport React from 'react';\nimport styled from 'styled-components';\nimport { breakpoints, colors } from 'styles/config';\n\nconst Container = styled.a`\n display: flex;\n width: 100%;\n background: white;\n align-items: center;\n justify-content: flex-start;\n padding: 1rem 0;\n\n ${breakpoints.tabletLandscapeUp} {\n padding: 1rem;\n\n &:hover {\n background: ${colors.whitesmoke};\n }\n }\n`;\n\nconst Image = styled.img`\n display: block;\n width: 5.5rem;\n margin-right: 1rem;\n\n ${breakpoints.tabletLandscapeUp} {\n width: 9rem;\n margin-right: 2rem;\n }\n`;\n\nconst TextContainer = styled.div`\n display: flex;\n align-items: baseline;\n justify-content: flex-start;\n flex-direction: column;\n\n ${breakpoints.tabletLandscapeUp} {\n flex-direction: row;\n }\n`;\n\nconst Text = styled.div`\n display: inline-block;\n width: auto;\n word-spacing: normal;\n white-space: nowrap;\n`;\n\nconst PrimaryText = styled(Text)`\n font-size: 1.4rem;\n color: ${colors.mineShaft};\n margin-right: 1rem;\n\n ${breakpoints.tabletLandscapeUp} {\n font-size: 1.8rem;\n }\n`;\n\nconst SecondaryText = styled(Text)`\n font-size: 1rem;\n color: ${colors.boulder};\n\n ${breakpoints.tabletLandscapeUp} {\n font-size: 1.4rem;\n }\n`;\n\nconst Result = ({ url, primaryText, secondaryText, thumbnailUrl }) => {\n return (\n \n \n \n {primaryText}\n {secondaryText}\n \n \n );\n};\n\nResult.defaultProps = {\n url: 'https://google.com',\n primaryText: 'Primary',\n secondaryText: null,\n};\n\nexport default Result;\n","import React from 'react';\nimport URI from 'urijs';\n\nimport Result from './Result';\n\nconst AccommodationResult = ({ accommodation, rootUrl, locale }) => {\n const secondaryText = `${accommodation.propertyName}, ${accommodation.locationName}`;\n\n const url = URI(rootUrl)\n .directory(`${locale}/${accommodation.locationSlug}/${accommodation.propertySlug}/${accommodation.slug}`)\n .toString();\n\n return (\n \n );\n};\n\nexport default AccommodationResult;\n","import React from 'react';\nimport URI from 'urijs';\n\nimport Result from './Result';\n\nconst LocationResult = ({ location, locale, rootUrl }) => {\n const url = URI(rootUrl).directory(`${locale}/${location.slug}`).toString();\n\n return ;\n};\n\nexport default LocationResult;\n","import React from 'react';\nimport URI from 'urijs';\n\nimport Result from './Result';\n\nconst PropertyResult = ({ property, locale, rootUrl }) => {\n const url = URI(rootUrl).directory(`${locale}/${property.locationSlug}/${property.slug}`).toString();\n\n return (\n \n );\n};\n\nexport default PropertyResult;\n","import BaseIcon from 'components/Elements/Icon';\nimport styled, { css } from 'styled-components';\nimport { colors } from 'styles/config';\n\nexport const InputContainer = styled.div`\n background: ${colors.whitesmoke};\n box-sizing: border-box;\n position: relative;\n border: 0.1rem solid ${colors.whitesmoke};\n margin-bottom: 1rem;\n`;\n\nexport const Input = styled.input`\n height: 5rem !important;\n min-width: 100%;\n padding: 0.8rem 1.4rem;\n background: none !important;\n border: none;\n font-size: 1.3rem !important;\n font-weight: 300 !important;\n font-family: 'Montserrat';\n letter-spacing: 0.02rem;\n appearance: none;\n\n &:focus {\n outline-offset: 0;\n }\n\n ::placeholder {\n color: ${colors.boulder} !important;\n }\n`;\n\nexport const Icon = styled(BaseIcon)`\n display: flex;\n position: absolute;\n height: 100%;\n width: 4.4rem;\n right: 0;\n top: 0;\n align-items: center;\n justify-content: space-around;\n font-size: 2.1rem;\n color: ${colors.dimgray};\n pointer-events: none;\n`;\n\nexport const Results = styled.div`\n display: inline-block;\n width: 100%;\n margin-top: 2rem;\n`;\n\nexport const ResultGroup = styled.div`\n display: inline-block;\n width: 100%;\n margin-bottom: 1rem;\n`;\n\nexport const ResultGroupTitle = styled.h5`\n display: block;\n width: 100%;\n margin-bottom: 1rem;\n text-transform: uppercase;\n color: ${colors.dimgray};\n letter-spacing: 0.02rem;\n font-size: 1.4rem;\n`;\n\nexport const LoadingContainer = styled.div`\n display: flex;\n width: 100%;\n padding: 1rem 0;\n align-items: center;\n justify-content: flex-start;\n`;\n","import Gate from 'adapters/Gate';\nimport Modal from 'components/Layout/Modal';\nimport debounce from 'lodash/debounce';\nimport React, { createRef, useCallback, useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Loading from 'react-loading';\nimport { colors } from 'styles/config';\n\nimport AccommodationResult from './AccommodationResult';\nimport LocationResult from './LocationResult';\nimport PropertyResult from './PropertyResult';\nimport Result from './Result';\nimport * as Styled from './styled';\n\nconst Search = ({ rootUrl, locale, isOpen, onClose }) => {\n const { t } = useTranslation();\n\n const input = createRef();\n const [query, setQuery] = useState('');\n const [results, setResults] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n\n const delayedQuery = useCallback(\n debounce(query => {\n setIsLoading(true);\n\n Gate.get(`/search/${query}`)\n .then(({ data }) => {\n if (data.results && data.results.data) {\n setResults(data.results.data.map(result => result.attributes));\n }\n })\n .catch(error => {\n console.error(error);\n })\n .finally(() => {\n setIsLoading(false);\n });\n }, 500),\n []\n );\n\n useEffect(() => {\n if (isOpen) {\n input.current.focus();\n }\n }, [isOpen, input]);\n\n const accommodations = useMemo(() => {\n return results.filter(result => result.type === 'Accommodation');\n }, [results]);\n\n const properties = useMemo(() => {\n return results.filter(result => result.type === 'Property');\n }, [results]);\n\n const locations = useMemo(() => {\n return results.filter(result => result.type === 'Location');\n }, [results]);\n\n const handleChange = useCallback(e => {\n const newValue = e.target.value;\n\n setQuery(newValue);\n\n if (newValue.length) {\n delayedQuery(newValue);\n } else {\n setResults([]);\n }\n }, []);\n\n return (\n \n \n
{t('searchModal.title')}
\n
\n \n \n {isLoading ? (\n
\n \n \n ) : null}\n
\n {query.length ? (\n <>\n {!isLoading && query.length && !results.length ? t('searchModal.noResults') : null}\n {locations.length ? (\n \n {t('searchModal.locations')}\n {locations.map(location => (\n \n ))}\n \n ) : null}\n {properties.length ? (\n \n {t('searchModal.properties')}\n {properties.map(property => (\n \n ))}\n \n ) : null}\n {accommodations.length ? (\n \n {t('searchModal.accommodations')}\n {accommodations.map(accommodation => (\n \n ))}\n \n ) : null}\n >\n ) : null}\n \n
\n \n );\n};\n\nexport default Search;\n","import styled from 'styled-components';\nimport { breakpoints, colors } from 'styles/config';\n\nexport const Navigation = styled.nav`\n height: 100%;\n align-items: center;\n flex-grow: 2;\n justify-content: flex-end;\n position: static;\n padding-top: 0;\n background: none;\n box-shadow: none;\n`;\n\nexport const Inner = styled.div`\n display: flex;\n align-items: center;\n overflow: visible;\n height: 100%;\n z-index: 2003;\n`;\n\nexport const Link = styled.a`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 100%;\n padding: 1.5rem 2rem;\n border-bottom: 0.1rem solid ${colors.wildSand};\n color: ${props => props.theme.colors.textDarker};\n font-size: 1.5rem;\n font-weight: 300;\n text-decoration: none;\n letter-spacing: 0.01rem;\n\n &:hover,\n &:focus {\n background: ${props => props.theme.colors.navigation.linkHoverBg};\n }\n\n &.accent {\n display: flex;\n align-items: center;\n justify-content: space-around;\n color: ${colors.white};\n background: ${colors.mariner};\n }\n\n ${breakpoints.tabletLandscapeUp} {\n display: flex;\n width: auto;\n height: 100%;\n margin-right: ${props => (props.last ? '2rem' : '3rem')};\n padding: 0;\n border-bottom: 0;\n\n &:hover,\n &:focus {\n background: none;\n }\n\n &.accent {\n padding: 0 2rem;\n height: 4.5rem;\n }\n }\n`;\n","import React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport URI from 'urijs';\n\nimport { Link } from './styles';\n\nconst StaticPageLink = ({ rootUrl, locale, page }) => {\n const { t } = useTranslation();\n const routeName = t(`routes.${page}`);\n\n const url = URI(rootUrl).path(`${locale}/${routeName}`).toString();\n\n return {t(`navigation.${page}`)};\n};\n\nexport default StaticPageLink;\n","import { MenuOutlined } from '@ant-design/icons';\nimport { Drawer } from 'antd';\nimport LocaleSwitcher from 'components/Elements/LocaleSwitcher';\nimport React, { useCallback, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport Search from './Search';\nimport StaticPageLink from './StaticPageLink';\nimport { Inner, Link, Navigation as NavigationContainer } from './styles';\n\nconst Navigation = ({ rootUrl, blogUrl, availableLocales, currentLocale }) => {\n const { t } = useTranslation();\n const [isSearchModalOpen, setSearchModalOpen] = useState(false);\n const [isSideMenuOpen, setSideMenuOpen] = useState(false);\n\n const hideSideMenu = useCallback(() => {\n setSideMenuOpen(false);\n }, []);\n\n const showSideMenu = useCallback(e => {\n e.preventDefault();\n setSideMenuOpen(true);\n }, []);\n\n const closeSearchModal = useCallback(() => {\n setSearchModalOpen(false);\n }, []);\n\n const handleSearchClick = useCallback(event => {\n event.preventDefault();\n hideSideMenu();\n setSearchModalOpen(true);\n }, []);\n\n return (\n \n \n \n \n {' '}\n \n Blog\n \n \n \n {t('searchModal.navigationItem')}\n \n \n \n \n \n \n \n \n Blog\n \n \n \n {t('searchModal.navigationItem')}\n \n \n \n \n \n \n );\n};\n\nexport default Navigation;\n","import withThemeProvider from 'components/HOC/withThemeProvider';\nimport Navigation from 'components/Layout/Navigation';\n\nexport default withThemeProvider(Navigation);\n","/*\n * COLORS\n */\n\nexport const colors = {\n black: '#000000',\n boulder: '#797676',\n cinnabar: '#DC3A1D',\n concrete: '#f2f2f2',\n dimgray: '#555555',\n error: '#FFECEC',\n facebook: '#3B5998',\n gainsboro: '#E2E2E2',\n goldenTainoi: '#FFC554',\n gray: '#8E8E8E',\n grayRGB: '142, 142, 142',\n honeydew: '#F1FFF3',\n info: '#ECF6FF',\n infoBorder: '#48A2E8',\n lightgreen: '#81DC8E',\n lima: '#7ED321',\n limedSpruce: '#3B4549',\n mariner: '#2E79C6',\n mercury: '#E7E7E7',\n mineShaft: '#3D3D3D',\n mistyrose: '#FFE8E9',\n red: '#FF0523',\n seashell: '#F1F1F1',\n shark: '#2B2D2E',\n silver: '#CDCDCD',\n success: '#F5FFF5',\n successBorder: '#9FDD9F',\n sun: '#FBAD17',\n twitter: '#4099FF',\n warning: '#FFF6EC',\n warningBorder: '#FBAD17',\n white: '#FFF',\n whitesmoke: '#EFEFEF',\n wildSand: '#F5F5F5',\n wildSandDarker: '#E3E3E3',\n};\n\n/*\n * BREAKPOINTS\n */\n\nexport const breakpoints = {\n smallPhoneOnly: '@media (max-width: 349px)',\n phoneOnly: '@media (max-width: 499px)',\n phoneLandscapeUp: '@media (min-width: 500px)',\n tabletPortraitUp: '@media (min-width: 600px)',\n tabletLandscapeUp: '@media (min-width: 900px)',\n desktopUp: '@media (min-width: 1200px)',\n bigDesktopUp: '@media (min-width: 1800px)',\n};\n\n/*\n * SIZES\n */\n\nexport const sizes = {\n sideWidth: '30rem',\n};\n\n/*\n * ICONS\n */\n\nexport const icons = {\n iconPhoneOld: '\\\\e922',\n iconPhoneHandset: '\\\\e921',\n iconLock: '\\\\e920',\n iconPicture: '\\\\e91b',\n iconSun: '\\\\e91c',\n iconCoffeeCup: '\\\\e91d',\n iconDinner: '\\\\e91e',\n iconMap: '\\\\e91f',\n iconFacebook: '\\\\e91a',\n iconFacebookF: '\\\\e91a',\n iconToggle: '\\\\e919',\n iconPencil: '\\\\e802',\n iconSliders: '\\\\e917',\n iconSort: '\\\\e918',\n iconHome: '\\\\e915',\n iconFilter: '\\\\e912',\n iconArrowLeft: '\\\\e90e',\n iconArrowRight: '\\\\e90f',\n iconBed: '\\\\e900',\n iconClose: '\\\\e916',\n iconDot: '\\\\e905',\n iconFacebookSquare: '\\\\e914',\n iconFrom: '\\\\e906',\n iconGuests: '\\\\e907',\n iconKey: '\\\\e903',\n iconLinkedinSquare: '\\\\e913',\n iconMoney: '\\\\e904',\n iconPhone: '\\\\e90c',\n iconPin: '\\\\e908',\n iconRoomType: '\\\\e90a',\n iconSearch: '\\\\e90b',\n iconSurface: '\\\\e901',\n iconTick: '\\\\e902',\n iconTickCircle: '\\\\e90d',\n iconTo: '\\\\e909',\n iconTwitter: '\\\\e911',\n iconTwitterSquare: '\\\\e910',\n};\n\nexport default {\n colors: {\n border: '#e7e7e7',\n error: '#FFECEC',\n info: '#ECF6FF',\n infoBorder: '#48A2E8',\n primary: '#fbad18',\n secondary: '#7ED321',\n success: '#F5FFF5',\n successBorder: '#9FDD9F',\n text: '#8E8E8E',\n textDarker: '#3d3d3d',\n warning: '#FFF6EC',\n warningBorder: '#FBAD17',\n navigation: {\n linkHoverBg: colors.wildSand,\n },\n },\n};\n","/* eslint-disable */\nexport default {\n pl: {\n translation: {\n routes: {\n search: 'szukaj',\n booking: 'rezerwacja',\n payment: 'platnosc',\n mission_and_values: 'misja-i-wartosci',\n about_the_company: 'o-firmie',\n terms_and_conditions_of_service: 'regulamin',\n terms_and_conditions_of_loyalty_card: 'regulamin-karta-stalego-goscia',\n privacy_policy: 'polityka-prywatnosci',\n contact_us: 'kontakt',\n owners: 'wlasciciele',\n partners: 'partnerzy',\n investments: 'inwestycje',\n 'payment-error': 'platnosc/blad',\n },\n navigation: {\n contact: 'Kontakt',\n login: 'Zaloguj',\n logout: 'Wyloguj',\n register: 'Zarejestruj się',\n email: 'E-mail',\n password: 'Hasło',\n incorrect_credentials: 'Nieprawidłowy e-mail lub hasło.',\n registration_failed: 'Coś poszło nie tak. Spróbuj ponownie.',\n registration_success: 'Konto utworzone, zaloguj się.',\n first_name: 'Imię',\n last_name: 'Nazwisko',\n phone: 'Telefon',\n country: 'Kraj',\n terms_accept: 'Akceptuję Regulamin Świadczenia Usług',\n offers_accept: 'Chcę otrzymywać vouchery, porady turystyczne oraz aktualności.',\n about_us: 'O nas',\n about_the_company: 'O firmie',\n mission_and_values: 'Misja i Wartości',\n terms_and_conditions_of_service: 'Regulamin Świadczenia Usług',\n terms_and_conditions_of_loyalty_card: 'Regulamin Karty Stałego Gościa',\n privacy_policy: 'Polityka prywatności',\n contact_us: 'Kontakt',\n partnership: 'Współpraca',\n owners: 'Właściciele',\n partners: 'Partnerzy',\n investments: 'Inwestycje',\n },\n searchModal: {\n navigationItem: 'Szukaj',\n title: 'Wyszukiwanie',\n noResults: 'Brak wyników',\n inputPlaceholder: 'Np. miejscowość, obiekt, apartament',\n accommodations: 'Apartamenty',\n properties: 'Obiekty',\n locations: 'Miejscowości',\n },\n searchForm: {\n arrival: 'Przyjazd',\n departure: 'Wyjazd',\n location: 'Lokalizacja',\n clear: 'Wyczyść',\n searchApartments: 'Wyszukaj apartament:',\n searchText: 'Szukaj',\n locationGroups: {\n mountains: 'Góry',\n seaside: 'Morze',\n regions: 'Według regionu',\n },\n },\n bookingPage: {\n form: {\n bookNow: 'Zarezerwuj i zapłać',\n termsAccept: 'Przeczytałem i akceptuję <2>Regulamin Świadczenia Usług2> i <6>Zasady Rezerwacji6>',\n bookingPolicies: 'Zasady rezerwacji',\n privacyPolicy: 'Polityka Prywatności',\n privacyPolicyText:\n 'Poprzez kliknięcie przycisku „Zarezerwuj i zapłać” wyrażasz zgodę na przetwarzanie Twoich danych osobowych w celu realizacji rezerwacji. Administratorem twoich danych jest SALUS - HRM Sp. z o.o., pl. Powstańców Śląskich 17A/222, 53-329 Wrocław',\n guaranteeText:\n 'Rezerwacja gwarantowana jest przez 18 godzin. Informacje dotyczące płatności oraz szczegóły rezerwacji automatycznie zostaną przesłane na podany adres e-mail.',\n },\n steps: {\n place: 'Miejsce',\n yourDetails: 'Twoje dane',\n payment: 'Płatność',\n summary: 'Podsumowanie',\n },\n summary: {\n summary: 'Podsumowanie',\n arrival: 'Przyjazd:',\n departure: 'Wyjazd:',\n guests: 'Liczba gości:',\n costs: 'Koszty',\n total: 'Razem:',\n prepayment: 'Przedpłata',\n uponArrival: 'Na miejscu',\n },\n },\n costCalculation: {\n clear: 'Wyczyść',\n change: 'Zmień',\n yourStay: 'Twój pobyt',\n total: 'Razem',\n prepayment: 'Przedpłata',\n uponArrival: 'Na miejscu',\n bookNow: 'Zarezerwuj teraz',\n book: 'Rezerwuj',\n costsSummary: 'Podsumowanie kosztów:',\n chooseDates: 'Wybierz termin',\n additionalCosts: {\n serviceCharge: 'Opłata serwisowa',\n touristTaxTotal: 'Opłata klimatyczna',\n },\n summaryNightsCount_zero: '0 nocy × {{price}}',\n summaryNightsCount_one: '1 noc × {{price}}',\n summaryNightsCount_two: '{{count}} noce × {{price}}',\n summaryNightsCount_few: '{{count}} noce × {{price}}',\n summaryNightsCount_many: '{{count}} nocy × {{price}}',\n summaryNightsCount_other: '{{count}} nocy × {{price}}',\n form: {\n arrival: 'Przyjazd:',\n departure: 'Wyjazd:',\n guests: 'Liczba gości:',\n messages: {\n available: 'Termin jest dostępny. Zarezerwuj teraz!',\n unavailable: 'Termin jest niedostępny. Spróbuj znaleźć inny termin.',\n chooseTerm: 'Wybierz termin pobytu i liczbę gości.',\n minNightsUnfulfilled: 'W tym terminie minimalna liczba nocy wynosi {{count}}.',\n },\n },\n },\n payment: {\n title: 'Płatność',\n waiting: 'Oczekiwanie na potwierdzenie płatności...',\n },\n thankYou: {\n title: 'Dziękujemy za dokonanie płatności.',\n line1: 'Cieszymy się, że będziesz wypoczywać razem z nami.',\n line2: 'Wkrótce otrzymasz wiadomość e-mail potwierdzającą Twoją rezerwację.',\n line3: 'W razie potrzeby skontaktuj się z Centrum Obsługi Klienta:',\n phone: 'Telefon:',\n email: 'E-mail:',\n },\n paymentError: {\n title: 'Dokończ swoją rezerwację.',\n line1: 'Aby potwierdzić rezerwację konieczne jest dokonanie płatności.',\n line2: 'Kliknij <1>tutaj1>, aby zapłacić.',\n },\n searchPage: {\n resultsCount_zero: '<0>{{location}}:0> nie znaleziono dostępnych apartamentów',\n resultsCount_one: '<0>{{location}}:0> znaleziono <3>{{count}}3> apartament',\n resultsCount_two: '<0>{{location}}:0> znaleziono <3>{{count}}3> apartamenty',\n resultsCount_few: '<0>{{location}}:0> znaleziono <3>{{count}}3> apartamenty',\n resultsCount_many: '<0>{{location}}:0> znaleziono <3>{{count}}3> apartamentów',\n resultsCount_other: '<0>{{location}}:0> znaleziono <3>{{count}}3> apartamentów',\n resultsCountNoLocation_zero: 'Nie znaleziono dostępnych apartamentów',\n resultsCountNoLocation_one: 'Znaleziono <1>{{count}}1> apartament',\n resultsCountNoLocation_two: 'Znaleziono <1>{{count}}1> apartamenty',\n resultsCountNoLocation_few: 'Znaleziono <1>{{count}}1> apartamenty',\n resultsCountNoLocation_many: 'Znaleziono <1>{{count}}1> apartamentów',\n resultsCountNoLocation_other: 'Znaleziono <1>{{count}}1> apartamentów',\n },\n from: 'od',\n book: 'Rezerwuj',\n accommodationNameFormatted: '<1>Apartament1> <0>{{accommodationName}}0>',\n bedroomCount_zero: 'Studio',\n bedroomCount_one: '1 sypialnia',\n bedroomCount_two: '{{count}} sypialnie',\n bedroomCount_few: '{{count}} sypialnie',\n bedroomCount_many: '{{count}} sypialni',\n bedroomCount_other: '{{count}} sypialni',\n guestCount_zero: '{{count}} gości',\n guestCount_one: '{{count}} gość',\n guestCount_two: '{{count}} gości',\n guestCount_few: '{{count}} gości',\n guestCount_many: '{{count}} gości',\n guestCount_other: '{{count}} gości',\n checkOnMap: 'Sprawdź na mapie',\n forms: {\n errors: {\n required: 'Pole jest wymagane',\n email: 'Niepoprawny format e-mail',\n },\n },\n },\n },\n en: {\n translation: {\n routes: {\n search: 'search',\n booking: 'booking',\n payment: 'payment',\n mission_and_values: 'mission-and-values',\n about_the_company: 'about-the-company',\n terms_and_conditions_of_service: 'terms-and-conditions-of-service',\n terms_and_conditions_of_loyalty_card: 'terms-and-conditions-loyalty-card',\n privacy_policy: 'privacy-policy',\n contact_us: 'contact-us',\n owners: 'owners',\n partners: 'partners',\n investments: 'investments',\n 'payment-error': 'payment/error',\n },\n navigation: {\n contact: 'Contact',\n login: 'Login',\n logout: 'Logout',\n register: 'Register',\n email: 'E-mail',\n password: 'Password',\n incorrect_credentials: 'Invalid e-mail or password.',\n registration_failed: 'Something went wrong. Try again.',\n registration_success: 'Account created, you can log in.',\n first_name: 'First name',\n last_name: 'Last name',\n phone: 'Phone',\n country: 'Country',\n terms_accept: 'I accept the Terms of service.',\n offers_accept: \"I'd like to receive vouchers, travel tips and news.\",\n about_us: 'About us',\n about_the_company: 'About the Company',\n mission_and_values: 'Mission and Values',\n terms_and_conditions_of_service: 'Terms and Conditions of Service',\n terms_and_conditions_of_loyalty_card: 'Terms and conditions of Loyalty Card Program',\n privacy_policy: 'Privacy policy',\n contact_us: 'Contact us',\n partnership: 'Partnership',\n owners: 'Owners',\n partners: 'Partners',\n investments: 'Investments',\n },\n searchModal: {\n navigationItem: 'Search',\n title: 'Search',\n noResults: 'No results',\n inputPlaceholder: 'E.g. city, property, apartment',\n accommodations: 'Apartments',\n properties: 'Properties',\n locations: 'Locations',\n },\n searchForm: {\n arrival: 'Arrival',\n departure: 'Departure',\n location: 'Location',\n clear: 'Clear',\n searchApartments: 'Search apartments:',\n searchText: 'Search',\n locationGroups: {\n mountains: 'Mountains',\n seaside: 'Seaside',\n regions: 'By region',\n },\n },\n bookingPage: {\n form: {\n bookNow: 'Book now & pay',\n book: 'Book now',\n termsAccept: 'I have read and accepted the <2>Terms of service2> and <6>Booking policies6>',\n bookingPolicies: 'Booking policies',\n privacyPolicy: 'Privacy Policy',\n privacyPolicyText:\n 'By clicking the „Book now & pay” button you agree to the processing of your personal data in order to complete the reservation. The administrator of your personal data is SALUS - HRM Sp. z o.o., pl. Powstańców Śląskich 17A/222, 53-329 Wrocław',\n guaranteeText:\n 'The reservation is guaranteed for 18 hours. Payment information and booking details will be automatically sent to the email address provided.',\n },\n steps: {\n place: 'Place',\n yourDetails: 'Your details',\n payment: 'Payment',\n summary: 'Summary',\n },\n summary: {\n summary: 'Summary',\n arrival: 'Arrival:',\n departure: 'Departure:',\n guests: 'Guests:',\n costs: 'Costs',\n total: 'Total:',\n prepayment: 'Prepayment',\n uponArrival: 'Upon arrival',\n },\n },\n costCalculation: {\n clear: 'Clear',\n change: 'Change',\n yourStay: 'Your stay',\n total: 'Total',\n prepayment: 'Prepayment',\n uponArrival: 'Upon arrival',\n bookNow: 'Book now',\n book: 'Book now',\n costsSummary: 'Costs summary:',\n chooseDates: 'Choose dates',\n additionalCosts: {\n serviceCharge: 'Service charge',\n touristTaxTotal: 'Tourist tax',\n },\n summaryNightsCount: '{{count}} nights × {{price}}',\n form: {\n arrival: 'Arrival:',\n departure: 'Departure:',\n guests: 'Guests:',\n messages: {\n available: 'Dates available. Book now!',\n unavailable: 'Dates unavailable. Try with a different daterange.',\n chooseTerm: 'Choose the dates of your stay and the number of guests.',\n minNightsUnfulfilled: 'The minimum number of nights for these dates is {{count}}.',\n },\n },\n },\n payment: {\n title: 'Payment',\n waiting: 'Awaiting payment confirmation',\n },\n thankYou: {\n title: 'Thank you for making the payment.',\n line1: 'We are very glad that you will stay at our apartments.',\n line2: 'You will receive an email confirming your booking shortly.',\n line3: 'In case of any questions, contact our Customer Service:',\n phone: 'Phone:',\n email: 'E-mail:',\n },\n paymentError: {\n title: 'Finish your reservation.',\n line1: 'It is necessary to make a payment to confirm the reservation.',\n line2: 'Click <1>here1> to make the payment.',\n },\n searchPage: {\n resultsCount: '<0>{{location}}:0> displaying <3>{{count}}3> apartments',\n resultsCountNoLocation: 'Displaying <1>{{count}}1> apartments',\n },\n from: 'from',\n book: 'Book',\n accommodationNameFormatted: '<0>{{accommodationName}}0><1>Apartment1>',\n bedroomCount_zero: 'Studio',\n bedroomCount_one: '1 bedroom',\n bedroomCount_other: '{{count}} bedrooms',\n guestCount_one: '1 guest',\n guestCount_other: '{{count}} guests',\n checkOnMap: 'Check on a map',\n forms: {\n errors: {\n required: 'Field is required',\n email: 'Incorrect e-mail format',\n },\n },\n },\n },\n de: {\n translation: {\n routes: {\n search: 'suche',\n booking: 'buchung',\n payment: 'zahlung',\n mission_and_values: 'mission-und-verte',\n about_the_company: 'uber-die-firma',\n terms_and_conditions_of_service: 'allgemeine-geschaftsbedingungen',\n terms_and_conditions_of_loyalty_card: 'allgemeine-geschaeftsbedingungen-stammkundenkarte',\n privacy_policy: 'datenschutzerklarung',\n contact_us: 'kontakt',\n owners: 'besitzer',\n partners: 'partner',\n investments: 'investitionen',\n 'payment-error': 'zahlung/error',\n },\n navigation: {\n contact: 'Kontakt',\n login: 'Login',\n logout: 'Ausloggen',\n register: 'Registrieren',\n email: 'E-mail',\n password: 'Passwort',\n incorrect_credentials: 'Ungültige E-mail or Passwort',\n registration_failed: 'Etwas ist schief gelaufen. Versuch es noch einmal.',\n registration_success: 'Konto erstellt, Sie können sich anmelden.',\n first_name: 'Vorname',\n last_name: 'Nachname',\n phone: 'Telefon',\n country: 'Land',\n terms_accept: 'Ich akzeptiere die Servicebedingungen',\n offers_accept: 'Ich möchte Gutscheine, Reisetipps und Neuigkeiten erhalten.',\n about_us: 'Über uns',\n about_the_company: 'Über die Firma',\n mission_and_values: 'Mission und Werte',\n terms_and_conditions_of_service: 'Allgemeine Geschäftsbedingungen',\n terms_and_conditions_of_loyalty_card: 'Reglement des Programms STAMMKUNDENKARTE',\n privacy_policy: 'Datenschutzerklärung',\n contact_us: 'Kontakt',\n partnership: 'Partnerschaft',\n owners: 'Besitzer',\n partners: 'Partner',\n investments: 'Investitionen',\n },\n searchModal: {\n navigationItem: 'Suche',\n title: 'Suche',\n noResults: 'Keine Suchergebnisse',\n inputPlaceholder: 'Z.B. Stadt, Aparthotel, Apartment',\n accommodations: 'Apartments',\n properties: 'Aparthotels',\n locations: 'Standorte',\n },\n searchForm: {\n arrival: 'Ankunft',\n departure: 'Abfahrt',\n location: 'Lage',\n clear: 'Klar',\n searchApartments: 'Apartment suchen:',\n searchText: 'Suche',\n locationGroups: {\n mountains: 'Berge',\n seaside: 'Meer',\n regions: 'nach Region',\n },\n },\n bookingPage: {\n form: {\n bookNow: 'Buche jetzt und zahlen Sie',\n termsAccept:\n 'Ich habe die Bedingungen gelesen und akzeptiert die <2>Allgemeine Geschäftsbedingungen2> und <6>Buchungsrichtlinien6>',\n bookingPolicies: 'Buchungsrichtlinien',\n privacyPolicy: 'Datenschutzerklärung',\n privacyPolicyText:\n 'Durch Klicken auf die Schaltfläche „Buche jetzt und zahlen Sie” stimmen Sie der Verarbeitung Ihrer persönlichen Daten zu, um die Reservierung abzuschließen. Der Administrator Ihrer Daten ist SALUS - HRM Sp. Z oo. z o.o., pl. Powstańców Śląskich 17A / 222, 53-329 Wrocław',\n guaranteeText:\n 'Die Reservierung ist für 18 Stunden garantiert. Zahlungsinformationen und Buchungsdetails werden automatisch an die angegebene E-Mail-Adresse gesendet.',\n },\n steps: {\n place: 'Ort',\n yourDetails: 'Deine Details',\n payment: 'Zahlung',\n summary: 'Zusammenfassung',\n },\n summary: {\n summary: 'Zusammenfassung',\n arrival: 'Ankunft:',\n departure: 'Abfahrt:',\n guests: 'Gäste:',\n costs: 'Kosten',\n total: 'Summe:',\n prepayment: 'Vorauszahlung',\n uponArrival: 'Bei Ankunft',\n },\n },\n costCalculation: {\n clear: 'Klar',\n change: 'Ändern',\n yourStay: 'Dein Aufenthalt',\n total: 'Gesamt',\n prepayment: 'Vorauszahlung',\n uponArrival: 'Bei Ankunft',\n bookNow: 'Buche jetzt',\n book: 'Buche',\n costsSummary: 'Kostenübersicht:',\n chooseDates: 'Wählen Sie Daten',\n additionalCosts: {\n serviceCharge: 'Servicegebühr',\n touristTaxTotal: 'Kurtaxe',\n },\n summaryNightsCount: '{{count}} Nächte × {{price}}',\n form: {\n arrival: 'Ankunft:',\n departure: 'Abreise:',\n guests: 'Gäste:',\n messages: {\n available: 'Termine verfügbar. Buchen Sie jetzt!',\n unavailable: 'Termine nicht verfügbar. Versuchen Sie es mit einem anderen Datumsbereich.',\n chooseTerm: 'Wählen Sie die Daten Ihres Aufenthalts und die Anzahl der Gäste.',\n minNightsUnfulfilled: 'Die Mindestanzahl von Nächten für diese Daten ist {{count}}.',\n },\n },\n },\n payment: {\n title: 'Zahlung',\n waiting: 'Warten auf Bestätigung der Zahlung',\n },\n thankYou: {\n title: 'Vielen Dank für die Zahlung.',\n line1: 'Wir sind sehr froh, dass Sie in unseren Wohnungen bleiben werden.',\n line2: 'Sie erhalten in Kürze eine E-Mail zur Bestätigung Ihrer Buchung.',\n line3: 'Wenden Sie sich bei Fragen an unseren Kundenservice:',\n phone: 'Telefon:',\n email: 'E-mail:',\n },\n paymentError: {\n title: 'Beenden Sie Ihre Reservierung.',\n line1: 'Zur Bestätigung der Reservierung ist eine Zahlung erforderlich.',\n line2: 'Klicken Sie <1>hier1>, um die Zahlung vorzunehmen.',\n },\n searchPage: {\n resultsCount: '<0>{{location}}:0> zeigen <3>{{count}}3> Apartments',\n resultsCountNoLocation: 'Zeigen <1>{{count}}1> Apartments',\n },\n from: 'Ab',\n book: 'Buchen',\n accommodationNameFormatted: '<0>{{accommodationName}}0><1>Appartement1>',\n bedroomCount_zero: 'Studio',\n bedroomCount_one: '1 Schlafzimmer',\n bedroomCount_other: '{{count}} Schlafzimmer',\n guestCount_one: '1 Gast',\n guestCount_other: '{{count}} Gäste',\n checkOnMap: 'Überprüfen Sie auf einer Karte',\n forms: {\n errors: {\n required: 'Feld ist erforderlich',\n email: 'Falsches E-Mail-Format',\n },\n },\n },\n },\n};\n/* eslint-enable */\n","import currency from 'currency.js';\nimport each from 'lodash/each';\nimport isArray from 'lodash/isArray';\nimport omit from 'lodash/omit';\nimport pickBy from 'lodash/pickBy';\nimport set from 'lodash/set';\nexport const compact = obj => pickBy(obj, value => value && value.length);\nexport const accommodationPageParams = params => omit(compact(params), ['location']);\nexport const noActionsReducer = (state = {}) => state;\nexport const formatErrors = errors => {\n const newErrors = {};\n\n each(errors, (value, property) => {\n if (isArray(value)) {\n set(newErrors, [property], value.sort()[0]);\n } else {\n each(value, (deepValue, deepProperty) => {\n set(newErrors, [property, deepProperty], deepValue.sort()[0]);\n });\n }\n });\n\n return newErrors;\n};\n\nexport const getValidateStatus = ({ touched, error, asyncValidating, validating }) => {\n if (!touched) {\n return null;\n }\n\n if (error) {\n return 'error';\n }\n if (asyncValidating || validating) {\n return 'validating';\n }\n\n return 'success';\n};\n\nexport const getFormikFieldStatus = ({ isValid, fieldError, fieldTouched, isValidating }) => {\n if (!isValid && fieldTouched && fieldError) {\n return 'error';\n }\n\n if (!isValidating && fieldTouched && fieldError) {\n return 'error';\n }\n\n if (!isValidating && fieldTouched && !fieldError) {\n return 'success';\n }\n\n if (fieldTouched && isValidating) {\n return 'validating';\n }\n\n return 'normal';\n};\n\nexport const getValidationProps = meta => ({\n help: meta.error || null,\n validateStatus: getValidateStatus(meta),\n});\n\nexport const canUseDOM = () => !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexport const formatMoney = (amount, cur = null) => {\n const parsedAmount = currency(amount);\n return currency(parsedAmount, {\n separator: '.',\n decimal: ',',\n symbol: cur,\n formatWithSymbol: !!cur,\n pattern: '# !',\n negativePattern: '-# !',\n })\n .format()\n .trim();\n};\n\nexport const trackGoal = (goalName, props = {}) => {\n if (window && window.plausible) {\n window.plausible(goalName, { props });\n }\n};\n\nexport const trackRevenueGoal = (goalName, amount, props = {}) => {\n if (window && window.plausible) {\n window.plausible(goalName, { revenue: { currency: 'PLN', amount: amount }, props });\n }\n};\n","import { createBrowserHistory } from 'history';\n\nconst history = createBrowserHistory();\n\nexport default history;\n"],"names":["request","method","path","options","axios","_objectSpread","baseURL","url","headers","Locale","i18next","language","ReactOnRails","get","arguments","length","undefined","post","delete","_ref","className","name","React","cx","concat","WrappedComponent","props","ThemeProvider","theme","Container","styled","div","_templateObject","_taggedTemplateLiteral","breakpoints","desktopUp","ModalContainer","_templateObject2","scrollable","colors","white","ModalHeader","_templateObject3","_templateObject4","mercury","ModalTitle","_templateObject5","mineShaft","ModalContent","_templateObject6","CloseButton","button","_templateObject7","CloseIcon","Icon","_templateObject8","sun","handleCloseClick","onClick","compose","withProps","event","preventDefault","hideModal","children","title","visible","hooks","ModalBox","Button","tabletPortraitUp","ModalBoxContainer","tabletLandscapeUp","withHandlers","handleClickOutside","onClickOutside","Component","minimal","id","modalTarget","useRef","document","createElement","ModalComponent","useMemo","ModalMinimal","ModalExpanded","handleKeydown","useCallback","keyCode","useEffect","current","uniqueId","body","appendChild","addEventListener","removeEventListener","removeChild","createPortal","canUseDOM","useLockBodyScroll","useLayoutEffect","originalStyle","window","getComputedStyle","overflow","style","parseSearch","location","queryString","search","arrayFormat","useHistory","_useState2","_slicedToArray","useState","initialized","setInitialized","forceUpdate","useForceUpdate","_useState4","guests","query","setQueryState","history","listen","setQuery","obj","newQuery","newQueryString","skipEmptyString","skipNull","push","DEFAULT_LANGUAGE","OTHER_LANGUAGES","i18n","LanguageDetector","use","initReactI18next","init","_defineProperty","_i18n$use$use$init","resources","translations","fallbackLng","preload","defaultLanguage","otherLanguages","process","useSuspense","order","lookupFromPathIndex","caches","escapeValue","formatSeparator","format","value","toUpperCase","attrs","CurrentLocale","Image","img","LocaleName","span","textDarker","CurrentLocaleName","Locales","ul","wildSand","Li","li","inactive","css","Link","a","_templateObject9","navigation","linkHoverBg","localeData","pl","image","plFlag","en","enFlag","de","deFlag","availableLocales","currentLocale","locales","pull","alt","src","map","locale","key","href","whitesmoke","TextContainer","Text","PrimaryText","SecondaryText","boulder","Result","primaryText","secondaryText","thumbnailUrl","blank","defaultProps","accommodation","rootUrl","propertyName","locationName","URI","directory","locationSlug","propertySlug","slug","toString","property","InputContainer","Input","input","Results","BaseIcon","dimgray","ResultGroup","ResultGroupTitle","h5","LoadingContainer","isOpen","onClose","t","useTranslation","createRef","results","setResults","_useState6","isLoading","setIsLoading","delayedQuery","debounce","Gate","then","_ref2","data","result","attributes","error","console","focus","accommodations","filter","type","properties","locations","handleChange","e","newValue","target","Modal","Styled","ref","placeholder","onChange","Loading","color","delay","height","width","LocationResult","PropertyResult","AccommodationResult","Navigation","nav","Inner","mariner","last","page","routeName","blogUrl","isSearchModalOpen","setSearchModalOpen","isSideMenuOpen","setSideMenuOpen","hideSideMenu","showSideMenu","closeSearchModal","handleSearchClick","NavigationContainer","StaticPageLink","LocaleSwitcher","_Drawer","bodyStyle","padding","closable","open","placement","zIndex","MenuOutlined","Search","withThemeProvider","black","cinnabar","concrete","facebook","gainsboro","goldenTainoi","gray","grayRGB","honeydew","info","infoBorder","lightgreen","lima","limedSpruce","mistyrose","red","seashell","shark","silver","success","successBorder","twitter","warning","warningBorder","wildSandDarker","smallPhoneOnly","phoneOnly","phoneLandscapeUp","bigDesktopUp","sizes","sideWidth","border","primary","secondary","text","translation","routes","booking","payment","mission_and_values","about_the_company","terms_and_conditions_of_service","terms_and_conditions_of_loyalty_card","privacy_policy","contact_us","owners","partners","investments","contact","login","logout","register","email","password","incorrect_credentials","registration_failed","registration_success","first_name","last_name","phone","country","terms_accept","offers_accept","about_us","partnership","searchModal","navigationItem","noResults","inputPlaceholder","searchForm","arrival","departure","clear","searchApartments","searchText","locationGroups","mountains","seaside","regions","bookingPage","form","bookNow","termsAccept","bookingPolicies","privacyPolicy","privacyPolicyText","guaranteeText","steps","place","yourDetails","summary","costs","total","prepayment","uponArrival","costCalculation","change","yourStay","book","costsSummary","chooseDates","additionalCosts","serviceCharge","touristTaxTotal","summaryNightsCount_zero","summaryNightsCount_one","summaryNightsCount_two","summaryNightsCount_few","summaryNightsCount_many","summaryNightsCount_other","messages","available","unavailable","chooseTerm","minNightsUnfulfilled","waiting","thankYou","line1","line2","line3","paymentError","searchPage","resultsCount_zero","resultsCount_one","resultsCount_two","resultsCount_few","resultsCount_many","resultsCount_other","resultsCountNoLocation_zero","resultsCountNoLocation_one","resultsCountNoLocation_two","resultsCountNoLocation_few","resultsCountNoLocation_many","resultsCountNoLocation_other","from","accommodationNameFormatted","bedroomCount_zero","bedroomCount_one","bedroomCount_two","bedroomCount_few","bedroomCount_many","bedroomCount_other","guestCount_zero","guestCount_one","guestCount_two","guestCount_few","guestCount_many","guestCount_other","checkOnMap","forms","errors","required","summaryNightsCount","resultsCount","resultsCountNoLocation","noActionsReducer","getFormikFieldStatus","isValid","fieldError","fieldTouched","isValidating","formatMoney","amount","cur","parsedAmount","currency","separator","decimal","symbol","formatWithSymbol","pattern","negativePattern","trim","trackGoal","goalName","plausible","trackRevenueGoal","revenue","createBrowserHistory"],"sourceRoot":""}