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OpB,SAAS,CAAC,EAAG,GAAG,KAGrDoB,MAAAA,CAHwDA,EAAOpB,SAAS,CAC3E,EACA,GACA,KAAuBjyB,MAAA,CAApBqzB,EAAOpB,SAAS,CAAC,GACxB,qBCnCA0B,EAAAC,OAAA,EAAkB,4fCAlBD,EAAAC,OAAA,EAAkB,wlBCAlBD,EAAAC,OAAA,EAAkB,0eCAlBD,EAAAC,OAAA,EAAkB,4fCAlBD,EAAAC,OAAA,EAAkB,igBCAlBD,EAAAC,OAAA,EAAkB,iqCCAlBD,EAAAC,OAAA,EAAkB,mjDCAlBD,EAAAC,OAAA,EAAkB,mnBCAlBD,EAAAC,OAAA,EAAkB,orBCAlBD,EAAAC,OAAA,EAAkB,00DCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreStatus/StoreStatus.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreStatus/index.ts","webpack://_N_E/./src/utils/isDuringBusinessHours.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/helpers.ts","webpack://_N_E/./src/components/StoreLocator/datalayer/dateTimeTransformers.ts","webpack://_N_E/./src/components/Store/MyStore/StoreHours.tsx","webpack://_N_E/./src/components/Store/MyStore/MyStore.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreAddress/StoreAddress.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreAddress/index.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreDistance/StoreDistance.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreDistance/index.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreNumber/StoreNumber.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreNumber/index.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreDirections/StoreDirections.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreDirections/index.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/components/SetStoreButton/SetStoreButton.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/Store.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/index.tsx","webpack://_N_E/./src/components/StoreLocator/StoreMap/index.tsx","webpack://_N_E/./src/components/StoreLocator/ShowMore/index.tsx","webpack://_N_E/./public/images/location.svg","webpack://_N_E/./src/components/StoreLocator/UserCurrentLocationButton/index.tsx","webpack://_N_E/./src/components/AZCustomComponent/Store/useStoreHours.ts","webpack://_N_E/./src/components/StoreLocator/index.tsx","webpack://_N_E/./src/components/Store/StoreModal/SearchStoreModal.tsx","webpack://_N_E/./src/components/StoreServicesComp/index.tsx","webpack://_N_E/./src/constants/date.ts","webpack://_N_E/./src/features/fulfillment/hooks/useSetStore.ts","webpack://_N_E/./src/features/i18n/utils/interpolateLabel.ts","webpack://_N_E/./src/utils/analytics/dataLayer/pageTypeSiteSection.ts","webpack://_N_E/./src/utils/analytics/dataLayer/seoPageType.ts","webpack://_N_E/./src/utils/analytics/track/trackGetDirectionInteraction.ts","webpack://_N_E/./src/utils/analytics/track/trackStorePhoneInteraction.ts","webpack://_N_E/./src/utils/capitalizePhrase.ts","webpack://_N_E/./src/utils/convertToAmPm.ts","webpack://_N_E/./src/utils/memoize.ts","webpack://_N_E/./src/utils/splitStringToTwoLabels.ts","webpack://_N_E/./src/utils/urlHelpers/getMapUrl.ts","webpack://_N_E/./src/utils/urlHelpers/getPhoneUrl.ts","webpack://_N_E/./src/components/AZCustomComponent/Store/components/SetStoreButton/styles.module.scss","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreAddress/styles.module.scss","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreDirections/styles.module.scss","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreNumber/styles.module.scss","webpack://_N_E/./src/components/AZCustomComponent/Store/components/StoreStatus/styles.module.scss","webpack://_N_E/./src/components/AZCustomComponent/Store/styles.module.scss","webpack://_N_E/./src/components/Store/MyStore/styles.module.scss","webpack://_N_E/./src/components/StoreLocator/ShowMore/styles.module.scss","webpack://_N_E/./src/components/StoreLocator/StoreMap/styles.module.scss","webpack://_N_E/./src/components/StoreLocator/styles.module.scss","webpack://_N_E/./src/components/StoreServicesComp/styles.module.scss","webpack://_N_E/"],"sourcesContent":["/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport React, { useState } from 'react';\nimport { type StoreHourData } from '@/components/StoreLocator/types';\nimport dayjs from 'dayjs';\nimport { daysArray } from '@/constants/date';\nimport { useLabels } from '@/hooks/useLabels';\nimport { useLocale } from '@/hooks/useLocale';\nimport { convertToAmPm } from '@/utils/convertToAmPm';\nimport { Fragment } from 'react';\nimport { convertStoreHourData } from '../../helpers';\nimport styles from './styles.module.scss';\nimport { countryCodes } from '@/constants/locale';\n\ninterface StoreStatusProps {\n storeHourData: StoreHourData;\n}\n\nconst labelsMap = {\n storeClosed: 'label_StoreLocator_modal_CLOSED',\n\n storeOpen: 'label_StoreLocator_modal_OPEN',\n\n until: 'label_Footer_modal_Until',\n\n next: 'label_MyAccountMyProfile_serviceHistory_Next',\n\n tomorrow: 'label_StoreLocator_modal_Tomorrow',\n\n today: 'label_StoreLocator_modal_TODAY',\n\n midnight: 'label_StoreLocator_midnight',\n\n open24: 'label_Footer_modal_24Hours',\n\n Monday: 'label_StoreLocator_modal_Monday',\n\n Tuesday: 'label_StoreLocator_modal_Tuesday',\n\n Wednesday: 'label_StoreLocator_modal_Wednesday',\n\n Thursday: 'label_StoreLocator_modal_Thursday',\n\n Friday: 'label_StoreLocator_modal_Friday',\n\n Saturday: 'label_StoreLocator_modal_Saturday',\n\n Sunday: 'label_StoreLocator_modal_Sunday',\n};\n\nexport const StoreStatus = ({ storeHourData }: StoreStatusProps): React.ReactElement => {\n const locale = useLocale();\n\n const {\n storeClosedAllDays,\n nextAvailableDay,\n openString,\n closedString,\n allRemainingStoresClosed,\n opensTomorrow,\n } = convertStoreHourData(storeHourData, locale);\n const daysOfTheWeek = daysArray[locale];\n\n // Gives the current time as a dayjs object\n const currentTime = dayjs();\n\n // Gives the current day as a number (Sunday is 0, Monday is 1 ... Saturday is 6.)\n const currentDay = dayjs().day();\n const abbreviateTime = false;\n\n const now = new Date();\n\n const labels = useLabels(labelsMap);\n\n now.setSeconds(0);\n\n // Gives the next available day as a number (Sunday is 0, Monday is 1 ... Saturday is 6.)\n const [currentDayFormatted] = useState(daysOfTheWeek[currentDay]);\n\n const openTime = new Date();\n\n openTime.setHours(\n parseInt(openString?.split(':')?.[0]),\n parseInt(openString?.split(':')?.[1]),\n 0\n );\n const closeTime = new Date();\n\n closeTime.setHours(\n parseInt(closedString?.split(':')?.[0]),\n\n parseInt(closedString?.split(':')?.[1]),\n\n 0\n );\n\n // Hours are counted from 0 - 23 so if we set 00:00 we need to also increase day number\n if (closedString === '0:00') {\n closeTime.setDate(closeTime.getDate() + 1);\n }\n\n const isStoreOpen = closeTime > now && openTime < now;\n\n const nextAvailableDayIsToday = nextAvailableDay === currentDayFormatted;\n\n const closesAtMidnight = openString !== '0:00' && closedString === '0:00';\n\n const isOpen24Hours = openString === '0:00' && closedString === '0:00';\n\n const targetTime = dayjs().hour(23).minute(59); // 11:59 PM\n\n const startOfMidnight = currentTime.isAfter(targetTime); // will be false before 11:59 PM\n\n const storeAfterHours = now >= closeTime && !startOfMidnight;\n\n const nextAvailableDayIsTodayAndStoreClosed =\n nextAvailableDay === currentDayFormatted && storeAfterHours;\n\n let openTimeLabel = labels.today;\n\n if (nextAvailableDayIsTodayAndStoreClosed) {\n openTimeLabel = labels.tomorrow;\n } else if (startOfMidnight) {\n openTimeLabel = labels.tomorrow;\n }\n\n const closedTimeString =\n locale === countryCodes.ptBr ? closedString : convertToAmPm(closedString, abbreviateTime);\n const openTimeString =\n locale === countryCodes.ptBr ? openString : convertToAmPm(openString, abbreviateTime);\n\n /*\n * if the store is closed with no `openTime` or `closeTime`, it should just say Closed\n * if the store is open today and the `closeTime` is after now, then show the store is OPEN until [close time]\n * if the store is open today and the `closeTime` is midnight, then show the store is OPEN until midnight\n * if the store is closed today and the `openTime` is tomorrow then show the store is CLOSED until [open time] [tomorrow] CLOSED until 7:30 AM tomorrow\n * by default show the store is CLOSED until [future open time] [future day]\n */\n\n switch (true) {\n case nextAvailableDayIsToday:\n if (nextAvailableDayIsToday) {\n // Store is open 24 hours\n if (isOpen24Hours) {\n return {`${labels.storeOpen} ${labels.open24}`};\n }\n if (isStoreOpen) {\n // It's today and store is open - either show midnight or close time\n return (\n \n {' '}\n \n {`${labels.storeOpen}`} {labels.until}\n {closesAtMidnight ? labels.midnight : closedTimeString}\n \n \n );\n } else {\n // It's today and store is closed\n return (\n \n {' '}\n {storeClosedAllDays ? (\n {`${labels.storeClosed}`}\n ) : (\n \n {`${labels.storeClosed}`} {labels.until}\n {openTimeString} {allRemainingStoresClosed || !opensTomorrow ? '' : openTimeLabel}\n {allRemainingStoresClosed ? labels.next : ''}{' '}\n {allRemainingStoresClosed || !opensTomorrow ? nextAvailableDay : ''}\n \n )}\n \n );\n }\n }\n case !nextAvailableDayIsToday:\n // Store is closed until next available day\n return (\n \n {' '}\n {storeClosedAllDays ? (\n {`${labels.storeClosed}`}\n ) : (\n \n {`${labels.storeClosed}`} {labels.until}\n {openTimeString} {opensTomorrow ? labels.tomorrow : nextAvailableDay}{' '}\n \n )}\n \n );\n\n default:\n // Opens tomorrow or sometime in the future including next week\n return (\n \n {' '}\n {storeClosedAllDays ? (\n {`${labels.storeClosed}`}\n ) : (\n \n {`${labels.storeClosed}`} {labels.until}\n {openTimeString} {opensTomorrow ? labels.tomorrow : nextAvailableDay}{' '}\n \n )}\n \n );\n }\n};\n","/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nexport { StoreStatus } from './StoreStatus';\n","/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport dayjs from 'dayjs';\nimport { type CustomizedStoreHours } from '@/components/StoreLocator/types';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\n\nexport const isDuringBusinessHours = (hours: CustomizedStoreHours) => {\n dayjs.extend(customParseFormat);\n const closed = 'Closed';\n const { dayNumber, openHour, openMinute, closeHour, closeMinute } = hours;\n const currentTime = dayjs();\n const currentDay = currentTime.day();\n\n const closedString = `${closeHour}:${closeMinute}`;\n const midnightValue = closedString === '0:00';\n const closingTime = dayjs(closedString, 'HH:mm');\n const isSameDay = parseInt(dayNumber) === currentDay;\n\n const minuteBeforeMidnight = dayjs('23:59', 'HH:mm');\n\n const isAfterHours = isSameDay && currentTime.isAfter(closingTime);\n const isOpen24Hours =\n openHour === '0' && openMinute === '00' && closeHour === '0' && closeMinute === '00';\n\n const storeCurrentlyOpen = currentTime.isBefore(\n midnightValue ? minuteBeforeMidnight : closingTime\n );\n const closesAtMidnight = storeCurrentlyOpen && midnightValue;\n const storeClosedToday = openHour === closed && openMinute === closed;\n\n switch (true) {\n case closesAtMidnight:\n return true;\n\n case isOpen24Hours:\n return true;\n\n case storeClosedToday:\n return false;\n\n case isAfterHours:\n return false;\n\n default:\n return true;\n }\n};\n","/**\n * Copyright 2022 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\nimport {\n type StoreHourData,\n type ConvertedStoreHoursType,\n type CustomizedStoreHours,\n} from '@/components/StoreLocator/types';\nimport { daysArray } from '@/constants/date';\nimport type { Locale } from '@/types/i18n';\nimport { isDuringBusinessHours } from '@/utils/isDuringBusinessHours';\nimport dayjs from 'dayjs';\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter';\n\nexport function getCurrentWeek(locale: Locale): Array {\n //Get today and next six days to fill out the current 'week'.\n const week = [\n dayjs().add(0, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(1, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(2, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(3, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(4, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(5, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n dayjs().add(6, 'day').toDate().toLocaleDateString(locale, { weekday: 'long' }),\n ];\n return week;\n}\n\nexport function dateIsWithinCurrentWeek(date: string) {\n const dateValue = dayjs(date);\n const startOfWeek = dayjs().startOf('week');\n const endOfNextWeek = startOfWeek.add(7, 'day');\n const result = dateValue.isBefore(endOfNextWeek) || dateValue.isSame(endOfNextWeek);\n\n return result;\n}\n\nexport function translateDayToEnglish(day: string) {\n switch (day) {\n case 'lunes':\n case 'segunda-feira':\n return 'Monday';\n\n case 'martes':\n case 'terça-feira':\n return 'Tuesday';\n\n case 'miércoles':\n case 'quarta-feira':\n return 'Wednesday';\n\n case 'jueves':\n case 'quinta-feira':\n return 'Thursday';\n\n case 'viernes':\n case 'sexta-feira':\n return 'Friday';\n\n case 'sábado':\n return 'Saturday';\n\n case 'domingo':\n return 'Sunday';\n\n default:\n return 'Sunday';\n }\n}\n\nexport function translateDayToSpanish(day: string): string {\n switch (day) {\n case 'Monday':\n return 'Lunes';\n\n case 'Tuesday':\n return 'Martes';\n\n case 'Wednesday':\n return 'Miércoles';\n\n case 'Thursday':\n return 'Jueves';\n\n case 'Friday':\n return 'Viernes';\n\n case 'Saturday':\n return 'Sábado';\n\n case 'Sunday':\n return 'Domingo';\n\n default:\n return 'Domingo';\n }\n}\n\nexport function translateMonthToSpanish(month: string): string {\n switch (month) {\n case 'January':\n return 'Enero';\n\n case 'February':\n return 'Febrero';\n\n case 'March':\n return 'Marzo';\n\n case 'April':\n return 'Abril';\n\n case 'May':\n return 'Mayo';\n\n case 'June':\n return 'Junio';\n\n case 'July':\n return 'Julio';\n\n case 'August':\n return 'Agosto';\n\n case 'September':\n return 'Septiembre';\n\n case 'October':\n return 'Octubre';\n\n case 'November':\n return 'Noviembre';\n\n default:\n return 'Diciembre';\n }\n}\n\nexport const convertStoreHourData = (storeHourData: StoreHourData, locale: Locale) => {\n dayjs.extend(isSameOrAfter);\n const { holidayHours, hours } = storeHourData;\n\n const hasHolidayHours = Array.isArray(holidayHours) && holidayHours.length > 0;\n\n // only use holiday hours that are in the future\n const filteredHolidayHours = hasHolidayHours\n ? holidayHours.filter((elem) => {\n const { date } = elem;\n const holidaySchedule = dayjs(date).startOf('day');\n const today = dayjs().startOf('day');\n\n // Compare only the dates, ignore the time\n const upcomingHolidays = holidaySchedule.isSameOrAfter(today);\n return upcomingHolidays;\n })\n : [];\n\n const hasUpcomingHolidayHours =\n Array.isArray(filteredHolidayHours) && filteredHolidayHours.length > 0;\n\n const { zeroIndexedHours, hasFullWeekData } = getZeroIndexedHours(hours);\n\n // Yext doesn't send back data for days that are closed\n let fullHoursArray = hasFullWeekData\n ? zeroIndexedHours\n : getCompletedHoursArray(zeroIndexedHours);\n\n /* If the store has holiday hours, loop through the holiday hours array and\n overwrite the values in fullHoursArray with the new holiday hours values */\n\n if (hasUpcomingHolidayHours) {\n filteredHolidayHours.reduce((acc, elem) => {\n const { date, hours } = elem;\n const dateValue = dayjs(date);\n const dayAsANumber = dateValue.day();\n\n if (dateIsWithinCurrentWeek(date)) {\n acc.splice(\n dayAsANumber,\n 1,\n hours === '' ? `${dayAsANumber}:Closed:Closed` : `${dayAsANumber}:${hours}`\n );\n }\n return acc;\n }, fullHoursArray);\n }\n\n const copyOfHoursArray = [...fullHoursArray];\n const copyOfHoursArrayWithDateData = addDateDetailsToHoursArray(copyOfHoursArray as string[]);\n const { nextAvailableDay, openString, closedString, allRemainingStoresClosed, opensTomorrow } =\n getNextAvailableDay(copyOfHoursArrayWithDateData as CustomizedStoreHours[], locale as Locale);\n\n const storeClosedAllDays = !(copyOfHoursArrayWithDateData as CustomizedStoreHours[]).some(\n (elem) => elem.openHour !== 'Closed'\n );\n\n return {\n fullHoursArray: copyOfHoursArrayWithDateData,\n storeClosedAllDays,\n nextAvailableDay,\n openString,\n closedString,\n allRemainingStoresClosed,\n opensTomorrow,\n };\n};\n\nexport const isStoreOpen = (storeHourData: StoreHourData, locale: Locale): boolean => {\n const { fullHoursArray } = convertStoreHourData(storeHourData, locale);\n const now = dayjs();\n const currentDay = now.day();\n const storeToUse = fullHoursArray[currentDay];\n return isDuringBusinessHours(storeToUse as CustomizedStoreHours);\n};\n\nfunction determineArrayToUse(fullWeek2DArray: CustomizedStoreHours[][]) {\n const [todayTilWeekend, weekStartTilToday] = fullWeek2DArray;\n const todayTilWeekendClosed = todayTilWeekend.every(\n (elem: CustomizedStoreHours) => elem.openHour === 'Closed' || !isDuringBusinessHours(elem)\n );\n if (todayTilWeekend.length === 1 && todayTilWeekendClosed) {\n return weekStartTilToday;\n } else {\n return todayTilWeekend;\n }\n}\n\nfunction allRemainingStoresClosedFn(hoursArray: CustomizedStoreHours[], day: number) {\n const copyOfHoursArray = [...hoursArray];\n copyOfHoursArray.splice(day, 1);\n const result = copyOfHoursArray.every((elem) => elem.openHour === 'Closed');\n return result;\n}\n\nfunction getNextAvailableDayResult(\n hoursObj: CustomizedStoreHours,\n hoursArray: CustomizedStoreHours[],\n locale: Locale\n) {\n // Gives the current time as a dayjs object\n const currentTime = dayjs();\n const daysOfTheWeek: string[] = daysArray[locale];\n\n const { dayNumber, openHour, openMinute, closeHour, closeMinute, date } = hoursObj;\n\n // sets the next available day as a string (Sunday, Monday ... Saturday)\n const nextAvailableDay = daysOfTheWeek[parseInt(dayNumber)];\n const openString = `${openHour}:${openMinute}`;\n const closedString = `${closeHour}:${closeMinute}`;\n\n const allRemainingStoresClosed = allRemainingStoresClosedFn(hoursArray, +dayNumber);\n const nextAvailableDayDate = dayjs(date);\n const differenceInDaysByHours = Math.abs(nextAvailableDayDate.diff(currentTime, 'h'));\n const opensTomorrow = differenceInDaysByHours < 24;\n\n return {\n nextAvailableDay,\n openString,\n closedString,\n allRemainingStoresClosed,\n opensTomorrow,\n };\n}\n\nfunction getNextAvailableDay(hoursArray: CustomizedStoreHours[], locale: Locale) {\n let result: ConvertedStoreHoursType = {\n fullHoursArray: [],\n storeClosedAllDays: false,\n nextAvailableDay: '',\n openString: '',\n closedString: '',\n allRemainingStoresClosed: false,\n opensTomorrow: false,\n };\n // Gives the current day as a number (Sunday is 0, Monday is 1 ... Saturday is 6.)\n const currentDay = dayjs().day();\n\n const todayTilWeekend = hoursArray.slice(currentDay);\n const weekStartTilToday = hoursArray.slice(0, currentDay);\n const fullWeek2DArray = [todayTilWeekend, weekStartTilToday];\n\n const arrayToUse = determineArrayToUse(fullWeek2DArray);\n const nextAvailableDay = arrayToUse.find(\n (elem) => elem.openHour !== 'Closed' && isDuringBusinessHours(elem)\n );\n if (nextAvailableDay) {\n result = getNextAvailableDayResult(nextAvailableDay, hoursArray, locale);\n } else {\n const defaultNextAvailableDay = hoursArray.find((elem) => elem.openHour !== 'Closed');\n if (defaultNextAvailableDay) {\n result = getNextAvailableDayResult(defaultNextAvailableDay, hoursArray, locale);\n }\n }\n return result;\n}\n\nfunction getCompletedHoursArray(zeroIndexedHours: string[]) {\n const completedHours = [];\n for (let i = 0; i < 7; i++) {\n const day = zeroIndexedHours.find((hour: string) => hour.split(':')[0] === `${i}`);\n completedHours.push(day || `${i}:Closed:Closed`);\n }\n return completedHours;\n}\n\nfunction addDateDetailsToHoursArray(hoursArray: string[] | CustomizedStoreHours[]) {\n const currentDay = dayjs().day();\n const startOfWeek = dayjs().startOf('week');\n const beforeToday = startOfWeek.add(7, 'day');\n\n const todayTilWeekend = hoursArray.slice(currentDay);\n const weekStartTilToday = hoursArray.slice(0, currentDay);\n const combinedArray = [...weekStartTilToday, ...todayTilWeekend];\n\n combinedArray.forEach((hoursValue: string | CustomizedStoreHours, index) => {\n const [dayNumber, openHour, openMinute, closeHour, closeMinute] = (hoursValue as string).split(\n ':'\n );\n let date;\n if (index < currentDay) {\n date = dayjs(beforeToday).add(+dayNumber, 'day').format('MM, DD, YYYY');\n } else {\n date = dayjs(startOfWeek).add(+dayNumber, 'day').format('MM, DD, YYYY');\n }\n hoursArray[+dayNumber] = {\n dayNumber,\n openHour,\n openMinute,\n closeHour,\n closeMinute,\n date,\n };\n });\n return hoursArray;\n}\n\nfunction getZeroIndexedHours(hours: string) {\n const splitHours = hours?.split(',') || [];\n\n const zeroIndexedHours = splitHours.map((hour) => {\n const [day, ...rest] = hour.split(':');\n return `${+day - 1}:${rest.join(':')}`;\n });\n\n const hasFullWeekData = zeroIndexedHours.length === 7;\n\n return { zeroIndexedHours, hasFullWeekData };\n}\n","/**\n * Copyright 2019 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\n\n/**\n * Convert a 24 hours format string into a 12-hour format string\n * @param hourIn24 - A string in 24-hour format. For example \"14:00\"\n * @param withAmPm - Whether the final string should include am or pm. Default is true\n * @return A string in 12-hour format with am/pm. For example \"2:00 pm\"\n */\nconst convertToTwelveHourTime = (hourIn24: string, withAmPm: boolean = true): string => {\n const [hourToConvert, minuteToConvert] = hourIn24.split(':', 2);\n\n const twelveFormattedHour = Number(hourToConvert) % 12 || 12;\n let amOrPm;\n\n if (hourToConvert === '00') {\n amOrPm = 'am';\n } else if (hourToConvert === '24') {\n amOrPm = 'am';\n } else if (hourToConvert === '12') {\n amOrPm = 'pm';\n } else {\n amOrPm = Number(hourToConvert) >= 12 ? 'pm' : 'am';\n }\n return `${twelveFormattedHour}:${minuteToConvert} ${withAmPm && amOrPm}`;\n};\n\n/**\n * Tries to convert a string in 24-hour format into a word representation of that hour.\n * Example 12:00am into midnight\n * Returns the original string if conversion can not be done\n * @param hourIn24 - A string in 24-hour format. For example \"14:00\"\n * @return A string in 12-hour format with am/pm or a word representing that time\"\n */\n\nconst hourRepresentationOfMidnight = ['12:00 am', '00:00 am', '12:00 AM', '00:00 AM'];\n\nconst tryConvertHourIntoWord = (hourIn24: string, midnightLabel: string): string => {\n if (hourRepresentationOfMidnight.includes(hourIn24)) {\n return midnightLabel.toLocaleLowerCase();\n } else {\n return hourIn24;\n }\n};\n\nexport { convertToTwelveHourTime, tryConvertHourIntoWord };\n","/**\n * Copyright 2021 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport React from 'react';\nimport cx from 'classnames';\nimport azCommonStyles from '../../../theme/globals.module.scss';\nimport type { StoreInformation } from '../../StoreLocator/types';\nimport { tryConvertHourIntoWord } from '../../StoreLocator/datalayer/dateTimeTransformers';\nimport styles from './styles.module.scss';\nimport { useLabels } from '@/hooks/useLabels';\nimport { useLocale } from '@/hooks/useLocale';\nimport type { Locale } from '@/types/i18n';\nimport {\n getCurrentWeek,\n translateDayToEnglish,\n translateDayToSpanish,\n} from '@/components/AZCustomComponent/Store/helpers';\nimport { useFeatureFlag } from '@/features/globalConfig';\nimport { countryCodes } from '@/constants/locale';\nimport dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\n\ntype Day = {\n day: string;\n information: StoreInformation;\n currentDayStyle: string;\n};\n\nconst labelMap = {\n open24Hours: 'label_Homepage_header_Open24hours',\n closed: 'label_StoreLocator_modal_Closed',\n holidayHours: 'label_StoreLocator_holidayHours',\n midnight: 'label_StoreLocator_midnight',\n};\n\ninterface StoreWeekDays {\n [day: string]: any;\n}\n\nconst createOrderedWeek = (\n storeWeekDays: StoreWeekDays,\n locale: Locale,\n storeDetailsEnglishOnlyKeysEnabled: boolean\n): Day[] => {\n const orderedWeek: Day[] = [];\n if (!storeWeekDays || Object.keys(storeWeekDays).length === 0) {\n return orderedWeek;\n }\n\n const currentWeek = getCurrentWeek(storeDetailsEnglishOnlyKeysEnabled ? countryCodes.us : locale);\n\n currentWeek.forEach((day: string) => {\n /* If the data comes from ATG and STORE_DETAILS_DAYS_ENGLISH_ONLY is off day key\n can be in english or spanish\n */\n let daySchedule;\n let dayLabel = day;\n\n //TODO remove this condition we can do without STORE_DETAILS_DAYS_ENGLISH_ONLY flag\n if (locale === countryCodes.mx && storeDetailsEnglishOnlyKeysEnabled) {\n dayLabel = translateDayToSpanish(day);\n }\n\n if (day in storeWeekDays) {\n daySchedule = storeWeekDays[day];\n }\n //TODO remove this condition we can do without STORE_DETAILS_DAYS_ENGLISH_ONLY flag\n else if (translateDayToSpanish(day) in storeWeekDays) {\n dayLabel = dayLabel.charAt(0).toUpperCase() + dayLabel.slice(1);\n daySchedule = storeWeekDays[dayLabel];\n }\n //TODO remove this condition we can do without STORE_DETAILS_DAYS_ENGLISH_ONLY flag\n else if (translateDayToEnglish(day) in storeWeekDays) {\n if (locale === countryCodes.ptBr) {\n dayLabel = dayLabel.charAt(0).toUpperCase() + dayLabel.slice(1);\n }\n daySchedule = storeWeekDays[translateDayToEnglish(day)];\n }\n\n orderedWeek.push({\n day: dayLabel,\n currentDayStyle: `${styles.nonCurrentDay}`,\n information: daySchedule,\n });\n });\n\n const [currentDay] = orderedWeek;\n\n orderedWeek.splice(0, 1, {\n ...currentDay,\n currentDayStyle: currentDay.information.isHolidayHours\n ? styles.currentDayHoliday\n : styles.currentDay,\n });\n\n return orderedWeek;\n};\n\n//TODO: Add type to storeDetails\nconst StoreHours = ({ storeDetails }: { storeDetails: any }) => {\n const storeDetailsEnglishOnlyKeysEnabled =\n useFeatureFlag('STORE_DETAILS_DAYS_ENGLISH_ONLY') === 'true';\n\n const locale = useLocale();\n const isBR = locale == countryCodes.ptBr;\n const labels = useLabels(labelMap);\n const decodeHtmlCharacters = (str: string) =>\n str.replace(/&#(\\d+);/g, (match, dec) => String.fromCharCode(dec));\n\n const displayStoreHours = (information: StoreInformation) => {\n let { open, close, closed, open24Hours, isHolidayHours } = information;\n\n if ((open24Hours || (close === '0:00 pm' && open === '0:00 am')) && !isHolidayHours) {\n return labels.open24Hours;\n }\n\n // A store is marked as closed when is not sent in the array of hours in YEXT.\n // synthetic representation added by the front-end has the closed property.\n if (closed && !open) {\n return labels.closed;\n }\n\n if (closed && open && open.includes('undefined')) {\n return labels.closed;\n }\n if (closed && open && !open.includes('undefined')) {\n return `${decodeHtmlCharacters(open)} - ${decodeHtmlCharacters(close)}`;\n }\n\n // A store is marked as closed in ATG when the open and close hours are the same\n // This is consistent with how it is done in the legacy site.\n else if (!closed && !open24Hours && open === close) {\n return labels.closed;\n }\n\n if (!open.includes('NaN:undefined')) {\n if (isBR) {\n dayjs.extend(customParseFormat);\n open = dayjs(open, 'H:mm').format('HH:mm');\n close = dayjs(close, 'H:mm').format('HH:mm');\n }\n const openLabel = tryConvertHourIntoWord(open, labels.midnight);\n const closedLabel = tryConvertHourIntoWord(close, labels.midnight);\n return `${openLabel} - ${closedLabel}`;\n }\n };\n\n return (\n \n );\n};\n\nexport default StoreHours;\n","/**\n * Copyright 2019 AutoZone, Inc.\n * Content is confidential to and proprietary information of AutoZone, Inc., its\n * subsidiaries and affiliates.\n */\nimport { useEffect } from 'react';\nimport cx from 'classnames';\nimport { Label } from '@/features/i18n';\nimport { useLabel } from '@/hooks/useLabels';\nimport { useLocale } from '@/hooks/useLocale';\nimport { countryCodes } from '@/constants/locale';\nimport azCommonStyles from '../../../theme/globals.module.scss';\nimport { formatPhoneNumber } from '../../../utils/formatPhoneNumber';\nimport { splitStringToTwoLabels } from '../../../utils/splitStringToTwoLabels';\nimport { getMapUrl, getPhoneUrl } from '@/utils/urlHelpers';\nimport { Button } from '@/components/Button';\nimport StoreServicesComp from '../../StoreServicesComp';\nimport styles from './styles.module.scss';\nimport StoreHours from './StoreHours';\nimport { trackGetDirectionInteraction } from '@/utils/analytics/track/trackGetDirectionInteraction';\nimport { trackStorePhoneInteraction } from '@/utils/analytics/track/trackStorePhoneInteraction';\nimport { pageTypeSiteSection } from '@/utils/analytics/dataLayer/pageTypeSiteSection';\nimport { useStoreDetailsData } from '@/features/header/api/getStoreDetails';\nimport type { StoreDetails, DayType } from '@/types';\nimport { StoreStatus } from '@/components/AZCustomComponent/Store/components/StoreStatus';\nimport { type StoreHourData } from '@/components/StoreLocator/types';\nimport dayjs, { type Dayjs } from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\nimport { translateDayToSpanish } from '@/components/AZCustomComponent/Store/helpers';\n\n/**\n * A modal dialog can only be closed by selecting one of the actions.\n */\ntype Props = {\n backBtnHandler: () => void;\n closeStoreModal: () => void;\n storeDetails: StoreDetails | undefined;\n storeStatusLabels?: React.ReactElement;\n storeDetailsLabel?: string;\n setStore?: (\n storeNumber: string,\n zipCode: string,\n isNearByStoreSelected: boolean,\n searchedInput?: string\n ) => void;\n moreDetailsStoreSelectedID?: number;\n moreDetailsStoreSelectedZip?: number;\n storeHours?: StoreHourData;\n moreDetailsLocIndex?: number;\n};\n\nfunction MessageDisplay({\n storeDetails,\n storeHours,\n}: {\n storeDetails: StoreDetails | undefined;\n storeStatusLabels?: React.ReactElement;\n storeHours?: StoreHourData;\n}) {\n const lblOpen24Hours = useLabel('label_Homepage_header_Open24hours');\n // in calls from yext, we already have the message generated as a\n // jsx component\n if (storeHours) {\n return ;\n }\n const timeString = storeDetails?.open24Hours ? lblOpen24Hours : storeDetails?.messageToDisplay;\n const timeStringObj = splitStringToTwoLabels(timeString || '');\n return (\n <>\n \n {timeStringObj.firstLabel}\n {' '}\n {timeStringObj.secondLabel}\n \n );\n}\n\nconst AddressBlock = ({ storeDetails }: { storeDetails: any; moreDetailsLocIndex?: number }) => {\n const locale = useLocale();\n const isBR = locale === countryCodes.ptBr;\n\n if (!storeDetails) {\n return null;\n }\n\n const address2 =\n storeDetails.address2 !== 'NULL' && storeDetails.address2 !== undefined\n ? storeDetails.address2\n : '';\n\n const address3 =\n storeDetails.address3 !== 'NULL' && storeDetails.address3 !== undefined\n ? storeDetails.address3\n : '';\n\n const lastLine = isBR\n ? `CEP ${\n storeDetails.zip || ''\n }, ${storeDetails.city.toLocaleLowerCase()} ${storeDetails.state.toLocaleUpperCase()}`\n : `${storeDetails.city.toLocaleLowerCase()}, ${storeDetails.state.toLocaleUpperCase()} ${\n storeDetails.zip || ''\n }`;\n\n return (\n
\n \n
\n

