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OAAQrB,EAACW,CAAAA,EAAA,CAAAK,EAAAN,yBAAA,UAAAM,EAAAO,YAAA,EAAAZ,EAAAW,KAAA,MAAAE,MAAA,UAAAtf,CAAA,CAAAvG,CAAA,EAAgG,GAAAuG,CAAA,CAAAvG,EAAAiJ,IAAA,GAAA1C,CAAAA,CAAA,CAAAvG,EAAAiJ,IAAA,GAA0BoE,QAAArN,EAAAqN,OAAA,CAAAoD,KAAAzQ,EAAAyQ,IAAA,GAA8BwU,EAAA,CAAK,IAAAD,EAAAze,CAAA,CAAAvG,EAAAiJ,IAAA,EAAA6c,KAAA,CAAAvjB,EAAAyiB,GAAAA,CAAA,CAAAhlB,EAAAyQ,IAAA,EAAqClK,CAAA,CAAAvG,EAAAiJ,IAAA,EAAU,GAAAqb,EAAAyB,EAAA,EAAC/lB,EAAAiJ,IAAA,CAAAgc,EAAA1e,EAAAvG,EAAAyQ,IAAA,CAAAlO,EAAA,GAAAwC,MAAA,CAAAxC,EAAAvC,EAAAqN,OAAA,EAAArN,EAAAqN,OAAA,EAAuD,OAAA9G,CAAA,EAAS,GAAG,EAAA8e,EAAA,CAAO,GAAQ,CAAG,MAAA9e,EAAA,CAAS,OAAA5G,QAAAqmB,MAAA,CAAAzf,EAAA","sources":["webpack://_N_E/?d848","webpack://_N_E/./lib/office/dto/office-occupancy.dto.ts","webpack://_N_E/./public/icons/highDemandIcon.svg","webpack://_N_E/./public/icons/lowStockIcon.svg","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/_components/OccupancyStatus.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/_components/PremiumAmenitiesSection.tsx","webpack://_N_E/./hooks/useOfficePdpParams.tsx","webpack://_N_E/./hooks/useOfficeCheckoutPicker.tsx","webpack://_N_E/./node_modules/@industriousoffice/react-components/lib/lib.es.js","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/CheckoutAlreadyAMember.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/CheckoutSkeleton.tsx","webpack://_N_E/./components/icons/TagIcon.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/Control.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/DropdownIndicator.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/Option.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/SingleValue.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/MonthTermSelect.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/MonthTermSelectItem.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MonthTermSelectItem/index.ts","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/CheckoutSummaryForm.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/CheckoutSummaryFooter.tsx","webpack://_N_E/./components/form/DatePickerInput/index.ts","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/OfficePricesSkeleton.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/CheckoutSummaryFormModal.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/MobileOrTabletCheckoutSummaryForm.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/OfficeCheckout.tsx","webpack://_N_E/./public/icons/matterportIcon.svg","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/OfficeImage.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/QuestionsAndTourOptions.tsx","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/constants.ts","webpack://_N_E/./app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/utils.ts","webpack://_N_E/./public/icons/closeCircleIcon.svg","webpack://_N_E/./components/ModalCloseButton.tsx","webpack://_N_E/./components/ModalPage.tsx","webpack://_N_E/./components/DatePickerInput.tsx","webpack://_N_E/./components/form/DatePickerInput/DatePickerInputItem.tsx","webpack://_N_E/./components/form/shared/FormItem.tsx","webpack://_N_E/./public/images/floor-plan.png","webpack://_N_E/./public/images/info-sheet.png","webpack://_N_E/./utils/styles-util.ts","webpack://_N_E/./components/gallery/GalleryDocument.tsx","webpack://_N_E/./components/gallery/GalleryHeadingSection.tsx","webpack://_N_E/./components/gallery/GalleryImage.tsx","webpack://_N_E/./components/gallery/Gallery.tsx","webpack://_N_E/./components/gallery/GalleryModal.tsx","webpack://_N_E/./components/search/filters/FilterButton.tsx","webpack://_N_E/./components/typography/SecondaryHeading.tsx","webpack://_N_E/./lib/locations/dto/system-location-price.dto.ts","webpack://_N_E/./lib/office/dto/office.dto.ts","webpack://_N_E/./lib/office/office-api.ts","webpack://_N_E/./node_modules/@next/third-parties/dist/ThirdPartyScriptEmbed.js","webpack://_N_E/./node_modules/@next/third-parties/dist/google/ga.js","webpack://_N_E/./node_modules/@next/third-parties/dist/google/gtm.js","webpack://_N_E/./node_modules/next/dist/api/script.js","webpack://_N_E/./utils/date-picker-utils.ts","webpack://_N_E/./lib/users/dto/user.dto.ts","webpack://_N_E/./utils/user-utils.ts","webpack://_N_E/./utils/validators/enum-validator.ts","webpack://_N_E/./public/icons/calendar.svg","webpack://_N_E/./public/icons/verified.svg","webpack://_N_E/./node_modules/@hookform/resolvers/dist/resolvers.mjs","webpack://_N_E/./node_modules/@hookform/resolvers/yup/dist/yup.mjs"],"sourcesContent":["import(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src4237242273/src/website/app/[locale]/(pdp)/locations/[slug]/_components/PremiumAmenitiesSection.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"OfficeCheckout\"] */ \"/codebuild/output/src4237242273/src/website/app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/OfficeCheckout.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src4237242273/src/website/app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/OfficeImage.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src4237242273/src/website/app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/QuestionsAndTourOptions.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/components/ImageWithPlaceholder.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src4237242273/src/website/components/InteractiveMap.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Link\"] */ \"/codebuild/output/src4237242273/src/website/components/Link.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/@next/third-parties/dist/google/ga.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/@next/third-parties/dist/google/gtm.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/@next/third-parties/dist/ThirdPartyScriptEmbed.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/next/dist/client/image-component.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/next/dist/client/link.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/next/dist/client/script.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/node_modules/next/font/local/target.css?{\\\"path\\\":\\\"theme/tiemposFont.ts\\\",\\\"import\\\":\\\"\\\",\\\"arguments\\\":[{\\\"src\\\":[{\\\"path\\\":\\\"../public/fonts/TiemposHeadline-Regular.otf\\\",\\\"weight\\\":\\\"400\\\"},{\\\"path\\\":\\\"../public/fonts/TiemposHeadline-Medium.otf\\\",\\\"weight\\\":\\\"500\\\"}],\\\"variable\\\":\\\"--tiempos-headline-font\\\"}],\\\"variableName\\\":\\\"tiemposFont\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/clockHandIcon.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/directionsIcon.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/ellipse.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/liftIcon.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/membershipIcon.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/officeSeatsIcon.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-airport.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-bike.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-bus.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-car.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-other.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-parking.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-subway.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-train.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/transit-transit_hub.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/icons/verified.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/images/brands/TGR.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src4237242273/src/website/public/images/brands/welkin-and-meraki.svg\");\n","export enum OCCUPANCY_STATUS {\n LAST_OFFICE = 'LAST_OFFICE',\n LAST_WINDOW_OFFICE = 'LAST_WINDOW_OFFICE',\n LOW_STOCK = 'LOW_STOCK',\n HIGH_DEMAND = 'HIGH_DEMAND',\n}\n\nexport type OccupancyStatusDto = {\n status: OCCUPANCY_STATUS;\n count?: number;\n};\n","export default {\"src\":\"/_next/static/media/highDemandIcon.3173da5e.svg\",\"height\":18,\"width\":18,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/lowStockIcon.3077adb2.svg\",\"height\":18,\"width\":18,\"blurWidth\":0,\"blurHeight\":0};","import { useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport { useEffect, useState } from 'react';\n\nimport { SkeletonLoader } from '@/components/SkeletonLoader';\nimport {\n OCCUPANCY_STATUS,\n OccupancyStatusDto,\n} from '@/lib/office/dto/office-occupancy.dto';\nimport { fetchOfficeOccupancyById } from '@/lib/office/office-api';\nimport highDemandIcon from '@/public/icons/highDemandIcon.svg';\nimport lowStockIcon from '@/public/icons/lowStockIcon.svg';\n\nimport clsx from 'clsx';\n\ntype OccupancyStatusProps = {\n officeFakeId: string;\n seats?: number;\n className?: string;\n statusClassname?: string;\n withBackground?: boolean;\n onlyShowOne?: boolean;\n};\n\nexport default function OccupancyStatus({\n officeFakeId,\n seats,\n className,\n statusClassname,\n withBackground,\n onlyShowOne,\n}: OccupancyStatusProps) {\n const t = useTranslations('office-occupancy');\n\n const [isLoading, setIsLoading] = useState(true);\n const [occupancyStatuses, setOccupancyStatuses] =\n useState();\n\n useEffect(() => {\n const fetchOccupancy = async () => {\n try {\n const statuses = await fetchOfficeOccupancyById(officeFakeId);\n\n if (onlyShowOne && statuses.length > 0) {\n setOccupancyStatuses([statuses.sort(sortStatuses)[0]]);\n } else {\n setOccupancyStatuses(statuses);\n }\n } finally {\n setIsLoading(false);\n }\n };\n\n fetchOccupancy();\n }, [officeFakeId]);\n\n if (isLoading) {\n return (\n \n );\n }\n\n return occupancyStatuses && occupancyStatuses.length > 0 ? (\n
\n {occupancyStatuses.map((item) => (\n \n \n {t(item.status, {\n count: item.count,\n seats,\n })}\n
\n ))}\n \n ) : null;\n}\n\nconst sortStatuses = (a: OccupancyStatusDto, b: OccupancyStatusDto) => {\n const sortArray = [\n OCCUPANCY_STATUS.LAST_OFFICE,\n OCCUPANCY_STATUS.LAST_WINDOW_OFFICE,\n OCCUPANCY_STATUS.HIGH_DEMAND,\n OCCUPANCY_STATUS.LOW_STOCK,\n ];\n return sortArray.indexOf(a.status) - sortArray.indexOf(b.status);\n};\n","'use client';\n\nimport { useTranslations } from 'next-intl';\nimport { useState } from 'react';\n\nimport { ImageWithPlaceholder } from '@/components/ImageWithPlaceholder';\nimport { GalleryModal } from '@/components/gallery/GalleryModal';\nimport SecondaryHeading from '@/components/typography/SecondaryHeading';\nimport { LocationDto } from '@/lib/locations/dto';\nimport { MEETING_ROOMS_AMENITY_LABEL } from '@/utils/constants';\n\nimport { PREMIUM_AMENITIES_CONFIG, getImageForLocationAmenity } from './utils';\n\ntype PremiumAmenitiesSectionProps = {\n locale: string;\n title: string;\n location: LocationDto;\n nbOfMeetingRooms: number;\n withGallery?: boolean;\n imageWidth: number;\n imageHeight: number;\n titleIsBigger?: boolean;\n};\n\nexport default function PremiumAmenitiesSection({\n title,\n location,\n nbOfMeetingRooms,\n withGallery,\n imageWidth,\n imageHeight,\n titleIsBigger,\n}: PremiumAmenitiesSectionProps) {\n const t = useTranslations('location.premium-amenities');\n\n const [isGalleryOpen, setIsGalleryOpen] = useState(false);\n\n const amenities = PREMIUM_AMENITIES_CONFIG.map((amenity) => {\n const image = getImageForLocationAmenity(location.images, amenity.tags);\n const label =\n amenity.label === MEETING_ROOMS_AMENITY_LABEL\n ? t(amenity.label, { count: nbOfMeetingRooms })\n : t(amenity.label);\n\n return {\n image: image ? image.url : amenity.fallbackImage,\n altText: image?.altText || label,\n label,\n isImageRepresenative: image == null,\n };\n });\n\n const isARepresentativeImageShown = amenities.some(\n (a) => a.isImageRepresenative\n );\n\n return (\n
\n
\n
\n \n {title}\n \n {withGallery && (\n setIsGalleryOpen(true)}\n className=\"text-right underline text-ocean-60 max-lg:hidden\"\n >\n {t('view-gallery')}\n \n )}\n
\n {isARepresentativeImageShown && (\n
\n {t('representative-image-warning')}\n
\n )}\n
\n
\n {amenities.map((amenity) => (\n
\n \n
\n

\n {amenity.label}\n {amenity.isImageRepresenative ? '*' : ''}\n

\n
\n
\n ))}\n
\n {isGalleryOpen && (\n setIsGalleryOpen(false)}\n />\n )}\n
\n );\n}\n","import useQueryParams from '@/hooks/useQueryParams';\n\nexport type OfficePdpQueryParams = {\n day?: string;\n monthTerm?: string;\n};\n\nexport default function useOfficePdpParams() {\n const { queryParams, updateQuery } = useQueryParams();\n\n return {\n queryParams,\n updateQuery,\n };\n}\n","import { yupResolver } from '@hookform/resolvers/yup';\nimport { useLocale, useTranslations } from 'next-intl';\nimport { useEffect, useMemo, useState } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { InferType, date, object } from 'yup';\n\nimport { MAX_DAYS_HORIZON } from '@/app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/constants';\nimport {\n getDateQuery,\n getMonthTermNumber,\n getMonthTermQuery,\n getPriceForTerm,\n} from '@/app/[locale]/(pdp)/locations/[slug]/offices/[id]/_components/utils';\nimport useOfficePdpParams from '@/hooks/useOfficePdpParams';\nimport { LocationOpeningHoursDto } from '@/lib/locations/dto/location-opening-hours.dto';\nimport { OrderPreviewDto } from '@/lib/obp/dto/order-preview-dto';\nimport { createOrderPreview } from '@/lib/obp/order-api';\nimport { OfficePrices } from '@/lib/office/dto/office-prices.dto';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport { fetchOfficePricesById } from '@/lib/office/office-api';\nimport { BlackoutDateDto } from '@/lib/shared/dto/blackout-date.dto';\nimport {\n getBlackoutDatesDayFilter,\n getMaxDaysFilter,\n getOpeningHoursDayFilter,\n getPastDayFilter,\n getPastDayOrTodayFilter,\n} from '@/utils/date-picker-utils';\nimport { isAfter, isEqual } from '@/utils/date-utils';\nimport { EnumValidator } from '@/utils/validators/enum-validator';\n\nexport const officeCheckoutFormSchema = object({\n moveInDate: date().required(),\n monthTerm: EnumValidator(MonthTermType),\n}).required();\n\nexport type OfficeCheckoutType = InferType;\n\nconst DISCOUNT_PERCENTAGE = 100;\n\ntype UseOfficeCheckoutPickerProps = {\n openingHours: LocationOpeningHoursDto;\n blackoutDates: BlackoutDateDto[];\n officeId: string;\n defaultValues?: Partial;\n};\n\nexport function useOfficeCheckoutPicker({\n blackoutDates,\n openingHours,\n defaultValues,\n officeId,\n}: UseOfficeCheckoutPickerProps) {\n const t = useTranslations('office-pdp');\n const { updateQuery } = useOfficePdpParams();\n const locale = useLocale();\n\n const [officePrices, setOfficePrices] = useState();\n const [isLoadingOfficePrices, setIsLoadingOfficePrices] =\n useState(true);\n const [isLoadingOrderPreview, setIsLoadingOrderPreview] =\n useState(true);\n const [orderPreview, setOrderPreview] = useState();\n\n useEffect(() => {\n const fetchPrices = async () => {\n setIsLoadingOfficePrices(true);\n try {\n const prices = await fetchOfficePricesById(officeId, locale);\n setOfficePrices(prices);\n } finally {\n setIsLoadingOfficePrices(false);\n }\n };\n\n fetchPrices();\n }, [officeId, locale]);\n\n const oneMonthTermNumber = getMonthTermNumber(MonthTermType.OneMonth);\n\n const thirtySixMonthTermNumber = getMonthTermNumber(\n MonthTermType.ThirtySixMonth\n );\n\n const priceForOneMonthTerm = officePrices\n ? getPriceForTerm(officePrices, oneMonthTermNumber)?.price\n : null;\n\n const priceForThirtySixMonthTerm = officePrices\n ? getPriceForTerm(officePrices, thirtySixMonthTermNumber)?.price\n : null;\n\n const form = useForm({\n resolver: yupResolver(officeCheckoutFormSchema),\n mode: 'onBlur',\n defaultValues,\n });\n\n const moveInDate = form.watch('moveInDate');\n const monthTerm = form.watch('monthTerm');\n\n const selectedMonthTermNumber = getMonthTermNumber(monthTerm);\n const isSavingMoney = selectedMonthTermNumber > oneMonthTermNumber;\n\n const priceForSelectedMonthTerm = officePrices\n ? getPriceForTerm(officePrices, selectedMonthTermNumber)?.price\n : null;\n const percentageSaved = useMemo(() => {\n if (priceForSelectedMonthTerm && priceForOneMonthTerm) {\n return Math.floor(\n ((priceForOneMonthTerm - priceForSelectedMonthTerm) /\n priceForOneMonthTerm) *\n DISCOUNT_PERCENTAGE\n );\n }\n return 0;\n }, [priceForOneMonthTerm, priceForSelectedMonthTerm]);\n\n useEffect(() => {\n const fetchOrderPreview = async () => {\n setIsLoadingOrderPreview(true);\n\n const preview = await createOrderPreview({\n officeId,\n startDate: moveInDate.toISOString(),\n termLength: selectedMonthTermNumber,\n });\n\n setOrderPreview(preview);\n setIsLoadingOrderPreview(false);\n };\n\n fetchOrderPreview();\n }, [moveInDate, officeId, selectedMonthTermNumber]);\n\n const monthTermOptions = useMemo(\n () => [\n {\n label: t('36-month'),\n value: MonthTermType.ThirtySixMonth,\n tag: t('best-price'),\n },\n {\n label: t('24-month'),\n value: MonthTermType.TwentyFourMonth,\n },\n {\n label: t('18-month'),\n value: MonthTermType.EightTeenMonth,\n },\n {\n label: t('12-month'),\n value: MonthTermType.TwelveMonth,\n },\n {\n label: t('6-month'),\n value: MonthTermType.SixMonth,\n },\n {\n label: t('1-month'),\n value: MonthTermType.OneMonth,\n },\n ],\n [t]\n );\n\n const disabledDates = useMemo(() => {\n const today = new Date();\n\n const elevenAmToday = new Date().setHours(11, 0, 0, 0);\n\n const isElevenAmOrLater =\n isAfter(today, new Date(elevenAmToday)) ||\n isEqual(today, new Date(elevenAmToday));\n\n return [\n ...getBlackoutDatesDayFilter(blackoutDates),\n getOpeningHoursDayFilter(openingHours),\n isElevenAmOrLater ? getPastDayOrTodayFilter() : getPastDayFilter(),\n getMaxDaysFilter(MAX_DAYS_HORIZON),\n ];\n }, [blackoutDates, openingHours]);\n\n useEffect(() => {\n updateQuery({\n ...getMonthTermQuery(defaultValues?.monthTerm),\n ...getDateQuery(defaultValues?.moveInDate),\n });\n }, []);\n\n return {\n form,\n monthTermOptions,\n disabledDates,\n isSavingMoney,\n priceForReference: priceForOneMonthTerm,\n priceForSelectedMonthTerm,\n priceForThirtySixMonthTerm,\n percentageSaved,\n moveInDate,\n monthTerm,\n isLoadingOfficePrices,\n orderPreview,\n isLoadingOrderPreview,\n };\n}\n\nexport type UseOfficeCheckoutPickerHook = ReturnType<\n typeof useOfficeCheckoutPicker\n>;\n","export * from \"/codebuild/output/src4237242273/src/website/node_modules/@industriousoffice/react-components/lib/lib.es.js\"","'use client';\n\nimport { useTranslations } from 'next-intl';\nimport dynamic from 'next/dynamic';\nimport { useState } from 'react';\n\nimport { Button, ButtonAction } from '@/components/buttons/Button';\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { useRouter } from '@/hooks/useRouter';\nimport { LocationCalendlyLinksDto } from '@/lib/locations/dto/location-calendly-links.dto';\nimport { stringifyUrl } from '@/utils/stringify-url';\n\nimport clsx from 'clsx';\n\nconst CalendlyModal = dynamic(() => import('@/components/CalendlyModal'), {\n ssr: false,\n});\n\ntype CheckoutAlreadyAMemberProps = {\n phone?: string | null;\n className?: string;\n calendlyLinks: LocationCalendlyLinksDto;\n locationCountry: string;\n locationPhase: string;\n};\n\nexport function CheckoutAlreadyAMember({\n phone,\n className = '',\n calendlyLinks,\n locationCountry,\n locationPhase,\n}: CheckoutAlreadyAMemberProps) {\n const t = useTranslations('office-pdp.already-a-member');\n const router = useRouter();\n\n const [calendlyLink, setCalendlyLink] = useState(\n null\n );\n\n const { user } = useAuthData();\n\n const handleTourBooked = () => {\n setCalendlyLink(null);\n goToThankYouPage();\n };\n\n const goToThankYouPage = () => {\n if (user == null) return;\n const url = stringifyUrl('/contact-us/thank-you', {\n email: user?.firstName,\n firstName: user?.lastName,\n locationCountry: locationCountry,\n locationPhase: locationPhase,\n locationPhone: phone,\n });\n\n router.push(url);\n };\n\n const openScheduleCalendarCall = (\n e: React.MouseEvent\n ) => {\n e.preventDefault();\n setCalendlyLink(calendlyLinks?.phoneCall);\n };\n\n const openScheduleCalendarBookTour = (\n e: React.MouseEvent\n ) => {\n e.preventDefault();\n setCalendlyLink(calendlyLinks?.inPersonTour);\n };\n\n return (\n
\n

