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CACJ4B,cAAAA,CAAa,CACbzB,UAAAA,CAAS,CACT0B,gBAAAA,CAAe,CACfI,cAAAA,CAAa,CACbS,WAAAA,CAAU,CACX,CAAG1C,EAEEI,EAAOC,CAAAA,EAAAA,EAAAA,CAAAA,IAAkBiB,+BAA+B,CAExDzB,EAAMoC,EACR,GAAmDL,MAAAA,CAAhDxB,EAAK,6CAAyDrP,MAAA,CAAd6Q,EAAc,eACjE,GAAuCA,MAAAA,CAApCxB,EAAK,iCAA6CrP,MAAA,CAAd6Q,EAAc,eAEnDf,EAAO,CACXV,UAAAA,EACA0B,gBAAAA,EACA,GAAII,GAAiB,CAAEA,cAAAA,CAAc,CAAC,CACtC,GAAIS,GAAc,CAAEA,WAAAA,CAAW,CAAC,EAGlC,MAAOnC,CAAAA,EAAAA,EAAAA,EAAAA,EAAwD,CAC7DgB,cAAe,CAACU,EAChBzB,YAAa,CACXC,MAAOZ,EACPa,KAAM,CACJC,QAAS,CACP,eAAgB,kBAClB,EACAE,KAAMC,KAAKC,SAAS,CAACF,GACrBD,OAAQY,EAAAA,EAAWA,CAACgB,MAAM,CAE9B,CACF,EACF,4CCxWYnK,mCAAAA,EAAAA,GAAAA,CAAAA,EAAAA,CAAAA,CAAAA,kMEAZuK,CAAAA,EAAAC,CAAA,CAAe,CAAC,2GCChBC,EAAAC,OAAA,EAAkB,OAAS,sEAAuE","sources":["webpack://_N_E/?2b74","webpack://_N_E/./public/icons/access.svg","webpack://_N_E/./public/icons/coffee.svg","webpack://_N_E/./public/icons/global-access.svg","webpack://_N_E/./public/icons/guest.svg","webpack://_N_E/./public/icons/meeting-room.svg","webpack://_N_E/./public/icons/mxm.svg","webpack://_N_E/./public/icons/phone-booth.svg","webpack://_N_E/./public/icons/private-office.svg","webpack://_N_E/./app/[locale]/(search)/coworking/_components/CoworkingProductExplainer.tsx","webpack://_N_E/./components/SingleOrMultiDayCalendar/SingleOrMultiDayCalendar.tsx","webpack://_N_E/./app/[locale]/(search)/coworking/_components/LocationDateRangeModal.tsx","webpack://_N_E/./app/[locale]/(search)/coworking/_components/DayPassesSearch.tsx","webpack://_N_E/./components/FormattedPriceText.tsx","webpack://_N_E/./utils/image-loaders.ts","webpack://_N_E/./utils/image-placeholder.ts","webpack://_N_E/./components/ImageWithPlaceholder.tsx","webpack://_N_E/./components/LocationOpeningLabel.tsx","webpack://_N_E/./components/buttons/Button.tsx","webpack://_N_E/./components/icons/CloseIcon.tsx","webpack://_N_E/./app/[locale]/(search)/coworking/_components/DayPassCtaPrice.tsx","webpack://_N_E/./components/CaptionImage.tsx","webpack://_N_E/./components/cards/LocationCardImage.tsx","webpack://_N_E/./components/cards/LocationCardSearch.tsx","webpack://_N_E/./components/search/LocationSearchList.tsx","webpack://_N_E/./components/search/SearchCard.tsx","webpack://_N_E/./components/typography/SecondaryHeading.tsx","webpack://_N_E/./hooks/useLocationImagePlaceholder.tsx","webpack://_N_E/./lib/coworking-day-pass/coworking-day-pass-api.ts","webpack://_N_E/./models/Frequency.enum.ts","webpack://_N_E/./node_modules/@industriousoffice/react-components/lib/lib.es.js","webpack://_N_E/./public/icons/wifi.svg","webpack://_N_E/./node_modules/next/font/local/target.css"],"sourcesContent":["import(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src3395698585/src/website/app/[locale]/(search)/coworking/_components/DayPassesSearch.tsx\");\n","export default {\"src\":\"/_next/static/media/access.e98c4fba.svg\",\"height\":24,\"width\":24,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/coffee.f6f0a650.svg\",\"height\":22,\"width\":24,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/global-access.af95bc9e.svg\",\"height\":30,\"width\":30,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/guest.f23dfd23.svg\",\"height\":30,\"width\":30,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/meeting-room.cfb29215.svg\",\"height\":15,\"width\":28,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/mxm.be067ec8.svg\",\"height\":24,\"width\":24,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/phone-booth.175aa137.svg\",\"height\":18,\"width\":20,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/private-office.fdbb6d47.svg\",\"height\":26,\"width\":30,\"blurWidth\":0,\"blurHeight\":0};","import * as Dialog from '@radix-ui/react-dialog';\nimport { useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport React, { ReactNode } from 'react';\n\nimport { Button, ButtonAction, ButtonSize } from '@/components/buttons/Button';\nimport CloseIcon from '@/components/icons/CloseIcon';\nimport SecondaryHeading from '@/components/typography/SecondaryHeading';\nimport accessIcon from '@/public/icons/access.svg';\nimport coffeeIcon from '@/public/icons/coffee.svg';\nimport globalAccessIcon from '@/public/icons/global-access.svg';\nimport guestIcon from '@/public/icons/guest.svg';\nimport meetingRoomIcon from '@/public/icons/meeting-room.svg';\nimport managerIcon from '@/public/icons/mxm.svg';\nimport phoneBoothIcon from '@/public/icons/phone-booth.svg';\nimport officeIcon from '@/public/icons/private-office.svg';\nimport wifiIcon from '@/public/icons/wifi.svg';\n\nimport clsx from 'clsx';\n\ntype CoworkingProductExplainerProps = {\n className?: string;\n};\n\nfunction CoworkingProductExplainer({\n className,\n}: CoworkingProductExplainerProps) {\n const t = useTranslations('search.coworking-product-explainer');\n\n return (\n \n \n \n \n {t('btn-picker')}\n \n \n \n \n \n {t('title')}\n

\n {t.rich('desc', {\n b: (chunks) => {chunks},\n })}\n

