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IAAU,CAACU,CAAAA,EAAAA,EAAAA,OAAAA,EAAQV,EAAOC,GACpDzB,EAKL,CAFYtE,IAAYyG,WAAW,CAACnC,IAExBA,EAAMsB,EACbA,EAEFtB,CACT,yDCrXO,SAAStC,EAAY0E,CAAe,CAAEC,CAAe,EAC1D,OAAOD,EAAEzE,KAAK,CAAC2E,aAAa,CAACD,EAAE1E,KAAK,CACtC,gCCJA4E,EAAA,QAAe,CAAC,uHCAhBA,EAAA,QAAe,CAAC","sources":["webpack://_N_E/./components/AlertMessage.tsx","webpack://_N_E/./components/BackLink.tsx","webpack://_N_E/./components/CircleLoader.tsx","webpack://_N_E/./components/ModalDialog.tsx","webpack://_N_E/./components/SkeletonLoader.tsx","webpack://_N_E/./components/buttons/ButtonAsLink.tsx","webpack://_N_E/./components/buttons/PrimaryButton.tsx","webpack://_N_E/./components/buttons/SecondaryButton.tsx","webpack://_N_E/./components/buttons/ArrowButton.tsx","webpack://_N_E/./components/buttons/TertiaryButton.tsx","webpack://_N_E/./components/buttons/index.ts","webpack://_N_E/./components/typography/PrimaryHeading.tsx","webpack://_N_E/./components/typography/SecondaryHeading.tsx","webpack://_N_E/./public/icons/alertIcon.svg","webpack://_N_E/./components/ToastError.tsx","webpack://_N_E/./hooks/useToastError.tsx","webpack://_N_E/./models/BrandNames.enum.ts","webpack://_N_E/./utils/validators/string-day-validator.ts","webpack://_N_E/./utils/locations.ts","webpack://_N_E/./utils/select-option-utils.ts","webpack://_N_E/./public/images/brands/TGR.svg","webpack://_N_E/./public/images/brands/welkin-and-meraki.svg"],"sourcesContent":["import Image from 'next/image';\nimport { ReactNode } from 'react';\n\nimport closeIcon from '@/public/icons/closeIcon.svg';\n\nimport clsx from 'clsx';\n\nexport enum TypeAlertMessage {\n ERROR = 'error',\n WARNING = 'warning',\n SUCCESS = 'success',\n}\n\ntype AlertMessageProps = {\n children: ReactNode;\n dataTestId: string;\n type?: TypeAlertMessage;\n className?: string;\n isClosable?: boolean;\n withBorder?: boolean;\n handleClose?: () => void;\n};\n\nexport default function AlertMessage({\n children,\n dataTestId,\n type = TypeAlertMessage.ERROR,\n className,\n withBorder,\n isClosable,\n handleClose,\n}: AlertMessageProps) {\n return (\n \n {isClosable && (\n \n \n \n )}\n\n {children}\n \n );\n}\n\nfunction getClassNameFromType(type: TypeAlertMessage): string {\n switch (type) {\n case TypeAlertMessage.ERROR:\n return 'border-red-70 text-red-70 bg-[rgba(240,200,200,0.50)] text-xs';\n case TypeAlertMessage.WARNING:\n return 'border-honey-40 bg-[#FFFBEF] text-grey-10 text-xs';\n case TypeAlertMessage.SUCCESS:\n return 'bg-green-96 px-5';\n }\n}\n","'use client';\n\nimport { useTranslations } from 'next-intl';\n\nimport { Link } from '../components/Link';\nimport ChevronIcon from './icons/ChevronIcon';\n\nimport clsx from 'clsx';\n\ntype BackLinkProps = {\n href: string;\n className?: string;\n dataTestId?: string;\n};\n\nexport function BackLink({ href, className, dataTestId }: BackLinkProps) {\n const t = useTranslations('general');\n return (\n \n \n {t('back')}\n \n );\n}\n","import clsx from 'clsx';\n\ntype CircleLoaderProps = {\n className?: string;\n};\n\nexport function CircleLoader({ className }: CircleLoaderProps) {\n return (\n \n \n \n );\n}\n","import { useTranslations } from 'next-intl';\nimport Image from 'next/image';\nimport { ReactNode, useEffect } from 'react';\nimport ReactDOM from 'react-dom';\n\nimport closeIcon from '@/public/icons/closeIcon.svg';\nimport { ID_MODAL_CONTAINER } from '@/utils/constants';\n\nimport clsx from 'clsx';\n\nconst MAX_WIDTH = 500;\n\ntype ModalDialogProps = {\n className?: string;\n children: ReactNode;\n onClose: () => void;\n dataTestId: string;\n width?: number;\n withoutCloseButton?: boolean;\n closable?: boolean;\n};\n\nfunction ModalDialogContainer({\n className,\n onClose,\n children,\n dataTestId,\n width = MAX_WIDTH,\n withoutCloseButton,\n closable = true,\n}: ModalDialogProps) {\n const t = useTranslations('general');\n\n const handleCloseModal = () => {\n if (!closable) return;\n onClose();\n };\n\n return (\n \n \n {children}\n\n {!withoutCloseButton && closable && (\n \n \n \n )}\n \n \n \n );\n}\n\nexport function ModalDialog(props: ModalDialogProps) {\n const container = document.getElementById(ID_MODAL_CONTAINER)!;\n\n const downHandler = ({ key }: { key: string }) => {\n if (!props.closable) return;\n const pressingEscape = key === 'Escape';\n if (pressingEscape) {\n props.onClose();\n }\n };\n\n useEffect(() => {\n const disableScroll = () => {\n const { body } = document;\n body.style.height = '100vh';\n body.style.overflowY = 'hidden';\n };\n\n const restoreScroll = () => {\n const { body } = document;\n body.style.height = '';\n body.style.overflowY = '';\n };\n\n window.addEventListener('keydown', downHandler);\n disableScroll();\n\n return () => {\n restoreScroll();\n window.removeEventListener('keydown', downHandler);\n };\n }, []);\n\n return ReactDOM.createPortal(, container);\n}\n","import clsx from 'clsx';\n\ntype SkeletonLoaderProps = {\n dataTestId?: string;\n className?: string;\n};\n\nexport function SkeletonLoader({ dataTestId, className }: SkeletonLoaderProps) {\n return (\n \n );\n}\n","import clsx from 'clsx';\n\nexport function ButtonAsLink(props: React.ComponentPropsWithoutRef<'button'>) {\n const { className, children, type = 'button', ...others } = props;\n\n return (\n \n {children}\n \n );\n}\n","import { CircleLoader } from '../CircleLoader';\n\nimport clsx from 'clsx';\n\ntype PrimaryButtonProps = React.ComponentPropsWithoutRef<'button'> & {\n sm?: boolean;\n isLoading?: boolean;\n};\n\nexport function PrimaryButton(props: PrimaryButtonProps) {\n const { className, sm, isLoading, children, ...otherProps } = props;\n\n return (\n \n
\n {isLoading && }\n {children}\n
\n \n );\n}\n","import { CircleLoader } from '../CircleLoader';\n\nimport clsx from 'clsx';\n\ntype SecondaryButtonProps = {\n sm?: boolean;\n isLoading?: boolean;\n} & React.ComponentPropsWithoutRef<'button'>;\n\nexport function SecondaryButton(props: SecondaryButtonProps) {\n const { sm, className, isLoading, children, ...otherProps } = props;\n\n return (\n \n
\n {isLoading && (\n \n )}\n {children}\n
\n \n );\n}\n","import ChevronIcon from '../icons/ChevronIcon';\n\nimport clsx from 'clsx';\n\ntype ArrowButtonProps = {\n isDisabled?: boolean;\n direction: 'left' | 'right';\n className?: string;\n onClick: (direction: 'left' | 'right') => void;\n} & React.ComponentPropsWithoutRef<'button'>;\n\nexport function ArrowButton({\n isDisabled,\n direction,\n className,\n onClick,\n ...props\n}: ArrowButtonProps) {\n return (\n onClick(direction)}\n {...props}\n >\n \n \n );\n}\n","import clsx from 'clsx';\n\ntype TertiaryButtonProps = {\n sm?: boolean;\n} & React.ComponentPropsWithoutRef<'button'>;\n\nexport function TertiaryButton(props: TertiaryButtonProps) {\n const { sm, className, ...otherProps } = props;\n\n return (\n \n );\n}\n","export * from './SecondaryLinkButton';\nexport * from './PrimaryButton';\nexport * from './SecondaryButton';\nexport * from './LinkButtonThemes';\nexport * from './ArrowButton';\nexport * from './TertiaryButton';\nexport * from './ButtonAsLink';\n","import { tiemposFont } from '@/theme/tiemposFont';\n\nimport clsx from 'clsx';\n\nexport default function PrimaryHeading({\n children,\n className,\n ...divProps\n}: React.ComponentPropsWithoutRef<'h1'>) {\n return (\n \n {children}\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","export default {\"src\":\"/_next/static/media/alertIcon.11bdd267.svg\",\"height\":28,\"width\":28,\"blurWidth\":0,\"blurHeight\":0};","import { useTranslations } from 'next-intl';\nimport Image from 'next/image';\n\nimport alertIcon from '@/public/icons/alertIcon.svg';\n\nexport default function ToastError({ msg }: { msg?: string }) {\n const t = useTranslations('toast-error');\n\n return (\n \n
\n \n {msg || t('description')}\n
\n\n {!msg && (\n window.location.reload()}\n >\n {t('refresh')}\n \n )}\n \n );\n}\n","'use client';\n\nimport React, {\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from 'react';\nimport ReactDOM from 'react-dom';\n\nimport ToastError from '@/components/ToastError';\nimport { usePathname } from '@/i18n/navigation';\nimport { SECOND_IN_MS } from '@/utils/date-utils';\n\nconst TOAST_DISPLAY_DURATION_IN_MS = 5 * SECOND_IN_MS;\n\nconst ToastContainer = ({ msg }: { msg?: string }) => {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n setMounted(true);\n return () => setMounted(false);\n }, []);\n\n return mounted\n ? ReactDOM.createPortal(, document.body)\n : null;\n};\n\ntype ToastContextType = {\n showToast: (msg?: string) => void;\n showToastTemporary: (msg?: string) => void;\n hideToast: () => void;\n};\n\nconst ToastContext = React.createContext({\n showToast: () => null,\n showToastTemporary: () => null,\n hideToast: () => null,\n});\n\nconst ToastProvider = ({ children }: { children: React.ReactNode }) => {\n const [isDisplayed, setIsDisplayed] = useState(false);\n const [msg, setMsg] = useState();\n const pathname = usePathname();\n\n useEffect(() => {\n hideToast();\n }, [pathname]);\n\n const showToast = useCallback(\n (msg?: string) => {\n setIsDisplayed(true);\n setMsg(msg);\n },\n [setIsDisplayed]\n );\n\n const showToastTemporary = useCallback(\n (msg?: string) => {\n showToast(msg);\n setTimeout(() => {\n hideToast();\n }, TOAST_DISPLAY_DURATION_IN_MS);\n },\n [setIsDisplayed]\n );\n\n const hideToast = useCallback(() => {\n setIsDisplayed(false);\n setMsg(undefined);\n }, [setIsDisplayed]);\n\n const contextValue = useMemo(\n () => ({\n showToast,\n hideToast,\n showToastTemporary,\n }),\n [showToast, hideToast]\n );\n\n return (\n \n {isDisplayed && }\n {children}\n \n );\n};\n\nconst useToastError = (): ToastContextType => {\n return useContext(ToastContext);\n};\n\nexport { ToastContext, useToastError };\nexport default ToastProvider;\n","export enum BrandNames {\n Industrious = 'Industrious',\n WelkinMeraki = 'Welkin & Meraki',\n TheGreatRoom = 'The Great Room',\n}\n","import { string } from 'yup';\n\nimport { isValidDate } from '../date-utils';\n\nexport const stringDay = () =>\n string().test((x) => {\n if (x == null) {\n return true;\n }\n return isValidDate(x) && /^\\d{4}-\\d{2}-\\d{2}$/.test(x);\n });\n","import { useTranslations } from 'next-intl';\n\nimport { SelectOption } from '@/components/form/Select/types';\nimport {\n LocationDto,\n SimpleIndustriousLocationSearchDto,\n SimpleLocationSearchDto,\n WorlwideExternalLocationDto,\n} from '@/lib/locations/dto';\nimport { LocationPhases, ManagerRoles } from '@/lib/locations/dto';\nimport {\n LocationOpeningHoursDto,\n LocationValueOpeningHour,\n} from '@/lib/locations/dto/location-opening-hours.dto';\nimport { BlackoutDateDto } from '@/lib/shared/dto/blackout-date.dto';\nimport { BrandNames } from '@/models/BrandNames.enum';\nimport { DateRange } from '@/models/DateRange';\nimport tgrLogo from '@/public/images/brands/TGR.svg';\nimport wmLogo from '@/public/images/brands/welkin-and-meraki.svg';\n\nimport {\n DAY_PASS_CUTOFF_HOUR,\n DISPLAY_SEASON_AFTER_NB_DAYS,\n MAX_BOOKING_MONTHS,\n NORTH_SEASONS_BY_QUARTER,\n SOUTH_SEASONS_BY_QUARTER,\n} from './constants';\nimport {\n addMonths,\n createLocalDay,\n differenceInDays,\n formatToDay,\n getAbbreviatedDayName,\n getNextDay,\n getQuarter,\n getTomorrowDay,\n isAfter,\n isSameDay,\n setHours,\n setMinutes,\n} from './date-utils';\nimport { sortByLabel } from './select-option-utils';\nimport { stringifyUrl } from './stringify-url';\nimport { stringDay } from './validators/string-day-validator';\n\nexport function createLocationUrl(location: {\n isExternal?: boolean;\n externalLink?: string;\n slug: string;\n}) {\n return location.isExternal\n ? location.externalLink!\n : `/locations/${location.slug}`;\n}\n\nexport function createLocationDayPassUrl(params: {\n slug: string;\n dateRange?: DateRange;\n}) {\n const { slug, dateRange } = params;\n\n const url = `/locations/${slug}/coworking-day-pass`;\n\n if (!dateRange) return url;\n\n return stringifyUrl(url, {\n startDay: formatToDay(dateRange.from),\n endDay: formatToDay(dateRange.to),\n });\n}\n\nexport function isIndustriousLocation(\n location: SimpleLocationSearchDto\n): location is SimpleIndustriousLocationSearchDto {\n return !location.isExternal;\n}\n\nexport function isExternalLocation(\n location: SimpleLocationSearchDto\n): location is WorlwideExternalLocationDto {\n return location.isExternal;\n}\n\nexport function getBrandLogo(brandName: string | null) {\n switch (brandName) {\n case BrandNames.WelkinMeraki:\n return wmLogo;\n case BrandNames.TheGreatRoom:\n return tgrLogo;\n default:\n return undefined;\n }\n}\n\ntype LocationForOption = Pick & {\n metroName?: string;\n};\n\nexport const mapLocationsToOptions = (\n locations: Array\n): SelectOption[] => locations.map(mapLocationToOption).sort(sortByLabel);\n\nexport const mapLocationToOption = (\n location: LocationForOption\n): SelectOption => ({\n label: getLocationOptionLabel(location),\n value: location.sfId,\n});\n\nconst getLocationOptionLabel = (location: LocationForOption) => {\n return `${location.city} - ${location.name}`;\n};\n\n// This function extract the date disregarding time and timezone as we currently don't care in SF.\n// if we don't do this, it brings an issue\nexport function getOpeningDate(dateISO: string) {\n const year = +dateISO.substring(0, 4);\n const month = +dateISO.substring(5, 7) - 1;\n const day = +dateISO.substring(8, 10);\n\n return new Date(year, month, day);\n}\n\nexport function getOpeningLabelTranslationKey(params: {\n openingDate: Date;\n latitude: number;\n}) {\n const { openingDate, latitude } = params;\n\n const is60daysAway =\n differenceInDays(openingDate, new Date()) > DISPLAY_SEASON_AFTER_NB_DAYS;\n\n if (!is60daysAway) {\n return 'date';\n }\n\n const quarter = getQuarter(openingDate);\n\n return latitude > 0\n ? NORTH_SEASONS_BY_QUARTER[quarter]\n : SOUTH_SEASONS_BY_QUARTER[quarter];\n}\n\nexport function managerRoleToTranslationKey(role: string) {\n switch (role) {\n case ManagerRoles.MemberExperienceAssociate:\n return 'member-experience-associate';\n case ManagerRoles.ConferenceServicesManager:\n return 'conference-services-manager';\n case ManagerRoles.TechnicalAudioVisualManager:\n return 'technical-audio-visual-manager';\n default:\n return 'member-experience-manager';\n }\n}\n\nexport function shouldShowLogo(brandName: string | null) {\n return brandName === BrandNames.WelkinMeraki;\n}\n\nexport function getLocationHighlightName(params: {\n name: string;\n brandName: LocationDto['brandName'];\n t: ReturnType>;\n}) {\n const { name, brandName, t } = params;\n\n if (\n brandName == null ||\n brandName === BrandNames.WelkinMeraki ||\n name.includes(brandName)\n ) {\n return name;\n }\n\n return t('highlight-name', { brandName, locationName: name });\n}\n\nexport function shouldShowOpeningLabel(location: {\n isExternal?: boolean;\n firstDayOfBusinessISO: string | null;\n phase?: LocationPhases;\n hideOpeningDate?: boolean;\n isWaitlisting?: boolean;\n}) {\n return (\n !location.isExternal &&\n location.firstDayOfBusinessISO != null &&\n !location.hideOpeningDate &&\n location.phase != null &&\n !location.isWaitlisting &&\n [LocationPhases.Signed, LocationPhases.Launch].includes(location.phase)\n );\n}\n\nexport const getDayOpeningHours = (\n openingHours: LocationOpeningHoursDto,\n day: string\n): LocationValueOpeningHour | null => {\n const currentDayOfWeek = getAbbreviatedDayName(\n day\n ) as keyof LocationOpeningHoursDto;\n\n return openingHours[currentDayOfWeek] ?? null;\n};\n\nexport function getNextAvailableDay(props: {\n day: string;\n blackoutDates: BlackoutDateDto[];\n openingHours: LocationOpeningHoursDto;\n unavailableDays: string[];\n}) {\n const { day, blackoutDates, openingHours, unavailableDays } = props;\n let isAvailableDay = false;\n let currentDay = day;\n\n while (!isAvailableDay) {\n const dayOpeningHours = getDayOpeningHours(openingHours, currentDay);\n if (\n dayOpeningHours === null ||\n blackoutDates.some((blackoutDate) =>\n isBlackoutDay(currentDay, blackoutDate)\n ) ||\n unavailableDays.includes(currentDay)\n ) {\n currentDay = getNextDay(currentDay);\n continue;\n }\n isAvailableDay = true;\n }\n\n return currentDay;\n}\n\nexport function getValidEndDays(props: {\n startDay: string;\n blackoutDates: BlackoutDateDto[];\n openingHours: LocationOpeningHoursDto;\n unavailableDays: string[];\n}) {\n const { startDay, blackoutDates, openingHours, unavailableDays } = props;\n let currentDay = startDay;\n const possibleEndDays: string[] = [startDay];\n\n while (true) {\n const nextDay = getNextDay(currentDay);\n const nextAvailableDay = getNextAvailableDay({\n day: nextDay,\n blackoutDates,\n openingHours,\n unavailableDays,\n });\n if (nextAvailableDay !== nextDay) {\n break;\n }\n possibleEndDays.push(nextDay);\n currentDay = nextDay;\n }\n\n return possibleEndDays;\n}\n\nexport function getMaxValidEndDay(\n props: Parameters[0]\n) {\n const validEndDays = getValidEndDays(props);\n return validEndDays[validEndDays.length - 1];\n}\n\nfunction isBlackoutDay(day: string, blackoutDate: BlackoutDateDto) {\n const blackoutDay = blackoutDate.date.split('T')[0];\n return day === blackoutDay;\n}\n\nexport async function getNextAvailableDateRange(props: {\n location: LocationDto;\n preferredStartDay?: string;\n preferredEndDay?: string;\n unavailableDays: string[];\n}): Promise<{ startDay: string; endDay: string }> {\n const { location, preferredEndDay, preferredStartDay, unavailableDays } =\n props;\n\n const startDay = getNextAvailableDay({\n day: await getValidDay(preferredStartDay),\n openingHours: location.openingHours,\n blackoutDates: location.blackoutDates,\n unavailableDays,\n });\n\n if (\n startDay !== preferredStartDay ||\n !preferredEndDay ||\n preferredEndDay < preferredStartDay\n ) {\n return getDefaultDateRange(startDay);\n }\n\n const endDay = getNextAvailableDay({\n day: await getValidDay(preferredEndDay),\n openingHours: location.openingHours,\n blackoutDates: location.blackoutDates,\n unavailableDays,\n });\n\n if (endDay !== preferredEndDay) {\n return getDefaultDateRange(startDay);\n }\n\n const validEndDates = await getValidEndDays({\n startDay,\n blackoutDates: location.blackoutDates,\n openingHours: location.openingHours,\n unavailableDays,\n });\n\n if (validEndDates.some((x) => x === endDay)) {\n return { startDay, endDay };\n }\n\n return getDefaultDateRange(startDay);\n}\n\nasync function getValidDay(day: string | undefined): Promise {\n const tomorrowDay = getTomorrowDay();\n const today = new Date();\n const todayAtCutoff = setHours(setMinutes(today, 0), DAY_PASS_CUTOFF_HOUR);\n\n const maxBookingDate = addMonths(today, MAX_BOOKING_MONTHS);\n\n if (day && new Date(day) > maxBookingDate) {\n return tomorrowDay;\n }\n\n if (day == null) {\n return tomorrowDay;\n }\n\n if (isSameDay(createLocalDay(day), today) && !isAfter(today, todayAtCutoff)) {\n return day;\n }\n\n const isValid = await stringDay().isValid(day);\n\n if (!isValid || day < tomorrowDay) {\n return tomorrowDay;\n }\n return day;\n}\n\nexport function getValidDaySync(day: string | undefined): string {\n const tomorrowDay = getTomorrowDay();\n const today = new Date();\n const todayAtCutoff = setHours(setMinutes(today, 0), DAY_PASS_CUTOFF_HOUR);\n\n const maxBookingDate = addMonths(today, MAX_BOOKING_MONTHS);\n\n if (day && new Date(day) > maxBookingDate) {\n return tomorrowDay;\n }\n\n if (day == null) {\n return tomorrowDay;\n }\n\n if (isSameDay(createLocalDay(day), today) && !isAfter(today, todayAtCutoff)) {\n return day;\n }\n\n const isValid = stringDay().isValidSync(day);\n\n if (!isValid || day < tomorrowDay) {\n return tomorrowDay;\n }\n return day;\n}\n\nfunction getDefaultDateRange(startDay: string) {\n return { startDay, endDay: startDay };\n}\n\nexport function isCoworkingDayPassEnabled(location: LocationDto) {\n const {\n canBuyOnline,\n availableAtLocation,\n dailyOnDemandCapacity,\n currentlySellable,\n } = location.products.coworkingDayPass;\n\n return Boolean(\n canBuyOnline &&\n currentlySellable &&\n availableAtLocation &&\n dailyOnDemandCapacity != null &&\n dailyOnDemandCapacity > 0\n );\n}\n\nexport function isSsosEnabled(location: LocationDto) {\n const { canBuyOnline, availableAtLocation, currentlySellable } =\n location.products.dedicatedOffice;\n\n return (\n canBuyOnline === true &&\n currentlySellable === true &&\n availableAtLocation === true\n );\n}\n","import { SelectOption } from '@/components/form/Select/types';\n\nexport function sortByLabel(a: SelectOption, b: SelectOption) {\n return a.label.localeCompare(b.label);\n}\n","export default {\"src\":\"/_next/static/media/TGR.30199ace.svg\",\"height\":15,\"width\":159,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/welkin-and-meraki.3e549d5a.svg\",\"height\":20,\"width\":370,\"blurWidth\":0,\"blurHeight\":0};"],"names":["TypeAlertMessage","AlertMessage","param","children","dataTestId","type","className","withBorder","isClosable","handleClose","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","data-testid","clsx","getClassNameFromType","jsx","button","onClick","Image","concat","src","closeIcon","alt","aria-hidden","BackLink","href","t","useTranslations","Link","ChevronIcon","CircleLoader","svg","xmlns","width","height","fill","path","fillRule","stroke","d","clipRule","ModalDialogContainer","onClose","withoutCloseButton","closable","handleCloseModal","role","tabIndex","aria-modal","aria-labelledby","aria-describedby","style","aria-keyshortcuts","aria-label","ModalDialog","props","container","document","getElementById","ID_MODAL_CONTAINER","downHandler","key","useEffect","restoreScroll","body","overflowY","window","addEventListener","disableScroll","removeEventListener","ReactDOM","SkeletonLoader","datatest-id","ButtonAsLink","others","PrimaryButton","sm","isLoading","otherProps","SecondaryButton","ArrowButton","isDisabled","direction","jsx_runtime","disabled","TertiaryButton","PrimaryHeading","divProps","h1","tiemposFont","SecondaryHeading","fontFamilyClassName","isBigger","h2","alertIcon","ToastError","msg","location","reload","TOAST_DISPLAY_DURATION_IN_MS","SECOND_IN_MS","ToastContainer","mounted","setMounted","useState","ToastContext","React","showToast","showToastTemporary","hideToast","useToastError","useContext","hooks_useToastError","isDisplayed","setIsDisplayed","setMsg","pathname","usePathname","useCallback","setTimeout","undefined","contextValue","useMemo","Provider","value","BrandNames","stringDay","string","test","x","isValidDate","createLocationUrl","isExternal","externalLink","slug","createLocationDayPassUrl","params","dateRange","url","stringifyUrl","startDay","formatToDay","from","endDay","to","isIndustriousLocation","isExternalLocation","getBrandLogo","brandName","WelkinMeraki","wmLogo","TheGreatRoom","tgrLogo","mapLocationsToOptions","locations","map","mapLocationToOption","sort","sortByLabel","label","getLocationOptionLabel","sfId","city","name","getOpeningDate","dateISO","Date","substring","getOpeningLabelTranslationKey","openingDate","latitude","differenceInDays","DISPLAY_SEASON_AFTER_NB_DAYS","quarter","getQuarter","NORTH_SEASONS_BY_QUARTER","SOUTH_SEASONS_BY_QUARTER","managerRoleToTranslationKey","ManagerRoles","MemberExperienceAssociate","ConferenceServicesManager","TechnicalAudioVisualManager","shouldShowLogo","getLocationHighlightName","includes","locationName","shouldShowOpeningLabel","firstDayOfBusinessISO","hideOpeningDate","phase","isWaitlisting","LocationPhases","Signed","Launch","getDayOpeningHours","openingHours","day","getAbbreviatedDayName","getNextAvailableDay","blackoutDates","unavailableDays","isAvailableDay","currentDay","dayOpeningHours","some","blackoutDate","date","split","getNextDay","getMaxValidEndDay","validEndDays","getValidEndDays","possibleEndDays","nextDay","nextAvailableDay","push","length","getValidDaySync","tomorrowDay","getTomorrowDay","today","todayAtCutoff","setHours","setMinutes","DAY_PASS_CUTOFF_HOUR","maxBookingDate","addMonths","MAX_BOOKING_MONTHS","isSameDay","createLocalDay","isAfter","isValidSync","a","b","localeCompare","__webpack_exports__"],"sourceRoot":""}