{t('title')}

\n

{t('description')}

\n \n {t('schedule-call')}\n \n \n {t('book-tour')}\n \n {calendlyLink && (\n setCalendlyLink(undefined)}\n onSubmit={handleTourBooked}\n company=\"\"\n firstName={user?.firstName}\n email={user?.email}\n lastName={user?.lastName}\n phone={user?.phone ?? ''}\n />\n )}\n
\n );\n}\n","import { HorizontalDivider } from '@/components/HorizontalDivider';\nimport { SkeletonLoader } from '@/components/SkeletonLoader';\n\nexport default function CheckoutSkeleton({\n className = '',\n}: {\n className?: string;\n}) {\n return (\n \n \n \n \n \n \n \n \n );\n}\n","import { IconProps } from './types';\n\nexport default function TagIcon(props: IconProps) {\n return (\n \n \n \n \n \n \n );\n}\n","import { ControlProps, components } from 'react-select';\n\nimport { OptionType } from '../types';\n\nimport clsx from 'clsx';\n\nconst Control = ({ children, ...props }: ControlProps) => {\n const { leftIndicator, controlClassName } = props.selectProps;\n\n return (\n \n {leftIndicator &&
{leftIndicator}
}\n {children}\n \n );\n};\n\nexport default Control;\n","import { DropdownIndicatorProps } from 'react-select';\n\nimport ChevronIcon from '@/components/icons/ChevronIcon';\n\nimport { OptionType } from '../types';\n\nimport clsx from 'clsx';\n\nexport default function DropdownIndicator({\n selectProps,\n}: DropdownIndicatorProps) {\n const isOpen = selectProps.menuIsOpen;\n\n return (\n \n );\n}\n","import { Tag, TagVariant } from '@industriousoffice/react-components';\nimport { OptionProps } from 'react-select';\n\nimport { OptionType } from '../types';\n\nfunction Option({ innerProps, innerRef, data }: OptionProps) {\n return (\n \n
\n {data.label}\n {data.tag && (\n \n )}\n
\n \n );\n}\n\nexport default Option;\n","import { Tag, TagVariant } from '@industriousoffice/react-components';\nimport { SingleValueProps } from 'react-select';\n\nimport { OptionType } from '../types';\n\nexport default function SingleValue({\n children,\n innerProps,\n data,\n}: SingleValueProps) {\n return (\n \n {data.renderIcon}\n \n {children}\n \n {data.tag && (\n \n )}\n \n );\n}\n","import Select, {\n Props as SelectProps,\n SingleValue as SingleValueType,\n} from 'react-select';\n\nimport { OptionType } from '../types';\nimport Control from './Control';\nimport DropdownIndicator from './DropdownIndicator';\nimport Option from './Option';\nimport SingleValue from './SingleValue';\n\nimport clsx from 'clsx';\n\ninterface MonthTermSelectProps extends Partial> {\n name: string;\n value: OptionType | null;\n onChange: (value: SingleValueType | null) => void;\n options: OptionType[];\n placeholder?: string;\n isDisabled?: boolean;\n dataTestId?: string;\n leftIndicator?: React.ReactNode;\n}\n\nexport function MonthTermSelect({\n name,\n options,\n value,\n onChange,\n placeholder,\n isDisabled = false,\n dataTestId,\n leftIndicator,\n ...props\n}: MonthTermSelectProps) {\n return (\n '!m-0',\n control: ({ isDisabled }) =>\n clsx(\n '!rounded-full px-2 !border-grey-60 !border !text-black !shadow-none !bg-white',\n isDisabled && 'opacity-50'\n ),\n indicatorSeparator: () => '!opacity-0',\n placeholder: () => '!text-ellipsis !whitespace-nowrap !overflow-hidden',\n valueContainer: () => '!pl-0',\n option: () => '!bg-white hover:!bg-almond-90 text-black',\n menuList: () => 'border border-grey-70 rounded-sm bg-white shadow',\n menu: () => 'mt-2',\n }}\n components={{\n Option,\n SingleValue,\n Control,\n DropdownIndicator,\n }}\n {...props}\n />\n );\n}\n","import { useMemo } from 'react';\nimport {\n FieldValues,\n UseControllerProps,\n useController,\n} from 'react-hook-form';\n\nimport { FormItem } from '@/components/form/shared/FormItem';\nimport TagIcon from '@/components/icons/TagIcon';\n\nimport { OptionType } from '../types';\nimport { MonthTermSelect } from './MonthTermSelect';\n\ntype MonthTermSelectItemProps = {\n options: OptionType[];\n label?: string;\n error?: string;\n tooltip?: React.ReactNode;\n name: string;\n required?: boolean;\n onChangeMonthTerm?: (selectedOption: OptionType | null) => void;\n dataTestId?: string;\n};\n\nfunction findOption(options: OptionType[], value: string): OptionType | null {\n return options.find((option) => option.value === value) || null;\n}\n\nexport function MonthTermSelectItem<\n FormValues extends FieldValues = FieldValues\n>({\n label,\n tooltip,\n required,\n options,\n onChangeMonthTerm,\n name,\n dataTestId,\n ...props\n}: UseControllerProps & MonthTermSelectItemProps) {\n const {\n field,\n fieldState: { error },\n } = useController({ name, ...props });\n\n const currentOption = useMemo(\n () => findOption(options, field.value),\n [field.value, options]\n );\n\n const handleOnChange = (selectedOption: OptionType | null) => {\n field.onChange(selectedOption?.value ?? null);\n onChangeMonthTerm?.(selectedOption);\n };\n\n return (\n \n }\n dataTestId={dataTestId}\n />\n \n );\n}\n","export * from './MonthTermSelectItem';\n","'use client';\n\nimport {\n SingleDatePicker,\n Tag,\n TagVariant,\n} from '@industriousoffice/react-components';\nimport { useLocale, useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport { UseFormReturn } from 'react-hook-form';\nimport { SingleValue as SingleValueType } from 'react-select';\n\nimport { HorizontalDivider } from '@/components/HorizontalDivider';\nimport { SkeletonLoader } from '@/components/SkeletonLoader';\nimport { PrimaryButton } from '@/components/buttons';\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { OfficeCheckoutType } from '@/hooks/useOfficeCheckoutPicker';\nimport useOfficePdpParams from '@/hooks/useOfficePdpParams';\nimport { useRouter } from '@/hooks/useRouter';\nimport { LocationCalendlyLinksDto } from '@/lib/locations/dto/location-calendly-links.dto';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport calendarIcon from '@/public/icons/calendar.svg';\nimport { DateAfter, DateBefore, DayOfWeek } from '@/types/DateFilter';\nimport { stringifyUrl } from '@/utils/stringify-url';\nimport { canBuyOfficeAt } from '@/utils/user-utils';\n\nimport OccupancyStatus from '../../../_components/OccupancyStatus';\nimport { CheckoutAlreadyAMember } from './CheckoutAlreadyAMember';\nimport CheckoutSkeleton from './CheckoutSkeleton';\nimport { MonthTermSelectItem } from './MonthTermSelectItem';\nimport { OptionType } from './types';\nimport { getDateQuery, getMonthTermQuery } from './utils';\n\ntype CheckoutSummaryFormProps = {\n phone?: string | null;\n locationSlug: string;\n currencyIsoCode: string;\n officeId: string;\n form: UseFormReturn<{\n moveInDate: Date;\n monthTerm: MonthTermType;\n }>;\n disabledDates?: (Date | DayOfWeek | DateBefore | DateAfter)[];\n isSavingMoney: boolean;\n priceForSelectedMonthTerm?: number | null;\n priceForReference?: number | null;\n percentageSaved: number;\n monthTermOptions: OptionType[];\n isLoadingOfficePrices: boolean;\n calendlyLinks: LocationCalendlyLinksDto;\n locationCountry: string;\n locationPhase: string;\n locationId: string;\n seats?: number;\n amountToReserveToday: number | null | undefined;\n percentageToPayNow: number | null | undefined;\n isLoadingOrderPreview: boolean;\n};\n\nexport function CheckoutSummaryForm({\n phone,\n locationSlug,\n officeId,\n currencyIsoCode,\n form,\n disabledDates,\n isSavingMoney,\n priceForSelectedMonthTerm,\n priceForReference,\n percentageSaved,\n monthTermOptions,\n isLoadingOfficePrices,\n calendlyLinks,\n locationCountry,\n locationPhase,\n locationId,\n seats,\n amountToReserveToday,\n percentageToPayNow,\n isLoadingOrderPreview,\n}: CheckoutSummaryFormProps) {\n const t = useTranslations('office-pdp');\n const locale = useLocale();\n const router = useRouter();\n const { updateQuery } = useOfficePdpParams();\n const hasReducedUpfrontCost =\n !isLoadingOrderPreview && percentageToPayNow && percentageToPayNow < 1;\n\n const { user, isLoading: isLoadingUser } = useAuthData();\n\n const isNonAuthorizedUser = !canBuyOfficeAt(user, locationId);\n\n const onMoveInDateChange = (date?: Date) => {\n if (!date) return;\n form.setValue('moveInDate', date);\n updateQuery(getDateQuery(date));\n };\n\n const onMonthTermChange = (monthTerm: SingleValueType | null) => {\n updateQuery(getMonthTermQuery(monthTerm?.value));\n };\n\n const onSubmit = (values: OfficeCheckoutType) => {\n router.push(\n stringifyUrl(`/locations/${locationSlug}/offices/${officeId}/checkout`, {\n day: getDateQuery(values.moveInDate).day,\n monthTerm: getMonthTermQuery(values.monthTerm).monthTerm,\n })\n );\n };\n\n return (\n \n \n
\n \n
\n (\n \n )}\n selected={form.getValues('moveInDate')}\n defaultDate={form.getValues('moveInDate')}\n disabled={disabledDates}\n buttonTestId=\"datepicker\"\n prefixLabel={t('move-in')}\n onChange={onMoveInDateChange}\n className=\"text-sm\"\n dropdownIndicatorClassName=\"!text-[#002525]\"\n />\n\n
\n
\n {t('monthly-price-label')}\n {isSavingMoney && percentageSaved > 0 && (\n \n )}\n
\n {!isLoadingOfficePrices && priceForSelectedMonthTerm ? (\n \n {Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(priceForSelectedMonthTerm)}\n \n ) : (\n \n )}\n
\n\n {!isLoadingOfficePrices && isSavingMoney && priceForReference && (\n
\n
{t('month-to-month-price')}
\n
\n {Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(priceForReference)}\n
\n
\n )}\n\n {hasReducedUpfrontCost && (\n <>\n \n\n
\n
\n {t('amount-to-reserve')}\n
\n {!isLoadingOrderPreview && amountToReserveToday ? (\n \n {Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(amountToReserveToday)}\n \n ) : (\n \n )}\n
\n\n

\n {t('reduced-deposit-cost', { percentage: percentageToPayNow })}\n

\n \n )}\n\n {isLoadingUser && }\n {isNonAuthorizedUser && !isLoadingUser ? (\n \n ) : (\n !isLoadingUser && (\n \n {t('continue-to-checkout')}\n \n )\n )}\n \n );\n}\n","import { Tag, TagVariant } from '@industriousoffice/react-components';\nimport { useLocale, useTranslations } from 'next-intl';\nimport { UseFormReturn } from 'react-hook-form';\n\nimport { SkeletonLoader } from '@/components/SkeletonLoader';\nimport { PrimaryButton } from '@/components/buttons';\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { useRouter } from '@/hooks/useRouter';\nimport { ScreenSize, useScreenSize } from '@/hooks/useScreenSize';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport { stringifyUrl } from '@/utils/stringify-url';\nimport { canBuyOfficeAt } from '@/utils/user-utils';\n\nimport { getDateQuery, getMonthTermQuery } from './utils';\n\ntype CheckoutSummaryFooterProps = {\n currencyIsoCode: string;\n onMoreOptionsClick: () => void;\n officeId: string;\n locationSlug: string;\n form: UseFormReturn<{\n moveInDate: Date;\n monthTerm: MonthTermType;\n }>;\n isSavingMoney: boolean;\n priceForSelectedMonthTerm?: number | null;\n percentageSaved: number;\n isLoadingOfficePrices: boolean;\n moveInDate?: Date;\n monthTerm: string;\n locationId: string;\n};\n\nexport default function CheckoutSummaryFooter({\n currencyIsoCode,\n onMoreOptionsClick,\n officeId,\n locationSlug,\n form,\n isSavingMoney,\n priceForSelectedMonthTerm,\n percentageSaved,\n isLoadingOfficePrices,\n moveInDate,\n monthTerm,\n locationId,\n}: CheckoutSummaryFooterProps) {\n const t = useTranslations('office-pdp');\n const screenSize = useScreenSize();\n const locale = useLocale();\n const router = useRouter();\n\n const { user, isLoading: isLoadingUser } = useAuthData();\n\n const isNonAuthorizedUser =\n !canBuyOfficeAt(user, locationId) && !isLoadingUser;\n\n const navigateToCheckout = () => {\n router.push(\n stringifyUrl(`/locations/${locationSlug}/offices/${officeId}/checkout`, {\n ...getDateQuery(moveInDate),\n ...getMonthTermQuery(monthTerm),\n })\n );\n };\n\n return (\n
\n
\n
\n
\n
{t(monthTerm)}
\n {isLoadingOfficePrices ? (\n \n ) : (\n <>\n {isSavingMoney && percentageSaved > 0 && (\n \n )}\n \n )}\n
\n\n {isLoadingOfficePrices ? (\n \n ) : (\n <>\n {priceForSelectedMonthTerm && (\n \n {t.rich('monthly-price', {\n price: Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(priceForSelectedMonthTerm),\n frequency: (chunks) => (\n {chunks}\n ),\n })}\n \n )}\n \n )}\n \n {t('more-options')}\n \n
\n
\n \n {screenSize > ScreenSize.SM\n ? t('continue-to-checkout')\n : t('continue')}\n \n
\n
\n
\n );\n}\n","export * from './DatePickerInputItem';\n","import { SkeletonLoader } from '@/components/SkeletonLoader';\n\nexport default function OfficePricesSkeleton() {\n return (\n \n \n \n \n );\n}\n","import { Tag, TagVariant } from '@industriousoffice/react-components';\nimport * as Dialog from '@radix-ui/react-dialog';\nimport { useLocale, useTranslations } from 'next-intl';\nimport { UseFormReturn } from 'react-hook-form';\n\nimport { PrimaryButton } from '@/components/buttons/PrimaryButton';\nimport { DatePickerInputItem } from '@/components/form/DatePickerInput';\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { OfficeCheckoutType } from '@/hooks/useOfficeCheckoutPicker';\nimport useOfficePdpParams from '@/hooks/useOfficePdpParams';\nimport { LocationCalendlyLinksDto } from '@/lib/locations/dto/location-calendly-links.dto';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport { DateAfter, DateBefore, DayOfWeek } from '@/types/DateFilter';\nimport { canBuyOfficeAt } from '@/utils/user-utils';\n\nimport { CheckoutAlreadyAMember } from './CheckoutAlreadyAMember';\nimport CheckoutSkeleton from './CheckoutSkeleton';\nimport { MonthTermSelectItem } from './MonthTermSelectItem';\nimport OfficePricesSkeleton from './OfficePricesSkeleton';\nimport QuestionsAndTourOptions from './QuestionsAndTourOptions';\nimport { OptionType } from './types';\nimport { getDateQuery, getMonthTermQuery } from './utils';\n\ntype CheckoutSummaryFormModalProps = {\n isOpen: boolean;\n onOpenChange: () => void;\n currencyIsoCode: string;\n onClose: () => void;\n phone?: string | null;\n locationSlug: string;\n form: UseFormReturn<{\n moveInDate: Date;\n monthTerm: MonthTermType;\n }>;\n disabledDates?: (Date | DayOfWeek | DateBefore | DateAfter)[];\n isSavingMoney: boolean;\n priceForSelectedMonthTerm?: number | null;\n priceForReference?: number | null;\n percentageSaved: number;\n monthTermOptions: OptionType[];\n isLoadingOfficePrices: boolean;\n moveInDate?: Date;\n calendlyLinks: LocationCalendlyLinksDto;\n locationCountry: string;\n locationPhase: string;\n locationId: string;\n};\n\nexport default function CheckoutSummaryFormModal({\n isOpen,\n onOpenChange,\n onClose,\n currencyIsoCode,\n phone,\n locationSlug,\n form,\n disabledDates,\n isSavingMoney,\n priceForSelectedMonthTerm,\n priceForReference,\n percentageSaved,\n monthTermOptions,\n isLoadingOfficePrices,\n moveInDate,\n calendlyLinks,\n locationCountry,\n locationPhase,\n locationId,\n}: CheckoutSummaryFormModalProps) {\n const t = useTranslations('office-pdp');\n const locale = useLocale();\n\n const { updateQuery } = useOfficePdpParams();\n\n const onSubmit = async (values: OfficeCheckoutType) => {\n form.reset(form.getValues());\n updateQuery({\n ...getDateQuery(values.moveInDate),\n ...getMonthTermQuery(values.monthTerm),\n });\n onClose();\n };\n\n const { user, isLoading: isLoadingUser } = useAuthData();\n\n const isNonAuthorizedUser = !canBuyOfficeAt(user, locationId);\n\n return (\n \n \n \n \n \n {isLoadingOfficePrices ? (\n \n ) : (\n <>\n
\n {priceForSelectedMonthTerm && (\n \n {t.rich('monthly-price', {\n price: Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(priceForSelectedMonthTerm),\n frequency: (chunks) => (\n {chunks}\n ),\n })}\n \n )}\n {isSavingMoney && priceForReference && (\n \n {Intl.NumberFormat(locale, {\n style: 'currency',\n currency: currencyIsoCode,\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n }).format(priceForReference)}\n \n )}\n
\n {isSavingMoney && percentageSaved > 0 && (\n
\n \n
\n {t('compared-price')}\n
\n
\n )}\n \n )}\n
\n
\n \n
\n \n \n
\n {isLoadingUser ? : null}\n {isNonAuthorizedUser && !isLoadingUser && (\n
\n \n
\n )}\n
\n
\n \n {t('cancel')}\n \n \n {t(form.formState.isDirty ? 'apply-changes' : 'apply')}\n \n
\n
\n \n
\n
\n
\n
\n );\n}\n","'use client';\n\nimport { useState } from 'react';\nimport { UseFormReturn } from 'react-hook-form';\n\nimport { LocationCalendlyLinksDto } from '@/lib/locations/dto/location-calendly-links.dto';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport { DateAfter, DateBefore, DayOfWeek } from '@/types/DateFilter';\n\nimport CheckoutSummaryFooter from './CheckoutSummaryFooter';\nimport CheckoutSummaryFormModal from './CheckoutSummaryFormModal';\nimport { OptionType } from './types';\n\ntype MobileOrTabletCheckoutSummaryFormProps = {\n currencyIsoCode: string;\n locationSlug: string;\n phone?: string | null;\n officeId: string;\n form: UseFormReturn<{\n moveInDate: Date;\n monthTerm: MonthTermType;\n }>;\n disabledDates?: (Date | DayOfWeek | DateBefore | DateAfter)[];\n isSavingMoney: boolean;\n priceForSelectedMonthTerm?: number | null;\n priceForReference?: number | null;\n percentageSaved: number;\n monthTermOptions: OptionType[];\n isLoadingOfficePrices: boolean;\n moveInDate?: Date;\n monthTerm: string;\n calendlyLinks: LocationCalendlyLinksDto;\n locationCountry: string;\n locationPhase: string;\n locationId: string;\n};\n\nexport default function MobileOrTabletCheckoutSummaryForm({\n currencyIsoCode,\n locationSlug,\n phone,\n officeId,\n form,\n disabledDates,\n isSavingMoney,\n priceForSelectedMonthTerm,\n priceForReference,\n percentageSaved,\n monthTermOptions,\n isLoadingOfficePrices,\n moveInDate,\n monthTerm,\n calendlyLinks,\n locationCountry,\n locationPhase,\n locationId,\n}: MobileOrTabletCheckoutSummaryFormProps) {\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n return (\n <>\n {isModalOpen && (\n setIsModalOpen(false)}\n onOpenChange={() => setIsModalOpen(true)}\n phone={phone}\n form={form}\n disabledDates={disabledDates}\n isSavingMoney={isSavingMoney}\n priceForSelectedMonthTerm={priceForSelectedMonthTerm}\n priceForReference={priceForReference}\n percentageSaved={percentageSaved}\n monthTermOptions={monthTermOptions}\n isLoadingOfficePrices={isLoadingOfficePrices}\n moveInDate={moveInDate}\n calendlyLinks={calendlyLinks}\n locationCountry={locationCountry}\n locationPhase={locationPhase}\n locationId={locationId}\n />\n )}\n setIsModalOpen(true)}\n moveInDate={moveInDate}\n form={form}\n isSavingMoney={isSavingMoney}\n priceForSelectedMonthTerm={priceForSelectedMonthTerm}\n percentageSaved={percentageSaved}\n isLoadingOfficePrices={isLoadingOfficePrices}\n monthTerm={monthTerm}\n locationId={locationId}\n />\n \n );\n}\n","'use client';\n\nimport { useTranslations } from 'next-intl';\nimport { useEffect } from 'react';\n\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { useOfficeCheckoutPicker } from '@/hooks/useOfficeCheckoutPicker';\nimport { LocationDto } from '@/lib/locations';\nimport { MonthTermType, Office } from '@/lib/office/dto/office.dto';\nimport { getLocationAreaSalesLeadPhone } from '@/models/location-utils';\nimport { DEFAULT_CURRENCY_ISO_CODE } from '@/utils/constants';\nimport { createLocalDay } from '@/utils/date-utils';\nimport * as gtm from '@/utils/gtm';\nimport { getHasMembership } from '@/utils/user-utils';\n\nimport { CheckoutSummaryForm } from './CheckoutSummaryForm';\nimport MobileOrTabletCheckoutSummaryForm from './MobileOrTabletCheckoutSummaryForm';\nimport QuestionsAndTourOptions from './QuestionsAndTourOptions';\n\ntype OfficeCheckoutProps = {\n office: Office;\n location: LocationDto;\n defaultMoveInDay: string;\n defaultMonthTerm: MonthTermType;\n};\n\nexport function OfficeCheckout({\n office,\n location,\n defaultMoveInDay,\n defaultMonthTerm,\n}: OfficeCheckoutProps) {\n const t = useTranslations('office-checkout');\n\n const {\n form,\n disabledDates,\n isSavingMoney,\n priceForSelectedMonthTerm,\n priceForReference,\n priceForThirtySixMonthTerm,\n percentageSaved,\n monthTermOptions,\n isLoadingOfficePrices,\n moveInDate,\n monthTerm,\n orderPreview,\n isLoadingOrderPreview,\n } = useOfficeCheckoutPicker({\n blackoutDates: location.blackoutDates,\n openingHours: location.openingHours,\n officeId: office.id,\n defaultValues: {\n moveInDate: createLocalDay(defaultMoveInDay),\n monthTerm: defaultMonthTerm,\n },\n });\n\n const { user, isLoading: isLoadingUser } = useAuthData();\n const isUserAMember = getHasMembership(user);\n const isDataLayerLoaded = gtm.isDataLayerLoaded();\n\n useEffect(() => {\n if (!isDataLayerLoaded || isLoadingOfficePrices) return;\n\n gtm.pushECommerceEvent('view_item', {\n currency: location.currencyIsoCode,\n value: priceForThirtySixMonthTerm,\n items: [\n gtm.mapOfficeToItemEcommerce({\n officeName: t('office-title', {\n configuration: office.officeConfigurationType,\n seats: office.seats,\n }),\n officeId: office.id,\n locationName: location.name,\n seats: office.seats,\n locationId: location.id,\n }),\n ],\n });\n }, [isDataLayerLoaded, isLoadingOfficePrices]);\n\n const areaSalesLeadPhone = getLocationAreaSalesLeadPhone({\n locationManagers: location.locationManagers,\n country: location.country,\n });\n\n return (\n <>\n
\n \n\n {!isUserAMember && !isLoadingUser && (\n \n )}\n
\n \n \n );\n}\n","export default {\"src\":\"/_next/static/media/matterportIcon.915554d8.svg\",\"height\":48,\"width\":48,\"blurWidth\":0,\"blurHeight\":0};","'use client';\n\nimport { useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport { useState } from 'react';\n\nimport { ImageWithPlaceholder } from '@/components/ImageWithPlaceholder';\nimport { GalleryMatterport } from '@/components/gallery/GalleryMatterport';\nimport { Office } from '@/lib/office/dto/office.dto';\nimport { getOfficeImage } from '@/lib/office/office-utils';\nimport matterportIcon from '@/public/icons/matterportIcon.svg';\nimport { stringifyUrl } from '@/utils/stringify-url';\n\ntype OfficeImageProps = {\n office: Office;\n};\n\nconst MATTERPORT_AUTO_PLAY_MODE = 1;\n\nexport default function OfficeImage({ office }: OfficeImageProps) {\n const t = useTranslations('office-pdp');\n\n const [isMatterportVisible, setIsMatterportVisible] = useState(\n office.shouldAutoLoadMatterport && !!office.matterportImageUrl\n );\n\n const imageSrc = getOfficeImage(office.seats, office.officeConfigurationType);\n\n if (!office.matterportImageUrl) {\n return (\n
\n \n
\n
\n

{t('office-image-label')}

\n
\n
\n );\n }\n\n const showMatterportImage = () => {\n setIsMatterportVisible(true);\n };\n\n return isMatterportVisible ? (\n
\n \n
\n ) : (\n \n );\n}\n","'use client';\n\nimport { useTranslations } from 'next-intl';\n\nimport { HorizontalDivider } from '@/components/HorizontalDivider';\nimport { Link } from '@/components/Link';\nimport { Button, ButtonAction } from '@/components/buttons/Button';\nimport { useAuthData } from '@/hooks/useAuthData';\nimport { getHasMembership } from '@/utils/user-utils';\n\nimport clsx from 'clsx';\n\ntype QuestionsAndTourOptionsProps = {\n locationSlug: string;\n phone?: string | null;\n className?: string;\n};\n\nexport default function QuestionsAndTourOptions({\n locationSlug,\n phone,\n className,\n}: QuestionsAndTourOptionsProps) {\n const t = useTranslations('office-pdp');\n const { user } = useAuthData();\n const isUserAMember = getHasMembership(user);\n if (isUserAMember) return null;\n\n return (\n \n {phone && (\n

\n {t.rich('call-link', {\n link: (chunks) => (\n \n {chunks}\n \n ),\n phone,\n })}\n

\n )}\n \n
{t('see-it-in-person')}
\n \n {t('book-a-tour')}\n \n
\n );\n}\n","export const MAX_DAYS_HORIZON = 60;\n","import { OfficePdpQueryParams } from '@/hooks/useOfficePdpParams';\nimport {\n PriceRange,\n PriceType,\n} from '@/lib/locations/dto/system-location-price.dto';\nimport { OfficePrices } from '@/lib/office/dto/office-prices.dto';\nimport { MonthTermType } from '@/lib/office/dto/office.dto';\nimport {\n addBusinessDays,\n addDays,\n addMonths,\n format,\n startOfMonth,\n} from '@/utils/date-utils';\n\nimport { OfficePdpFiltersType } from './types';\n\nexport function getDateQuery(date?: Date) {\n return {\n day: date ? format(date, 'y-MM-dd') : undefined,\n };\n}\n\nexport function getMonthTermQuery(term?: string) {\n return {\n monthTerm: term ? term : undefined,\n };\n}\n\nexport function getFilterFromQueryParams(\n queryParams: OfficePdpQueryParams\n): OfficePdpFiltersType {\n const { day, monthTerm } = queryParams;\n\n return {\n day: day ? new Date(`${day}T00:00:00`) : undefined,\n ...getMonthTermQuery(monthTerm),\n };\n}\n\nconst monthTermMapping: Record = {\n [MonthTermType.ThirtySixMonth]: 36,\n [MonthTermType.TwentyFourMonth]: 24,\n [MonthTermType.EightTeenMonth]: 18,\n [MonthTermType.TwelveMonth]: 12,\n [MonthTermType.SixMonth]: 6,\n [MonthTermType.OneMonth]: 1,\n};\n\nexport function getMonthTermNumber(monthTerm: MonthTermType): number {\n return monthTermMapping[monthTerm];\n}\n\nexport function getPriceForTerm(\n prices: OfficePrices,\n term: number\n): PriceRange | undefined {\n return prices.find(\n (p): p is PriceRange =>\n p.priceType === PriceType.Range && p.termFrom <= term && p.termTo >= term\n );\n}\n\nexport function getDefaultSsosMoveInDate(fromDate: Date = new Date()): Date {\n const after30BusinessDays = addBusinessDays(fromDate, 30);\n\n if (after30BusinessDays.getDate() < 15) {\n return addDays(startOfMonth(after30BusinessDays), 14);\n }\n\n return startOfMonth(addMonths(after30BusinessDays, 1));\n}\n","export default {\"src\":\"/_next/static/media/closeCircleIcon.db31b3c4.svg\",\"height\":56,\"width\":56,\"blurWidth\":0,\"blurHeight\":0};","import { useTranslations } from 'next-intl';\nimport Image from 'next/image';\n\nimport closeIcon from '@/public/icons/closeCircleIcon.svg';\n\nexport function ModalCloseButton(\n props: React.ComponentPropsWithoutRef<'button'>\n) {\n const t = useTranslations('general');\n\n return (\n \n );\n}\n","'use client';\n\nimport { ReactNode, useEffect } from 'react';\nimport ReactDOM from 'react-dom';\n\nimport { ID_MODAL_CONTAINER, ID_PAGE_CONTAINER } from '@/utils/constants';\n\nimport { ModalCloseButton } from './ModalCloseButton';\n\nimport clsx from 'clsx';\n\ntype Props = {\n children: ReactNode;\n className?: string;\n onClose: () => void;\n};\n\nfunction ModalPageContainer(props: Props) {\n const { children, className, onClose } = props;\n\n const restoreBody = () => {\n const body = document.body;\n const scrollY = body.style.top;\n\n body.style.position = '';\n body.style.top = '';\n body.style.height = '';\n body.style.overflowY = '';\n\n window.scrollTo(0, parseInt(scrollY || '0') * -1);\n };\n\n const showPage = () => {\n const page = document.getElementById(ID_PAGE_CONTAINER)!;\n page.style.visibility = 'visible';\n };\n\n const handleCloseModal = () => {\n restoreBody();\n showPage();\n onClose();\n };\n\n return (\n \n \n {children}\n \n );\n}\n\nexport function ModalPage(props: Props) {\n const container = document.getElementById(ID_MODAL_CONTAINER)!;\n\n useEffect(() => {\n const disableBodyOverflow = () => {\n const body = document.body;\n\n body.style.height = '100vh';\n body.style.overflowY = 'hidden';\n };\n const hidePage = () => {\n const page = document.getElementById(ID_PAGE_CONTAINER)!;\n page.style.visibility = 'hidden';\n };\n\n disableBodyOverflow();\n hidePage(); // prevent focus on hidden elements\n }, []);\n\n return (\n <>{ReactDOM.createPortal(, container)}\n );\n}\n","import {\n Picker,\n PickerProps,\n SingleDatePickerProps,\n} from '@industriousoffice/react-components';\nimport Image from 'next/image';\nimport { useEffect, useMemo, useState } from 'react';\n\nimport { useDateUtils } from '@/hooks/useDateUtils';\nimport calendarIcon from '@/public/icons/calendar.svg';\n\nimport FilterButton from './search/filters/FilterButton';\n\nimport clsx from 'clsx';\n\ninterface DatePickerInputProps extends PickerProps {\n selected?: Date;\n onChange: (value: Date | undefined) => void;\n placeholder?: string;\n disabledDays?: SingleDatePickerProps['disabled'];\n className?: string;\n prefixLabel?: string;\n}\n\nexport default function DatePickerInput({\n onChange,\n placeholder,\n onMonthChange,\n disabledDays,\n defaultMonth,\n selected,\n className,\n prefixLabel,\n}: DatePickerInputProps) {\n const [isPickerOpen, setIsPickerOpen] = useState(false);\n const [selectedDate, setSelectedDay] = useState(selected);\n const { format } = useDateUtils();\n\n useEffect(() => {\n setSelectedDay(selected);\n }, [selected]);\n\n const formatDateOrRange = (value: Date | undefined) => {\n if (!value) return null;\n\n if (value instanceof Date) {\n return format(value, 'EEE, MMM d');\n }\n };\n\n const inputDisplay = useMemo(() => {\n const formattedDate = formatDateOrRange(selectedDate) || placeholder;\n return prefixLabel ? `${prefixLabel} ${formattedDate}` : formattedDate;\n }, [selectedDate, prefixLabel]);\n\n const handleOnDaySelect = (value?: Date | undefined) => {\n setSelectedDay(value);\n onChange(value);\n setIsPickerOpen(false);\n };\n\n return (\n
\n }\n isActive={false}\n className={clsx(\n className,\n 'w-full py-2.5',\n !isPickerOpen && 'rounded-lg'\n )}\n onClick={() => setIsPickerOpen(!isPickerOpen)}\n >\n {inputDisplay}\n \n\n {isPickerOpen && (\n \n )}\n
\n );\n}\n","import { SingleDatePickerProps } from '@industriousoffice/react-components';\nimport {\n FieldValues,\n UseControllerProps,\n useController,\n} from 'react-hook-form';\n\nimport DatePickerInput from '@/components/DatePickerInput';\n\nimport { FormItem } from '../shared/FormItem';\n\ntype DatePickerInputItemProps = {\n label?: string;\n placeholder?: string;\n name: string;\n error?: string;\n tooltip?: React.ReactNode;\n required?: boolean;\n onChangeDate?: (date?: Date) => void;\n disabledDays?: SingleDatePickerProps['disabled'];\n onMonthChange?: SingleDatePickerProps['onMonthChange'];\n defaultMonth: SingleDatePickerProps['defaultMonth'];\n prefixLabel?: string;\n className?: string;\n};\n\nexport function DatePickerInputItem<\n FormValues extends FieldValues = FieldValues\n>({\n name,\n label,\n placeholder,\n tooltip,\n required,\n error,\n control,\n onChangeDate,\n disabledDays,\n onMonthChange,\n prefixLabel,\n className,\n defaultMonth,\n}: UseControllerProps & DatePickerInputItemProps) {\n const {\n field: { value, onChange },\n } = useController({\n name,\n control,\n });\n\n const handleOnChange = (date?: Date) => {\n onChange(date);\n onChangeDate?.(date);\n };\n\n return (\n \n \n \n );\n}\n","import dynamic from 'next/dynamic';\nimport { ReactNode } from 'react';\n\nimport clsx from 'clsx';\n\nconst ErrorMessage = dynamic(\n () => import('./ErrorMessage').then((mod) => mod.ErrorMessage),\n { ssr: false }\n);\nconst Label = dynamic(() => import('./Label').then((mod) => mod.Label), {\n ssr: false,\n});\n\ntype FormItem = {\n name: string;\n label?: string | ReactNode;\n labelClassName?: string;\n required?: boolean;\n error?: string;\n children: ReactNode;\n className?: string;\n tooltip?: React.ReactNode;\n description?: string;\n dataTestId: string;\n};\n\nexport function FormItem(props: FormItem) {\n const {\n name,\n required,\n error,\n label,\n labelClassName,\n children,\n className,\n tooltip,\n description,\n dataTestId,\n } = props;\n\n return (\n \n {label && (\n \n {label}\n \n )}\n {children}\n {description && (\n

{description}

\n )}\n {error && (\n \n )}\n \n );\n}\n","export default {\"src\":\"/_next/static/media/floor-plan.d5f3dfe5.png\",\"height\":1080,\"width\":1920,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAGFBMVEXu7u7+/v7V1dX39/fKysro6Oje39/k5OQRH7JoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJ0lEQVR4nBXKuQ0AMBCEQLjP/XdsbYZGoMoifW+nElXMIPGL5GnaDwe3AFHB+IZuAAAAAElFTkSuQmCC\",\"blurWidth\":8,\"blurHeight\":5};","export default {\"src\":\"/_next/static/media/info-sheet.24d81068.png\",\"height\":908,\"width\":1142,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAJFBMVEX5+fnx8/Lt7ezj5uW05uz8/f2K3uiIfXPW1NOT4uqTkYp9bV5wcq1DAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAL0lEQVR4nBXGxxHAQAwDsSUp6VL//XqMF0hiZz2Abt2FBPLexLFtUVUlGmbm/PkAEMIAnIluvAsAAAAASUVORK5CYII=\",\"blurWidth\":8,\"blurHeight\":6};","export function isNthChild(props: {\n index: number;\n patternSize: number;\n values: number[];\n}) {\n const { index, patternSize, values } = props;\n\n let result = (index + 1) % patternSize;\n\n if (result === 0) {\n result = patternSize;\n }\n\n return values.includes(result);\n}\n","import { Button } from '@industriousoffice/react-components';\nimport { useTranslations } from 'next-intl';\nimport Image from 'next/image';\n\ntype GalleryDocumentProps = {\n imageSrc: string;\n href: string;\n title: string;\n name: string;\n};\n\nexport function GalleryDocument(props: GalleryDocumentProps) {\n const t = useTranslations('location.gallery');\n const { imageSrc, href, title, name } = props;\n return (\n \n
\n \"floor\n
\n
\n \n
\n
\n
{name}
\n \n );\n}\n","type HeadingSectionProps = {\n children: React.ReactNode;\n};\n\nexport default function GalleryHeadingSection({\n children,\n}: HeadingSectionProps) {\n return (\n

{children}

\n );\n}\n","import { ImageWithPlaceholder } from '@/components/ImageWithPlaceholder';\n\nimport clsx from 'clsx';\n\ntype GalleryImageProps = {\n className?: string;\n imageClassName?: string;\n url: string;\n caption: string | null;\n altText: string;\n};\n\nexport function GalleryImage({\n className,\n imageClassName,\n url,\n caption,\n altText,\n}: GalleryImageProps) {\n return (\n
\n \n\n {caption && (\n
\n {caption}\n
\n )}\n
\n );\n}\n","import { useTranslations } from 'next-intl';\nimport dynamic from 'next/dynamic';\n\nimport { ImageDto } from '@/lib/image.dto';\nimport floorPlanImage from '@/public/images/floor-plan.png';\nimport infoSheetImage from '@/public/images/info-sheet.png';\nimport { isNthChild } from '@/utils/styles-util';\n\nimport { GalleryDocument } from './GalleryDocument';\nimport GalleryHeadingSection from './GalleryHeadingSection';\nimport { GalleryImage } from './GalleryImage';\n\nimport clsx from 'clsx';\n\nconst GalleryMatterport = dynamic(\n () => import('./GalleryMatterport').then((mod) => mod.GalleryMatterport),\n { ssr: false }\n);\n\ntype Props = {\n images: ImageDto[];\n matterportUrl?: string | null;\n className?: string;\n floorPlanUrl?: string | null;\n infoSheetUrl?: string | null;\n};\n\nexport function Gallery(props: Props) {\n const { images, matterportUrl, className, floorPlanUrl, infoSheetUrl } =\n props;\n const t = useTranslations('location.gallery');\n const patternSize = 5;\n\n const getImageClass = (index: number) => {\n if (isNthChild({ index, patternSize, values: [1, 4] })) {\n return 'h-[223px] md:h-[276px]';\n }\n if (isNthChild({ index, patternSize, values: [2, 5] })) {\n return 'h-[223px] md:h-[276px]';\n }\n return 'h-[223px] md:h-[563px]';\n };\n\n const getImageContainerClass = (index: number) => {\n if (isNthChild({ index, patternSize, values: [1, 4] })) {\n return 'md:w-1/2 md:pr-3';\n }\n if (isNthChild({ index, patternSize, values: [2, 5] })) {\n return 'md:w-1/2 md:pl-3';\n }\n return '';\n };\n\n return (\n
\n {matterportUrl && (\n
\n {t('matterport-title')}\n \n
\n )}\n
\n {t('gallery-title')}\n
\n {images.map((image, index) => (\n \n ))}\n
\n
\n {(infoSheetUrl || floorPlanUrl) && (\n
\n \n {t('information-title')}\n \n {floorPlanUrl && (\n \n )}\n {infoSheetUrl && (\n \n )}\n
\n )}\n
\n );\n}\n","import { ModalPage } from '@/components/ModalPage';\nimport { ImageDto } from '@/lib/image.dto';\n\nimport { Gallery } from './Gallery';\n\nimport clsx from 'clsx';\n\ntype Props = {\n images: ImageDto[];\n matterportUrl?: string | null;\n onClose: () => void;\n floorPlanUrl?: string | null;\n infoSheetUrl?: string | null;\n className?: string;\n};\n\nexport function GalleryModal(props: Props) {\n const {\n images,\n matterportUrl,\n infoSheetUrl,\n floorPlanUrl,\n className,\n onClose,\n } = props;\n\n return (\n \n \n \n );\n}\n","import Image from 'next/image';\nimport React from 'react';\n\nimport closeIcon from '@/public/icons/closeIcon.svg';\n\nimport clsx from 'clsx';\n\ntype FilterButtonProps = {\n icon: JSX.Element;\n isActive?: boolean;\n buttonStyle?: FilterButtonStyle;\n onClearClick?: () => void;\n} & React.ComponentPropsWithoutRef<'button'>;\n\nexport enum FilterButtonStyle {\n DEFAULT = 'default',\n CHIP = 'chip',\n}\n\nconst FilterButton = React.forwardRef(\n (\n {\n children,\n isActive,\n icon,\n onClearClick,\n className,\n buttonStyle = FilterButtonStyle.DEFAULT,\n ...rest\n },\n ref\n ) => {\n const handleClearClick = (e: React.MouseEvent) => {\n e.stopPropagation();\n onClearClick?.();\n };\n\n return (\n \n {icon}\n \n {children}\n \n {isActive && (\n handleClearClick(e)}\n />\n )}\n \n );\n }\n);\nFilterButton.displayName = 'FilterButton';\n\nexport default FilterButton;\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","export enum ProductGroup {\n DedicatedOfficeOneToFourteen = 'Dedicated Office (1-14)',\n PreSale = 'Pre-Sale',\n Access = 'Access',\n Other = 'Other',\n CoworkingSuite = 'Coworking Suite',\n DedicatedDesk = 'Dedicated Desk',\n DedicatedOfficeFifteenToMore = 'Dedicated Office (15+)',\n Canvas = 'Canvas',\n Virtual = 'Virtual',\n}\n\nexport enum LocationPriceFamily {\n DedicatedOffice = 'Dedicated Office',\n CoworkingSuite = 'Coworking Suite',\n Canvas = 'Canvas',\n Membership = 'Membership',\n}\n\nexport enum PriceType {\n List = 'List',\n Range = 'Range',\n}\n\nexport type PriceList = {\n price: number | null;\n priceFloor: number | null;\n priceType: PriceType.List;\n isActive: boolean;\n};\n\nexport type PriceRange = {\n price: number | null;\n priceFloor: number | null;\n priceType: PriceType.Range;\n termFrom: number;\n termTo: number;\n isActive: boolean;\n};\n\nexport type SystemLocationPriceDto = {\n locationId: string;\n locationSfId: string;\n productSfId: string;\n productName: string;\n productSquareFootage: number | null;\n seatCount: number | null;\n productGroup: ProductGroup;\n family: LocationPriceFamily;\n isActive: boolean;\n prices: (PriceList | PriceRange)[];\n};\n\nexport function isPriceRange(\n price: PriceList | PriceRange\n): price is PriceRange {\n return price.priceType === PriceType.Range;\n}\n","export type Office = {\n id: string;\n name: string;\n floor?: number;\n seats?: number;\n membershipCount: number;\n officeConfigurationType?: string;\n conferenceRoomHours?: number;\n matterportImageUrl?: string;\n shouldAutoLoadMatterport: boolean;\n};\n\nexport enum MonthTermType {\n ThirtySixMonth = '36-month',\n TwentyFourMonth = '24-month',\n EightTeenMonth = '18-month',\n TwelveMonth = '12-month',\n SixMonth = '6-month',\n OneMonth = '1-month',\n}\n","import { getServerConfig } from '@/utils/config';\nimport { formatToDay } from '@/utils/date-utils';\nimport { tryFetchToJson } from '@/utils/http-request';\n\nimport { OccupancyStatusDto } from './dto/office-occupancy.dto';\nimport { OfficePrices } from './dto/office-prices.dto';\nimport { OfficeSearch } from './dto/office-search.dto';\nimport { Office } from './dto/office.dto';\n\nexport enum OfficeSorts {\n Seats = 'seats',\n}\n\nexport type CreateOfficeSearchProps = {\n searchId?: string;\n locationSlug: string;\n moveInDate?: Date;\n seats?: number;\n termLength?: number;\n limit?: number;\n};\n\nexport async function createOfficeSearch({\n searchId,\n locationSlug,\n moveInDate,\n seats,\n termLength,\n limit,\n}: CreateOfficeSearchProps): Promise {\n const url = `${\n getServerConfig().NEXT_PUBLIC_INVENTORY_API_URL\n }/office-searches`;\n\n const body = {\n ...(searchId ? { searchId } : {}),\n locationSlug,\n ...(seats ? { seats } : {}),\n ...(termLength ? { termLength } : {}),\n moveInDay: moveInDate && formatToDay(moveInDate),\n ...(limit ? { limit } : {}),\n sort: OfficeSorts.Seats,\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 });\n}\n\nexport async function getOfficeSearch(searchId: string): Promise {\n const url = `${\n getServerConfig().NEXT_PUBLIC_INVENTORY_API_URL\n }/office-searches/${searchId}`;\n\n return tryFetchToJson({\n fetchParams: {\n input: url,\n },\n });\n}\n\nexport async function fetchOfficeById(\n officeId: string,\n locale: string\n): Promise {\n const url = `${\n getServerConfig().NEXT_PUBLIC_INVENTORY_API_URL\n }/discovery/offices/${officeId}`;\n\n return tryFetchToJson({\n fetchParams: {\n input: url,\n init: {\n headers: { 'Accept-Language': locale },\n },\n },\n });\n}\n\nexport async function fetchOfficePricesById(\n officeId: string,\n locale: string\n): Promise {\n const url = `${\n getServerConfig().NEXT_PUBLIC_PRICING_API_URL\n }/discovery/offices/${officeId}/prices`;\n\n return tryFetchToJson({\n fetchParams: {\n input: url,\n init: {\n headers: { 'Accept-Language': locale },\n },\n },\n });\n}\n\nexport async function fetchOfficeOccupancyById(\n officeId: string\n): Promise {\n const url = `${\n getServerConfig().NEXT_PUBLIC_PRE_SALE_API_URL\n }/offices/${officeId}/occupancy-status`;\n\n return tryFetchToJson({\n fetchParams: {\n input: url,\n },\n });\n}\n","\"use strict\";\n'use client';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst jsx_runtime_1 = require(\"react/jsx-runtime\");\nconst react_1 = require(\"react\");\nfunction ThirdPartyScriptEmbed({ html, height = null, width = null, children, dataNtpc = '', }) {\n (0, react_1.useEffect)(() => {\n if (dataNtpc) {\n // performance.mark is being used as a feature use signal. While it is traditionally used for performance\n // benchmarking it is low overhead and thus considered safe to use in production and it is a widely available\n // existing API.\n performance.mark('mark_feature_usage', {\n detail: {\n feature: `next-third-parties-${dataNtpc}`,\n },\n });\n }\n }, [dataNtpc]);\n return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [children, html ? ((0, jsx_runtime_1.jsx)(\"div\", { style: {\n height: height != null ? `${height}px` : 'auto',\n width: width != null ? `${width}px` : 'auto',\n }, \"data-ntpc\": dataNtpc, dangerouslySetInnerHTML: { __html: html } })) : null] }));\n}\nexports.default = ThirdPartyScriptEmbed;\n","\"use strict\";\n'use client';\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendGAEvent = exports.GoogleAnalytics = void 0;\nconst jsx_runtime_1 = require(\"react/jsx-runtime\");\n// TODO: Evaluate import 'client only'\nconst react_1 = require(\"react\");\nconst script_1 = __importDefault(require(\"next/script\"));\nlet currDataLayerName = undefined;\nfunction GoogleAnalytics(props) {\n const { gaId, dataLayerName = 'dataLayer' } = props;\n if (currDataLayerName === undefined) {\n currDataLayerName = dataLayerName;\n }\n (0, react_1.useEffect)(() => {\n // performance.mark is being used as a feature use signal. While it is traditionally used for performance\n // benchmarking it is low overhead and thus considered safe to use in production and it is a widely available\n // existing API.\n // The performance measurement will be handled by Chrome Aurora\n performance.mark('mark_feature_usage', {\n detail: {\n feature: 'next-third-parties-ga',\n },\n });\n }, []);\n return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(script_1.default, { id: \"_next-ga-init\", dangerouslySetInnerHTML: {\n __html: `\n window['${dataLayerName}'] = window['${dataLayerName}'] || [];\n function gtag(){window['${dataLayerName}'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '${gaId}');`,\n } }), (0, jsx_runtime_1.jsx)(script_1.default, { id: \"_next-ga\", src: `https://www.googletagmanager.com/gtag/js?id=${gaId}` })] }));\n}\nexports.GoogleAnalytics = GoogleAnalytics;\nfunction sendGAEvent(..._args) {\n if (currDataLayerName === undefined) {\n console.warn(`@next/third-parties: GA has not been initialized`);\n return;\n }\n if (window[currDataLayerName]) {\n window[currDataLayerName].push(arguments);\n }\n else {\n console.warn(`@next/third-parties: GA dataLayer ${currDataLayerName} does not exist`);\n }\n}\nexports.sendGAEvent = sendGAEvent;\n","\"use strict\";\n'use client';\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sendGTMEvent = exports.GoogleTagManager = void 0;\nconst jsx_runtime_1 = require(\"react/jsx-runtime\");\n// TODO: Evaluate import 'client only'\nconst react_1 = require(\"react\");\nconst script_1 = __importDefault(require(\"next/script\"));\nlet currDataLayerName = 'dataLayer';\nfunction GoogleTagManager(props) {\n const { gtmId, dataLayerName = 'dataLayer', auth, preview, dataLayer } = props;\n currDataLayerName = dataLayerName;\n const gtmLayer = dataLayerName !== 'dataLayer' ? `&l=${dataLayerName}` : '';\n const gtmAuth = auth ? `>m_auth=${auth}` : '';\n const gtmPreview = preview ? `>m_preview=${preview}>m_cookies_win=x` : '';\n (0, react_1.useEffect)(() => {\n // performance.mark is being used as a feature use signal. While it is traditionally used for performance\n // benchmarking it is low overhead and thus considered safe to use in production and it is a widely available\n // existing API.\n // The performance measurement will be handled by Chrome Aurora\n performance.mark('mark_feature_usage', {\n detail: {\n feature: 'next-third-parties-gtm',\n },\n });\n }, []);\n return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(script_1.default, { id: \"_next-gtm-init\", dangerouslySetInnerHTML: {\n __html: `\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ${dataLayer ? `w[l].push(${JSON.stringify(dataLayer)})` : ''}\n })(window,'${dataLayerName}');`,\n } }), (0, jsx_runtime_1.jsx)(script_1.default, { id: \"_next-gtm\", \"data-ntpc\": \"GTM\", src: `https://www.googletagmanager.com/gtm.js?id=${gtmId}${gtmLayer}${gtmAuth}${gtmPreview}` })] }));\n}\nexports.GoogleTagManager = GoogleTagManager;\nconst sendGTMEvent = (data, dataLayerName) => {\n // special case if we are sending events before GTM init and we have custom dataLayerName\n const dataLayer = dataLayerName || currDataLayerName;\n // define dataLayer so we can still queue up events before GTM init\n window[dataLayer] = window[dataLayer] || [];\n window[dataLayer].push(data);\n};\nexports.sendGTMEvent = sendGTMEvent;\n","export { default } from \"../client/script\";\nexport * from \"../client/script\";\n\n//# sourceMappingURL=script.js.map","import { LocationOpeningHoursDto } from '@/lib/locations/dto/location-opening-hours.dto';\nimport { BlackoutDateDto } from '@/lib/shared/dto/blackout-date.dto';\nimport { DateRange } from '@/models/DateRange';\nimport {\n DateAfter,\n DateBefore,\n DateInterval,\n DayOfWeek,\n} from '@/types/DateFilter';\n\nimport { DAY_PASS_CUTOFF_HOUR } from './constants';\nimport { MAX_BOOKING_MONTHS } from './constants';\nimport {\n addDays,\n addMonths,\n createLocalDay,\n isAfter,\n setHours,\n setMinutes,\n} from './date-utils';\n\nconst dayOfWeekMap = {\n sun: 0,\n mon: 1,\n tue: 2,\n wed: 3,\n thu: 4,\n fri: 5,\n sat: 6,\n};\n\nexport function getBlackoutDatesDayFilter(\n blackoutDays: BlackoutDateDto[]\n): Date[] {\n return blackoutDays.map((blackoutDay) => createLocalDay(blackoutDay.date));\n}\n\nexport function getUnavailableDaysFilter(unavailableDays: string[]): Date[] {\n return unavailableDays.map(createLocalDay);\n}\n\nexport function getPastDayFilter(): DateBefore {\n return { before: new Date() };\n}\n\nexport function getPastDayOrTodayFilter(): DateBefore {\n return { before: addDays(new Date(), 1) };\n}\n\nexport function getDateFilterBeforeCutoff(): DateBefore {\n const today = new Date();\n\n const todayAtCutoff = setHours(setMinutes(today, 0), DAY_PASS_CUTOFF_HOUR);\n\n if (isAfter(today, todayAtCutoff)) {\n return { before: addDays(today, 1) };\n }\n\n return { before: addDays(today, 0) };\n}\n\nexport function getDateRangeDayFilter(dateRange: DateRange): DateInterval {\n return { before: dateRange.from, after: dateRange.to };\n}\n\nexport function getMaxMonthsFilter(months: number): DateAfter {\n const today = new Date();\n const dateAfterMonths = addMonths(today, months);\n return { after: dateAfterMonths };\n}\n\nexport function getMaxDaysFilter(days: number): DateAfter {\n const today = new Date();\n const dateAfterDays = addDays(today, days);\n return { after: dateAfterDays };\n}\n\nexport function getOpeningHoursDayFilter(\n openingHours: LocationOpeningHoursDto\n): DayOfWeek {\n const openedDays = Object.keys(openingHours).filter(\n (day) => openingHours[day as keyof LocationOpeningHoursDto] == null\n );\n\n return {\n dayOfWeek: openedDays.map(\n (day) => dayOfWeekMap[day as keyof typeof dayOfWeekMap]\n ),\n };\n}\n\nexport const weekEndDisabled = getOpeningHoursDayFilter({\n mon: { open: '09:00', close: '17:00' },\n tue: { open: '09:00', close: '17:00' },\n wed: { open: '09:00', close: '17:00' },\n thu: { open: '09:00', close: '17:00' },\n fri: { open: '09:00', close: '17:00' },\n sat: null,\n sun: null,\n});\n\nexport const pastDaysOrTodayDisabled = getPastDayOrTodayFilter();\n\nexport const pastDaysBeforeCutoffDisabled = getDateFilterBeforeCutoff();\nexport const futureMonthsDisabled = getMaxMonthsFilter(MAX_BOOKING_MONTHS);\n","export type UserDto = {\n firstName?: string;\n lastName?: string;\n email: string;\n phone?: string;\n profilePictureUrl?: string;\n jobTitle?: string;\n tenantOf?: string[] | null;\n accounts: { roles: UserAccountRoles[] }[];\n primaryAccountLocationId: string;\n};\n\nexport enum UserAccountRoles {\n DecisionMaker = 'Decision Maker',\n Member = 'Member',\n Guest = 'Guest',\n Billing = 'Billing',\n}\n","import { UserAccountRoles, UserDto } from '@/lib/users/dto/user.dto';\n\nexport function getFullName(user?: { firstName?: string; lastName?: string }) {\n const { firstName, lastName } = user ?? {};\n\n if (!firstName && !lastName) {\n return '';\n }\n\n if (!lastName) {\n return firstName ?? '';\n }\n\n return `${firstName ? `${firstName} ` : ''}${lastName}`;\n}\n\nexport function getHasMembership(user?: UserDto) {\n return (\n user != null &&\n user.accounts.some(\n (account) =>\n account.roles.includes(UserAccountRoles.Member) ||\n account.roles.includes(UserAccountRoles.DecisionMaker) ||\n account.roles.includes(UserAccountRoles.Billing)\n )\n );\n}\n\nexport function getHasDecisionMakerRole(user?: UserDto) {\n return (\n user != null &&\n user.accounts.some((account) =>\n account.roles.includes(UserAccountRoles.DecisionMaker)\n )\n );\n}\n\nexport function canBuyOfficeAt(user?: UserDto, locationId?: string) {\n const userHasMembership = getHasMembership(user);\n const isUserADecisionMaker = getHasDecisionMakerRole(user);\n const isOfficeLocationPrimaryLocation =\n locationId === user?.primaryAccountLocationId;\n\n return (\n !userHasMembership ||\n isUserADecisionMaker ||\n !isOfficeLocationPrimaryLocation\n );\n}\n","import { mixed } from 'yup';\n\nexport const EnumValidator = (e: { [key: string]: T }) =>\n mixed().oneOf(Object.values(e)).defined();\n","export default {\"src\":\"/_next/static/media/calendar.eaaacbb5.svg\",\"height\":20,\"width\":20,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/verified.c38866d8.svg\",\"height\":24,\"width\":24,\"blurWidth\":0,\"blurHeight\":0};","import{get as r,set as i}from\"react-hook-form\";var e=function(i,e,t){if(i&&\"reportValidity\"in i){var f=r(t,e);i.setCustomValidity(f&&f.message||\"\"),i.reportValidity()}},t=function(r,i){var t=function(t){var f=i.fields[t];f&&f.ref&&\"reportValidity\"in f.ref?e(f.ref,t,r):f.refs&&f.refs.forEach(function(i){return e(i,t,r)})};for(var f in i.fields)t(f)},f=function(e,f){f.shouldUseNativeValidation&&t(e,f);var o={};for(var a in e){var n=r(f.fields,a);i(o,a,Object.assign(e[a],{ref:n&&n.ref}))}return o};export{f as toNestError,t as validateFieldsNatively};\n//# sourceMappingURL=resolvers.module.js.map\n","import{validateFieldsNatively as e,toNestError as t}from\"@hookform/resolvers\";import{appendErrors as r}from\"react-hook-form\";var o=function(o,n,a){return void 0===n&&(n={}),void 0===a&&(a={}),function(s,i,c){try{return Promise.resolve(function(t,r){try{var u=(n.context&&\"development\"===process.env.NODE_ENV&&console.warn(\"You should not used the yup options context. Please, use the 'useForm' context object instead\"),Promise.resolve(o[\"sync\"===a.mode?\"validateSync\":\"validate\"](s,Object.assign({abortEarly:!1},n,{context:i}))).then(function(t){return c.shouldUseNativeValidation&&e({},c),{values:a.rawValues?s:t,errors:{}}}))}catch(e){return r(e)}return u&&u.then?u.then(void 0,r):u}(0,function(e){if(!e.inner)throw e;return{values:{},errors:t((o=e,n=!c.shouldUseNativeValidation&&\"all\"===c.criteriaMode,(o.inner||[]).reduce(function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var o=e[t.path].types,a=o&&o[t.type];e[t.path]=r(t.path,n,e,t.type,a?[].concat(a,t.message):t.message)}return e},{})),c)};var o,n}))}catch(e){return Promise.reject(e)}}};export{o as yupResolver};\n//# sourceMappingURL=yup.module.js.map\n"],"names":["Promise","resolve","then","__webpack_require__","bind","t","OCCUPANCY_STATUS","highDemandIcon","lowStockIcon","OccupancyStatus","param","officeFakeId","seats","className","statusClassname","withBackground","onlyShowOne","useTranslations","isLoading","setIsLoading","useState","occupancyStatuses","setOccupancyStatuses","useEffect","fetchOccupancy","statuses","fetchOfficeOccupancyById","length","sort","sortStatuses","jsx_runtime","jsx","SkeletonLoader","clsx","div","map","jsxs","Image","src","item","status","HIGH_DEMAND","alt","count","a","b","sortArray","LAST_OFFICE","LAST_WINDOW_OFFICE","LOW_STOCK","indexOf","PremiumAmenitiesSection","title","location","nbOfMeetingRooms","withGallery","imageWidth","imageHeight","titleIsBigger","isGalleryOpen","setIsGalleryOpen","amenities","PREMIUM_AMENITIES_CONFIG","image","getImageForLocationAmenity","images","amenity","tags","label","MEETING_ROOMS_AMENITY_LABEL","url","fallbackImage","altText","isImageRepresenative","isARepresentativeImageShown","some","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","section","id","SecondaryHeading","data-testid","isBigger","onClick","ImageWithPlaceholder","concat","width","height","aria-hidden","p","GalleryModal","matterportUrl","matterportImageLink","onClose","useOfficePdpParams","queryParams","updateQuery","useQueryParams","officeCheckoutFormSchema","object","moveInDate","date","required","monthTerm","EnumValidator","MonthTermType","CalendlyModal","dynamic","all","e","ssr","CheckoutAlreadyAMember","user","phone","calendlyLinks","locationCountry","locationPhase","router","useRouter","calendlyLink","setCalendlyLink","useAuthData","goToThankYouPage","stringifyUrl","email","firstName","lastName","locationPhone","push","Button","action","ButtonAction","PRIMARY","preventDefault","phoneCall","TERTIARY","inPersonTour","link","opened","undefined","onSubmit","company","CheckoutSkeleton","HorizontalDivider","TagIcon","props","svg","viewBox","fill","xmlns","g","path","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","MonthTermSelectItem_Control","children","leftIndicator","controlClassName","selectProps","components","Control","DropdownIndicator","isOpen","menuIsOpen","ChevronIcon","isBold","MonthTermSelectItem_Option","innerProps","innerRef","data","ref","value","tag","Tag","variant","TagVariant","Positive","text","SingleValue","style","gridArea","renderIcon","span","MonthTermSelect","name","options","onChange","placeholder","isDisabled","dataTestId","Select","unstyled","isClearable","hideSelectedOptions","isMulti","isSearchable","classNames","input","control","indicatorSeparator","valueContainer","option","menuList","menu","Option","MonthTermSelectItem","tooltip","onChangeMonthTerm","field","fieldState","error","useController","currentOption","useMemo","find","FormItem","message","selectedOption","CheckoutSummaryForm","locationSlug","officeId","currencyIsoCode","form","disabledDates","isSavingMoney","priceForSelectedMonthTerm","priceForReference","percentageSaved","monthTermOptions","isLoadingOfficePrices","locationId","amountToReserveToday","percentageToPayNow","isLoadingOrderPreview","locale","useLocale","hasReducedUpfrontCost","isLoadingUser","isNonAuthorizedUser","canBuyOfficeAt","handleSubmit","day","getDateQuery","values","getMonthTermQuery","register","SingleDatePicker","calendarIcon","selected","getValues","defaultDate","disabled","buttonTestId","prefixLabel","setValue","dropdownIndicatorClassName","testId","Intl","NumberFormat","currency","maximumFractionDigits","minimumFractionDigits","format","Fragment","percentage","PrimaryButton","formState","isValid","type","CheckoutSummaryFooter","onMoreOptionsClick","screenSize","useScreenSize","HighlightYellow","rich","price","frequency","chunks","button","ScreenSize","SM","OfficePricesSkeleton","CheckoutSummaryFormModal","onOpenChange","reset","Dialog","modal","open","DatePickerInputItem","defaultMonth","disabledDays","QuestionsAndTourOptions","isDirty","MobileOrTabletCheckoutSummaryForm","isModalOpen","setIsModalOpen","OfficeCheckout","office","defaultMoveInDay","defaultMonthTerm","priceForThirtySixMonthTerm","orderPreview","useOfficeCheckoutPicker","getPriceForTerm","blackoutDates","openingHours","defaultValues","officePrices","setOfficePrices","setIsLoadingOfficePrices","setIsLoadingOrderPreview","setOrderPreview","fetchPrices","prices","fetchOfficePricesById","oneMonthTermNumber","getMonthTermNumber","OneMonth","thirtySixMonthTermNumber","ThirtySixMonth","priceForOneMonthTerm","useForm","resolver","yupResolver","mode","watch","selectedMonthTermNumber","Math","floor","fetchOrderPreview","createOrderPreview","startDate","toISOString","termLength","TwentyFourMonth","EightTeenMonth","TwelveMonth","SixMonth","today","Date","elevenAmToday","setHours","isElevenAmOrLater","isAfter","isEqual","getBlackoutDatesDayFilter","getOpeningHoursDayFilter","getPastDayOrTodayFilter","getPastDayFilter","getMaxDaysFilter","MAX_DAYS_HORIZON","createLocalDay","isUserAMember","getHasMembership","isDataLayerLoaded","gtm","items","officeName","configuration","officeConfigurationType","locationName","areaSalesLeadPhone","getLocationAreaSalesLeadPhone","locationManagers","country","slug","DEFAULT_CURRENCY_ISO_CODE","phase","securityDepositToPayNow","securityDepositPercentageToPayNow","matterportIcon","OfficeImage","isMatterportVisible","setIsMatterportVisible","shouldAutoLoadMatterport","matterportImageUrl","imageSrc","getOfficeImage","GalleryMatterport","play","Link","href","noNextLink","as","term","getFilterFromQueryParams","monthTermMapping","priceType","PriceType","Range","termFrom","termTo","closeCircleIcon","ModalCloseButton","aria-label","closeIcon","ModalPageContainer","restoreBody","body","document","scrollY","top","position","overflowY","window","scrollTo","parseInt","showPage","page","getElementById","ID_PAGE_CONTAINER","visibility","role","ModalPage","container","ID_MODAL_CONTAINER","disableBodyOverflow","ReactDOM","DatePickerInput","onMonthChange","isPickerOpen","setIsPickerOpen","selectedDate","setSelectedDay","useDateUtils","formatDateOrRange","inputDisplay","formattedDate","FilterButton","icon","isActive","Picker","onSelect","onChangeDate","ErrorMessage","mod","Label","labelClassName","description","htmlFor","hasError","floor_plan","info_sheet","isNthChild","index","patternSize","result","includes","GalleryDocument","startsWith","target","rel","GalleryHeadingSection","h2","GalleryImage","imageClassName","caption","figure","sizes","figcaption","Gallery","floorPlanUrl","infoSheetUrl","getImageClass","getImageContainerClass","floorPlanImage","infoSheetImage","FilterButtonStyle","React","onClearClick","buttonStyle","rest","handleClearClick","stopPropagation","displayName","__webpack_exports__","Z","fontFamilyClassName","divProps","tiemposFont","ProductGroup","LocationPriceFamily","createOfficeSearch","searchId","limit","getServerConfig","NEXT_PUBLIC_INVENTORY_API_URL","moveInDay","formatToDay","tryFetchToJson","fetchParams","init","headers","method","JSON","stringify","getOfficeSearch","NEXT_PUBLIC_PRICING_API_URL","NEXT_PUBLIC_PRE_SALE_API_URL","OfficeSorts","Object","jsx_runtime_1","require","react_1","exports","html","dataNtpc","performance","mark","detail","feature","dangerouslySetInnerHTML","__html","currDataLayerName","script_1","__esModule","gaId","dataLayerName","default","_len","arguments","_args","_key","console","warn","gtmId","auth","preview","dataLayer","gtmLayer","gtmAuth","gtmPreview","dayOfWeekMap","sun","mon","tue","wed","thu","fri","sat","blackoutDays","blackoutDay","getUnavailableDaysFilter","unavailableDays","before","addDays","getDateRangeDayFilter","dateRange","from","after","to","days","dayOfWeek","openedDays","keys","filter","weekEndDisabled","close","pastDaysBeforeCutoffDisabled","getDateFilterBeforeCutoff","todayAtCutoff","setMinutes","DAY_PASS_CUTOFF_HOUR","futureMonthsDisabled","getMaxMonthsFilter","months","addMonths","MAX_BOOKING_MONTHS","UserAccountRoles","getFullName","accounts","account","roles","Member","DecisionMaker","Billing","userHasMembership","isUserADecisionMaker","isOfficeLocationPrimaryLocation","primaryAccountLocationId","mixed","oneOf","defined","i","f","index_esm","U2","setCustomValidity","reportValidity","resolvers_t","r","fields","refs","forEach","shouldUseNativeValidation","o","n","t8","assign","s","c","u","context","abortEarly","rawValues","errors","inner","criteriaMode","reduce","types","KN","reject"],"sourceRoot":""}