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A,QAASA,IACrB,gBAAC,GAAiB,MAClB,gBAAC,GAAmB,OAGtB,ECRF,GArBkB,KACjB,MAAMpE,GAAW,UACX9I,GAAU,QAAY4C,GAc5B,OAZA,IAAA6H,YAAU,KACT,MAAMzH,EAAO6K,SAAS0Z,eChBU,yBDiBhC,GAAIvkB,EAAM,CACT,MAAMwkB,EAAWC,KAAKC,MAAM1kB,EAAK2kB,WACjC7e,EAASzI,EAAgBH,WAAWsnB,EAASxnB,UAC7C8I,EAASjJ,EAAoBf,qBAAqB0oB,EAAS3oB,oBAC3DiK,EAAS/K,EAAyBH,iBAAiB4pB,EAASnmB,eAC5DyH,EAAS3H,EAAgBJ,mBAAmBymB,EAASI,S,IAGpD,IAEE5nB,EAEE,gBAAC,GAAe,MAFF,uCAEK,EEpBZ,SAAS6nB,KACvB,OACC,gBAAC,EAAAC,EAAuB,CAACC,MAAO,KAC/B,gBAACC,EAAA,EAAa,CAAC7b,MAAOA,EAAA,GACrB,gBAAC8b,EAAA,GAAW,MACZ,gBAAC,KAAQ,CAACC,MAAO,GAChB,gBAAC,GAAS,QAKf,CCde,MAAMC,WAA4BC,EAAA,EAKhD,WAAAC,CAAYpE,GACXqE,MAAMrE,EAAS,GAAIxkB,OAAO8oB,OAAOJ,GAAoBK,gBACrD5e,KAAK6e,SACN,CAMQ,OAAAA,GACP,MAAMC,EAAY9e,KAAK+e,SAASC,OAAoBT,GAAoBK,cAAcK,KCfzD,IAAC5E,EDgB1ByE,IChB0BzE,EDiBbyE,GChBL,OAAWzE,GACnB6E,OAAO,gBAAC,GAAG,ODiBhB,EAlBwB,GAAAN,cAA+B,CACtDK,IAAK,iB","sources":["webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/services/searchPartnersApi/searchPartnersApi.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/mocks/utils.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/translations/reducer.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/ui/reducer.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/filters/reducer.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/fhw/reducer.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/map/reducer.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/index.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/filters/selectors.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/map/selectors.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/fhw/selectors.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/services/searchPartnersApi/hooks.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Map/Map/mapStyles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Map/Map/utils.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Map/Map/Map.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/ui/selectors.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/FabButton/FabButton.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/views/PartnersLocator/PartnerListToggler/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/views/PartnersLocator/PartnerListToggler/PartnerListToggler.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Map/MapWrapper/MapWrapper.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Map/map-utils.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/TopPartner/TopPartner.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListDrawer/PartnerCard/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/store/modules/translations/selectors.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/Certificate/Certificate.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListDrawer/PartnerCard/PartnerCard.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListDrawer/PartnerList/PartnerList.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListDrawer/PartnerListDrawer.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react/hooks/useContainerDimensions.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/FormControl/FormControl.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/InputField/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/Slider/Slider.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react/hooks/useDebounceCallback.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/RangeSlider/RangeSlider.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/Checkbox/Checkbox.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/Select/ArrowDown/ArrowDown.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/MultiSelect/MultiSelect.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/SelectCategory/SelectCategory.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/PartnersCounter/PartnersCounter.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react-mui/atoms/InputAutoComplete/InputAutoComplete.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/LocationAutoComplete/LocationAutoComplete.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/MobileFilterToggler/MobileFilterToggler.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/SearchArea.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/layout/MainLayout/MainLayout.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/CategoryToggleFilter/CategoryToggleFilter.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/MobileFiltersDrawer/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/SearchArea/MobileFiltersDrawer/MobileFiltersDrawer.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/views/PartnersLocator/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerProfileModal/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react/components/HydratedTwigHtmlString/HydratedTwigHtmlString.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerProfileModal/PartenrProfileModalContent/PartnerProfileModalContent.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerProfileModal/PartnerProfileModal.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListMobile/PartnerCardMobile/styles.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListMobile/PartnerCardMobile/PartnerCardMobile.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/global/react/hooks/useWindowDimensions.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/components/PartnerListMobile/PartnerListMobile.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/views/PartnersLocator/PartnersLocator.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/views/FHWSearch.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/constants/index.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/react/index.tsx","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/o-fhw-search.controller.ts","webpack://@dgtls-pub/wolf-sb-integration/./src/wolf/components/organisms/o-fhw-search/o-fhw-search.app.tsx"],"sourcesContent":["import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react';\nimport { endpointStub } from '../../../../../mocks/utils';\nimport { FiltersState, MapData } from '../../../../model/global';\nimport queryString from 'query-string';\n\nconst queryBuilder = (filters: FiltersState, endpoint: string, mapSettings: MapData['settings']): string => {\n\tconst cleanedFilters = {\n\t\tlat: filters.suggestedInput.lat === -1 ? undefined : filters.suggestedInput.lat,\n\t\tlng: filters.suggestedInput.lng === -1 ? undefined : filters.suggestedInput.lng,\n\t\tselectedCategories: filters.selectedPartnerCategories,\n\t\tdistanceRadiusInKm: filters.distanceRadiusInKm,\n\t\tdefaultCenterLat: mapSettings.defaultCenter.lat === -1 ? undefined : mapSettings.defaultCenter.lat,\n\t\tdefaultCenterLng: mapSettings.defaultCenter.lng === -1 ? undefined : mapSettings.defaultCenter.lng,\n\t};\n\n\tconst stringifiedQuery = queryString.stringify(cleanedFilters, { arrayFormat: 'comma' });\n\n\tconst builtQuery = endpoint + '?' + stringifiedQuery;\n\treturn builtQuery;\n};\n\nexport const searchPartnersApi = createApi({\n\treducerPath: 'searchPartnersApi',\n\tbaseQuery: fetchBaseQuery({ baseUrl: endpointStub }),\n\tendpoints: (builder) => ({\n\t\tgetPartners: builder.query({\n\t\t\tquery: ({ filters, endpoint, mapSettings }) => queryBuilder(filters, endpoint, mapSettings),\n\t\t}),\n\t\tgetLocationSuggestion: builder.query({\n\t\t\tquery: ({ value, endpoint }) => endpoint + '?text=' + value,\n\t\t}),\n\t\tgetPartnerProfile: builder.query({\n\t\t\tquery: ({ value, endpoint }) => endpoint + '?id=' + value,\n\t\t}),\n\t}),\n});\n\n// Hooks are auto-generated based on the defined endpoints\nexport const { useGetPartnersQuery, useGetLocationSuggestionQuery, useGetPartnerProfileQuery } = searchPartnersApi;\n","import { FHWEndpoints } from '../react/model/global';\n\nexport const endpointStub = 'path:/o-fhw-search/';\nexport const endpoint: Record = {\n\tgetResults: 'getResults',\n\tgetLocationSuggestions: 'getLocationSuggestions',\n\tgetPartnerProfile: 'getPartnerProfile',\n};\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\ntype TranslationsProps = Record;\n\nconst initialState: TranslationsProps = {};\n\nconst translationsSlice = createSlice({\n\tname: 'translationsSlice',\n\tinitialState,\n\treducers: {\n\t\tinitTranslations(state, { payload }: PayloadAction) {\n\t\t\treturn payload;\n\t\t},\n\t},\n});\n\nexport const translationsSliceActions = translationsSlice.actions;\nexport default translationsSlice.reducer;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\ntype ModalProps = {\n\tisOpen: boolean;\n};\n\ninterface UiStateProps {\n\tpartnerList: ModalProps;\n\tfilterDrawer: ModalProps;\n\tindividualProfileDrawer: ModalProps;\n}\n\nconst initialState: UiStateProps = {\n\tpartnerList: {\n\t\tisOpen: true,\n\t},\n\tfilterDrawer: {\n\t\tisOpen: false,\n\t},\n\tindividualProfileDrawer: {\n\t\tisOpen: false,\n\t},\n};\n\nconst uiSlice = createSlice({\n\tname: 'uiSlice',\n\tinitialState,\n\treducers: {\n\t\tsetIsPartnerListDrawerOpen(state, { payload: { isOpen } }: PayloadAction<{ isOpen: ModalProps['isOpen'] }>) {\n\t\t\tstate.partnerList.isOpen = isOpen;\n\t\t},\n\t\tsetIsFilterDrawerOpen(state, { payload: { isOpen } }: PayloadAction<{ isOpen: ModalProps['isOpen'] }>) {\n\t\t\tstate.filterDrawer.isOpen = isOpen;\n\t\t},\n\t\tsetIsIndividualProfileDrawerOpen(state, { payload: { isOpen } }: PayloadAction<{ isOpen: ModalProps['isOpen'] }>) {\n\t\t\tstate.individualProfileDrawer.isOpen = isOpen;\n\t\t},\n\t},\n});\n\nexport const uiSliceActions = uiSlice.actions;\nexport default uiSlice.reducer;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport { FiltersState } from '../../../model/global';\n\nconst initialState: FiltersState = {\n\tsuggestedInput: {\n\t\ttext: '',\n\t\tlat: -1,\n\t\tlng: -1,\n\t\tzip: '',\n\t},\n\tselectedPartnerCategories: [],\n\tdistanceRadiusInKm: 25,\n\tpartnerCategories: [],\n\tdefaultCenter: {\n\t\tlat: -1,\n\t\tlng: -1,\n\t},\n};\n\nconst filtersSlice = createSlice({\n\tname: 'filtersSlice',\n\tinitialState,\n\treducers: {\n\t\tsetPartnerCategories(state, { payload }: PayloadAction) {\n\t\t\tstate.partnerCategories = payload;\n\t\t},\n\t\tsetSuggestedInput(state, { payload }: PayloadAction) {\n\t\t\tstate.suggestedInput = payload;\n\t\t},\n\t\tsetPartnerCategoryType(state, { payload }: PayloadAction) {\n\t\t\tstate.selectedPartnerCategories = payload;\n\t\t},\n\t\taddPartnerCategoryType(state, { payload }: PayloadAction) {\n\t\t\tstate.selectedPartnerCategories.push(payload);\n\t\t},\n\t\tremovePartnerCategoryType(state, { payload }: PayloadAction) {\n\t\t\tstate.selectedPartnerCategories.filter((category) => category !== payload);\n\t\t},\n\t\tresetselectedPartnerCategories(state) {\n\t\t\tstate.selectedPartnerCategories = [];\n\t\t},\n\t\tsetDistanceRadiusInKm(state, { payload }: PayloadAction) {\n\t\t\tstate.distanceRadiusInKm = payload;\n\t\t},\n\t\tsetFilters(state, { payload }: PayloadAction>) {\n\t\t\tObject.keys(payload).forEach((key) => (state[key] = payload[key]));\n\t\t\treturn state;\n\t\t},\n\t},\n});\n\nexport const filtersSliceActions = filtersSlice.actions;\nexport default filtersSlice.reducer;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport { OrganismFhwSearchProps } from '../../../model/global';\nimport { IPartner } from '../../../model/partner';\n\ntype InitalPartnersState = {\n\tapiUrls: OrganismFhwSearchProps['apiUrls'] | undefined;\n\tselectedPartnerId: string | undefined;\n\tfocussedPartnerId: IPartner['id'] | undefined;\n};\n\nconst initialState: InitalPartnersState = {\n\tselectedPartnerId: undefined,\n\tapiUrls: undefined,\n\tfocussedPartnerId: undefined,\n};\n\nconst fhwSlice = createSlice({\n\tname: 'fhwSlice',\n\tinitialState,\n\treducers: {\n\t\tsetApiUrls(state, { payload }: PayloadAction) {\n\t\t\tstate.apiUrls = payload;\n\t\t},\n\t\tsetSelectedPartner(state, { payload }: PayloadAction) {\n\t\t\tstate.selectedPartnerId = payload;\n\t\t},\n\t\tsetFocussedPartnerId(state, { payload }: PayloadAction) {\n\t\t\tstate.focussedPartnerId = payload;\n\t\t},\n\t},\n});\n\nexport const fhwSliceActions = fhwSlice.actions;\nexport default fhwSlice.reducer;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\nimport { IMapMarker, MapData } from '../../../model/global';\n\nexport type MapInitialState = {\n\tinitialMapData: MapData;\n\tcurrentMarker: IMapMarker;\n\tmapCentre: {\n\t\tlat: number;\n\t\tlng: number;\n\t};\n\tmapZoom: number;\n};\nconst initialState: MapInitialState = {\n\tinitialMapData: {\n\t\tsettings: {\n\t\t\tdefaultCenter: {\n\t\t\t\tlabel: 'DGTLS Munich test',\n\t\t\t\tlat: 48.1214729,\n\t\t\t\tlng: 11.5482703,\n\t\t\t},\n\t\t\tdefaultZoom: 14,\n\t\t\tdefaultMarker: undefined,\n\t\t},\n\t},\n\tcurrentMarker: {\n\t\tlabel: '',\n\t\tlat: -1,\n\t\tlng: -1,\n\t},\n\tmapCentre: {\n\t\tlat: -1,\n\t\tlng: -1,\n\t},\n\tmapZoom: 12,\n};\n\nconst mapSlice = createSlice({\n\tname: 'mapSlice',\n\tinitialState,\n\treducers: {\n\t\t/** Add the components initial map config to the store data (render by the backend on the component's JSON) */\n\t\tinitMapInitialData(state, { payload }: PayloadAction) {\n\t\t\tstate.initialMapData = payload;\n\t\t},\n\n\t\tsetCurrentMarker(state, { payload }: PayloadAction) {\n\t\t\tstate.currentMarker = payload;\n\t\t},\n\t\t// setMapCentre(state, { payload }: PayloadAction>)\n\t\t// map centre init should be asigned on initMapData\n\t\tsetMapCentre(state, { payload }: PayloadAction) {\n\t\t\tstate.mapCentre = payload;\n\t\t},\n\t\tsetMapZoom(state, { payload }: PayloadAction) {\n\t\t\tstate.mapZoom = payload;\n\t\t},\n\t},\n});\n\nexport const mapSliceActions = mapSlice.actions;\nexport default mapSlice.reducer;\n","import { configureStore, combineReducers } from '@reduxjs/toolkit';\nimport { searchPartnersApi } from './modules/services/searchPartnersApi/searchPartnersApi';\n\nimport translationsReducer from './modules/translations/reducer';\nimport uiSliceActionsReducer from './modules/ui/reducer';\nimport filtersSliceReducer from './modules/filters/reducer';\nimport fhwSliceReducer from './modules/fhw/reducer';\nimport mapSliceReducer from './modules/map/reducer';\n\nconst rootReducer = combineReducers({\n\ttranslations: translationsReducer,\n\tui: uiSliceActionsReducer,\n\tfilters: filtersSliceReducer,\n\tpartners: fhwSliceReducer,\n\tmap: mapSliceReducer,\n\t[searchPartnersApi.reducerPath]: searchPartnersApi.reducer,\n});\n\n// export type RootState = typeof rootReducer;\nexport type RootState = ReturnType;\n\nconst store = configureStore({\n\treducer: rootReducer,\n\tmiddleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(searchPartnersApi.middleware),\n\tdevTools: process.env.NODE_ENV !== 'production',\n});\n\n// investigate: setupListeners\n\nexport default store;\n","import { createSelector } from '@reduxjs/toolkit';\nimport { RootState } from '../..';\n\nconst getFilters = (state: RootState) => state.filters;\nconst getPartnerCategories = (state: RootState) => state.filters.partnerCategories;\nconst getSelectedPartnerCategories = (state: RootState) => state.filters.selectedPartnerCategories;\nconst getDistanceRadiusInKm = (state: RootState) => state.filters.distanceRadiusInKm;\nconst getSuggestedInput = (state: RootState) => state.filters.suggestedInput;\n// const getDefaultCenter = (state: RootState) => state.filters.defaultCenter\n\nexport const filtersSelector = createSelector(getFilters, (filters) => filters);\n\nexport const partnerCategoriesSelector = createSelector(getPartnerCategories, (categories) => categories);\n\nexport const selectedPartnerCategoriesSelector = createSelector(getSelectedPartnerCategories, (categories) => categories);\n\nexport const distanceRadiusInKmSelector = createSelector(getDistanceRadiusInKm, (radiusInKm) => radiusInKm);\n\nexport const suggestedInputSelector = createSelector(getSuggestedInput, (input) => input);\n","import { createSelector } from '@reduxjs/toolkit';\nimport { RootState } from '../..';\n\nconst getCurrentMarker = (state: RootState) => state.map.currentMarker;\nconst getMapCentre = (state: RootState) => state.map.mapCentre;\nconst getMapSettings = (state: RootState) => state.map.initialMapData.settings;\nconst getMapZoom = (state: RootState) => state.map.mapZoom;\n\nexport const currentMarkerSelector = createSelector(getCurrentMarker, (currentMarker) => currentMarker);\n\nexport const mapCentreSelector = createSelector(getMapCentre, (mapCentre) => mapCentre);\n\nexport const mapSettingsSelector = createSelector(getMapSettings, (settings) => settings);\n\nexport const mapZoomSelector = createSelector(getMapZoom, (mapZoom) => mapZoom);\n","import { createSelector } from '@reduxjs/toolkit';\nimport { RootState } from '../..';\n\nconst getSelectedPartner = (state: RootState) => state.partners.selectedPartnerId;\nconst getFocussedPartnerId = (state: RootState) => state.partners.focussedPartnerId;\nconst getApiUrls = (state: RootState) => state.partners.apiUrls;\n\nexport const selectedPartnerSelector = createSelector(getSelectedPartner, (selectedPartner) => selectedPartner);\n\nexport const focussedPartnerIdSelector = createSelector(getFocussedPartnerId, (focussedPartnerId) => focussedPartnerId);\n\nexport const apiUrlsSelector = createSelector(getApiUrls, (apiUrls) => apiUrls);\n","import { useSelector } from 'react-redux';\nimport { GetResultsResponseType } from 'wolf/components/organisms/o-fhw-search/mocks/getResults';\nimport { apiUrlsSelector } from '../../fhw/selectors';\nimport { filtersSelector } from '../../filters/selectors';\nimport { mapSettingsSelector } from '../../map/selectors';\nimport { searchPartnersApi } from './searchPartnersApi';\n\nexport const usePartnersData = (): GetResultsResponseType => {\n\tconst filters = useSelector(filtersSelector);\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\tconst mapSettings = useSelector(mapSettingsSelector);\n\n\tconst state = searchPartnersApi.endpoints.getPartners.useQueryState({\n\t\tfilters,\n\t\tendpoint: apiUrls?.getResults,\n\t\tmapSettings,\n\t});\n\treturn state.data?.data;\n};\n\nexport const useCounterPartnersData = (): {\n\tcount: GetResultsResponseType['count'];\n\ttotalCount: GetResultsResponseType['totalCount'];\n} => {\n\tconst filters = useSelector(filtersSelector);\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\tconst mapSettings = useSelector(mapSettingsSelector);\n\n\tconst state = searchPartnersApi.endpoints.getPartners.useQueryState({\n\t\tfilters,\n\t\tendpoint: apiUrls?.getResults,\n\t\tmapSettings,\n\t});\n\tif (!state.data)\n\t\treturn {\n\t\t\tcount: 0,\n\t\t\ttotalCount: 0,\n\t\t};\n\n\tconst totalCount = filters.suggestedInput?.zip ? filters.suggestedInput?.zip : 0;\n\treturn {\n\t\tcount: state.data.data.count,\n\t\ttotalCount,\n\t};\n};\n","// https://snazzymaps.com/style/8097/wy\n// More: https://snazzymaps.com/\nexport const mapStyles: google.maps.MapTypeStyle[] = [\n\t{\n\t\tfeatureType: 'water',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#e9e9e9',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 17,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'landscape',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#f5f5f5',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 20,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'road.highway',\n\t\telementType: 'geometry.fill',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#ffffff',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 17,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'road.highway',\n\t\telementType: 'geometry.stroke',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#ffffff',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 29,\n\t\t\t},\n\t\t\t{\n\t\t\t\tweight: 0.2,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'road.arterial',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#ffffff',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 18,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'road.local',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#ffffff',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 16,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'poi',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#f5f5f5',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 21,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'poi.park',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#dedede',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 21,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\telementType: 'labels.text.stroke',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tvisibility: 'on',\n\t\t\t},\n\t\t\t{\n\t\t\t\tcolor: '#ffffff',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 16,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\telementType: 'labels.text.fill',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tsaturation: 36,\n\t\t\t},\n\t\t\t{\n\t\t\t\tcolor: '#333333',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 40,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\telementType: 'labels.icon',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tvisibility: 'off',\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'transit',\n\t\telementType: 'geometry',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#f2f2f2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 19,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'administrative',\n\t\telementType: 'geometry.fill',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#fefefe',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 20,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tfeatureType: 'administrative',\n\t\telementType: 'geometry.stroke',\n\t\tstylers: [\n\t\t\t{\n\t\t\t\tcolor: '#fefefe',\n\t\t\t},\n\t\t\t{\n\t\t\t\tlightness: 17,\n\t\t\t},\n\t\t\t{\n\t\t\t\tweight: 1.2,\n\t\t\t},\n\t\t],\n\t},\n];\n","import { colors } from 'global/react-mui/theme/colors';\nimport { IPartner } from '../../../model/partner';\nimport { mapStyles } from './mapStyles';\nimport { GoogleLatLng, GoogleMap, GoogleMarker, GoogleReadonlySymbol } from './types';\nconst mapMarker = require('./../marker.svg') as any;\ninterface MapUtils {\n\t/**\n\t * Get an SVG map marker icon, with customisable colour\n\t * @param iconColor The icon color\n\t * @returns GoogleReadonlySymbol\n\t */\n\tcreateMap: ({\n\t\tmapRef,\n\t\tmapType,\n\t\tcenterAddress,\n\t\tzoomLevel,\n\t}: {\n\t\tmapRef: HTMLDivElement;\n\t\tmapType: string;\n\t\tcenterAddress: GoogleLatLng;\n\t\tzoomLevel: number;\n\t}) => GoogleMap;\n\t/**\n\t * Get an SVG map marker icon, with customisable colour\n\t * @param iconColor The icon color\n\t * @returns GoogleReadonlySymbol\n\t */\n\tgetMapIconSymbol: (settings: Partial) => GoogleReadonlySymbol;\n\t/**\n\t * Geocode an address or point on the map at specific coords\n\t * @param location GoogleLatLng\n\t * @param map the map\n\t * @param data data to add on the marker\n\t * @returns GoogleMarker\n\t */\n\taddMapMarker: (location: GoogleLatLng, map: GoogleMap, partner: IPartner, infoWindow: google.maps.InfoWindow) => GoogleMarker;\n\t/**\n\t * Remove Google Markers\n\t * @param markers GoogleMarker[]\n\t */\n\tremoveMapMarkers: (markers: GoogleMarker[]) => void;\n\t/**\n\t * Add a marker for home and its listener\n\t * @param location GoogleLatLng\n\t * @param map the map\n\t * @param data data to add on the marker\n\t * @returns GoogleMarker\n\t */\n\taddHomeMarker: (location: GoogleLatLng, map: GoogleMap) => GoogleMarker;\n\t/**\n\t * Geocode an address or point on the map at specific coords\n\t * @param coordinate\n\t * @param onGeocodeSuccessCallback setMarker callback\n\t */\n\tcoordinateToAddress: (coordinate: GoogleLatLng, onGeocodeSuccessCallback: (any: any) => Promise) => void;\n}\n\nexport const MapUtils: MapUtils = {\n\tcreateMap: ({ mapRef, mapType, centerAddress, zoomLevel }) =>\n\t\tnew google.maps.Map(mapRef, {\n\t\t\tmapTypeId: mapType,\n\t\t\tmapTypeControlOptions: {\n\t\t\t\tmapTypeIds: ['styled_map'],\n\t\t\t},\n\t\t\tcenter: centerAddress,\n\t\t\tzoom: zoomLevel,\n\t\t\tstreetViewControl: false,\n\t\t\trotateControl: false,\n\t\t\tscaleControl: true,\n\t\t\tfullscreenControl: false,\n\t\t\tpanControl: false,\n\t\t\tzoomControl: true,\n\t\t\tzoomControlOptions: {\n\t\t\t\tposition: google.maps.ControlPosition.RIGHT_TOP,\n\t\t\t},\n\t\t\tgestureHandling: 'cooperative',\n\t\t\tdraggableCursor: 'pointer',\n\t\t\tmapTypeControl: false,\n\t\t\tstyles: mapStyles,\n\t\t}),\n\tgetMapIconSymbol: (settings) => {\n\t\tconst symbolBase: GoogleReadonlySymbol = {\n\t\t\tpath: 'M16,0C9.9,0,4.9,4.6,4.9,10.3C4.9,18.3,16,32,16,32s11.1-13.7,11.1-21.7C27.1,4.6,22.1,0,16,0z M16,14.7c-2,0-3.6-1.6-3.6-3.6S14,7.5,16,7.5c2,0,3.6,1.6,3.6,3.6l0,0l0,0C19.6,13.1,18,14.7,16,14.7C16,14.7,16,14.7,16,14.7z',\n\t\t\tfillColor: '#000000',\n\t\t\tfillOpacity: 0.8,\n\t\t\tstrokeColor: 'white',\n\t\t\tstrokeWeight: 2,\n\t\t\tanchor: new google.maps.Point(30, 50),\n\t\t};\n\n\t\t// overwrite symbol settings\n\t\tconst newSymbol = Object.assign(symbolBase, settings);\n\t\treturn {\n\t\t\t...newSymbol,\n\t\t};\n\t},\n\taddMapMarker: (location, map, partner, infoWindow): GoogleMarker => {\n\t\tconst newMarker: { partnerId?: string } & GoogleMarker = new google.maps.Marker({\n\t\t\tposition: location,\n\t\t\tmap: map,\n\t\t\ticon: MapUtils.getMapIconSymbol({\n\t\t\t\tfillColor: colors['wolf-red'],\n\t\t\t\tscale: 1.3,\n\t\t\t\tpath: 'M16,0C9.9,0,4.9,4.6,4.9,10.3C4.9,18.3,16,32,16,32s11.1-13.7,11.1-21.7C27.1,4.6,22.1,0,16,0z M16,14.7c-2,0-3.6-1.6-3.6-3.6S14,7.5,16,7.5c2,0,3.6,1.6,3.6,3.6l0,0l0,0C19.6,13.1,18,14.7,16,14.7C16,14.7,16,14.7,16,14.7z',\n\t\t\t}),\n\t\t});\n\n\t\tconst infoWindowContent = `
\n\t\t\t${partner.name}
\n\t\t\t${partner.address.address1} ${partner.address.address2}
\n\t\t\t${partner.address.city} ${partner.address.postcode}\n\t\t\t
`;\n\n\t\t// https://developers.google.com/maps/documentation/javascript/examples/infowindow-simple\n\t\t// newMarker.addListener(\"click\", () => {\n\t\t// \tinfowindow.open(map, newMarker);\n\t\t// });\n\n\t\tgoogle.maps.event.addListener(newMarker, 'mouseover', function () {\n\t\t\tinfoWindow.setOptions({\n\t\t\t\tcontent: infoWindowContent,\n\t\t\t\tmaxWidth: 300,\n\t\t\t});\n\t\t\tinfoWindow.open(map, newMarker);\n\t\t});\n\n\t\tnewMarker.partnerId = partner.id as string;\n\n\t\treturn newMarker;\n\t},\n\tremoveMapMarkers: (markers) => {\n\t\tfor (let i = 0; i < markers.length; i++) {\n\t\t\tmarkers[i].setMap(null);\n\t\t}\n\t},\n\taddHomeMarker: (location, map) => {\n\t\tconst homeMarkerConst: GoogleMarker = new google.maps.Marker({\n\t\t\tposition: location,\n\t\t\tmap: map,\n\t\t\ticon: {\n\t\t\t\turl: mapMarker,\n\t\t\t\tscaledSize: new google.maps.Size(30, 40, 'px'), // https://stackoverflow.com/questions/23264872/resize-svg-icon-for-google-map-marker\n\t\t\t},\n\t\t});\n\n\t\thomeMarkerConst.addListener('click', () => {\n\t\t\tmap?.panTo(location);\n\t\t\tmap?.setZoom(15);\n\t\t});\n\n\t\treturn homeMarkerConst;\n\t},\n\tcoordinateToAddress: async (coordinate, onGeocodeSuccessCallback) => {\n\t\tconst geocoder = new google.maps.Geocoder();\n\t\tgeocoder.geocode({ location: coordinate }, function (results, status) {\n\t\t\tif (status === 'OK') {\n\t\t\t\tonGeocodeSuccessCallback({\n\t\t\t\t\tlabel: results[0].formatted_address,\n\t\t\t\t\tlat: coordinate.lat(),\n\t\t\t\t\tlng: coordinate.lng(),\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t},\n};\n","import React, { memo, useCallback, useEffect, useRef, useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { IPartner } from '../../../model/partner';\nimport { fhwSliceActions } from '../../../store/modules/fhw/reducer';\nimport { distanceRadiusInKmSelector } from '../../../store/modules/filters/selectors';\nimport { mapSliceActions } from '../../../store/modules/map/reducer';\nimport { mapCentreSelector, mapSettingsSelector, mapZoomSelector } from '../../../store/modules/map/selectors';\nimport { usePartnersData } from '../../../store/modules/services/searchPartnersApi/hooks';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { IMap, GoogleLatLng, GoogleMap, GoogleMarker } from './types';\n\nimport { MapUtils } from './utils';\n\n// This can be used in case we want to set the headquarters as the center of the map\n// const homeLocation = new google.maps.LatLng(mapSettings.defaultCentre.lat, mapSettings.defaultCentre.lng);\n// MapUtils.addHomeMarker(homeLocation, map);\n\nconst Map: React.FC = ({ mapType }: IMap): JSX.Element => {\n\tconst dispatch = useDispatch();\n\n\t/** The native DOM element for the map */\n\tconst bounds = useRef(new google.maps.LatLngBounds());\n\t/** The native DOM element for the map */\n\tconst mapRef = useRef(null);\n\t/** The map in local state */\n\tconst [map, setMap] = useState();\n\t/** A list of google map markers */\n\tconst googleMarkers = useRef([]);\n\t/** An array of map marker listener IDs (for marker clicks) */\n\tconst listenerIdArray = useRef([]);\n\n\tconst infoWindow = useRef(new google.maps.InfoWindow());\n\n\t/** Partners data */\n\tconst data = usePartnersData();\n\n\tconst mapCentre = useSelector(mapCentreSelector);\n\tconst mapZoom = useSelector(mapZoomSelector);\n\tconst mapSettings = useSelector(mapSettingsSelector);\n\tconst distanceInKm = useSelector(distanceRadiusInKmSelector);\n\n\t/**\n\t * Add a marker to the map, register a click listener and remember the marker listener ID\n\t */\n\tconst addMarker = useCallback(\n\t\t(location: GoogleLatLng, partner: IPartner): void => {\n\t\t\tif (map) {\n\t\t\t\tconst marker = MapUtils.addMapMarker(location, map, partner, infoWindow.current);\n\n\t\t\t\tgoogleMarkers.current.push(marker);\n\n\t\t\t\tconst listenerId = marker.addListener('click', function (event: google.maps.MapMouseEvent) {\n\t\t\t\t\tconst partnerId = (this as any).partnerId;\n\n\t\t\t\t\tconst markerPosition = {\n\t\t\t\t\t\tlat: event.latLng.lat(),\n\t\t\t\t\t\tlng: event.latLng.lng(),\n\t\t\t\t\t};\n\n\t\t\t\t\tdispatch(fhwSliceActions.setFocussedPartnerId(partnerId));\n\t\t\t\t\tdispatch(mapSliceActions.setMapCentre(markerPosition));\n\t\t\t\t\tdispatch(uiSliceActions.setIsPartnerListDrawerOpen({ isOpen: true }));\n\t\t\t\t\tdispatch(fhwSliceActions.setSelectedPartner(`${partnerId}`));\n\t\t\t\t\tdispatch(uiSliceActions.setIsIndividualProfileDrawerOpen({ isOpen: true }));\n\n\t\t\t\t\t// update the store with the current selected marker\n\t\t\t\t\tdispatch(\n\t\t\t\t\t\tmapSliceActions.setCurrentMarker({\n\t\t\t\t\t\t\tlabel: partnerId,\n\t\t\t\t\t\t\t...markerPosition,\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\n\t\t\t\t\t// scroll to partners list item\n\t\t\t\t\tmap.panTo(event.latLng);\n\t\t\t\t\tmap.setZoom(mapSettings.defaultZoom);\n\t\t\t\t});\n\n\t\t\t\tlistenerIdArray.current.push(listenerId);\n\t\t\t}\n\t\t},\n\t\t[dispatch, googleMarkers, listenerIdArray, map, mapSettings.defaultZoom],\n\t);\n\n\tconst goToFirstItem = () => {\n\t\tconst firstMarker = googleMarkers.current[0] as any;\n\n\t\tif (firstMarker) {\n\t\t\tconst partnerId = firstMarker.partnerId;\n\n\t\t\tconst markerPosition = {\n\t\t\t\tlat: (googleMarkers.current[0] as any).position.lat(),\n\t\t\t\tlng: (googleMarkers.current[0] as any).position.lng(),\n\t\t\t};\n\n\t\t\tdispatch(fhwSliceActions.setFocussedPartnerId(partnerId));\n\t\t\tdispatch(mapSliceActions.setMapCentre(markerPosition));\n\t\t\tdispatch(uiSliceActions.setIsPartnerListDrawerOpen({ isOpen: true }));\n\n\t\t\tdispatch(\n\t\t\t\tmapSliceActions.setCurrentMarker({\n\t\t\t\t\tlabel: partnerId,\n\t\t\t\t\t...markerPosition,\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t};\n\n\tconst removeMarkersFromMap = useCallback(() => {\n\t\tif (googleMarkers.current.length) {\n\t\t\tMapUtils.removeMapMarkers(googleMarkers.current);\n\t\t\tgoogleMarkers.current = [];\n\t\t}\n\t\tif (listenerIdArray.current.length) {\n\t\t\tlistenerIdArray.current.forEach((listenerId) => {\n\t\t\t\tgoogle.maps.event.removeListener(listenerId);\n\t\t\t});\n\t\t}\n\t}, []);\n\n\tconst addMarkersToMap = useCallback(() => {\n\t\tdata.partners.forEach((place) => {\n\t\t\tconst location = new google.maps.LatLng(place.address.lat, place.address.lng);\n\t\t\taddMarker(location, place);\n\t\t});\n\t\tgoogleMarkers.current.forEach((marker) => marker && bounds.current.extend(marker.getPosition() as google.maps.LatLng));\n\t\tgoToFirstItem();\n\t\tmap?.fitBounds(bounds.current);\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [addMarker, data]);\n\n\tuseEffect(() => {\n\t\tif (data?.partners && map) {\n\t\t\tremoveMarkersFromMap();\n\t\t\taddMarkersToMap();\n\t\t\tdispatch(mapSliceActions.setMapZoom(12));\n\t\t}\n\t}, [addMarkersToMap, data, dispatch, map, removeMarkersFromMap]);\n\n\t/**\n\t * Move the map to the defined centre when mapCentre Change\n\t */\n\tuseEffect(() => {\n\t\tif (map && mapCentre) {\n\t\t\tmap.panTo({ lat: mapCentre.lat, lng: mapCentre.lng });\n\t\t}\n\t}, [map, mapCentre]);\n\n\t/**\n\t * Zoom on the map when mapZoom changes\n\t */\n\tuseEffect(() => {\n\t\tif (map && mapZoom) {\n\t\t\tmap.setZoom(mapZoom);\n\t\t}\n\t}, [map, mapZoom]);\n\n\t/**\n\t * Update zoom map to fit the partners at the required radius\n\t */\n\tuseEffect(() => {\n\t\tif (map && data) {\n\t\t\tconst bounds = new google.maps.LatLngBounds();\n\t\t\tdata?.partners.forEach((partner) => {\n\t\t\t\tconst latLng = new google.maps.LatLng(partner.address.lat, partner.address.lng);\n\t\t\t\tbounds.extend(latLng);\n\t\t\t});\n\t\t\tmap.fitBounds(bounds);\n\t\t}\n\t}, [map, distanceInKm, data]);\n\n\t/**\n\t * Init Map\n\t */\n\tuseEffect(() => {\n\t\tconst defaultAddress = new google.maps.LatLng(mapSettings.defaultCenter.lat, mapSettings.defaultCenter.lng);\n\t\tif (mapRef.current) {\n\t\t\tsetMap(\n\t\t\t\tMapUtils.createMap({\n\t\t\t\t\tmapRef: mapRef?.current as HTMLDivElement,\n\t\t\t\t\tmapType,\n\t\t\t\t\tcenterAddress: defaultAddress,\n\t\t\t\t\tzoomLevel: mapSettings.defaultZoom,\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\t/**\n\t * This event is in charge of updating the zoomMap level on the store if it changes via zoom control on maps\n\t */\n\tuseEffect(() => {\n\t\tif (map) {\n\t\t\tgoogle.maps.event.addListener(map, 'zoom_changed', function () {\n\t\t\t\tif (map.getZoom() > mapZoom) {\n\t\t\t\t\tdispatch(mapSliceActions.setMapZoom(map.getZoom()));\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (map) google.maps.event.clearListeners(map, 'zoom_changed');\n\t\t};\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [dispatch, map]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(Map);\n","import { createSelector } from '@reduxjs/toolkit';\nimport { RootState } from '../..';\n\nconst getPartnerListDrawerIsOpen = (state: RootState) => state.ui.partnerList.isOpen;\nconst getFilterDrawerIsOpen = (state: RootState) => state.ui.filterDrawer.isOpen;\nconst getSelectedPartnerDrawerIsOpen = (state: RootState) => state.ui.individualProfileDrawer.isOpen;\n\nexport const partnerListIsOpenSelector = createSelector(getPartnerListDrawerIsOpen, (isOpen) => isOpen);\n\nexport const filterDrawerIsOpenSelector = createSelector(getFilterDrawerIsOpen, (isOpen) => isOpen);\n\nexport const partnerProfileDrawerIsOpenSelector = createSelector(getSelectedPartnerDrawerIsOpen, (isOpen) => isOpen);\n","import Fab from '@material-ui/core/Fab';\nimport { SvgIcon, SvgIconProps } from '@material-ui/core';\nimport { iconPaths, IconTypes } from '../../../react/constants/icons';\nimport React from 'react';\n\ntype FabButtonTypes = {\n\ticon: IconTypes;\n\tclassName?: string;\n\tsvgIconProps: SvgIconProps;\n\tariaLabel: string;\n\ttitle?: string;\n\thref?: string;\n\tonClick?: () => void;\n};\n\nconst FabButton: React.FC = ({ icon, svgIconProps, ariaLabel, title, ...props }) => {\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default FabButton;\n\nFabButton.defaultProps = {\n\ticon: 'search',\n};\n","import { makeStyles, createStyles, Theme } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme: Theme) =>\n\tcreateStyles({\n\t\tshowPartnerListDrawer: {\n\t\t\tleft: 0,\n\t\t\ttransition: 'left .3s ease-in',\n\t\t\tposition: 'absolute',\n\t\t\tmargin: theme.spacing(2),\n\t\t\tzIndex: 5,\n\t\t\t'&:hover': {\n\t\t\t\t'& svg': {\n\t\t\t\t\tfill: 'white',\n\t\t\t\t},\n\t\t\t},\n\t\t\t'& svg': {\n\t\t\t\tfill: 'white',\n\t\t\t},\n\t\t\tdisplay: 'none',\n\t\t\t[theme.breakpoints.up('lg')]: {\n\t\t\t\tdisplay: 'flex',\n\t\t\t},\n\t\t},\n\t\tshowMapFullScreen: {\n\t\t\tright: 0,\n\t\t\ttransition: 'right .3s ease-in',\n\t\t\tposition: 'absolute',\n\t\t\tmargin: theme.spacing(2),\n\t\t\tzIndex: 5,\n\t\t\t'&:hover': {\n\t\t\t\t'& svg': {\n\t\t\t\t\tfill: 'white',\n\t\t\t\t},\n\t\t\t},\n\t\t\t'& svg': {\n\t\t\t\tfill: 'white',\n\t\t\t},\n\t\t\tdisplay: 'none',\n\t\t\t[theme.breakpoints.up('lg')]: {\n\t\t\t\tdisplay: 'flex',\n\t\t\t},\n\t\t},\n\t\tpartnerListHidden: {\n\t\t\tleft: -theme.spacing(8),\n\t\t},\n\t\tmapHidden: {\n\t\t\tright: -theme.spacing(8),\n\t\t},\n\t}),\n);\n","import React, { memo, useMemo } from 'react';\nimport FabButton from 'global/react-mui/atoms/FabButton';\nimport clsx from 'clsx';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { partnerListIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { useStyles } from './styles';\n\nconst PartnerListToggler = (): JSX.Element => {\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\tconst isPartnerListDrawerVisible = useSelector(partnerListIsOpenSelector);\n\tconst showPartnerListDrawer = (isOpen) => dispatch(uiSliceActions.setIsPartnerListDrawerOpen({ isOpen }));\n\n\tconst svgIconProps = { style: { width: 16, height: 16 }, viewBox: '0 0 24 24' };\n\n\treturn (\n\t\t showPartnerListDrawer(!isPartnerListDrawerVisible)}\n\t\t\tariaLabel=\"show map full width\"\n\t\t\ticon={isPartnerListDrawerVisible ? 'fullScreen' : 'list'}\n\t\t\ttitle=\"show full width map\"\n\t\t\tsvgIconProps={svgIconProps}\n\t\t\tclassName={classes.showPartnerListDrawer}\n\t\t/>\n\t);\n};\n\nexport default memo(PartnerListToggler);\n","import React, { useEffect, useState } from 'react';\nimport Map from './../Map';\nimport { loadMapApi } from '../map-utils';\nimport { Box } from '@material-ui/core';\nimport { useSelector } from 'react-redux';\nimport { partnerListIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport PartnerListToggler from '../../../views/PartnersLocator/PartnerListToggler';\n\ninterface IMapWrapper {\n\tclasses: any;\n}\n\nconst MapWrapper: React.FC = ({ classes, ...props }) => {\n\tconst [scriptLoaded, setScriptLoaded] = useState(false);\n\n\tconst handleScriptLoaded = () => setScriptLoaded(true);\n\n\tuseEffect(() => {\n\t\tconst googleMapScript = loadMapApi();\n\n\t\tgoogleMapScript.addEventListener('load', handleScriptLoaded);\n\n\t\treturn () => {\n\t\t\tgoogleMapScript.removeEventListener('load', handleScriptLoaded);\n\t\t};\n\t}, []);\n\n\tconst contentShouldBeShifted = useSelector(partnerListIsOpenSelector);\n\n\treturn (\n\t\t
\n\t\t\t{scriptLoaded && (\n\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)}\n\t\t
\n\t);\n};\n\nexport default MapWrapper;\n","export const loadMapApi = (): HTMLScriptElement => {\n\tconst mapsURL = process.env.GOOGLE_MAPS_API_KEY\n\t\t? `https://maps.googleapis.com/maps/api/js?key=${process.env.GOOGLE_MAPS_API_KEY}&libraries=geometry,places&language=en®ion=ES&v=quarterly`\n\t\t: `https://maps.googleapis.com/maps/api/js?libraries=geometry,places&language=en®ion=ES&v=quarterly`;\n\n\tconst scripts = document.getElementsByTagName('script');\n\t// Go through existing script tags, and return google maps api tag when found.\n\tfor (let i = 0; i < scripts.length; i++) {\n\t\tif (scripts[i].src.indexOf(mapsURL) === 0) {\n\t\t\treturn scripts[i];\n\t\t}\n\t}\n\n\tconst googleMapScript = document.createElement('script');\n\tgoogleMapScript.src = mapsURL;\n\tgoogleMapScript.async = true;\n\tgoogleMapScript.defer = true;\n\twindow.document.body.appendChild(googleMapScript);\n\n\treturn googleMapScript;\n};\n","import React, { memo } from 'react';\n\ntype TopPartnerProps = {\n\tsize?: 'small' | 'medium';\n\ttitle?: string;\n};\n\nfunction getSizes(size: TopPartnerProps['size']) {\n\tswitch (size) {\n\t\tcase 'small':\n\t\t\treturn {\n\t\t\t\twidth: 40,\n\t\t\t\theight: 47,\n\t\t\t};\n\t\tcase 'medium':\n\t\tdefault:\n\t\t\treturn {\n\t\t\t\twidth: 70,\n\t\t\t\theight: 84,\n\t\t\t};\n\t}\n}\n\nconst TopPartner: React.FC = ({ size = 'medium', title }) => {\n\tconst dimensions = getSizes(size);\n\treturn (\n\t\t\n\t\t\t{title}\n\t\t\t\n\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\n\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\t\t\n\t\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\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(TopPartner);\n","import { makeStyles } from '@material-ui/core/styles';\nimport { colors } from 'global/react-mui/theme/colors';\n\nconst partners = {\n\tdisplay: 'flex',\n\tminWidth: '150px',\n\tgap: 10,\n\talignItems: 'center',\n};\n\nexport const useStyles = makeStyles((theme) => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tminHeight: 192,\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-around',\n\t\tborderBottom: `1px solid ${colors['silver-grey']}`,\n\t\tpaddingLeft: 32,\n\t\tpaddingRight: 32,\n\t\tcursor: 'pointer',\n\t\tborderRadius: 'unset',\n\t\tboxShadow: 'unset',\n\t\t'&:hover': {\n\t\t\tbackgroundColor: colors['light-blue-90-white'],\n\t\t},\n\t},\n\tisFocussed: {\n\t\tbackgroundColor: colors['light-blue-90-white'],\n\t},\n\tdetails: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\tminWidth: '50%',\n\t\tmaxWidth: '50%',\n\t},\n\tcontent: {\n\t\tflex: '1 0 auto',\n\t},\n\tcover: {\n\t\twidth: 130,\n\t\tminWidth: 130,\n\t\tmaxWidth: 130,\n\t\theight: 130,\n\t\t'@media (min-width:1280px) and (max-width:1390px)': {\n\t\t\twidth: 98,\n\t\t\tminWidth: 98,\n\t\t\tmaxWidth: 98,\n\t\t\theight: 98,\n\t\t},\n\t},\n\tcompanyName: {\n\t\tfontSize: 22,\n\t\tfontWeight: 500,\n\t\tmarginBottom: 8,\n\t},\n\tpartners: {\n\t\tdisplay: 'flex',\n\t\tminWidth: '150px',\n\t\tgap: 10,\n\t\tjustifyContent: 'center',\n\t\talignItems: 'center',\n\t},\n\tcertificate: {\n\t\t...partners,\n\t\tjustifyContent: 'flex-start',\n\t},\n\tpartner: {\n\t\t...partners,\n\t\tjustifyContent: 'flex-end',\n\t},\n\tpartnersCertified: {\n\t\t...partners,\n\t\tjustifyContent: 'center',\n\t},\n\troundedButton: {\n\t\tborderRadius: 32,\n\t\theight: 35,\n\t\tfontSize: 14,\n\t\tcolor: colors['dark-grey'],\n\t\twhiteSpace: 'nowrap',\n\t\tminWidth: '90px',\n\t\tmarginLeft: '8px',\n\t},\n\tcompanyReplacementIcon: {\n\t\theight: '130px',\n\t\twidth: '130px',\n\t\tcolor: colors['primary'],\n\t\t'@media (min-width:1280px) and (max-width:1390px)': {\n\t\t\twidth: '98px',\n\t\t\theight: '98px',\n\t\t},\n\t},\n\tcertificateBadge: {},\n\tpartnerBadge: {},\n}));\n","import { createSelector } from '@reduxjs/toolkit';\nimport { RootState } from '../..';\n\nconst getTranslations = (state: RootState) => state.translations;\n\nexport const translationsSelector = createSelector(getTranslations, (translations) => translations);\n","import React, { memo } from 'react';\n\ntype CertificateProps = {\n\tsize?: 'small' | 'medium';\n\ttitle?: string;\n};\n\nfunction getSizes(size: CertificateProps['size']) {\n\tswitch (size) {\n\t\tcase 'small':\n\t\t\treturn {\n\t\t\t\twidth: 40,\n\t\t\t\theight: 47,\n\t\t\t};\n\t\tcase 'medium':\n\t\tdefault:\n\t\t\treturn {\n\t\t\t\twidth: 70,\n\t\t\t\theight: 84,\n\t\t\t};\n\t}\n}\n\nconst Certificate: React.FC = ({ size = 'medium', title }) => {\n\tconst dimensions = getSizes(size);\n\treturn (\n\t\t\n\t\t\t{title && {title}}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(Certificate);\n","import React, { memo } from 'react';\nimport { IPartner } from '../../../model/partner';\nimport Card from '@material-ui/core/Card';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardMedia from '@material-ui/core/CardMedia';\nimport Typography from '@material-ui/core/Typography';\nimport { Box } from '@material-ui/core';\nimport Button from 'global/react-mui/atoms/Button';\nimport TopPartner from '../../TopPartner';\nimport { useStyles } from './styles';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { fhwSliceActions } from '../../../store/modules/fhw/reducer';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\nimport { mapSliceActions } from '../../../store/modules/map/reducer';\nimport { focussedPartnerIdSelector } from '../../../store/modules/fhw/selectors';\nimport clsx from 'clsx';\nimport { SvgIcon } from '@material-ui/core';\nimport { iconPaths } from '../../../../../../../../global/react/constants/icons';\nimport Certificate from '../../Certificate/Certificate';\n\nconst PartnerCard: React.FC<{ partner: IPartner }> = ({\n\tpartner: { name, nameAdditional, address, id, image, isCertified, isTopPartner },\n\t...props\n}) => {\n\tconst dispatch = useDispatch();\n\tconst classes = useStyles();\n\n\tconst { partnersListViewProfileButtonText, certifiedTitle, topPartnerTitle } = useSelector(translationsSelector);\n\tconst focussedPartnerId = useSelector(focussedPartnerIdSelector);\n\n\tconst isFocussed = focussedPartnerId === id;\n\n\tconst openIndividualProfileDrawer = () => {\n\t\tdispatch(fhwSliceActions.setSelectedPartner(`${id}`));\n\t\tsetTimeout(() => {\n\t\t\tdispatch(uiSliceActions.setIsIndividualProfileDrawerOpen({ isOpen: true }));\n\t\t}, 900);\n\t};\n\n\tconst setCurrentPositionOnMapCenter = () => {\n\t\tdispatch(mapSliceActions.setMapCentre({ lat: address.lat, lng: address.lng }));\n\t\tdispatch(fhwSliceActions.setFocussedPartnerId(id));\n\t\tdispatch(mapSliceActions.setMapZoom(14));\n\t};\n\n\tconst mainClass = `${!isCertified && !isTopPartner ? classes.partners : ''} ${isCertified && !isTopPartner ? classes.certificate : ''} ${\n\t\tisTopPartner && !isCertified ? classes.partner : ''\n\t} ${isCertified && isTopPartner ? classes.partnersCertified : ''}`;\n\n\treturn (\n\t\t\n\t\t\t{image ? (\n\t\t\t\t\n\t\t\t) : (\n\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\t\n\t\t\t\t\t\n\t\t\t\t\t\t{name}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{nameAdditional}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{`${address.address1} ${address.address2} ${address.address3}`}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{`${address.postcode} ${address.city}`}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\t\t{isCertified && (\n\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\t{isTopPartner && (\n\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\t\n\t\t\n\t);\n};\n\nexport default memo(PartnerCard);\n","import React, { memo, useEffect, useRef } from 'react';\nimport { Box, makeStyles, Typography } from '@material-ui/core';\nimport { FixedSizeList as List } from 'react-window';\nimport { useSelector } from 'react-redux';\nimport { partnerListIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport { usePartnersData } from '../../../store/modules/services/searchPartnersApi/hooks';\nimport PartnerCard from '../PartnerCard';\nimport { focussedPartnerIdSelector } from '../../../store/modules/fhw/selectors';\n\ntype PartnerListDrawerProps = {\n\theight: number;\n\twidth: number;\n};\n\nconst Row = ({ index, style, data }: { index: number; style: any; data: any }) => {\n\tconst classes = useStyles();\n\tif (!data.partners || !data.partners[index]?.id)\n\t\treturn (\n\t\t\t
\n\t\t\t\t{data.errorMessage ?? ''}\n\t\t\t
\n\t\t);\n\treturn (\n\t\t
\n\t\t\t\n\t\t
\n\t);\n};\n\nconst PartnerList: React.FC = ({ height, width }) => {\n\tconst isPartnerListDrawerVisible = useSelector(partnerListIsOpenSelector);\n\tconst focussedPartnerId = useSelector(focussedPartnerIdSelector);\n\n\tconst data = usePartnersData();\n\tconst listRef = useRef();\n\tconst classes = useStyles();\n\n\tuseEffect(() => {\n\t\tif (listRef.current && listRef.current.state.scrollOffset !== 0) {\n\t\t\tlistRef.current.scrollToItem({ rowIndex: 0 });\n\t\t}\n\t}, [data]);\n\n\tuseEffect(() => {\n\t\tif (focussedPartnerId && listRef.current) {\n\t\t\tconst partnerRowIndex = data.partners.findIndex((item) => item.id === focussedPartnerId);\n\t\t\tlistRef.current.scrollToItem(partnerRowIndex);\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [focussedPartnerId]);\n\n\tif (!!width && !!height && isPartnerListDrawerVisible) {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{Row}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\n\treturn null;\n};\n\nexport default memo(PartnerList);\n\nconst useStyles = makeStyles((theme) => ({\n\troot: {\n\t\toverflowX: 'hidden',\n\t},\n\terrorMessageSpan: {\n\t\tmargin: '24px',\n\t},\n}));\n","import React, { memo, useEffect, useRef } from 'react';\nimport { makeStyles } from '@material-ui/core';\nimport { Drawer } from '@material-ui/core';\nimport { useSelector } from 'react-redux';\nimport { partnerListIsOpenSelector } from '../../store/modules/ui/selectors';\nimport clsx from 'clsx';\nimport { useContainerDimensions } from 'global/react/hooks/useContainerDimensions';\nimport PartnerList from './PartnerList';\n\ntype PartnerListDrawerProps = {\n\tclasses: any;\n};\n\nconst PartnerListDrawer: React.FC = ({ classes }) => {\n\tconst isPartnerListDrawerVisible = useSelector(partnerListIsOpenSelector);\n\tconst internalClasses = useStyles({ isPartnerListDrawerVisible })();\n\tconst containerRef = useRef();\n\tconst { width, height } = useContainerDimensions(containerRef);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(PartnerListDrawer);\n\nconst useStyles = (props) =>\n\tmakeStyles((theme) => ({\n\t\troot: {\n\t\t\tdisplay: 'none',\n\t\t\t[theme.breakpoints.up('lg')]: {\n\t\t\t\tdisplay: props.isPartnerListDrawerVisible ? 'block' : 'hidden',\n\t\t\t},\n\t\t},\n\t}));\n","import React, { useEffect, useState } from 'react';\n\ntype Dimensions = {\n\twidth: number;\n\theight: number;\n};\n\nexport const useContainerDimensions = (ref: React.MutableRefObject): Dimensions => {\n\tconst [componentHasBeenLoaded, setComponentHasBeenLoaded] = useState(false);\n\tconst getDimensions = () => ({\n\t\twidth: ref.current.offsetWidth,\n\t\theight: ref.current.offsetHeight,\n\t});\n\n\tconst [dimensions, setDimensions] = useState({ width: 0, height: 0 });\n\n\tconst handleResize = () => {\n\t\tsetDimensions(getDimensions());\n\t};\n\n\tuseEffect(() => {\n\t\tif (ref.current) {\n\t\t\tsetDimensions(getDimensions());\n\t\t}\n\n\t\twindow.addEventListener('resize', handleResize);\n\n\t\tsetComponentHasBeenLoaded(true);\n\n\t\treturn () => {\n\t\t\twindow.removeEventListener('resize', handleResize);\n\t\t};\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [ref]);\n\n\tuseEffect(() => {\n\t\tif (componentHasBeenLoaded && dimensions.width === 0 && dimensions.height === 0) {\n\t\t\thandleResize();\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [componentHasBeenLoaded]);\n\n\treturn dimensions;\n};\n","import { FormControl as MuiFormControl, styled, FormControlProps } from '@material-ui/core';\nimport { compose, sizing, spacing, SizingProps, SpacingProps } from '@material-ui/system';\n\nconst FormControl = styled(MuiFormControl)(compose(sizing, spacing));\n\nexport type FormControlEnhancedProps = FormControlProps & SizingProps & SpacingProps;\n\nexport default FormControl;\n","import InputBase from '@material-ui/core/InputBase';\nimport { createStyles, withStyles, Theme, makeStyles, styled } from '@material-ui/core/styles';\nimport { colors } from '../../theme/colors';\nimport { INPUT_HEIGHT } from '../../theme/constants';\nimport { compose, sizing, spacing } from '@material-ui/system';\nimport { TextField } from '@material-ui/core';\n\nconst CustomInput = withStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\t'label + &': {\n\t\t\t\tmarginTop: theme.spacing(1),\n\t\t\t},\n\t\t\t'& .MuiInputAdornment-positionEnd': {\n\t\t\t\tmarginLeft: 0,\n\t\t\t\t// border: `1px solid ${theme.palette.secondary.main}`,\n\t\t\t\tminHeight: INPUT_HEIGHT,\n\t\t\t},\n\t\t},\n\t\tinput: {\n\t\t\theight: INPUT_HEIGHT,\n\t\t\tposition: 'relative',\n\t\t\tbackgroundColor: theme.palette.common.white,\n\t\t\tboxSizing: 'border-box',\n\t\t\toutlineWidth: 1,\n\t\t\toutlineStyle: 'solid',\n\t\t\toutlineColor: colors['silver-grey'],\n\t\t\tfontSize: 16,\n\t\t\tpadding: '14px',\n\t\t\t'&:hover': {\n\t\t\t\toutlineColor: theme.palette.common.black,\n\t\t\t},\n\t\t\t'&:focus': {\n\t\t\t\toutlineStyle: 'solid',\n\t\t\t\toutlineColor: theme.palette.common.black,\n\t\t\t\toutlineWidth: 1,\n\t\t\t},\n\t\t\t'&:disabled': {\n\t\t\t\toutlineColor: colors['silver-grey'],\n\t\t\t},\n\t\t},\n\t}),\n)(InputBase);\n\nexport const CustomTextField = withStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\t'label + &': {\n\t\t\t\tmarginTop: theme.spacing(1),\n\t\t\t},\n\t\t\t'& .MuiInputAdornment-positionEnd': {\n\t\t\t\tmarginLeft: 0,\n\t\t\t\t// border: `1px solid ${theme.palette.secondary.main}`,\n\t\t\t\tminHeight: INPUT_HEIGHT,\n\t\t\t},\n\t\t},\n\t}),\n)(TextField);\n\nexport const useStyles = makeStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\tdisplay: 'flex',\n\t\t\tflexDirection: 'column',\n\t\t\tflexWrap: 'wrap',\n\t\t\tminHeight: 72,\n\t\t\tjustifyContent: 'flex-end',\n\t\t\tmarginLeft: 0,\n\t\t\tmarginRight: 0,\n\t\t},\n\t\tlabel: {\n\t\t\twhiteSpace: 'nowrap',\n\t\t},\n\t}),\n);\n\nexport default styled(CustomInput)(compose(sizing, spacing));\n","import React, { memo } from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport Slider from '@material-ui/core/Slider';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport { colors } from 'global/react-mui/theme/colors';\nimport FormControl from 'global/react-mui/atoms/FormControl';\nimport { Box, InputLabel, SliderProps } from '@material-ui/core';\nimport { INPUT_HEIGHT } from 'global/react-mui/theme/constants';\nimport { useStyles } from 'global/react-mui/atoms/InputField/styles';\nimport { FormControlEnhancedProps } from '../FormControl/FormControl';\n\ninterface Props {\n\tchildren: React.ReactElement;\n\topen: boolean;\n\tvalue: number;\n}\n\nfunction ValueLabelComponent(props: Props) {\n\tconst { children, open, value } = props;\n\n\treturn (\n\t\t\n\t\t\t{children}\n\t\t\n\t);\n}\n\nconst CustomSlider = withStyles({\n\troot: {\n\t\tcolor: 'primary',\n\t\theight: 6,\n\t},\n\tthumb: {\n\t\theight: 12,\n\t\twidth: 12,\n\t\tbackgroundColor: 'primary',\n\t\tborder: '2px solid currentColor',\n\t\tmarginTop: -4,\n\t\tmarginLeft: -12,\n\t\t'&:focus, &:hover, &$active': {\n\t\t\tboxShadow: 'inherit',\n\t\t},\n\t},\n\tactive: {},\n\tvalueLabel: {\n\t\tleft: 'calc(-50% + 4px)',\n\t},\n\ttrack: {\n\t\theight: 4,\n\t\tborderRadius: 4,\n\t},\n\trail: {\n\t\theight: 4,\n\t\tborderRadius: 4,\n\t\tbackgroundColor: colors['silver-grey'],\n\t},\n})(Slider);\n\ntype CustomSliderProps = SliderProps & {\n\tlabel?: string;\n\thandleOnChange: (event: any, value: number | number[]) => void;\n\thasTooltip?: boolean;\n\tariaLabel?: string;\n\tdefaultValue: number;\n\tformControlProps?: FormControlEnhancedProps;\n\tid?: string;\n};\n\nconst CustomizedSlider: React.FC = ({\n\tlabel,\n\tid,\n\tariaLabel,\n\thasTooltip,\n\tdefaultValue,\n\thandleOnChange,\n\tformControlProps,\n\t...props\n}) => {\n\tconst classes = useStyles();\n\n\tconst sliderProps = {\n\t\t'aria-label': ariaLabel,\n\t\tdefaultValue: defaultValue,\n\t\tValueLabelComponent: hasTooltip ? ValueLabelComponent : undefined,\n\t\tonChange: handleOnChange,\n\t\t...props,\n\t};\n\n\treturn (\n\t\t\n\t\t\t{label && (\n\t\t\t\t\n\t\t\t\t\t{label}\n\t\t\t\t\n\t\t\t)}\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(CustomizedSlider);\n\nCustomizedSlider.defaultProps = {\n\thasTooltip: false,\n\tdefaultValue: 20,\n};\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\n// 'borrowed' from:\n// https://github.com/xnimorz/use-debounce/blob/master/src/useDebouncedCallback.ts\nimport { useRef, useEffect, useMemo } from 'react';\n\nexport interface CallOptions {\n\tleading?: boolean;\n\ttrailing?: boolean;\n}\n\nexport interface Options extends CallOptions {\n\tmaxWait?: number;\n}\n\nexport interface ControlFunctions {\n\tcancel: () => void;\n\tflush: () => void;\n\tisPending: () => boolean;\n}\n\n/**\n * Subsequent calls to the debounced function `debounced.callback` return the result of the last func invocation.\n * Note, that if there are no previous invocations it's mean you will get undefined. You should check it in your code properly.\n */\nexport interface DebouncedState ReturnType> extends ControlFunctions {\n\t(...args: Parameters): ReturnType | undefined;\n}\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked, or until the next browser frame is drawn. The debounced function\n * comes with a `cancel` method to cancel delayed `func` invocations and a\n * `flush` method to immediately invoke them. Provide `options` to indicate\n * whether `func` should be invoked on the leading and/or trailing edge of the\n * `wait` timeout. The `func` is invoked with the last arguments provided to the\n * debounced function. Subsequent calls to the debounced function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * If `wait` is omitted in an environment with `requestAnimationFrame`, `func`\n * invocation will be deferred until the next frame is drawn (typically about\n * 16ms).\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `debounce` and `throttle`.\n *\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0]\n * The number of milliseconds to delay; if omitted, `requestAnimationFrame` is\n * used (if available, otherwise it will be setTimeout(...,0)).\n * @param {Object} [options={}] The options object.\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.leading=false]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {number} [options.maxWait]\n * Specify invoking on the trailing edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * const resizeHandler = useDebouncedCallback(calculateLayout, 150);\n * window.addEventListener('resize', resizeHandler)\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * const clickHandler = useDebouncedCallback(sendMail, 300, {\n * leading: true,\n * trailing: false,\n * })\n * \n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * const debounced = useDebouncedCallback(batchLog, 250, { 'maxWait': 1000 })\n * const source = new EventSource('/stream')\n * source.addEventListener('message', debounced)\n *\n * // Cancel the trailing debounced invocation.\n * window.addEventListener('popstate', debounced.cancel)\n *\n * // Check for pending invocations.\n * const status = debounced.pending() ? \"Pending...\" : \"Ready\"\n */\nexport default function useDebouncedCallback ReturnType>(\n\tfunc: T,\n\twait?: number,\n\toptions?: Options,\n): DebouncedState {\n\tconst lastCallTime = useRef(null);\n\tconst lastInvokeTime = useRef(0);\n\tconst timerId = useRef(null);\n\tconst lastArgs = useRef([]);\n\tconst lastThis = useRef();\n\tconst result = useRef>();\n\tconst funcRef = useRef(func);\n\tconst mounted = useRef(true);\n\n\tfuncRef.current = func;\n\n\t// Bypass `requestAnimationFrame` by explicitly setting `wait=0`.\n\tconst useRAF = !wait && wait !== 0 && typeof window !== 'undefined';\n\n\tif (typeof func !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\twait = +wait || 0;\n\toptions = options || {};\n\n\tconst leading = !!options.leading;\n\tconst trailing = 'trailing' in options ? !!options.trailing : true; // `true` by default\n\tconst maxing = 'maxWait' in options;\n\tconst maxWait = maxing ? Math.max(+options.maxWait || 0, wait) : null;\n\n\tuseEffect(() => {\n\t\tmounted.current = true;\n\t\treturn () => {\n\t\t\tmounted.current = false;\n\t\t};\n\t}, []);\n\n\t// You may have a question, why we have so many code under the useMemo definition.\n\t//\n\t// This was made as we want to escape from useCallback hell and\n\t// not to initialize a number of functions each time useDebouncedCallback is called.\n\t//\n\t// It means that we have less garbage for our GC calls which improves performance.\n\t// Also, it makes this library smaller.\n\t//\n\t// And the last reason, that the code without lots of useCallback with deps is easier to read.\n\t// You have only one place for that.\n\tconst debounced = useMemo(() => {\n\t\tconst invokeFunc = (time: number) => {\n\t\t\tconst args = lastArgs.current;\n\t\t\tconst thisArg = lastThis.current;\n\n\t\t\tlastArgs.current = lastThis.current = null;\n\t\t\tlastInvokeTime.current = time;\n\t\t\treturn (result.current = funcRef.current.apply(thisArg, args));\n\t\t};\n\n\t\tconst startTimer = (pendingFunc: () => void, wait: number) => {\n\t\t\tif (useRAF) cancelAnimationFrame(timerId.current);\n\t\t\ttimerId.current = useRAF ? requestAnimationFrame(pendingFunc) : setTimeout(pendingFunc, wait);\n\t\t};\n\n\t\tconst shouldInvoke = (time: number) => {\n\t\t\tif (!mounted.current) return false;\n\n\t\t\tconst timeSinceLastCall = time - lastCallTime.current;\n\t\t\tconst timeSinceLastInvoke = time - lastInvokeTime.current;\n\n\t\t\t// Either this is the first call, activity has stopped and we're at the\n\t\t\t// trailing edge, the system time has gone backwards and we're treating\n\t\t\t// it as the trailing edge, or we've hit the `maxWait` limit.\n\t\t\treturn !lastCallTime.current || timeSinceLastCall >= wait || timeSinceLastCall < 0 || (maxing && timeSinceLastInvoke >= maxWait);\n\t\t};\n\n\t\tconst trailingEdge = (time: number) => {\n\t\t\ttimerId.current = null;\n\n\t\t\t// Only invoke if we have `lastArgs` which means `func` has been\n\t\t\t// debounced at least once.\n\t\t\tif (trailing && lastArgs.current) {\n\t\t\t\treturn invokeFunc(time);\n\t\t\t}\n\t\t\tlastArgs.current = lastThis.current = null;\n\t\t\treturn result.current;\n\t\t};\n\n\t\tconst timerExpired = () => {\n\t\t\tconst time = Date.now();\n\t\t\tif (shouldInvoke(time)) {\n\t\t\t\treturn trailingEdge(time);\n\t\t\t}\n\t\t\t// https://github.com/xnimorz/use-debounce/issues/97\n\t\t\tif (!mounted.current) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// Remaining wait calculation\n\t\t\tconst timeSinceLastCall = time - lastCallTime.current;\n\t\t\tconst timeSinceLastInvoke = time - lastInvokeTime.current;\n\t\t\tconst timeWaiting = wait - timeSinceLastCall;\n\t\t\tconst remainingWait = maxing ? Math.min(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n\n\t\t\t// Restart the timer\n\t\t\tstartTimer(timerExpired, remainingWait);\n\t\t};\n\n\t\tconst func: DebouncedState = (...args: Parameters): ReturnType => {\n\t\t\tconst time = Date.now();\n\t\t\tconst isInvoking = shouldInvoke(time);\n\n\t\t\tlastArgs.current = args;\n\t\t\tlastThis.current = this;\n\t\t\tlastCallTime.current = time;\n\n\t\t\tif (isInvoking) {\n\t\t\t\tif (!timerId.current && mounted.current) {\n\t\t\t\t\t// Reset any `maxWait` timer.\n\t\t\t\t\tlastInvokeTime.current = lastCallTime.current;\n\t\t\t\t\t// Start the timer for the trailing edge.\n\t\t\t\t\tstartTimer(timerExpired, wait);\n\t\t\t\t\t// Invoke the leading edge.\n\t\t\t\t\treturn leading ? invokeFunc(lastCallTime.current) : result.current;\n\t\t\t\t}\n\t\t\t\tif (maxing) {\n\t\t\t\t\t// Handle invocations in a tight loop.\n\t\t\t\t\tstartTimer(timerExpired, wait);\n\t\t\t\t\treturn invokeFunc(lastCallTime.current);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!timerId.current) {\n\t\t\t\tstartTimer(timerExpired, wait);\n\t\t\t}\n\t\t\treturn result.current;\n\t\t};\n\n\t\tfunc.cancel = () => {\n\t\t\tif (timerId.current) {\n\t\t\t\tuseRAF ? cancelAnimationFrame(timerId.current) : clearTimeout(timerId.current);\n\t\t\t}\n\t\t\tlastInvokeTime.current = 0;\n\t\t\tlastArgs.current = lastCallTime.current = lastThis.current = timerId.current = null;\n\t\t};\n\n\t\tfunc.isPending = () => {\n\t\t\treturn !!timerId.current;\n\t\t};\n\n\t\tfunc.flush = () => {\n\t\t\treturn !timerId.current ? result.current : trailingEdge(Date.now());\n\t\t};\n\n\t\treturn func;\n\t}, [leading, maxing, wait, maxWait, trailing, useRAF]);\n\n\treturn debounced;\n}\n","import React from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { distanceRadiusInKmSelector } from '../../../store/modules/filters/selectors';\nimport { filtersSliceActions } from '../../../store/modules/filters/reducer';\nimport Slider from '../../../../../../../../global/react-mui/atoms/Slider';\nimport useDebouncedCallback from 'global/react/hooks/useDebounceCallback';\nimport { partnerProfileDrawerIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\n\nconst RangeSlider: React.FC> = () => {\n\tconst dispatch = useDispatch();\n\tconst distanceRadiusInKm = useSelector(distanceRadiusInKmSelector);\n\tconst setDistanceRadiusInKm = (_, value) => dispatch(filtersSliceActions.setDistanceRadiusInKm(value));\n\tconst handleSetDistanceRadiusInKm = useDebouncedCallback(setDistanceRadiusInKm, 200);\n\tconst shouldBeDisabled = useSelector(partnerProfileDrawerIsOpenSelector);\n\tconst { searchFilterRadiusLabel } = useSelector(translationsSelector);\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default RangeSlider;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\nimport MuiCheckbox, { CheckboxProps } from '@material-ui/core/Checkbox';\nimport { colors } from '../../theme/colors';\nimport { iconPaths } from '../../../react/constants/icons';\n\nconst CustomCheckbox = withStyles({\n\troot: {\n\t\tcolor: colors['silver-grey'],\n\t\t'&$checked': {\n\t\t\tcolor: colors['silver-grey'],\n\t\t},\n\t},\n\tchecked: {},\n})((props: CheckboxProps) => );\n\ntype CheckboxTypes = {\n\tchecked?: boolean;\n\tdefaultChecked?: boolean;\n\thandleChange?: () => void;\n\tid?: string;\n\tlabel?: string;\n\tdisabled?: boolean;\n\tstyle?: any;\n};\n\nconst Checkbox = ({ checked, defaultChecked, handleChange, id, label, disabled, style, ...props }: CheckboxTypes): JSX.Element => {\n\treturn (\n\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\tcheckedIcon={\n\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}\n\t\t\t\t\tchecked={checked}\n\t\t\t\t\tdefaultChecked={defaultChecked}\n\t\t\t\t\tonChange={handleChange}\n\t\t\t\t\tid={id}\n\t\t\t\t/>\n\t\t\t}\n\t\t\tlabel={label}\n\t\t\t{...props}\n\t\t/>\n\t);\n};\n\nexport default Checkbox;\n","import React from 'react';\nimport SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon';\nimport { iconPaths } from '../../../../react/constants/icons';\n\nconst ArrowDown = (props: SvgIconProps): JSX.Element => (\n\t\n\t\t\n\t\n);\n\nexport default ArrowDown;\n","import React, { memo } from 'react';\nimport { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\nimport InputLabel from '@material-ui/core/InputLabel';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport Select from '@material-ui/core/Select';\nimport Chip from '@material-ui/core/Chip';\nimport CustomTextField from 'global/react-mui/atoms/InputField/styles';\nimport FormControl from 'global/react-mui/atoms/FormControl';\nimport Checkbox from 'global/react-mui/atoms/Checkbox';\nimport ArrowDown from 'global/react-mui/atoms/Select/ArrowDown';\nimport { MultiSelectProps } from './types';\nimport { colors } from 'global/react-mui/theme/colors';\nimport { INPUT_HEIGHT } from 'global/react-mui/theme/constants';\nimport { Typography } from '@material-ui/core';\n\nconst MultipleSelect: React.FC = ({\n\toptions,\n\tid,\n\tselectedOptions,\n\tlabel,\n\tdisabled,\n\tformControlProps,\n\tplaceholder,\n\tinputFieldProps,\n\trenderOptions,\n\thandleSelectChange,\n}) => {\n\tconst classes = useStyles();\n\tconst getItemLabel = (value): string => {\n\t\tconst option = options?.find((option) => option.value === value);\n\t\treturn option?.label || '';\n\t};\n\n\treturn (\n\t\t\n\t\t\t{label && (\n\t\t\t\t\n\t\t\t\t\t{label}\n\t\t\t\t\n\t\t\t)}\n\t\t\t value)}\n\t\t\t\tonChange={(e) => handleSelectChange(e.target.value as string)}\n\t\t\t\tinput={}\n\t\t\t\trenderValue={(selected) => {\n\t\t\t\t\tif ((selected as string[]).length === 0) {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{placeholder}\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\treturn (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{(selected as string[]).slice(0, 2).map((value) => (\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{(selected as string[]).length > 2 ? : null}\n\t\t\t\t\t\t
\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t\tinputProps={{ 'aria-label': label, height: INPUT_HEIGHT }}\n\t\t\t\tIconComponent={({ className }) => }\n\t\t\t\tMenuProps={{\n\t\t\t\t\tanchorOrigin: {\n\t\t\t\t\t\tvertical: 'bottom',\n\t\t\t\t\t\thorizontal: 'left',\n\t\t\t\t\t},\n\t\t\t\t\ttransformOrigin: {\n\t\t\t\t\t\tvertical: 'top',\n\t\t\t\t\t\thorizontal: 'left',\n\t\t\t\t\t},\n\t\t\t\t\tgetContentAnchorEl: null,\n\t\t\t\t}}>\n\t\t\t\t{renderOptions\n\t\t\t\t\t? options.map(renderOptions)\n\t\t\t\t\t: options.map((option) => (\n\t\t\t\t\t\t\t\n\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 ))}\n\t\t\t\n\t\t
\n\t);\n};\n\nMultipleSelect.defaultProps = {\n\tplaceholder: 'Choose your options...',\n\tformControlProps: { width: '340px', marginLeft: 0, marginRight: 0 },\n\tdisabled: false,\n\tinputFieldProps: {},\n};\n\nexport const useStyles = makeStyles((theme: Theme) =>\n\tcreateStyles({\n\t\tlabel: {\n\t\t\twhiteSpace: 'nowrap',\n\t\t},\n\t\tchips: {\n\t\t\tdisplay: 'flex',\n\t\t\tflexWrap: 'nowrap',\n\t\t\toverflowX: 'hidden',\n\t\t},\n\t\tchip: {\n\t\t\tmarginRight: 8,\n\t\t\tpaddingLeft: 4,\n\t\t\tpaddingRight: 4,\n\t\t\tbackground: colors['lighter-grey'],\n\t\t\tborderRadius: 4,\n\t\t},\n\t\tplaceholder: {\n\t\t\topacity: 0.7,\n\t\t},\n\t}),\n);\n\nexport default memo(MultipleSelect);\n","import React from 'react';\nimport MultiSelect from 'global/react-mui/atoms/MultiSelect';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { partnerCategoriesSelector, selectedPartnerCategoriesSelector } from '../../../store/modules/filters/selectors';\nimport { filtersSliceActions } from '../../../store/modules/filters/reducer';\nimport { ListItemText, MenuItem } from '@material-ui/core';\nimport Checkbox from 'global/react-mui/atoms/Checkbox';\nimport IconRenderer from 'global/react-mui/atoms/IconRenderer';\nimport { partnerProfileDrawerIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\n\nconst SelectCategory: React.FC> = () => {\n\tconst dispatch = useDispatch();\n\tconst partnerCategories = useSelector(partnerCategoriesSelector);\n\tconst selectedPartnerCategories = useSelector(selectedPartnerCategoriesSelector);\n\tconst isPartnerDrawerVisible = useSelector(partnerProfileDrawerIsOpenSelector);\n\tconst { chooseCategoryPlaceholder, searchFilterCategoriesPlaceholder } = useSelector(translationsSelector);\n\n\tconst handleSelectChange = (value) => {\n\t\tdispatch(filtersSliceActions.setPartnerCategoryType(value));\n\t};\n\n\treturn (\n\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\n\t\t\t)}\n\t\t/>\n\t);\n};\n\nexport default SelectCategory;\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { useCounterPartnersData } from '../../../store/modules/services/searchPartnersApi/hooks';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\nimport { Box, Typography } from '@material-ui/core';\n\nconst PartnersCounter: React.FC> = () => {\n\tconst { count, totalCount } = useCounterPartnersData();\n\tconst { partnersCounterPartnerLabel, partnersCounterInLabel } = useSelector(translationsSelector);\n\tconst message = `${partnersCounterInLabel} ${totalCount}`;\n\n\treturn totalCount === 0 ? (\n\t\t\n\t) : (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{count} {partnersCounterPartnerLabel}\n\t\t\t\t\n\t\t\t\n\t\t\t{message && (\n\t\t\t\t\n\t\t\t\t\t{message}\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default PartnersCounter;\n","import React, { useEffect } from 'react';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { InputLabel, TextField } from '@material-ui/core';\nimport FormControl from 'global/react-mui/atoms/FormControl';\nimport { FormControlEnhancedProps } from 'global/react-mui/atoms/FormControl/FormControl';\nimport { INPUT_HEIGHT } from 'global/react-mui/theme/constants';\nimport { CustomTextField } from 'global/react-mui/atoms/InputField/styles';\n\ntype InputAutoCompleteProps = {\n\toptions?: string[];\n\tariaLabel?: string;\n\tlabel?: string;\n\tformControlProps?: FormControlEnhancedProps;\n\thandleOnChange: (value: string) => void;\n\thandleOnInputChange: (value: string) => void;\n\tplaceholder?: string;\n\tid?: string;\n\tvalue: string;\n\tinputValue: string;\n\tdisabled: boolean;\n};\n\nconst InputAutoComplete: React.FC = ({\n\tlabel,\n\tariaLabel,\n\toptions = [],\n\tvalue,\n\tinputValue,\n\tdisabled,\n\tid,\n\tformControlProps,\n\tplaceholder,\n\thandleOnChange,\n\thandleOnInputChange,\n}) => {\n\tconst classes = useStyles();\n\n\tconst handleSafeSubmitOnChange = (_, value) => {\n\t\tif (options.includes(value)) handleOnChange(value as string);\n\t};\n\n\tuseEffect(() => {\n\t\tif (inputValue !== value && inputValue === '') {\n\t\t\thandleOnChange(inputValue as string);\n\t\t} else {\n\t\t\thandleOnInputChange(inputValue);\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [inputValue]);\n\n\treturn (\n\t\t\n\t\t\t{label && (\n\t\t\t\t\n\t\t\t\t\t{label}\n\t\t\t\t\n\t\t\t)}\n\t\t\t option}\n\t\t\t\tonChange={handleSafeSubmitOnChange}\n\t\t\t\tonInputChange={(_, newInputValue) => {\n\t\t\t\t\thandleOnInputChange(newInputValue);\n\t\t\t\t}}\n\t\t\t\trenderOption={(option) => (\n\t\t\t\t\t
\n\t\t\t\t\t\t{option}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\trenderInput={(params) => (\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t/>\n\t\t
\n\t);\n};\n\nconst useStyles = makeStyles({\n\tellipsis: {\n\t\ttextOverflow: 'ellipsis',\n\t\toverflow: 'hidden',\n\t\twhiteSpace: 'nowrap',\n\t},\n\toption: {\n\t\tfontSize: 15,\n\t\t'& > span': {\n\t\t\tmarginRight: 10,\n\t\t\tfontSize: 18,\n\t\t},\n\t},\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\tflexWrap: 'wrap',\n\t\tminHeight: 72,\n\t\tjustifyContent: 'flex-end',\n\t\tmarginLeft: 0,\n\t\tmarginRight: 0,\n\t},\n\ttextfield: {\n\t\tmarginLeft: 0,\n\t\tmarginRight: 0,\n\t\t'& div': {\n\t\t\tjustifyContent: 'center',\n\t\t\tdisplay: 'flex',\n\t\t\tflexDirection: 'column',\n\t\t\talignItems: 'flex-start',\n\t\t\t'& input': {\n\t\t\t\tminWidth: '100% !important',\n\t\t\t},\n\t\t},\n\t},\n\tlabel: {\n\t\twhiteSpace: 'nowrap',\n\t},\n\tlistbox: {\n\t\t'& li': {\n\t\t\theight: INPUT_HEIGHT,\n\t\t},\n\t},\n});\n\nInputAutoComplete.defaultProps = {\n\tformControlProps: { minWidth: 280, marginLeft: 0, marginRight: 0 },\n};\n\nexport default InputAutoComplete;\n","import React, { memo, useEffect, useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { filtersSliceActions } from '../../../store/modules/filters/reducer';\nimport useDebouncedCallback from 'global/react/hooks/useDebounceCallback';\nimport InputAutoComplete from 'global/react-mui/atoms/InputAutoComplete';\nimport { suggestedInputSelector } from '../../../store/modules/filters/selectors';\nimport { useGetLocationSuggestionQuery } from '../../../store/modules/services/searchPartnersApi/searchPartnersApi';\nimport { makeStyles } from '@material-ui/core';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\nimport { MapInitialState, mapSliceActions } from '../../../store/modules/map/reducer';\nimport { ILocationSuggestion } from 'wolf/components/organisms/o-fhw-search/o-fhw-search.data-utils';\nimport { apiUrlsSelector } from '../../../store/modules/fhw/selectors';\nimport { partnerProfileDrawerIsOpenSelector } from '../../../store/modules/ui/selectors';\n\nconst getOptions = (data) => {\n\treturn (\n\t\tdata?.data.map((location) => {\n\t\t\tconst singleSuggestion = `${location.city} (${location.postcode})`;\n\t\t\treturn singleSuggestion;\n\t\t}) || []\n\t);\n};\n\nconst LocationAutoComplete: React.FC> = () => {\n\tconst dispatch = useDispatch();\n\tconst classes = useStyles();\n\tconst currentValue = useSelector(suggestedInputSelector);\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\tconst { searchFilterPLZLabel, searchFilterPLZPlaceholder } = useSelector(translationsSelector);\n\tconst shouldBeDisabled = useSelector(partnerProfileDrawerIsOpenSelector);\n\tconst [inputValue, setInputValue] = useState('');\n\tconst [locationSuggestions, setLocationSuggestions] = useState([]);\n\n\tconst { parsedOptions, options, isLoading } = useGetLocationSuggestionQuery(\n\t\t{ value: inputValue, endpoint: apiUrls?.getLocationSuggestions },\n\t\t{\n\t\t\tselectFromResult: ({ data, ...rest }) => ({ parsedOptions: getOptions(data), options: data?.data || [], ...rest }),\n\t\t\tskip: inputValue === '',\n\t\t},\n\t);\n\n\tconst setInputToSuggest = (value: string) => {\n\t\tconst currentOption = locationSuggestions.find((suggestion) => `${suggestion.city} (${suggestion.postcode})` === value);\n\n\t\tconst mapCentre: MapInitialState['mapCentre'] = {\n\t\t\tlat: currentOption?.lat || -1,\n\t\t\tlng: currentOption?.lng || -1,\n\t\t};\n\n\t\tdispatch(\n\t\t\tfiltersSliceActions.setSuggestedInput({\n\t\t\t\ttext: value,\n\t\t\t\t...mapCentre,\n\t\t\t\tzip: currentOption?.postcode || '',\n\t\t\t}),\n\t\t);\n\n\t\t// pan map to postcode lat/lng\n\t\tif (currentOption) {\n\t\t\tdispatch(mapSliceActions.setMapCentre(mapCentre));\n\t\t\tdispatch(mapSliceActions.setMapZoom(14));\n\t\t}\n\t};\n\n\tconst handleSetInputToSuggest = useDebouncedCallback(setInputToSuggest, 200);\n\n\t// This is just updating the input field on autocomplete, it will not trigger any new query\n\tconst handleOnInputChange = (value: React.SetStateAction) => setInputValue(value);\n\n\tuseEffect(() => {\n\t\tif (options.length) setLocationSuggestions(options);\n\t}, [options]);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t{/* Support for loading if needed - in future use an icon in the input? */}\n\t\t\t\t{/* { isLoading && Loading... } */}\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nconst useStyles = makeStyles((theme) => ({\n\thiddenOnMobile: {\n\t\tdisplay: 'none',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'block',\n\t\t},\n\t},\n\thiddenOnDesktop: {\n\t\tdisplay: 'block',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'none',\n\t\t},\n\t},\n}));\n\nexport default memo(LocationAutoComplete);\n","import React from 'react';\nimport { Box, IconButton, makeStyles } from '@material-ui/core';\nimport IconRenderer from 'global/react-mui/atoms/IconRenderer';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { useDispatch } from 'react-redux';\n\nconst MobileFilterToggler = (): JSX.Element => {\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\tconst showFilterDrawer = () => dispatch(uiSliceActions.setIsFilterDrawerOpen({ isOpen: true }));\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default MobileFilterToggler;\n\nconst useStyles = makeStyles((theme) => ({\n\tbutton: {\n\t\tborder: `1px solid #62677E`,\n\t},\n}));\n","import React from 'react';\nimport { Grid, makeStyles } from '@material-ui/core';\nimport RangeSlider from './RangeSlider';\nimport SelectCategory from './SelectCategory';\nimport PartnersCounter from './PartnersCounter';\nimport LocationAutoComplete from './LocationAutoComplete';\nimport MobileFilterToggler from './MobileFilterToggler';\n\nconst SearchArea: React.FC> = () => {\n\tconst classes = useStyles();\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default SearchArea;\n\nconst useStyles = makeStyles((theme) => ({\n\thiddenOnMobile: {\n\t\tdisplay: 'none',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'flex',\n\t\t\talignItems: 'center',\n\t\t\tjustifyContent: 'center',\n\t\t\tmaxWidth: '440px',\n\t\t},\n\t},\n\thiddenOnDesktop: {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'center',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'none',\n\t\t},\n\t},\n}));\n","import React, { forwardRef } from 'react';\nimport { Box, createStyles, withStyles, Theme, BoxProps } from '@material-ui/core';\nimport createNameSpacedComponent from 'global/react/utils/ts/createNamespacedComponent';\n\nconst GridContainer = withStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\tdisplay: 'grid',\n\t\t\tgridTemplateColumns: '1fr',\n\t\t\tgridColumnGap: 0,\n\t\t\tgridTemplateRows: 'auto',\n\t\t\tgridTemplateAreas: `\"search-area\" \"content\"`,\n\t\t},\n\t}),\n)((props: BoxProps) => );\n\nconst SearchArea = withStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\tgridArea: 'search-area',\n\t\t\tpadding: '12px',\n\t\t\tmaxHeight: '10vh',\n\t\t\tdisplay: 'flex',\n\t\t\talignItems: 'center',\n\t\t\tzIndex: 6,\n\t\t\t[theme.breakpoints.up('sm')]: {\n\t\t\t\tmaxHeight: '110px',\n\t\t\t\tpadding: theme.spacing(3),\n\t\t\t},\n\t\t},\n\t}),\n)((props: BoxProps) => );\n\nconst Content = withStyles((theme: Theme) =>\n\tcreateStyles({\n\t\troot: {\n\t\t\tgridArea: 'content',\n\t\t\tdisplay: 'flex',\n\t\t\toverflowY: 'scroll',\n\t\t\tminHeight: 'min(930px, 90vh)',\n\t\t\tmaxHeight: 'min(930px, 90vh)',\n\t\t\tposition: 'relative',\n\t\t},\n\t}),\n)(forwardRef((props: BoxProps & { ref: React.MutableRefObject }, ref) => ));\n\nexport default createNameSpacedComponent(GridContainer, {\n\tSearchArea,\n\tContent,\n});\n","import React from 'react';\nimport clsx from 'clsx';\nimport { Box, Grid, makeStyles, Typography } from '@material-ui/core';\nimport IconRenderer from '../../../../../../../../global/react-mui/atoms/IconRenderer';\nimport { useSelector } from 'react-redux';\nimport { partnerCategoriesSelector } from '../../../store/modules/filters/selectors';\n\ntype CategoryToggleFilterTypes = {\n\thandleOnChange: (value: any) => void;\n\tselected: string[];\n};\n\nconst CategoryToggleFilter: React.FC = ({ handleOnChange, selected }) => {\n\tconst classes = useStyles();\n\tconst partnerCategories = useSelector(partnerCategoriesSelector);\n\treturn (\n\t\t\n\t\t\t{partnerCategories.map((category) => (\n\t\t\t\t\n\t\t\t\t\t handleOnChange(category.value)}>\n\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\t\t{category.label}\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};\nexport default CategoryToggleFilter;\n\nconst useStyles = makeStyles((theme) => ({\n\tcontainer: {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'center',\n\t},\n\tbutton: {\n\t\twidth: 'calc(100% - 32px)',\n\t\tborderRadius: 10,\n\t\tbackgroundColor: 'transparent',\n\t\tcolor: '#0D5055',\n\t\tborder: '1px solid #86A7AA',\n\t\tpaddingLeft: theme.spacing(2),\n\t\tpaddingRight: theme.spacing(2),\n\t\tpaddingTop: theme.spacing(1),\n\t\tpaddingBottom: theme.spacing(1),\n\t\tmargin: theme.spacing(1),\n\t\tcursor: 'pointer',\n\t},\n\tbuttonSelected: {\n\t\tbackgroundColor: theme.palette.primary.main,\n\t\tborder: `1px solid ${theme.palette.primary.main}`,\n\t\t'& p': {\n\t\t\tcolor: theme.palette.common.white,\n\t\t},\n\t\t'& div > div': {\n\t\t\tbackgroundColor: theme.palette.common.white,\n\t\t},\n\t\t'& svg': {\n\t\t\tfill: theme.palette.primary.main,\n\t\t},\n\t},\n\tcategoryName: {\n\t\tmarginTop: 8,\n\t},\n}));\n","import { makeStyles, Theme } from '@material-ui/core';\n\nexport const useStyles = makeStyles((theme: Theme) => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'none',\n\t\t},\n\t},\n\tpaper: {\n\t\tborderTopLeftRadius: 10,\n\t\tborderTopRightRadius: 10,\n\t},\n\ttitle: {\n\t\tfontWeight: 'bold',\n\t\tmargin: theme.spacing(2),\n\t},\n\tcloseIcon: {\n\t\tposition: 'absolute',\n\t\tright: 0,\n\t\tmargin: theme.spacing(1),\n\t\tcolor: 'textSecondary',\n\t},\n\tlabel: {\n\t\ttextAlign: 'left',\n\t\tletterSpacing: '-0.24px',\n\t\tfontSize: 12,\n\t\tmarginLeft: theme.spacing(2),\n\t},\n}));\n","import React, { useState } from 'react';\nimport { Box, IconButton, Typography } from '@material-ui/core';\nimport { Drawer } from '@material-ui/core';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { filterDrawerIsOpenSelector } from '../../../store/modules/ui/selectors';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { distanceRadiusInKmSelector, selectedPartnerCategoriesSelector } from '../../../store/modules/filters/selectors';\nimport IconRenderer from 'global/react-mui/atoms/IconRenderer';\nimport { filtersSliceActions } from '../../../store/modules/filters/reducer';\nimport Slider from 'global/react-mui/atoms/Slider';\nimport CategoryToggleFilter from '../CategoryToggleFilter';\nimport Button from 'global/react-mui/atoms/Button';\nimport { useStyles } from './styles';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\n\ntype MobileFiltersDrawerProps = {\n\tclasses?: any;\n};\n\nconst MobileFiltersDrawer: React.FC = ({ classes }) => {\n\tconst dispatch = useDispatch();\n\n\tconst internalClasses = useStyles();\n\tconst isFilterDrawerOpen = useSelector(filterDrawerIsOpenSelector);\n\tconst closeFilterDrawer = () => dispatch(uiSliceActions.setIsFilterDrawerOpen({ isOpen: false }));\n\tconst distanceRadiusInKm = useSelector(distanceRadiusInKmSelector);\n\tconst selectedPartnerCategories = useSelector(selectedPartnerCategoriesSelector);\n\tconst { searchFilterTitle, searchFilterSubmitButton, searchFilterRadiusLabel, searchFilterCategoriesLabel } = useSelector(translationsSelector);\n\n\tconst [tempFilters, setTempFilters] = useState({\n\t\tdistanceRadiusInKm,\n\t\tselectedPartnerCategories,\n\t});\n\n\tconst setTempDistanceRadiusInKm = (_, newDistanceRadiusInKm) => setTempFilters((temp) => ({ ...temp, distanceRadiusInKm: newDistanceRadiusInKm }));\n\n\tconst setTempSelectedPartnerCategories = (newPartnerCategory) => {\n\t\tconst isCurrentlySelected = tempFilters.selectedPartnerCategories.includes(newPartnerCategory);\n\t\tif (isCurrentlySelected) {\n\t\t\tsetTempFilters((temp) => ({\n\t\t\t\t...temp,\n\t\t\t\tselectedPartnerCategories: temp.selectedPartnerCategories.filter((item) => item !== newPartnerCategory),\n\t\t\t}));\n\t\t} else {\n\t\t\tsetTempFilters((temp) => ({ ...temp, selectedPartnerCategories: [...temp.selectedPartnerCategories, newPartnerCategory] }));\n\t\t}\n\t};\n\n\tconst onSubmitFilters = () => {\n\t\tdispatch(filtersSliceActions.setFilters(tempFilters));\n\t\tcloseFilterDrawer();\n\t};\n\n\tconst onCloseWithoutSaving = () => {\n\t\tsetTempFilters({\n\t\t\tdistanceRadiusInKm,\n\t\t\tselectedPartnerCategories,\n\t\t});\n\t\tcloseFilterDrawer();\n\t};\n\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\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{searchFilterTitle}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{`${searchFilterRadiusLabel}: ${tempFilters.distanceRadiusInKm}km`}\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\t\t\n\t\t\t\t\t\t\t\t{`${searchFilterCategoriesLabel}`}\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\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default MobileFiltersDrawer;\n","import { makeStyles, Theme } from '@material-ui/core';\nimport { createStyles } from '@material-ui/styles';\n\nexport const useStyles = makeStyles((theme: Theme) =>\n\tcreateStyles({\n\t\tlocatorwrapper: {\n\t\t\toverflowX: 'hidden',\n\t\t},\n\t\tdrawer: {\n\t\t\twidth: '56%',\n\t\t\tmaxWidth: 960,\n\t\t\tflexShrink: 0,\n\t\t\theight: '100%',\n\t\t},\n\t\tdrawerPaper: {\n\t\t\twidth: '100%',\n\t\t\tposition: 'initial',\n\t\t\tborderRight: 'unset',\n\t\t},\n\t\tcontent: {\n\t\t\tflexGrow: 1,\n\t\t\ttransition: theme.transitions.create('margin', {\n\t\t\t\teasing: theme.transitions.easing.sharp,\n\t\t\t\tduration: theme.transitions.duration.leavingScreen,\n\t\t\t}),\n\t\t\tmarginLeft: '-50px',\n\t\t},\n\t\tcontentShift: {\n\t\t\ttransition: theme.transitions.create('margin', {\n\t\t\t\teasing: theme.transitions.easing.easeOut,\n\t\t\t\tduration: theme.transitions.duration.enteringScreen,\n\t\t\t}),\n\t\t\tmarginLeft: 0,\n\t\t},\n\t}),\n);\n","import { makeStyles, Theme } from '@material-ui/core';\nimport { colors } from 'global/react-mui/theme/colors';\n\nexport const useStyles = makeStyles((theme: Theme) => ({\n\troot: {},\n\tmodal: {\n\t\twidth: '100vw',\n\t\tflexShrink: 0,\n\t},\n\tdrawerPaper: {\n\t\twidth: '100vw',\n\t\tposition: 'absolute',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\twidth: '80vw',\n\t\t\tmaxWidth: 1256,\n\t\t},\n\t},\n\tbutton: {\n\t\tmaxWidth: 'min-content',\n\t\tmargin: 0,\n\t\t'& span': {\n\t\t\tdisplay: 'flex',\n\t\t\tjustifyContent: 'center',\n\t\t\talignItems: 'center',\n\t\t\twhiteSpace: 'nowrap',\n\t\t\tcolor: colors['dark-grey'],\n\t\t\tpaddingLeft: 8,\n\t\t\tpaddingRight: 8,\n\t\t\t'& div': {\n\t\t\t\tmarginRight: '4px',\n\t\t\t},\n\t\t},\n\t\t[theme.breakpoints.up('md')]: {\n\t\t\tmargin: '24px',\n\t\t},\n\t},\n}));\n","import React, { memo, useEffect, useRef } from 'react';\nimport htmr from 'htmr';\nimport controller from 'wolf/global/js/controller-list';\nimport { ControllerUnmount } from 'global/interfaces/controller.interface';\n\ntype HydratedTwigHtmlStringProps = {\n\thtml: string;\n};\n\nconst HydratedTwigHtmlString = ({ html }: HydratedTwigHtmlStringProps): JSX.Element => {\n\tconst htmlRef = useRef(null);\n\tconst controllersRef = useRef) | undefined>>();\n\n\tuseEffect(\n\t\t() => {\n\t\t\tcontrollersRef.current = undefined;\n\t\t\tif (htmlRef.current) {\n\t\t\t\tconst elements = htmlRef.current.querySelectorAll('[data-controller]') as NodeListOf;\n\t\t\t\telements.forEach((element: HTMLElement, i: number) => {\n\t\t\t\t\tconst controllerName = element.getAttribute('data-controller');\n\t\t\t\t\tconst componentName = element.dataset['webComponent'];\n\t\t\t\t\tif (componentName && controllerName) {\n\t\t\t\t\t\tconst controllerExists = !!controller[controllerName];\n\t\t\t\t\t\tif (controllerExists) {\n\t\t\t\t\t\t\tcontrollersRef.current = {\n\t\t\t\t\t\t\t\t...controllersRef.current,\n\t\t\t\t\t\t\t\t[`cc${i}-${componentName}`]: new controller[controllerName](element),\n\t\t\t\t\t\t\t\t// [`cc${i}-${controllerName}`]: specificController.define(true),\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\treturn function cleanup() {\n\t\t\t\t// Cleaning up the class references in memory\n\t\t\t\tif (controllersRef.current) {\n\t\t\t\t\tObject.keys(controllersRef.current).forEach((key) => {\n\t\t\t\t\t\tif (controllersRef.current && controllersRef.current[key] !== undefined) {\n\t\t\t\t\t\t\t// for controllers requiring additional cleanup tasks\n\t\t\t\t\t\t\tif (controllersRef.current[key]?.onControllerUnmount) {\n\t\t\t\t\t\t\t\t(controllersRef.current[key] as typeof controller & ControllerUnmount).onControllerUnmount();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontrollersRef.current[key] = undefined;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tcontrollersRef.current = undefined;\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\t// htmlRef.current\n\t\t],\n\t);\n\n\treturn
{htmr(html)}
;\n};\n\nexport default memo(HydratedTwigHtmlString);\n","import React, { memo } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { fhwSliceActions } from '../../../store/modules/fhw/reducer';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport HydratedTwigHtmlString from 'global/react/components/HydratedTwigHtmlString';\nimport IconRenderer from 'global/react-mui/atoms/IconRenderer';\nimport Button from 'global/react-mui/atoms/Button';\nimport { colors } from 'global/react-mui/theme/colors';\n\nconst PartnerProfileModalContent: React.FC<{\n\tbuttonClassName: string;\n\tgobackbuttonText: string;\n\tdata: any;\n}> = ({ buttonClassName, gobackbuttonText, data }) => {\n\tconst dispatch = useDispatch();\n\tconst closeIndividualProfileModal = () => {\n\t\tdispatch(fhwSliceActions.setSelectedPartner());\n\t\tdispatch(uiSliceActions.setIsIndividualProfileDrawerOpen({ isOpen: false }));\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t{data && }\n\t\t\n\t);\n};\n\nexport default memo(PartnerProfileModalContent);\n","import React, { memo, useEffect } from 'react';\nimport { Box, CircularProgress, Modal } from '@material-ui/core';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { partnerProfileDrawerIsOpenSelector } from '../../store/modules/ui/selectors';\nimport { fhwSliceActions } from '../../store/modules/fhw/reducer';\nimport { uiSliceActions } from '../../store/modules/ui/reducer';\nimport clsx from 'clsx';\nimport { apiUrlsSelector, selectedPartnerSelector } from '../../store/modules/fhw/selectors';\nimport { useGetPartnerProfileQuery } from '../../store/modules/services/searchPartnersApi/searchPartnersApi';\nimport { translationsSelector } from '../../store/modules/translations/selectors';\nimport { useStyles } from './styles';\nimport { fromEvent } from 'rxjs';\nimport PartnerProfileModalContent from './PartenrProfileModalContent';\n\nconst style = {\n\tposition: 'absolute' as const,\n\ttop: '50%',\n\tleft: '50%',\n\ttransform: 'translate(-50%, -50%)',\n\twidth: '100vw',\n\tmaxWidth: '1920px',\n\tmargin: '0 auto',\n\tflexShrink: 0,\n\tbgcolor: 'background.paper',\n\tboxShadow: 24,\n\toverflowY: 'scroll',\n\tzIndex: 100,\n\tmaxHeight: '100%',\n\tp: 4,\n};\n\nconst PartnerProfileModal = (): JSX.Element | null => {\n\tconst dispatch = useDispatch();\n\tconst isPartnerModalVisible = useSelector(partnerProfileDrawerIsOpenSelector);\n\tconst selectedPartnerId = useSelector(selectedPartnerSelector);\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\tconst internalClasses = useStyles();\n\n\tuseEffect(() => {\n\t\tcloseIndividualProfileDrawerBackdropClick();\n\t});\n\n\tconst { data, isLoading } = useGetPartnerProfileQuery(\n\t\t{ value: selectedPartnerId, endpoint: apiUrls?.getPartnerProfile },\n\t\t{ skip: !selectedPartnerId },\n\t);\n\tconst { partnerProfileGetBackToList } = useSelector(translationsSelector);\n\n\tconst [modaldata, modaldataSet] = React.useState(undefined);\n\tReact.useEffect(() => {\n\t\tif (data) modaldataSet(data?.data);\n\t}, [data, modaldataSet]);\n\n\tconst closeIndividualProfileDrawer = () => {\n\t\tdispatch(fhwSliceActions.setSelectedPartner(undefined));\n\t\tdispatch(uiSliceActions.setIsIndividualProfileDrawerOpen({ isOpen: false }));\n\t\tmodaldataSet(undefined);\n\t};\n\n\t/** Temporary fix for MUI Drawer bug **/\n\tconst closeIndividualProfileDrawerBackdropClick = () => {\n\t\tconst outside = document.querySelector('.o-fhw-search');\n\t\tconst header = document.querySelector('.MuiBox-root.MuiBox-root-7.Component-root-5');\n\t\tfromEvent(window, 'click').subscribe((e: MouseEvent) => {\n\t\t\tif (e.target === outside || e.target === header) {\n\t\t\t\tcloseIndividualProfileDrawer();\n\t\t\t\twindow.scrollTo(e.x, e.y);\n\t\t\t}\n\t\t});\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{isLoading ? (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) : isPartnerModalVisible && !isLoading ? (\n\t\t\t\t\t\n\t\t\t\t) : null}\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(PartnerProfileModal);\n","import { makeStyles } from '@material-ui/core/styles';\nimport { colors } from 'global/react-mui/theme/colors';\n\nexport const useStyles = makeStyles((theme) => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\theight: 200,\n\t\tminWidth: '320px',\n\t\talignItems: 'flex-start',\n\t\tjustifyContent: 'space-around',\n\t\tborderBottom: `1px solid ${colors['silver-grey']}`,\n\t\tmarginLeft: 8,\n\t\tmarginRight: 8,\n\t\tpadding: '12px',\n\t\tboxShadow: '0px 0px 20px #00000033',\n\t},\n\tcontent: {\n\t\tdisplay: 'flex',\n\t\tflex: '1 0 auto',\n\t\tpadding: '0 0 10px',\n\t\twidth: '100%',\n\t},\n\ttopLeftContent: {\n\t\twidth: '70%',\n\t},\n\ttopRighContent: {\n\t\twidth: '30%',\n\t},\n\tcompanyName: {\n\t\tfontSize: 18,\n\t\tfontWeight: 500,\n\t\tmarginBottom: 4,\n\t\tpaddingRight: 10,\n\t},\n\tcompanyDetail: {\n\t\tfontSize: 12,\n\t\tmarginBottom: 8,\n\t},\n\ttopPartner: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'flex-end',\n\t\tgap: 8,\n\t},\n\troundedButton: {\n\t\tborderRadius: 32,\n\t\theight: 35,\n\t\tfontSize: 14,\n\t\tcolor: colors['dark-grey'],\n\t},\n}));\n","import React, { memo, useMemo } from 'react';\nimport { IPartner } from '../../../model/partner';\nimport Card from '@material-ui/core/Card';\nimport CardContent from '@material-ui/core/CardContent';\nimport Typography from '@material-ui/core/Typography';\nimport { Box, Grid } from '@material-ui/core';\nimport TopPartner from '../../TopPartner';\nimport { useStyles } from './styles';\nimport { uiSliceActions } from '../../../store/modules/ui/reducer';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { fhwSliceActions } from '../../../store/modules/fhw/reducer';\nimport { translationsSelector } from '../../../store/modules/translations/selectors';\nimport { partnerCategoriesSelector } from '../../../store/modules/filters/selectors';\nimport IconRenderer from 'global/react-mui/atoms/IconRenderer';\nimport Button from 'global/react-mui/atoms/Button';\nimport { mapSliceActions } from '../../../store/modules/map/reducer';\nimport Certificate from '../../Certificate/Certificate';\n\nconst PartnerCardMobile: React.FC<{ partner: IPartner }> = ({ partner: { name, address, id, isCertified, isTopPartner, categories }, ...props }) => {\n\tconst dispatch = useDispatch();\n\tconst classes = useStyles();\n\tconst partnerCategories = useSelector(partnerCategoriesSelector);\n\tconst { partnerCardMobileContactForm, partnerCardMobileGetACall } = useSelector(translationsSelector);\n\n\tconst openIndividualProfileDrawer = () => {\n\t\tdispatch(fhwSliceActions.setSelectedPartner(`${id}`));\n\t\tdispatch(uiSliceActions.setIsIndividualProfileDrawerOpen({ isOpen: true }));\n\t};\n\n\tconst setCurrentPositionOnMapCenter = () => {\n\t\tdispatch(mapSliceActions.setMapCentre({ lat: address.lat, lng: address.lng }));\n\t\tdispatch(fhwSliceActions.setFocussedPartnerId(id));\n\t\tdispatch(mapSliceActions.setMapZoom(14));\n\t};\n\n\tconst size = isCertified || isTopPartner ? 9 : 10;\n\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\t\n\t\t\t\t\t\t\t{name}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{`${address.address1} ${address.address2}`}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{`${address.postcode} ${address.city}`}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{partnerCategories\n\t\t\t\t\t\t\t\t?.filter((cat) => categories?.includes(cat.value))\n\t\t\t\t\t\t\t\t?.map((category) => {\n\t\t\t\t\t\t\t\t\treturn (\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\n\t\t\t\t\t\n\t\t\t\t\t{(isCertified || isTopPartner) && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{isCertified && (\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\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{isTopPartner && (\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\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\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default memo(PartnerCardMobile);\n","import { useState, useEffect } from 'react';\n\ninterface WindowDimensions {\n\twidth: number;\n\theight: number;\n}\n\nfunction getWindowDimensions(): WindowDimensions {\n\tconst { innerWidth: width, innerHeight: height } = window;\n\n\treturn {\n\t\twidth,\n\t\theight,\n\t};\n}\n\nexport default function useWindowDimensions(): WindowDimensions {\n\tconst [windowDimensions, setWindowDimensions] = useState(getWindowDimensions());\n\n\tuseEffect(() => {\n\t\tfunction handleResize(): void {\n\t\t\tsetWindowDimensions(getWindowDimensions());\n\t\t}\n\n\t\twindow.addEventListener('resize', handleResize);\n\n\t\treturn (): void => window.removeEventListener('resize', handleResize);\n\t}, []);\n\n\treturn windowDimensions;\n}\n","import { Box, makeStyles } from '@material-ui/core';\nimport React, { memo, useEffect, useRef } from 'react';\nimport { usePartnersData } from '../../store/modules/services/searchPartnersApi/hooks';\nimport PartnerCardMobile from './PartnerCardMobile';\nimport { FixedSizeList as List } from 'react-window';\nimport useWindowDimensions from 'global/react/hooks/useWindowDimensions';\nimport { useSelector } from 'react-redux';\nimport { focussedPartnerIdSelector } from '../../store/modules/fhw/selectors';\nimport { PartnerEntity } from '../../model/partner';\n\nconst Column = ({ index, style, data }: { index: number; style: any; data: PartnerEntity }) => {\n\tif (!data[index].id) return null;\n\treturn (\n\t\t
\n\t\t\t\n\t\t
\n\t);\n};\n\nconst PartnerListMobile = (): JSX.Element | null => {\n\tconst data = usePartnersData();\n\tconst focussedPartnerId = useSelector(focussedPartnerIdSelector);\n\n\tconst internalClasses = useStyles();\n\tconst listRef = useRef();\n\tconst { width } = useWindowDimensions();\n\n\tuseEffect(() => {\n\t\tif (listRef.current && listRef.current.state.scrollOffset !== 0) {\n\t\t\tlistRef.current.scrollToItem({ columnIndex: 0 });\n\t\t}\n\t}, [data]);\n\n\tuseEffect(() => {\n\t\tif (focussedPartnerId && listRef.current && listRef.current.state.scrollOffset !== 0) {\n\t\t\tconst partnerColumnIndex = data.partners.findIndex((item) => item.id === focussedPartnerId);\n\t\t\tlistRef.current.scrollToItem({ columnIndex: partnerColumnIndex });\n\t\t}\n\t}, [data, focussedPartnerId]);\n\n\treturn data?.partners ? (\n\t\t\n\t\t\t 959 ? 360 : 340}\n\t\t\t\twidth={width}\n\t\t\t\tlayout=\"horizontal\"\n\t\t\t\titemData={data.partners}>\n\t\t\t\t{Column}\n\t\t\t\n\t\t\n\t) : null;\n};\n\nexport default memo(PartnerListMobile);\n\nconst useStyles = makeStyles((theme) => ({\n\tresultsWrapper: {\n\t\tposition: 'absolute',\n\t\tmaxWidth: '100vw',\n\t\tbottom: 0,\n\t\tleft: 0,\n\t\tright: 0,\n\t\tpaddingBottom: '0',\n\t\tdisplay: 'flex',\n\t\tflexWrap: 'nowrap',\n\t\toverflowX: 'auto',\n\t\toverflowY: 'hidden',\n\t\tbackgroundColor: 'transparent',\n\t\t[theme.breakpoints.up('lg')]: {\n\t\t\tdisplay: 'none',\n\t\t},\n\t},\n}));\n","import React from 'react';\nimport MapWrapper from '../../components/Map/MapWrapper';\nimport PartnerListDrawer from '../../components/PartnerListDrawer';\nimport SearchArea from '../../components/SearchArea';\nimport MainLayout from '../../layout/MainLayout';\nimport MobileFiltersDrawer from '../../components/SearchArea/MobileFiltersDrawer';\nimport { useStyles } from './styles';\nimport PartnerProfileDrawer from '../../components/PartnerProfileModal';\nimport { useSelector } from 'react-redux';\nimport { filtersSelector } from '../../store/modules/filters/selectors';\nimport { useGetPartnersQuery } from '../../store/modules/services/searchPartnersApi/searchPartnersApi';\nimport { Typography } from '@material-ui/core';\nimport PartnerListMobile from '../../components/PartnerListMobile';\nimport { apiUrlsSelector } from '../../store/modules/fhw/selectors';\nimport { mapSettingsSelector } from '../../store/modules/map/selectors';\n\nconst PartnersLocator = (): JSX.Element => {\n\tconst classes = useStyles();\n\tconst filters = useSelector(filtersSelector);\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\tconst mapSettings = useSelector(mapSettingsSelector);\n\n\tconst { isLoading, isError } = useGetPartnersQuery({ filters, endpoint: apiUrls?.getResults, mapSettings });\n\n\tif (isLoading) return Loading...;\n\tif (isError) return {'Error fetching data!'};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default PartnersLocator;\n","import React, { useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { FHW_SEARCH_DATA_ID } from '../constants';\nimport { filtersSliceActions } from '../store/modules/filters/reducer';\nimport PartnersLocator from './PartnersLocator';\nimport { translationsSliceActions } from '../store/modules/translations/reducer';\nimport { OrganismFhwSearchProps } from '../model/global';\nimport { mapSliceActions } from '../store/modules/map/reducer';\nimport { fhwSliceActions } from '../store/modules/fhw/reducer';\nimport { apiUrlsSelector } from '../store/modules/fhw/selectors';\n\nconst FHWSearch = (): JSX.Element => {\n\tconst dispatch = useDispatch();\n\tconst apiUrls = useSelector(apiUrlsSelector);\n\n\tuseEffect(() => {\n\t\tconst data = document.getElementById(FHW_SEARCH_DATA_ID) as HTMLScriptElement;\n\t\tif (data) {\n\t\t\tconst initdata = JSON.parse(data.innerText) as OrganismFhwSearchProps;\n\t\t\tdispatch(fhwSliceActions.setApiUrls(initdata.apiUrls));\n\t\t\tdispatch(filtersSliceActions.setPartnerCategories(initdata.partnerCategories));\n\t\t\tdispatch(translationsSliceActions.initTranslations(initdata.translations));\n\t\t\tdispatch(mapSliceActions.initMapInitialData(initdata.mapData));\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\tif (!apiUrls) return <>Hola;\n\n\treturn ;\n};\n\nexport default FHWSearch;\n","export const FHW_SEARCH_DATA_ID = 'react-data-fhw-search';\nexport const PARTNER_ANCHOR_PREFIX = 'partnerId:';\n","import React from 'react';\nimport { CssBaseline, ThemeProvider } from '@material-ui/core';\nimport theme from '../../../../../global/react-mui/theme';\nimport { Provider } from 'react-redux';\nimport store from './store';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport DateFnsUtils from '@date-io/date-fns';\nimport FHWSearch from '../react/views/FHWSearch';\n\nexport default function Root(): JSX.Element {\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\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","import ControllerBase from '../../../../global/js/ControllerBase';\nimport { FHWSearchOutlet } from './o-fhw-search.app';\n\ntype ComponentRefs = {\n\tapp: 'fhw-search-app';\n};\nexport default class ControllerFHWSearch extends ControllerBase {\n\tprivate static readonly componentRefs: ComponentRefs = {\n\t\tapp: 'fhw-search-app',\n\t};\n\n\tconstructor(element: HTMLElement) {\n\t\tsuper(element, [], Object.values(ControllerFHWSearch.componentRefs));\n\t\tthis.initApp();\n\t}\n\n\t/**\n\t * Render the components to the DOM\n\t * @returns void\n\t */\n\tprivate initApp(): void {\n\t\tconst domOutlet = this.domUtils.getRef(ControllerFHWSearch.componentRefs.app);\n\t\tif (domOutlet) {\n\t\t\tFHWSearchOutlet(domOutlet);\n\t\t}\n\t}\n}\n","/* eslint-disable react/no-render-return-value */\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport App from './react/index';\n\n/** The master component render outlet */\nexport const FHWSearchOutlet = (element: HTMLElement): void => {\n\tconst root = createRoot(element!);\n\troot.render();\n};\n"],"names":["searchPartnersApi","reducerPath","baseQuery","baseUrl","endpoints","builder","getPartners","query","filters","endpoint","mapSettings","cleanedFilters","lat","suggestedInput","undefined","lng","selectedCategories","selectedPartnerCategories","distanceRadiusInKm","defaultCenterLat","defaultCenter","defaultCenterLng","arrayFormat","queryBuilder","getLocationSuggestion","value","getPartnerProfile","useGetPartnersQuery","useGetLocationSuggestionQuery","useGetPartnerProfileQuery","translationsSlice","name","initialState","reducers","initTranslations","state","payload","translationsSliceActions","actions","uiSlice","partnerList","isOpen","filterDrawer","individualProfileDrawer","setIsPartnerListDrawerOpen","setIsFilterDrawerOpen","setIsIndividualProfileDrawerOpen","uiSliceActions","filtersSlice","text","zip","partnerCategories","setPartnerCategories","setSuggestedInput","setPartnerCategoryType","addPartnerCategoryType","push","removePartnerCategoryType","filter","category","resetselectedPartnerCategories","setDistanceRadiusInKm","setFilters","Object","keys","forEach","key","filtersSliceActions","fhwSlice","selectedPartnerId","apiUrls","focussedPartnerId","setApiUrls","setSelectedPartner","setFocussedPartnerId","fhwSliceActions","mapSlice","initialMapData","settings","label","defaultZoom","defaultMarker","currentMarker","mapCentre","mapZoom","initMapInitialData","setCurrentMarker","setMapCentre","setMapZoom","mapSliceActions","rootReducer","translations","ui","partners","map","reducer","middleware","getDefaultMiddleware","concat","devTools","filtersSelector","partnerCategoriesSelector","categories","selectedPartnerCategoriesSelector","distanceRadiusInKmSelector","radiusInKm","suggestedInputSelector","input","mapCentreSelector","mapSettingsSelector","mapZoomSelector","selectedPartnerSelector","selectedPartner","focussedPartnerIdSelector","apiUrlsSelector","usePartnersData","useQueryState","getResults","data","mapStyles","featureType","elementType","stylers","color","lightness","weight","visibility","saturation","mapMarker","MapUtils","createMap","mapRef","mapType","centerAddress","zoomLevel","google","maps","Map","mapTypeId","mapTypeControlOptions","mapTypeIds","center","zoom","streetViewControl","rotateControl","scaleControl","fullscreenControl","panControl","zoomControl","zoomControlOptions","position","ControlPosition","RIGHT_TOP","gestureHandling","draggableCursor","mapTypeControl","styles","getMapIconSymbol","symbolBase","path","fillColor","fillOpacity","strokeColor","strokeWeight","anchor","Point","newSymbol","assign","addMapMarker","location","partner","infoWindow","newMarker","Marker","icon","colors","scale","infoWindowContent","address","address1","address2","city","postcode","event","addListener","setOptions","content","maxWidth","open","partnerId","id","removeMapMarkers","markers","i","length","setMap","addHomeMarker","homeMarkerConst","url","scaledSize","Size","panTo","setZoom","coordinateToAddress","coordinate","onGeocodeSuccessCallback","Geocoder","geocode","results","status","formatted_address","memo","dispatch","bounds","useRef","LatLngBounds","useState","googleMarkers","listenerIdArray","InfoWindow","distanceInKm","addMarker","useCallback","marker","current","listenerId","this","markerPosition","latLng","removeMarkersFromMap","removeListener","addMarkersToMap","place","LatLng","extend","getPosition","firstMarker","goToFirstItem","fitBounds","useEffect","defaultAddress","getZoom","clearListeners","style","display","justifyContent","padding","height","ref","width","partnerListIsOpenSelector","filterDrawerIsOpenSelector","partnerProfileDrawerIsOpenSelector","FabButton","svgIconProps","ariaLabel","title","props","Fab","size","SvgIcon","d","defaultProps","useStyles","makeStyles","theme","createStyles","showPartnerListDrawer","left","transition","margin","spacing","zIndex","fill","breakpoints","up","showMapFullScreen","right","partnerListHidden","mapHidden","classes","isPartnerListDrawerVisible","onClick","viewBox","className","scriptLoaded","setScriptLoaded","handleScriptLoaded","googleMapScript","mapsURL","scripts","document","getElementsByTagName","src","indexOf","createElement","async","defer","window","body","appendChild","loadMapApi","addEventListener","removeEventListener","Box","bgcolor","p","MapTypeId","ROADMAP","dimensions","getSizes","xmlns","transform","rx","minWidth","gap","alignItems","root","minHeight","borderBottom","paddingLeft","paddingRight","cursor","borderRadius","boxShadow","backgroundColor","isFocussed","details","flexDirection","flex","cover","companyName","fontSize","fontWeight","marginBottom","certificate","partnersCertified","roundedButton","whiteSpace","marginLeft","companyReplacementIcon","certificateBadge","partnerBadge","translationsSelector","version","cx","cy","ry","nameAdditional","image","isCertified","isTopPartner","partnersListViewProfileButtonText","certifiedTitle","topPartnerTitle","mainClass","Card","CardMedia","worker","CardContent","Typography","component","variant","address3","Button","setTimeout","Row","index","errorMessageSpan","errorMessage","listRef","scrollOffset","scrollToItem","rowIndex","partnerRowIndex","findIndex","item","itemCount","count","itemSize","itemData","overflowX","internalClasses","containerRef","componentHasBeenLoaded","setComponentHasBeenLoaded","getDimensions","offsetWidth","offsetHeight","setDimensions","handleResize","useContainerDimensions","Drawer","drawer","paper","drawerPaper","ModalProps","keepMounted","styled","compose","sizing","CustomInput","withStyles","marginTop","palette","common","white","boxSizing","outlineWidth","outlineStyle","outlineColor","black","InputBase","CustomTextField","TextField","flexWrap","marginRight","ValueLabelComponent","children","Tooltip","enterTouchDelay","placement","CustomSlider","thumb","border","active","valueLabel","track","rail","Slider","CustomizedSlider","hasTooltip","defaultValue","handleOnChange","formControlProps","sliderProps","onChange","InputLabel","htmlFor","shrink","useDebouncedCallback","func","wait","options","lastCallTime","lastInvokeTime","timerId","lastArgs","lastThis","result","funcRef","mounted","useRAF","TypeError","leading","trailing","maxing","maxWait","Math","max","debounced","useMemo","invokeFunc","time","args","thisArg","apply","startTimer","pendingFunc","cancelAnimationFrame","requestAnimationFrame","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","trailingEdge","timerExpired","Date","now","timeWaiting","remainingWait","min","isInvoking","cancel","clearTimeout","isPending","flush","handleSetDistanceRadiusInKm","_","shouldBeDisabled","searchFilterRadiusLabel","step","disabled","CustomCheckbox","checked","defaultChecked","handleChange","FormControlLabel","control","checkedIcon","check","top","arrowDown","MultipleSelect","selectedOptions","placeholder","inputFieldProps","renderOptions","handleSelectChange","getItemLabel","option","find","Select","multiple","displayEmpty","e","target","renderValue","selected","chips","slice","Chip","chip","inputProps","IconComponent","MenuProps","anchorOrigin","vertical","horizontal","transformOrigin","getContentAnchorEl","MenuItem","includes","ListItemText","primary","background","opacity","isPartnerDrawerVisible","chooseCategoryPlaceholder","searchFilterCategoriesPlaceholder","MultiSelect","mt","mx","IconRenderer","shape","bgColor","boxProps","totalCount","useCounterPartnersData","partnersCounterPartnerLabel","partnersCounterInLabel","message","InputAutoComplete","inputValue","handleOnInputChange","Autocomplete","freeSolo","listbox","autoHighlight","getOptionLabel","onInputChange","newInputValue","renderOption","ellipsis","renderInput","params","textfield","autoComplete","textOverflow","overflow","getOptions","hiddenOnMobile","hiddenOnDesktop","currentValue","searchFilterPLZLabel","searchFilterPLZPlaceholder","setInputValue","locationSuggestions","setLocationSuggestions","parsedOptions","isLoading","getLocationSuggestions","selectFromResult","rest","skip","handleSetInputToSuggest","currentOption","suggestion","IconButton","button","Grid","container","xs","lg","GridContainer","gridTemplateColumns","gridColumnGap","gridTemplateRows","gridTemplateAreas","gridArea","maxHeight","Content","overflowY","forwardRef","SearchArea","md","buttonSelected","categoryName","paddingTop","paddingBottom","main","borderTopLeftRadius","borderTopRightRadius","closeIcon","textAlign","letterSpacing","isFilterDrawerOpen","closeFilterDrawer","searchFilterTitle","searchFilterSubmitButton","searchFilterCategoriesLabel","tempFilters","setTempFilters","onCloseWithoutSaving","onClose","newDistanceRadiusInKm","temp","newPartnerCategory","isCurrentlySelected","mb","locatorwrapper","flexShrink","borderRight","flexGrow","transitions","create","easing","sharp","duration","leavingScreen","contentShift","easeOut","enteringScreen","modal","html","htmlRef","controllersRef","querySelectorAll","element","controllerName","getAttribute","componentName","dataset","onControllerUnmount","buttonClassName","gobackbuttonText","closeIndividualProfileModal","viewbox","isPartnerModalVisible","closeIndividualProfileDrawerBackdropClick","partnerProfileGetBackToList","modaldata","modaldataSet","closeIndividualProfileDrawer","outside","querySelector","header","fromEvent","subscribe","scrollTo","x","y","Modal","BackdropProps","disablePortal","sx","py","CircularProgress","topLeftContent","topRighContent","companyDetail","topPartner","partnerCardMobileContactForm","partnerCardMobileGetACall","cat","mr","href","phoneNumber","getWindowDimensions","innerWidth","innerHeight","Column","windowDimensions","setWindowDimensions","useWindowDimensions","columnIndex","partnerColumnIndex","resultsWrapper","layout","bottom","isError","MainLayout","getElementById","initdata","JSON","parse","innerText","mapData","Root","M","utils","ThemeProvider","CssBaseline","store","ControllerFHWSearch","ControllerBase","constructor","super","values","componentRefs","initApp","domOutlet","domUtils","getRef","app","render"],"sourceRoot":""}