\n {storeDetails.address1.toLocaleLowerCase()}\n {locale === countryCodes.mx || isBR ? ', ' + address2.toLocaleLowerCase() : ''}\n

\n {isBR &&

{address3}

}\n

\n {lastLine}\n

\n
\n
\n
\n
\n \n );\n};\n\nconst PhoneNumberBlock = ({ storeDetails }: { storeDetails: any }) => {\n const locale = useLocale();\n return (\n {\n trackStorePhoneInteraction(storeDetails.phoneNumber);\n }}\n >\n {storeDetails && formatPhoneNumber(storeDetails.phoneNumber, locale)}\n \n );\n};\n\nconst BtnForChangeStoreOrSetStore = ({\n moreDetailsStoreSelectedID,\n moreDetailsStoreSelectedZip,\n setStore,\n backBtnHandler,\n}: {\n moreDetailsStoreSelectedID?: number;\n moreDetailsStoreSelectedZip?: number;\n setStore?: (\n storeNumber: string,\n zipCode: string,\n isNearByStoreSelected: boolean,\n searchedInput?: string\n ) => void;\n backBtnHandler: () => void;\n}) => {\n if (moreDetailsStoreSelectedID && moreDetailsStoreSelectedZip) {\n return (\n {\n setStore?.(\n moreDetailsStoreSelectedID.toString(),\n moreDetailsStoreSelectedZip.toString(),\n false\n );\n }}\n id=\"setStoreBtn\"\n >\n