\n\n
\n \n \n {t('day-pass.option')}\n \n {t('day-pass.title')}\n {t('day-pass.desc')}\n\n \n \n {t('day-pass.features-title')}\n \n \n \n {t('day-pass.coffee')}\n \n \n {t('day-pass.wifi')}\n \n \n {t('day-pass.phone-booth')}\n \n \n {t('day-pass.manager')}\n \n \n \n \n\n

{t('note')}

\n\n \n \n {t('membership.option')}\n \n {t('membership.title')}\n {t('membership.desc')}\n\n
\n \n \n {t('membership.features-title')}\n \n \n \n {t('membership.access')}\n \n \n {t('membership.meeting-room')}\n \n \n {t('membership.office')}\n \n \n {t('membership.guest')}\n \n \n \n\n \n \n {t('membership.global-access-title')}\n \n\n \n {t('membership.global-access-desc')}\n \n \n
\n
\n
\n\n

{t('note')}

\n\n \n \n \n \n \n
\n
\n
\n
\n );\n}\n\nfunction FeatureItemWrapper({ children }: { children: ReactNode }) {\n return (\n
\n {children}\n
\n );\n}\n\nfunction FeatureItem(props: {\n icon: string;\n altIcon: string;\n children: ReactNode;\n}) {\n const { icon, altIcon, children } = props;\n\n return (\n

\n {altIcon}\n {children}\n

\n );\n}\n\nfunction FeatureGroupTitle(props: { children: ReactNode; className?: string }) {\n const { children, className } = props;\n return (\n \n {children}\n \n );\n}\n\nfunction FeatureGroup(props: { children: ReactNode; className?: string }) {\n const { children, className } = props;\n\n return (\n \n {children}\n \n );\n}\n\nfunction Product(props: { children: ReactNode; className?: string }) {\n const { children, className } = props;\n return (\n \n {children}\n \n );\n}\nfunction OptionLabel(props: { children: ReactNode; className?: string }) {\n const { children, className } = props;\n\n return (\n \n {children}\n

\n );\n}\n\nfunction ProductTitle({ children }: { children: ReactNode }) {\n return

{children}

;\n}\n\nfunction ProductDesc({ children }: { children: ReactNode }) {\n return

{children}

;\n}\n\nfunction CoworkingProductExplainerIcon(props: { className: string }) {\n const { className } = props;\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default CoworkingProductExplainer;\n","import {\n Picker,\n PickerProps,\n RangeDatePickerProps,\n SingleDatePickerProps,\n} from '@industriousoffice/react-components';\nimport { SelectedDays } from '@industriousoffice/react-components/types/components/DatePicker/components/Picker';\nimport { useTranslations } from 'next-intl';\nimport React, { useState } from 'react';\n\nimport { DateRange, PartialDateRange } from '@/models/DateRange';\n\nimport DayOrMultiDayPickerMode from '../DayOrMultiDayPicker/mode.enum';\nimport { PickerModeButton } from '../search/filters/PickerModeButton';\n\ntype SingleOrMultiDayCalendarProps = Omit<\n SingleDatePickerProps | RangeDatePickerProps,\n 'selected' | 'onChange' | 'onUnconfirmedChange'\n> & {\n selected: PartialDateRange | undefined;\n onChange: (\n value: DateRange | undefined,\n mode: DayOrMultiDayPickerMode\n ) => void;\n defaultMonth?: Date;\n disabled?: PickerProps['disabled'];\n onMonthChange?: PickerProps['onMonthChange'];\n multipleDayDescription?: string;\n singleDayDescription?: string;\n};\n\nfunction SingleOrMultiDayCalendar({\n selected,\n onChange,\n defaultMonth,\n disabled,\n onMonthChange,\n multipleDayDescription,\n singleDayDescription,\n}: SingleOrMultiDayCalendarProps) {\n const t = useTranslations('general');\n\n const [mode, setMode] = useState(() => {\n if (!selected) return DayOrMultiDayPickerMode.Single;\n return selected.from.getTime() === selected.to?.getTime()\n ? DayOrMultiDayPickerMode.Single\n : DayOrMultiDayPickerMode.Range;\n });\n\n const isSingleMode = mode === DayOrMultiDayPickerMode.Single;\n const isRangeMode = mode === DayOrMultiDayPickerMode.Range;\n const selectedAdapted = isSingleMode ? selected?.from : selected;\n\n const setModeSingle = () => {\n setMode(DayOrMultiDayPickerMode.Single);\n onChange(\n selected?.from && { from: selected.from, to: selected.from },\n mode\n );\n };\n\n const setModeRange = () => {\n setMode(DayOrMultiDayPickerMode.Range);\n };\n\n const comment =\n (isRangeMode && multipleDayDescription) ||\n (isSingleMode && singleDayDescription);\n\n const handleOnChange = (value: SelectedDays) => {\n if (isSingleMode && value instanceof Date) {\n onChange({ from: value as Date, to: value as Date }, mode);\n return;\n }\n if (isRangeMode && value?.from instanceof Date) {\n onChange({ from: value.from, to: value.to ?? value.from }, mode);\n return;\n }\n onChange(undefined, mode);\n };\n\n return (\n \n <>\n
\n \n {t('single-day')}\n \n \n {t('multiple-days')}\n \n
\n {comment && (\n

\n {comment}\n

\n )}\n \n
\n \n
\n
\n );\n}\n\nexport default SingleOrMultiDayCalendar;\n","import { useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport { useEffect, useMemo, useState } from 'react';\n\nimport SingleOrMultiDayCalendar from '@/components/SingleOrMultiDayCalendar/SingleOrMultiDayCalendar';\nimport { CameraMapOptions } from '@/components/map/types';\nimport LocationSearchInput from '@/components/search/SearchInput';\nimport FilterTitle from '@/components/search/SearchModal/FiltersTitle';\nimport { SearchModal } from '@/components/search/SearchModal/SearchModal';\nimport FilterButton from '@/components/search/filters/FilterButton';\nimport { SearchType } from '@/components/search/search-type.enum';\nimport { useDateUtils } from '@/hooks/useDateUtils';\nimport { SimpleLocationSearchDto } from '@/lib/locations/dto/simple-location-search.dto';\nimport { DateRange } from '@/models/DateRange';\nimport calendarIcon from '@/public/icons/calendar.svg';\nimport placeIcon from '@/public/icons/placeIcon.svg';\nimport { DEFAULT_MAP_LOCATION_MR_SEARCH_ZOOM } from '@/utils/constants';\nimport {\n futureMonthsDisabled,\n pastDaysBeforeCutoffDisabled,\n weekEndDisabled,\n} from '@/utils/date-picker-utils';\n\ntype LocationRangeModalProps = {\n isOpen: boolean;\n dateRange: DateRange | undefined;\n onOpenChange: () => void;\n onClose: () => void;\n onFiltersChange: (filters?: LocationDateRangeFilters) => void;\n};\n\nexport type LocationDateRangeFilters = {\n dateRange: DateRange | undefined;\n localization:\n | {\n coords: CameraMapOptions;\n query: string;\n }\n | undefined;\n};\n\nexport function LocationDateRangeModal({\n isOpen,\n dateRange,\n onOpenChange,\n onClose,\n onFiltersChange,\n}: LocationRangeModalProps) {\n const t = useTranslations('search');\n const { format, isEqual } = useDateUtils();\n\n const [selectedDateRange, setSelectedDateRange] = useState<\n DateRange | undefined\n >(dateRange);\n const [showDatePicker, setShowDatePicker] = useState(false);\n\n const [localization, setLocalization] =\n useState();\n const [, setRefresher] = useState(1);\n\n useEffect(() => {\n if (!isOpen) return;\n\n const timer = setTimeout(() => {\n setRefresher((x) => x + 1);\n });\n\n return () => clearTimeout(timer);\n }, [isOpen]);\n\n const dateRangeLabel = useMemo(() => {\n const range = selectedDateRange || dateRange;\n if (!range) return t('date');\n\n if (range instanceof Date) {\n return format(range, 'PP');\n }\n\n return `${format(range.from, 'PP')}${\n range.to && !isEqual(range.to, range.from)\n ? ` ${t('to')} ${format(range.to, 'PP')}`\n : ''\n }`;\n }, [selectedDateRange, dateRange]);\n\n const handleSearchInputItemClick = (\n coords: CameraMapOptions,\n itemValue: string\n ) => {\n setLocalization({ coords, query: itemValue });\n };\n\n const handleClickLocation = (location: SimpleLocationSearchDto) => {\n setLocalization({\n coords: {\n center: [location.geolocalization.lng, location.geolocalization.lat],\n zoom: DEFAULT_MAP_LOCATION_MR_SEARCH_ZOOM,\n },\n query: location.name,\n });\n };\n\n const handleClear = () => {\n setLocalization(undefined);\n setSelectedDateRange(undefined);\n onFiltersChange();\n setShowDatePicker(false);\n };\n\n const handleApply = () => {\n onFiltersChange({\n dateRange: selectedDateRange,\n localization,\n });\n onClose();\n setShowDatePicker(false);\n };\n\n return (\n {\n onClose();\n setShowDatePicker(false);\n }}\n title={t('filter-modal.title-search')}\n onApply={handleApply}\n onClear={handleClear}\n >\n
\n
\n {t('filter-modal.location')}\n \n }\n searchType={SearchType.Coworking}\n defaultSearchValue={localization?.query}\n />\n
\n\n
\n {t('filter-modal.date-range')}\n }\n isActive={false}\n onClick={() => setShowDatePicker(!showDatePicker)}\n >\n {dateRangeLabel}\n \n\n {showDatePicker && (\n
\n {\n setSelectedDateRange(value);\n }}\n />\n
\n )}\n
\n
\n \n );\n}\n","'use client';\n\nimport { useTranslations } from 'next-intl';\nimport { useContext, useEffect, useState } from 'react';\n\nimport CardListWrapper from '@/components/search/CardListWrapper';\nimport ListCounter from '@/components/search/ListCounter';\nimport LocationSearchList from '@/components/search/LocationSearchList';\nimport LocationSearchMap from '@/components/search/LocationSearchMap';\nimport SearchNoResults from '@/components/search/SearchNoResults';\nimport LocationsSearchListLoader from '@/components/search/cards/locations/LocationsSearchListLoader';\nimport useDayPassSearchFilters from '@/components/search/useDayPassSearchFilters';\nimport useHighlightedSlug from '@/components/search/useHighlightedSlug';\nimport useSearchPageParams from '@/components/search/useSearchPageParams';\nimport { mapBounds } from '@/components/search/utils';\nimport {\n SearchDayPassesLocationsProps,\n fetchDayPassLocationPricingByIds,\n searchDayPassesLocations,\n} from '@/lib/coworking-day-pass/coworking-day-pass-api';\nimport { CoworkingDayPassPricesDto } from '@/lib/coworking-day-pass/dto/coworking-day-pass-price.dto';\nimport { SimpleLocationSearchDto } from '@/lib/locations';\nimport * as gtm from '@/utils/gtm';\n\nimport SearchContext from '../../_components/SearchContext';\nimport { SearchModalType } from '../../_components/SearchPageWrapper';\nimport useSearchData from '../../_components/useSearchData';\nimport { createDayPassQueryParams, mapFilterToDto } from '../utils';\nimport CoworkingProductExplainer from './CoworkingProductExplainer';\nimport {\n LocationDateRangeFilters,\n LocationDateRangeModal,\n} from './LocationDateRangeModal';\n\nexport type DayPassesSearchProps = {\n locale: string;\n mapboxAccessToken: string;\n};\n\nexport default function DayPassesSearch({\n locale,\n mapboxAccessToken,\n}: DayPassesSearchProps) {\n const t = useTranslations('search');\n\n const { highlightedSlug, onMouseEnter, onMouseLeave } = useHighlightedSlug();\n const {\n isFullScreenMap,\n searchModalType,\n onSearchInputItemClick,\n onCloseModal,\n openModal,\n } = useContext(SearchContext);\n\n const { filter } = useDayPassSearchFilters();\n\n const hasFilters = !!filter.dateRange;\n const { updateQuery } = useSearchPageParams();\n\n const [dayPassesPrices, setDayPassesPrices] =\n useState();\n\n const {\n isWebGLSupported,\n cardListRef,\n isLoading,\n searchItems: locations,\n searchItemsToTrack: locationsToTrack,\n bounds,\n handleZoomChange,\n handleMoveEnd,\n handleIdle,\n debouncedFetchData: debouncedFetchDayPasses,\n } = useSearchData({\n getDatas: searchDayPassesLocations,\n });\n\n useEffect(() => {\n const fetchPricesAsync = async () => {\n const dayPassesPricesResponse = await fetchDayPassLocationPricingByIds(\n locations.map((location) => location.id)\n );\n setDayPassesPrices(dayPassesPricesResponse);\n };\n\n if (locations.length > 0) {\n fetchPricesAsync();\n }\n }, [locations]);\n\n useEffect(() => {\n if (locationsToTrack.length === 0) return;\n\n gtm.pushECommerceEvent('view_item_list', {\n item_list_id: 'search_page',\n item_list_name: 'Search page',\n items: locationsToTrack.map((x) => gtm.mapCoworkingToItemEcommerce(x)),\n });\n }, [locationsToTrack]);\n\n useEffect(() => {\n if (bounds === undefined) return;\n\n debouncedFetchDayPasses({\n locale,\n ...mapFilterToDto(filter),\n within: mapBounds(bounds),\n });\n }, [bounds, filter]);\n\n const handleLocationDateRangeFilterChange = (\n filters?: LocationDateRangeFilters | undefined\n ) => {\n updateQuery(createDayPassQueryParams(filters));\n if (filters?.localization) {\n const { coords, query } = filters.localization;\n onSearchInputItemClick?.(coords, query, false);\n }\n };\n\n return (\n <>\n {!isFullScreenMap && (\n \n {isLoading && (\n \n )}\n\n {!isLoading && locations.length > 0 && (\n <>\n
\n \n {t('search-office-space.count', {\n count: locations.length,\n })}\n \n \n
\n \n \n )}\n {!isLoading && locations.length === 0 && (\n \n )}\n \n )}\n \n openModal(SearchModalType.LocationDateRange)}\n />\n \n );\n}\n","'use client';\n\nimport { useLocale, useTranslations } from 'next-intl';\n\nimport { Frequency } from '@/models/Frequency.enum';\n\ntype FormattedPriceTextProps = {\n price: number;\n currencyIsoCode: string;\n frequency?: Frequency;\n maximumFractionDigits?: number;\n} & React.ComponentPropsWithoutRef<'div'>;\n\nexport function FormattedPriceText({\n currencyIsoCode,\n price,\n frequency,\n maximumFractionDigits,\n ...divProps\n}: FormattedPriceTextProps) {\n const locale = useLocale();\n const t = useTranslations('general');\n\n const formattedPrice = Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits,\n }).format(price);\n\n if (frequency == null) {\n return
{formattedPrice}
;\n }\n\n const formattedPriceElement = t.rich(getFrequencyTranslationKey(frequency), {\n price: formattedPrice,\n frequency: (chunks) => {chunks},\n });\n\n return
{formattedPriceElement}
;\n}\n\nfunction getFrequencyTranslationKey(frequency: Frequency) {\n switch (frequency) {\n case Frequency.Daily:\n return 'daily-price';\n case Frequency.Hourly:\n return 'hourly-price';\n case Frequency.Monthly:\n return 'monthly-price';\n }\n}\n","import { ImageLoaderProps, ImageProps } from 'next/image';\n\nexport const getImageLoader = (src: ImageProps['src']) => {\n if (src == null || typeof src !== 'string') {\n return undefined;\n }\n\n if (src.includes('inventory-service-assets')) {\n return inventoryAssetsImageLoader;\n }\n\n if (src.startsWith('/public-s3')) {\n return publicAssetsImageLoader;\n }\n\n return undefined;\n};\n\nconst inventoryAssetsImageLoader = ({\n src,\n width,\n quality,\n}: ImageLoaderProps) => {\n return `${src}?width=${width}&quality=${quality || 100}&format=webp`;\n};\n\nconst publicAssetsImageLoader = ({ src, width, quality }: ImageLoaderProps) => {\n return `${src.replace(\n '/public-s3',\n `https://${process.env.NEXT_PUBLIC_ASSETS_DOMAIN!}`\n )}?width=${width}&quality=${quality || 100}&format=webp`;\n};\n","export const IMAGE_PLACEHOLDER =\n 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN89x8AAuEB74Y0o2cAAAAASUVORK5CYII=';\n","'use client';\n\nimport Image, { ImageProps } from 'next/image';\nimport { useEffect, useState } from 'react';\n\nimport { getImageLoader } from '@/utils/image-loaders';\nimport { IMAGE_PLACEHOLDER } from '@/utils/image-placeholder';\n\nexport function ImageWithPlaceholder({\n alt,\n src,\n placeholder,\n blurDataURL,\n sizes,\n ...otherProps\n}: ImageProps) {\n const [imgSrc, setImgSrc] = useState(src);\n\n useEffect(() => {\n setImgSrc(src);\n }, [src]);\n\n return (\n {\n if ((e.target as HTMLImageElement).naturalWidth === 0) {\n setImgSrc(IMAGE_PLACEHOLDER);\n }\n }}\n onError={() => setImgSrc(IMAGE_PLACEHOLDER)}\n sizes={sizes || '100vw'}\n {...otherProps}\n />\n );\n}\n","import { useTranslations } from 'next-intl';\n\nimport { LatLng } from '@/models';\nimport {\n getOpeningDate,\n getOpeningLabelTranslationKey,\n} from '@/utils/locations';\n\nimport clsx from 'clsx';\n\ntype LocationOpeningLabelProps = {\n openingDateISO: string | null;\n locationGeolocalization: LatLng;\n className?: string;\n};\n\nexport default function LocationOpeningLabel(props: LocationOpeningLabelProps) {\n const { openingDateISO, locationGeolocalization, className } = props;\n const t = useTranslations('location');\n\n if (!openingDateISO) return null;\n const date = getOpeningDate(openingDateISO);\n\n const translationKey = getOpeningLabelTranslationKey({\n openingDate: date,\n latitude: locationGeolocalization.lat,\n });\n\n return (\n
\n {t(`opening-${translationKey}`, { date, year: date.getFullYear() })}\n
\n );\n}\n","import {\n ComponentPropsWithoutRef,\n ElementType,\n PropsWithChildren,\n} from 'react';\n\nimport { CircleLoader } from '../CircleLoader';\n\nimport clsx from 'clsx';\n\nexport enum ButtonAction {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n}\n\nexport enum ButtonSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\ntype AsProp = {\n as?: E;\n};\n\ntype ComponentProps = PropsWithChildren<\n ComponentPropsWithoutRef & AsProp\n>;\n\ntype ButtonProps = React.ComponentPropsWithoutRef<'button'> & {\n action?: ButtonAction;\n size?: ButtonSize;\n isLoading?: boolean;\n};\n\nconst defaultElement = 'button';\n\nexport function Button({\n as,\n action = ButtonAction.PRIMARY,\n size = ButtonSize.MEDIUM,\n isLoading,\n children,\n disabled,\n className,\n ...otherProps\n}: ButtonProps & ComponentProps) {\n const baseClasses =\n 'inline-flex items-center justify-center rounded-full font-medium border group text-center cursor-pointer disabled:cursor-default';\n const Component = as ?? defaultElement;\n\n const getSizeClasses = () => {\n switch (size) {\n case ButtonSize.SMALL:\n return 'text-sm leading-none py-1 px-5';\n case ButtonSize.LARGE:\n return 'text-lg py-2 px-5';\n default:\n return 'text-base py-2 px-5';\n }\n };\n\n const getActionClasses = () => {\n switch (action) {\n case ButtonAction.SECONDARY:\n return 'bg-white border-teal-40 text-teal-40 hover:bg-teal-40 hover:text-white disabled:pointer-events-none disabled:text-grey-60 disabled:border-grey-60';\n case ButtonAction.TERTIARY:\n return 'bg-white border-[2px] border-[#013E3F1A] text-teal-40 hover:bg-[#013E3F0A]';\n default:\n return 'bg-teal-40 border-teal-40 text-white';\n }\n };\n\n const getCircleLoaderClasses = () => {\n switch (action) {\n case ButtonAction.SECONDARY:\n return 'fill-teal-40 group-hover:fill-white';\n default:\n return 'fill-white';\n }\n };\n\n return (\n \n {isLoading && (\n \n )}\n {children}\n \n );\n}\n","type Props = {\n className?: string;\n};\n\nexport default function CloseIcon({ className }: Props) {\n return (\n \n Close Icon\n \n \n \n );\n}\n","import { HTMLAttributeAnchorTarget } from 'react';\n\nimport { FormattedPriceText } from '@/components/FormattedPriceText';\nimport { Link } from '@/components/Link';\nimport ChevronIcon from '@/components/icons/ChevronIcon';\nimport { Frequency } from '@/models/Frequency.enum';\n\ntype DayPassCtaPriceProps = {\n href: string;\n price: number;\n label: string;\n currencyIsoCode: string;\n frequency: Frequency;\n dataTestId: string;\n target?: HTMLAttributeAnchorTarget;\n};\n\nexport function DayPassCtaPrice({\n href,\n price,\n label,\n currencyIsoCode,\n frequency,\n dataTestId,\n target,\n}: DayPassCtaPriceProps) {\n return (\n \n {label}\n \n \n \n \n \n );\n}\n","type CaptionImageProps = {\n children: React.ReactNode;\n};\n\nexport default function CaptionImage({ children }: CaptionImageProps) {\n return (\n \n {children}\n \n );\n}\n","import { memo } from 'react';\n\nimport { ImageWithPlaceholder } from '@/components/ImageWithPlaceholder';\nimport { useLocationImageOrPlaceholder } from '@/hooks/useLocationImagePlaceholder';\nimport { SimpleLocationSearchDto } from '@/lib/locations/dto';\n\nimport CaptionImage from '../CaptionImage';\n\ntype LocationCardImageProps = {\n priority: boolean;\n location: SimpleLocationSearchDto;\n height?: number;\n caption?: string;\n};\n\nfunction LocationCardImage({\n priority,\n location,\n height = 220,\n caption,\n}: LocationCardImageProps) {\n const { src, alt } = useLocationImageOrPlaceholder(location.image);\n\n return (\n \n \n {caption && {caption}}\n \n );\n}\n\nexport default memo(LocationCardImage);\n","import { useTranslations } from 'next-intl';\nimport { memo, useRef } from 'react';\n\nimport { DayPassCtaPrice } from '@/app/[locale]/(search)/coworking/_components/DayPassCtaPrice';\nimport { isSsosAvailable } from '@/app/[locale]/(search)/locations/_components/utils';\nimport { Link } from '@/components/Link';\nimport useAppearOnScroll from '@/hooks/useAppearOnScroll';\nimport { ScreenSize, useScreenSize } from '@/hooks/useScreenSize';\nimport { CoworkingDayPassPriceDto } from '@/lib/coworking-day-pass/dto/coworking-day-pass-price.dto';\nimport { SimpleLocationSearchDto } from '@/lib/locations/dto';\nimport { DateRange } from '@/models/DateRange';\nimport { Frequency } from '@/models/Frequency.enum';\nimport { getFormattedAddressByCountry } from '@/models/location-utils';\nimport {\n createLocationDayPassUrl,\n createLocationUrl,\n getBrandLogo,\n isExternalLocation,\n isIndustriousLocation,\n shouldShowLogo,\n shouldShowOpeningLabel,\n} from '@/utils/locations';\n\nimport { Amenity, AmenityCode } from '../Amenity';\nimport { ImageWithPlaceholder } from '../ImageWithPlaceholder';\nimport LocationOpeningLabel from '../LocationOpeningLabel';\nimport SearchCard from '../search/SearchCard';\nimport LocationCardImage from './LocationCardImage';\n\ntype LocationCardProps = {\n priority: boolean;\n location: SimpleLocationSearchDto;\n prices?: CoworkingDayPassPriceDto;\n dateRange?: DateRange;\n cardHeight?: number;\n showSsosImageCaption?: boolean;\n onMouseEnter: (slug: string) => void;\n onMouseLeave: () => void;\n};\n\nconst MAX_AMENITIES_DISPLAY = 4;\nconst MOBILE_MAX_AMENITIES_DISPLAY = 2;\n\nfunction LocationCard({\n priority,\n location,\n prices,\n dateRange,\n cardHeight,\n showSsosImageCaption,\n onMouseEnter,\n onMouseLeave,\n}: LocationCardProps) {\n const ref = useRef(null);\n useAppearOnScroll(ref);\n const screenSize = useScreenSize();\n\n const t = useTranslations('search');\n const formattedAddress = getFormattedAddressByCountry({\n address: location.address,\n address2: null,\n city: location.city,\n country: location.country,\n state: isIndustriousLocation(location) ? location.state : '',\n zipCode: location.zipCode,\n });\n\n const showMembershipCta =\n isIndustriousLocation(location) &&\n location.accessMembershipAvailable &&\n prices?.membershipPrice;\n const showDayPassCta =\n isIndustriousLocation(location) &&\n location.coworkingDayPassAvailable &&\n prices?.dayPass;\n const imageCaption =\n showSsosImageCaption && isSsosAvailable(location)\n ? t('reserve-online')\n : undefined;\n\n const amenities = location.amenities?.unique;\n\n const isMobile = screenSize < ScreenSize.SM;\n\n const maxAmenitiesDisplay = isMobile\n ? MOBILE_MAX_AMENITIES_DISPLAY\n : MAX_AMENITIES_DISPLAY;\n\n return (\n onMouseEnter(location.slug)}\n onMouseLeave={onMouseLeave}\n ref={ref}\n data-slug={location.slug}\n >\n \n \n\n
\n
\n {shouldShowOpeningLabel(location) && (\n \n )}\n\n
\n \n {location.name}\n \n
\n {t('view-location')}\n
\n
\n\n
\n

\n {formattedAddress.addressLine1} {formattedAddress.addressLine2}\n

\n {location.phone && (\n <>\n |\n

{location.phone}

\n \n )}\n
\n {amenities && amenities.length > 0 && (\n
\n {amenities.slice(0, maxAmenitiesDisplay).map((amenity, i) => (\n \n {i === maxAmenitiesDisplay - 1 &&\n amenities.length > maxAmenitiesDisplay && (\n \n {t('and-more-amenities', {\n count: amenities.length - maxAmenitiesDisplay,\n })}\n \n )}\n \n ))}\n
\n )}\n {(isExternalLocation(location) ||\n shouldShowLogo(location.brandName)) && (\n \n )}\n
\n\n
\n {showDayPassCta && (\n \n )}\n {showMembershipCta && (\n \n )}\n
\n
\n
\n \n );\n}\n\nexport default memo(LocationCard);\n","import LocationCard from '@/components/cards/LocationCardSearch';\nimport { CoworkingDayPassPricesDto } from '@/lib/coworking-day-pass/dto/coworking-day-pass-price.dto';\nimport { SimpleLocationSearchDto } from '@/lib/locations/dto/simple-location-search.dto';\nimport { DateRange } from '@/models/DateRange';\n\ntype LocationSearchListProps = {\n locations: SimpleLocationSearchDto[];\n prices?: CoworkingDayPassPricesDto;\n dateRange?: DateRange;\n cardHeight?: number;\n showSsosImageCaption?: boolean;\n onMouseEnter: (slug: string) => void;\n onMouseLeave: () => void;\n};\n\nexport default function LocationSearchList({\n locations,\n prices,\n dateRange,\n cardHeight,\n showSsosImageCaption,\n onMouseEnter,\n onMouseLeave,\n}: LocationSearchListProps) {\n return (\n
    \n {locations.map((loc, index) => (\n
  • \n \n
  • \n ))}\n
\n );\n}\n","import clsx from 'clsx';\n\nexport default function SearchCard({\n className,\n ...otherProps\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n \n );\n}\n","import { tiemposFont } from '@/theme/tiemposFont';\n\nimport clsx from 'clsx';\n\ntype SecondaryHeadingProps = React.ComponentPropsWithoutRef<'h2'> & {\n fontFamilyClassName?: string;\n isBigger?: boolean;\n};\n\nexport default function SecondaryHeading({\n fontFamilyClassName,\n children,\n className,\n isBigger = false,\n ...divProps\n}: SecondaryHeadingProps) {\n return (\n \n {children}\n \n );\n}\n","import { useTranslations } from 'next-intl';\n\nimport { ImageProps } from '@/components/modules/types';\nimport { SimpleLocationDto } from '@/lib/locations/dto';\n\nexport function useLocationImageOrPlaceholder<\n T extends SimpleLocationDto['image']\n>(image?: T): ImageProps {\n const t = useTranslations('general');\n\n if (image == null) {\n return {\n src: `/public-s3/images/location-placeholders/placeholder_1.webp`,\n alt: t('image-placeholders.1.alt'),\n };\n }\n\n return {\n src: image.url,\n alt: image.altText ?? t('alt-default-image'),\n caption: image.caption ?? undefined,\n };\n}\n","import { getServerConfig } from '@/utils/config';\nimport { HttpMethods, tryFetchToJson } from '@/utils/http-request';\n\nimport { SimpleLocationDto } from '../locations/dto/simple-location.dto';\nimport { DayPassFilterDto } from './dto/coworking-day-pass-filter.dto';\nimport { CoworkingDayPassPricePreviewDto } from './dto/coworking-day-pass-price-preview.dto';\nimport { CoworkingDayPassPricesDto } from './dto/coworking-day-pass-price.dto';\nimport { OpenWorkspaceReservationDto } from './dto/open-workspace-reservation.dto';\n\nexport async function searchCoworkingDayPassPricePreview(params: {\n locationId: string;\n nbDays: number;\n promoCode?: string;\n}): Promise {\n const { locationId, nbDays, promoCode } = params;\n\n const host = getServerConfig().NEXT_PUBLIC_PRICING_API_URL;\n\n const url = `${host}/discovery/locations/${locationId}/coworking-day-pass/preview`;\n const body = {\n nbDays,\n promoCode,\n };\n\n return tryFetchToJson({\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n method: 'POST',\n body: JSON.stringify(body),\n },\n },\n skipFetchError: true,\n });\n}\n\nexport async function createOpenWorkspaceReservation(params: {\n locationId: string;\n startDay: string;\n endDay: string;\n tmpAccess?: {\n reserverId: string;\n tempAccessKey: string;\n };\n callbackError: () => void;\n}): Promise {\n const { locationId, startDay, endDay, tmpAccess, callbackError } = params;\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = params.tmpAccess\n ? `${host}/open-workspace-reservations-temp-access`\n : `${host}/open-workspace-reservations`;\n\n const body = {\n locationId,\n startDay,\n endDay,\n ...(tmpAccess && { ...tmpAccess }),\n };\n\n return tryFetchToJson({\n withAuthToken: tmpAccess == null,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n method: HttpMethods.Post,\n body: JSON.stringify(body),\n },\n },\n onFunctionalError: callbackError,\n });\n}\n\nexport async function updateOpenWorkspaceReservation(params: {\n reservationId: string;\n startDay: string;\n endDay: string;\n tmpAccess?: {\n reserverId: string;\n tempAccessKey: string;\n };\n paymentIntentId?: string;\n callbackError: () => void;\n}): Promise {\n const {\n reservationId,\n startDay,\n endDay,\n tmpAccess,\n paymentIntentId,\n callbackError,\n } = params;\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = params.tmpAccess\n ? `${host}/open-workspace-reservations-temp-access/${reservationId}`\n : `${host}/open-workspace-reservations/${reservationId}`;\n\n const body = {\n startDay,\n endDay,\n ...(tmpAccess && { ...tmpAccess }),\n ...(paymentIntentId && { paymentIntentId }),\n };\n\n return tryFetchToJson({\n withAuthToken: tmpAccess == null,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n method: HttpMethods.Put,\n body: JSON.stringify(body),\n },\n },\n onFunctionalError: callbackError,\n });\n}\n\nexport async function fetchOpenWorkspaceReservationById(params: {\n id: string;\n userId?: string;\n tempAccessKey?: string;\n options?: {\n onSignUp?: boolean;\n };\n}) {\n const { id, userId, tempAccessKey, options = {} } = params;\n\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = options.onSignUp\n ? `${host}/open-workspace-reservations-temp-access/${id}?userId=${userId}&tempAccessKey=${tempAccessKey}`\n : `${host}/open-workspace-reservations/${id}`;\n\n return tryFetchToJson({\n withAuthToken: !options?.onSignUp,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n },\n },\n });\n}\n\nexport async function confirmReservation(params: {\n reservationId: string;\n userId?: string;\n tempAccessKey?: string;\n}): Promise {\n const { reservationId, userId, tempAccessKey } = params;\n\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url =\n userId != null\n ? `${host}/open-workspace-reservations-temp-access/${reservationId}/confirm`\n : `${host}/open-workspace-reservations/${reservationId}/confirm`;\n\n return tryFetchToJson({\n withAuthToken: tempAccessKey == null,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n ...(userId != null ? { userId } : {}),\n ...(tempAccessKey != null ? { tempAccessKey } : {}),\n }),\n method: HttpMethods.Post,\n },\n },\n });\n}\nexport async function fetchDayPassLocationPricingByIds(\n locationIds: string[]\n): Promise {\n const { NEXT_PUBLIC_PRICING_API_URL } = getServerConfig();\n const url = `${NEXT_PUBLIC_PRICING_API_URL}/discovery/coworking`;\n\n const locationsPricesDto = await tryFetchToJson({\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n method: HttpMethods.Post,\n body: JSON.stringify({ locationIds }),\n },\n },\n });\n\n return locationsPricesDto;\n}\n\nexport type SearchDayPassesLocationsProps = {\n locale: string;\n} & DayPassFilterDto;\n\nexport async function searchDayPassesLocations({\n locale,\n ...filters\n}: SearchDayPassesLocationsProps) {\n const host = getServerConfig().NEXT_PUBLIC_INVENTORY_API_URL;\n\n const url = `${host}/discovery/day-passes/search`;\n\n const locations = await tryFetchToJson({\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Accept-Language': locale,\n 'Content-Type': 'application/json',\n },\n method: 'POST',\n body: JSON.stringify(filters),\n },\n },\n skipFetchError: true,\n });\n\n return locations ?? [];\n}\n\nexport async function cancelOpenWorkspaceReservation(id: string) {\n const url = `${\n getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL\n }/open-workspace-reservations/${id}`;\n\n return tryFetchToJson({\n withAuthToken: true,\n fetchParams: {\n input: url,\n init: {\n method: HttpMethods.Delete,\n },\n },\n });\n}\n\nexport async function getCoworkingDayPassUnavailableDays(\n locationIdOrSlug: string\n): Promise {\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = `${host}/locations/${locationIdOrSlug}/coworking-day-pass/unavailable-days`;\n\n const data = await tryFetchToJson<{\n unavailableDays: string[];\n }>({\n fetchParams: {\n input: url,\n init: {\n method: HttpMethods.Get,\n },\n },\n });\n\n return data ? data.unavailableDays : [];\n}\n\nexport async function applyPromoCode(params: {\n reservationId: string;\n promoCode: string;\n paymentIntentId: string;\n tempAccessKey?: string;\n reserverId?: string;\n}): Promise {\n const {\n reservationId,\n promoCode,\n paymentIntentId,\n tempAccessKey,\n reserverId,\n } = params;\n\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = tempAccessKey\n ? `${host}/open-workspace-reservations-temp-access/${reservationId}/promo-code`\n : `${host}/open-workspace-reservations/${reservationId}/promo-code`;\n\n const body = {\n promoCode,\n paymentIntentId,\n ...(tempAccessKey && { tempAccessKey }),\n ...(reserverId && { reserverId }),\n };\n\n return tryFetchToJson({\n withAuthToken: !tempAccessKey,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(body),\n method: HttpMethods.Post,\n },\n },\n });\n}\n\nexport async function unapplyPromoCode(params: {\n reservationId: string;\n promoCode: string;\n paymentIntentId: string;\n tempAccessKey?: string;\n reserverId?: string;\n}): Promise {\n const {\n reservationId,\n promoCode,\n paymentIntentId,\n tempAccessKey,\n reserverId,\n } = params;\n\n const host = getServerConfig().NEXT_PUBLIC_RESERVATION_API_URL;\n\n const url = tempAccessKey\n ? `${host}/open-workspace-reservations-temp-access/${reservationId}/promo-code`\n : `${host}/open-workspace-reservations/${reservationId}/promo-code`;\n\n const body = {\n promoCode,\n paymentIntentId,\n ...(tempAccessKey && { tempAccessKey }),\n ...(reserverId && { reserverId }),\n };\n\n return tryFetchToJson({\n withAuthToken: !tempAccessKey,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(body),\n method: HttpMethods.Delete,\n },\n },\n });\n}\n","export enum Frequency {\n Hourly,\n Daily,\n Monthly,\n}\n","export * from \"/codebuild/output/src3395698585/src/website/node_modules/@industriousoffice/react-components/lib/lib.es.js\"","export default {\"src\":\"/_next/static/media/wifi.b9be743f.svg\",\"height\":15,\"width\":20,\"blurWidth\":0,\"blurHeight\":0};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__tiemposFont_b85bab', '__tiemposFont_Fallback_b85bab'\"},\"className\":\"__className_b85bab\",\"variable\":\"__variable_b85bab\"};"],"names":["Promise","resolve","then","__webpack_require__","bind","access","coffee","global_access","guest","meeting_room","mxm","phone_booth","private_office","FeatureItemWrapper","param","children","jsx_runtime","jsx","div","className","FeatureItem","props","icon","altIcon","jsxs","p","Image","src","alt","aria-hidden","FeatureGroupTitle","h4","clsx","FeatureGroup","Product","OptionLabel","ProductTitle","h3","ProductDesc","CoworkingProductExplainerIcon","svg","xmlns","width","height","fill","g","clipPath","path","fillRule","d","clipRule","defs","id","_components_CoworkingProductExplainer","t","useTranslations","Dialog","asChild","Button","size","ButtonSize","SMALL","action","ButtonAction","SECONDARY","data-testid","SecondaryHeading","rich","b","chunks","coffeeIcon","wifiIcon","phoneBoothIcon","managerIcon","accessIcon","meetingRoomIcon","officeIcon","guestIcon","globalAccessIcon","button","aria-label","CloseIcon","SingleOrMultiDayCalendar_SingleOrMultiDayCalendar","selected","onChange","defaultMonth","disabled","onMonthChange","multipleDayDescription","singleDayDescription","mode","setMode","useState","from","getTime","to","DayOrMultiDayPickerMode","Single","Range","isSingleMode","isRangeMode","selectedAdapted","comment","span","Fragment","PickerModeButton","isActive","onClick","Picker","onSelect","value","Date","undefined","LocationDateRangeModal","isOpen","dateRange","onOpenChange","onClose","onFiltersChange","format","isEqual","useDateUtils","selectedDateRange","setSelectedDateRange","showDatePicker","setShowDatePicker","localization","setLocalization","setRefresher","useEffect","timer","setTimeout","x","clearTimeout","dateRangeLabel","useMemo","range","concat","SearchModal","title","onApply","onClear","FilterTitle","LocationSearchInput","controlClassName","onClickResultItem","coords","itemValue","query","onClickLocation","center","location","geolocalization","lng","lat","zoom","DEFAULT_MAP_LOCATION_MR_SEARCH_ZOOM","name","placeholder","leftIndicator","placeIcon","searchType","SearchType","Coworking","defaultSearchValue","FilterButton","calendarIcon","SingleOrMultiDayCalendar","weekEndDisabled","pastDaysBeforeCutoffDisabled","futureMonthsDisabled","DayPassesSearch","locale","mapboxAccessToken","highlightedSlug","onMouseEnter","onMouseLeave","useHighlightedSlug","isFullScreenMap","searchModalType","onSearchInputItemClick","onCloseModal","openModal","useContext","SearchContext","filter","useDayPassSearchFilters","hasFilters","updateQuery","useSearchPageParams","dayPassesPrices","setDayPassesPrices","isWebGLSupported","cardListRef","isLoading","searchItems","locations","searchItemsToTrack","locationsToTrack","bounds","handleZoomChange","handleMoveEnd","handleIdle","debouncedFetchData","debouncedFetchDayPasses","useSearchData","getDatas","searchDayPassesLocations","fetchPricesAsync","fetchDayPassLocationPricingByIds","map","length","gtm","item_list_id","item_list_name","items","mapFilterToDto","within","mapBounds","CardListWrapper","withMap","ref","LocationsSearchListLoader","dataTestId","cardHeight","ListCounter","count","CoworkingProductExplainer","LocationSearchList","prices","SearchNoResults","noResultsWithFiltersMessage","LocationSearchMap","onMoveEnd","onZoomChange","onIdle","SearchModalType","LocationDateRange","createDayPassQueryParams","filters","FormattedPriceText","currencyIsoCode","price","frequency","maximumFractionDigits","divProps","useLocale","formattedPrice","Intl","NumberFormat","style","currency","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","formattedPriceElement","getFrequencyTranslationKey","Frequency","Daily","Hourly","Monthly","getImageLoader","includes","inventoryAssetsImageLoader","startsWith","publicAssetsImageLoader","quality","replace","process","IMAGE_PLACEHOLDER","ImageWithPlaceholder","blurDataURL","sizes","otherProps","imgSrc","setImgSrc","loader","onLoad","e","target","naturalWidth","onError","LocationOpeningLabel","openingDateISO","locationGeolocalization","date","getOpeningDate","translationKey","getOpeningLabelTranslationKey","openingDate","latitude","year","getFullYear","as","Component","getSizeClasses","getActionClasses","CircleLoader","viewBox","rect","y","rx","transform","DayPassCtaPrice","href","label","Link","strong","ChevronIcon","CaptionImage","cards_LocationCardImage","memo","priority","caption","useLocationImageOrPlaceholder","image","maxHeight","LocationCardSearch","showSsosImageCaption","useRef","useAppearOnScroll","screenSize","useScreenSize","formattedAddress","getFormattedAddressByCountry","address","address2","city","country","state","isIndustriousLocation","zipCode","showMembershipCta","accessMembershipAvailable","membershipPrice","showDayPassCta","coworkingDayPassAvailable","dayPass","imageCaption","isSsosAvailable","amenities","unique","maxAmenitiesDisplay","isMobile","ScreenSize","SM","createLocationUrl","slug","data-slug","SearchCard","LocationCardImage","shouldShowOpeningLabel","firstDayOfBusinessISO","addressLine1","addressLine2","phone","slice","amenity","i","Amenity","code","labelClassName","iconClassName","isExternalLocation","shouldShowLogo","brandName","getBrandLogo","createLocationDayPassUrl","ul","loc","index","li","LocationCard","fontFamilyClassName","isBigger","h2","tiemposFont","url","altText","searchCoworkingDayPassPricePreview","params","locationId","nbDays","promoCode","host","getServerConfig","NEXT_PUBLIC_PRICING_API_URL","tryFetchToJson","fetchParams","input","init","headers","method","body","JSON","stringify","skipFetchError","createOpenWorkspaceReservation","startDay","endDay","tmpAccess","callbackError","NEXT_PUBLIC_RESERVATION_API_URL","withAuthToken","HttpMethods","Post","onFunctionalError","updateOpenWorkspaceReservation","reservationId","paymentIntentId","Put","fetchOpenWorkspaceReservationById","userId","tempAccessKey","options","onSignUp","confirmReservation","locationIds","NEXT_PUBLIC_INVENTORY_API_URL","cancelOpenWorkspaceReservation","Delete","applyPromoCode","reserverId","unapplyPromoCode","__webpack_exports__","Z","module","exports"],"sourceRoot":""}