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AAsG,MAAA,IAA6CP,GAAAG,GACxC,CAAAA,EAAA,EACL,CAAYpM,KAAAA,CAAA,CAAAlD,WAAAA,CAAA,EAAmByP,EAC/BE,EAAwB,GAAAvM,EAAAlE,MAAA,EAAMmQ,GAC9B,CAAYxX,OAAAA,CAAA,EAAS4X,EACjB,GAAArM,EAAA1W,SAAA,EAAS,KACbijB,EAAAtP,OAAA,CAAAgP,CACA,GACA,IAAAO,EAAmB,GAAAxM,EAAAtG,WAAA,EAAW,IAC9ByS,EAAAtD,IAAA,IAAyC2C,EAAgCnO,EAAAoO,KACzEc,EAAAtP,OAAA,CAAAI,EAEA,EAAK,CAAA8O,EAAA,EACD,GAAAnM,EAAA1W,SAAA,EAAS,KACb,GAAAwW,GAAA,oBAAAxV,QAEA,GAAAmK,EAAA,CACA,IAAAgY,EAAAhY,EAAAwI,OAAA,CACA,GAAAwP,EAAA,CACA,QAAAC,KAAA9P,EACA6P,EAAAlM,gBAAA,CAAAmM,EAAAF,GAEA,WACA,QAAAE,KAAA9P,EACA6P,EAAAjM,mBAAA,CAAAkM,EAAAF,EAEA,CACA,CACA,KACA,CACA,QAAAE,KAAA9P,EACAtS,OAAAiW,gBAAA,CAAAmM,EAAAF,GAEA,WACA,QAAAE,KAAA9P,EACAtS,OAAAkW,mBAAA,CAAAkM,EAAAF,EAEA,CACA,EAEA,OAAe/L,EAAAC,CAAI,EACd,CAAAZ,EAAAlD,EAAAuP,EAAA1X,EAAAwX,EAAAO,EAAA,CACL","sources":["webpack://_N_E/./components/modules/ads/adScriptLoader/constants.ts","webpack://_N_E/./components/modules/ads/adScriptLoader/_appRouter/adScriptLoader.tsx","webpack://_N_E/./hooks/appState/_appRouterState/useAppState.ts","webpack://_N_E/./components/modules/appStateManager/_appRouterAppStateManager/appStateManagerWrapper.ts","webpack://_N_E/./components/modules/location/locationManagerPopup/locationManagerDialog/_appRouter/lazyLoadedManageLocationDialog.tsx","webpack://_N_E/./components/modules/settingsPopup/_appRouter/settingsPopup.tsx","webpack://_N_E/./components/elements/settings/_appRouter/settingsContainer.tsx","webpack://_N_E/./components/modules/hamburgerMenu/_appRouter/hamburgerMenu.tsx","webpack://_N_E/./components/elements/navbarLogo/_appRouter/navbarLogo.tsx","webpack://_N_E/./node_modules/rooks/dist/esm/hooks/useOutsideClickRef.js?f906","webpack://_N_E/./components/modules/location/locationConstants.ts","webpack://_N_E/./components/modules/location/locationSelector/favoriteLocationsDropdown/_appRouterComponents/favoriteLocationsList.tsx","webpack://_N_E/./components/modules/location/locationSelector/favoriteLocationsDropdown/_appRouterComponents/favoriteLocationsDropDown.tsx","webpack://_N_E/./components/modules/location/locationSelector/locationSearcher/_appRouterComponents/locationSearcher.tsx","webpack://_N_E/./components/modules/location/locationSelector/locationSuggestionList/_appRouterComponents/locationSuggestionListItem.tsx","webpack://_N_E/./components/modules/location/locationSelector/locationSuggestionList/_appRouterComponents/locationSuggestionList.tsx","webpack://_N_E/./components/modules/location/locationSelector/_appRouterComponents/locationSelectorView.tsx","webpack://_N_E/./components/modules/location/locationSelector/_appRouterComponents/locationSelector.tsx","webpack://_N_E/./components/modules/primaryNavbar/_appRouterComponents/primaryNavbar.tsx","webpack://_N_E/./components/modules/navUtilityList/_appRouter/navUtilityList.tsx","webpack://_N_E/./components/modules/utilityNavbar/_appRouter/utilityNavbar.tsx","webpack://_N_E/./components/layouts/navbar/_appRouterComponents/navbar.tsx","webpack://_N_E/./app/lib/adComponents/persistent320x50MobileWebAd/persistent320x50MobileWebAd.tsx","webpack://_N_E/./app/lib/adComponents/persistent320x50MobileWebAd/persistent320x50Renderer.tsx","webpack://_N_E/./app/lib/_baseLayoutComponents/floatingSectionDisplay.tsx","webpack://_N_E/./app/lib/_baseLayoutComponents/baseLayout.tsx","webpack://_N_E/./app/lib/styledComponentsHelpers/clientLayout.tsx","webpack://_N_E/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js?f6bf","webpack://_N_E/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js?0f42","webpack://_N_E/./styles/utils.ts","webpack://_N_E/./app/lib/styledComponentsHelpers/styledComponentsRegistry.tsx","webpack://_N_E/./node_modules/react-error-boundary/dist/react-error-boundary.esm.js","webpack://_N_E/./components/modules/ads/displayAds/widget/displayBannerAdPlaceholder.tsx","webpack://_N_E/./components/modules/ads/displayAds/widget/displayAdWidgetWrapper.tsx","webpack://_N_E/./public/images/defaultAds/160x600.jpg?172d","webpack://_N_E/./public/images/defaultAds/230x33.jpg?c417","webpack://_N_E/./public/images/defaultAds/300x250.jpg?8035","webpack://_N_E/./public/images/defaultAds/300x600.jpg?2798","webpack://_N_E/./public/images/defaultAds/320x50.jpg?0ffd","webpack://_N_E/./public/images/defaultAds/728x90.jpg?ffb2","webpack://_N_E/./hooks/ads/useDefaultAds/constants.ts","webpack://_N_E/./node_modules/next/dist/api/navigation.js","webpack://_N_E/./node_modules/rooks/dist/esm/utils/doesIdentifierMatchKeyboardEvent.js?e3c3","webpack://_N_E/./node_modules/rooks/dist/esm/hooks/useKey.js?7769"],"sourcesContent":["export const APP_NEXUS_SCRIPT = 'https://adsdk.microsoft.com/ast/ast.js';\nexport const RUBICON_DEMAND_MANAGER_PREBID_SCRIPT = 'https://micro.rubiconproject.com/prebid/dynamic/10908.js';\n\nexport const ADMIRAL_AD_BLOCK_DETECT_SCRIPT = `\n !(function(o, n, t)\n {\n t = o.createElement(n)\n , o = o.getElementsByTagName(n)[0]\n , t.async = 1\n , t.src = \"//rhetoricalloss.com/v2/0/lpvJm3_RkcS-vr_qgSHMbYB-jcbRkH2oNRB2URpg6t2W3jP_TPy9Na4D7qHs5MdytwG\"\n , o.parentNode.insertBefore(t, o);\n })\n (document, \"script\"), (function(o, n)\n {\n o[n] = o[n] || function()\n {\n (o[n].q = o[n].q || []).push(arguments);\n };\n })\n (window, \"admiral\");\n !(function(n, e, r, t)\n {\n function o()\n {\n if ((function o(t)\n {\n try\n {\n return (t = localStorage.getItem(\"v4ac1eiZr0\")) && 0 < t.split(\",\")[4];\n }\n catch (n)\n {}\n return !1;\n })())\n {\n var t = n[e].pubads();\n typeof t.setTargeting === r && t.setTargeting(\"admiral-engaged\", \"true\");\n }\n }\n (t = n[e] = n[e] || {}).cmd = t.cmd || []\n , typeof t.pubads === r ? o() : typeof t.cmd.unshift === r ? t.cmd.unshift(o) : t.cmd.push(o);\n })\n (window, \"googletag\", \"function\");\n`;\n","/* eslint-disable no-extra-parens */\nimport { useSearchParams } from 'next/navigation';\nimport Script from 'next/script';\nimport { isValidBoolean } from '../../../../../lib/utils/guardUtils/guardUtils';\nimport { selectAppConfig } from '../../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { selectLegal } from '../../../../../store/redux/common/dataLayer/legal/slices/legalSlice';\nimport { selectUserProfile } from '../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppDispatch, useAppSelector } from '../../../../../store/redux/storeHooks/hooks';\nimport { ADMIRAL_AD_BLOCK_DETECT_SCRIPT, APP_NEXUS_SCRIPT, RUBICON_DEMAND_MANAGER_PREBID_SCRIPT } from '../constants';\nimport {\n onLoadAdServerScript,\n onLoadDemandManagerScript,\n onPubmaticLoadIdentityHubScript\n} from '../slices/adScriptLoaderSlice';\nimport { PUBMATIC_IDENTITY_HUB_INLINE_SCRIPT_TAG_ID } from '../slices/constants';\n\nexport const AdScriptLoader = () => {\n const dispatch = useAppDispatch();\n // legal compliance\n const { complianceRequirements } = useAppSelector(selectLegal);\n const { config } = useAppSelector(selectAppConfig);\n const { requiresGDPRCompliance, disableAds } = complianceRequirements || {};\n const { adBlockDetectionEnabled } = config || {};\n\n // !isBot for Taboola\n const { userProfile } = useAppSelector(selectUserProfile);\n const { IsBot: isBot } = userProfile || {};\n\n const searchParams = useSearchParams();\n const wbPlatformParam = searchParams?.get('s');\n\n const disableAdScript = requiresGDPRCompliance && disableAds;\n\n const shouldLoadAdBlockDetectionScript = adBlockDetectionEnabled && !wbPlatformParam;\n if (disableAdScript || !isValidBoolean(requiresGDPRCompliance) || !isValidBoolean(disableAds) || isBot) {\n return null;\n }\n\n return (\n <>\n \n {shouldLoadAdBlockDetectionScript && (\n \n )}\n {!isBot && (\n \n )}\n \n );\n};\n","/* eslint-disable no-extra-parens */\n/* eslint-disable operator-linebreak */\n\nimport { useSearchParams } from 'next/navigation';\nimport { useEffect } from 'react';\nimport type { StdParameters } from '../../../components/types';\nimport {\n selectAppConfig,\n setAdsCookieDisplay,\n setAppStdParameters\n} from '../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { getAppConfig } from '../../../store/redux/common/dataLayer/appConfig/slices/appConfigThunks';\nimport type { PlatformKeys } from '../../../store/redux/common/dataLayer/appConfig/slices/types';\nimport { selectLegal } from '../../../store/redux/common/dataLayer/legal/slices/legalSlice';\nimport { selectUserProfile } from '../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppDispatch, useAppSelector } from '../../../store/redux/storeHooks/hooks';\nimport {\n getSourceProviderId,\n isNotificationsEnabled,\n isTaboolaAdEnabled,\n isTermsAndConditionsNotificationEnabled,\n isUseOfCookiesNotificationEnabled,\n shouldEnabledAds\n} from '../appStateUtils';\nimport {\n AD_TARGETING_QUERY_PARAM,\n APP_FORM_FACTOR,\n DT_SOURCE_PROVIDER_QUERY_PARAM_KEY,\n PLATFORM_QUERY_PARAM_KEY,\n SESSION_SOURCE_PROVIDER_ID_QUERY_PARAM,\n SOURCE_PROVIDER_DATA_SOURCES\n} from '../constants';\n\nexport const useAppState = () => {\n const { complianceRequirements } = useAppSelector(selectLegal);\n const { userProfile } = useAppSelector(selectUserProfile);\n const { config } = useAppSelector(selectAppConfig);\n const dispatch = useAppDispatch();\n const searchParams = useSearchParams();\n useEffect(() => {\n // TODO: consider retrieving this data on server and just passing to client since we already have it there on page load\n // we can use the server config data as initial page config data\n // we must be cautious with impact as it may increase the payload of our initial HTML\n dispatch(getAppConfig());\n }, [dispatch]);\n\n useEffect(() => {\n if (config && userProfile) {\n const { Os, OsVersion, DeviceId, Language } = userProfile;\n const { appVersion, appId } = config;\n\n const stdParameters = {\n os: Os,\n osVersion: OsVersion,\n appVersion,\n application: appId,\n cultureInfo: Language,\n formFactor: APP_FORM_FACTOR,\n userAgent: window.navigator.userAgent,\n appInstanceId: DeviceId,\n appId\n } as StdParameters;\n\n dispatch(setAppStdParameters(stdParameters));\n }\n }, [userProfile, config, dispatch]);\n\n useEffect(() => {\n if (config) {\n const appPlatformCode = searchParams?.get(PLATFORM_QUERY_PARAM_KEY) as PlatformKeys;\n const adTarget = searchParams?.get(AD_TARGETING_QUERY_PARAM) as string;\n const dtSourceProviderQueryParamValue = searchParams?.get(DT_SOURCE_PROVIDER_QUERY_PARAM_KEY) as string;\n const sourceProviderValueQueryParamValue = searchParams?.get(\n SESSION_SOURCE_PROVIDER_ID_QUERY_PARAM\n ) as string;\n const { taboola, platform, disableAds: isAdsDisabledInConfigs } = config;\n const { disableAds: isComplianceRequirementsDisableAd } = complianceRequirements || {};\n\n const enableAds = shouldEnabledAds(\n isComplianceRequirementsDisableAd,\n isAdsDisabledInConfigs,\n platform,\n appPlatformCode\n );\n const enableNotifications = isNotificationsEnabled(platform, appPlatformCode);\n const enableUseOfCookiesNotification = isUseOfCookiesNotificationEnabled(\n isNotificationsEnabled(platform, appPlatformCode),\n platform,\n appPlatformCode\n );\n const enableTermsAndConditionsNotification = isTermsAndConditionsNotificationEnabled(\n isNotificationsEnabled(platform, appPlatformCode),\n platform,\n appPlatformCode\n );\n const enableTaboola = isTaboolaAdEnabled(\n isComplianceRequirementsDisableAd,\n taboola?.Disabled,\n taboola?.LightHouseQueryParamDisableValue\n );\n\n const sourceProviderId = getSourceProviderId(\n SOURCE_PROVIDER_DATA_SOURCES.queryParam,\n dtSourceProviderQueryParamValue,\n sourceProviderValueQueryParamValue\n ) as string;\n\n dispatch(\n setAdsCookieDisplay({\n enableAds,\n enableNotifications,\n enableTermsAndConditionsNotification,\n enableTaboola,\n enableUseOfCookiesNotification,\n adTarget,\n sourceProviderId\n })\n );\n }\n }, [config, complianceRequirements, dispatch, searchParams]);\n};\n","import { useAppState } from '../../../../hooks/appState/_appRouterState/useAppState';\n\nexport const AppStateManagerWrapper = () => {\n useAppState();\n return null;\n};\n","import dynamic from 'next/dynamic';\nimport styled from 'styled-components';\nimport { useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport { selectManageLocationModal } from '../../dataLayer/slices/locationManagerPopupSlice';\n\nconst LazyLoadedModal = dynamic(() => import('./locationManagerDialog').then((mod) => mod.LocationManagerDialog), {\n ssr: false,\n loading: () => Loading Manage Locations Dialog\n});\n\nexport const LazyLoadedManageLocationDialog = () => {\n const { isLocationManagerPopupDisplayed } = useAppSelector(selectManageLocationModal);\n\n if (!isLocationManagerPopupDisplayed) {\n return null;\n }\n return ;\n};\n\nconst Container = styled.div`\n display: none;\n width: 0px;\n height: 0px;\n font-size: 0px;\n`;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable operator-linebreak */\n/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable prettier/prettier */\nimport { useState } from 'react';\nimport type { ModalProps } from 'react-responsive-modal';\nimport Modal from 'react-responsive-modal';\nimport styled from 'styled-components';\n\nimport {\n pressureUnitAbbreviations,\n pressureUnits,\n pressureUnitsEnum,\n speedUnits,\n speedUnitsEnum,\n temperatureUnitAbbreviations,\n temperatureUnits\n} from '@weatherbug/common-v2';\nimport { usePathname, useRouter } from 'next/navigation';\nimport { selectUserProfile } from '../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppSelector } from '../../../../store/redux/storeHooks/hooks';\nimport { translate } from '../../../utilities/translate';\nimport { SettingSelector } from '../settingSelector';\n\nexport interface SettingsPopupProps {\n open: boolean;\n onClose: () => void;\n}\n\nexport const SettingsPopup = ({ open = false, onClose }: SettingsPopupProps) => {\n // const dispatch = useAppDispatch();\n const { userProfile } = useAppSelector(selectUserProfile);\n const {\n DeviceId,\n TempUnit: prevTempUnit,\n WindUnit: preWindUnit,\n PressureUnit: prevPressureUnit\n } = userProfile || {};\n const router = useRouter();\n const pathname = usePathname();\n\n const [currentTempUnit, setCurrentTempUnit] = useState(userProfile?.TempUnit || 1);\n const [currentWindUnit, setCurrentWindUnit] = useState(userProfile?.WindUnit || 1);\n const [currentPressureUnit, setCurrentPressureUnit] = useState(userProfile?.PressureUnit || 1);\n // const [updateUnitsIsPending, setUpdateUnitsIsPending] = useState(false);\n\n const onCloseEvent = () => {\n if (\n DeviceId &&\n pathname &&\n (prevTempUnit !== currentTempUnit ||\n prevPressureUnit !== currentPressureUnit ||\n preWindUnit !== currentWindUnit)\n ) {\n // setUpdateUnitsIsPending(true);\n // dispatch(\n // setUnits({\n // appInstanceId: DeviceId,\n // unitval: currentTempUnit,\n // tempUnitVal: currentTempUnit,\n // windUnitVal: currentWindUnit,\n // pressureUnitVal: currentPressureUnit\n // })\n // )\n // .then(() => {\n // router.push(`${pathname}?wu=${currentWindUnit}&tu=${currentTempUnit}&pu=${currentPressureUnit}`, {\n // scroll: false\n // });\n // setUpdateUnitsIsPending(false);\n\n // onClose();\n // })\n // .catch(() => {\n // // Handle save user setting error UI\n // onClose();\n // });\n router.push(`${pathname}?su=${currentWindUnit}&tu=${currentTempUnit}&pu=${currentPressureUnit}`, {\n scroll: false\n });\n onClose();\n } else {\n onClose();\n }\n };\n\n return (\n \n \n {translate('settings')}\n \n \n \n \n \n \n \n );\n};\n\nconst modalStyles: ModalProps['styles'] = {\n closeIcon: {\n fill: '#555555',\n width: 48,\n height: 48,\n padding: 13\n },\n closeButton: {\n position: 'absolute',\n top: 3,\n right: 3,\n border: 'none',\n padding: 0,\n backgroundColor: '#ffffff'\n },\n overlay: {\n position: 'fixed',\n inset: 0,\n background: '#000000',\n opacity: 0.7,\n zIndex: 1000\n },\n modalContainer: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '100vh',\n width: '100vw',\n top: 0,\n left: 0,\n zIndex: 1001,\n position: 'fixed'\n },\n modal: {\n minWidth: 279,\n maxWidth: 792,\n margin: 'auto',\n position: 'relative',\n backgroundColor: '#ffffff'\n },\n root: {\n zIndex: 1000\n }\n};\n\nconst Container = styled.div`\n color: ${({ theme }) => theme.colors.strongText};\n width: 360px;\n margin-top: -15px;\n font-size: 16px;\n padding: 24px;\n ${({ theme }) => theme.mediaQueries.mobile} {\n width: 100%;\n }\n`;\n\nconst ModalHeader = styled.h1`\n font-family: ${({ theme }) => theme.typography.fontFamilies.primary};\n font-size: 18px;\n font-weight: 600;\n`;\n\nconst InnerContainer = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\n// const spin = keyframes`\n// to {\n// transform: rotate(360deg);\n// }\n// `;\n\n// const SpinnerOverlay = styled.div`\n// display: flex;\n// justify-content: center;\n// align-items: center;\n// background-color: rgba(255, 255, 255, 0.7);\n// z-index: 1009;\n// position: absolute;\n// inset: 0;\n// `;\n\n// const Spinner = styled.div`\n// width: 40px;\n// height: 40px;\n// border: 4px solid rgba(0, 0, 0, 0.1);\n// border-left-color: #09f;\n// border-radius: 50%;\n// animation: ${spin} 1s linear infinite;\n// `;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable prettier/prettier */\nimport { useState } from 'react';\nimport styled from 'styled-components';\nimport { SettingsPopup } from '../../../modules/settingsPopup/_appRouter/settingsPopup';\nimport { translate } from '../../../utilities/translate';\nimport GearIcon from '../../icons/gearIcon/gearIcon';\n\nexport interface SettingsContainerProps {\n isHamburgerMenuItem?: boolean;\n}\n\nconst SettingsContainer = ({ isHamburgerMenuItem = false }: SettingsContainerProps) => {\n const [showSettingsPopup, setShowSettingsPopup] = useState(false);\n\n const handleModal = (open: boolean) => {\n setShowSettingsPopup(open);\n };\n\n return (\n \n \n {showSettingsPopup && handleModal(false)} />}\n \n );\n};\n\nconst Button = styled.button>`\n font-family: ${({ theme }) => theme.typography.fontFamilies.secondary};\n display: flex;\n align-items: center;\n color: ${({ theme }) => theme.colors.base};\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n ${({ isHamburgerMenuItem }) => isHamburgerMenuItem && 'text-transform: uppercase;'}\n`;\n\nconst Container = styled.div>`\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: ${({ theme }) => theme.typography.fontFamilies.secondary};\n font-weight: 400;\n font-size: 14px;\n\n ${({ isHamburgerMenuItem }) =>\n isHamburgerMenuItem &&\n `\n padding: 30px 0px;\n justify-content: center;\n `};\n`;\n\nexport default SettingsContainer;\n","import styled, { keyframes } from 'styled-components';\nimport { HamburgerCloseIcon } from '../../../elements/icons/hamburgerCloseIcon/HamburgerCloseIcon';\nimport SettingsContainer from '../../../elements/settings/_appRouter/settingsContainer';\nimport { GroundTruthRoute, WeatherBugForAdvertisers } from '../../../utilities/routes/navRoutes';\nimport NavHamburgerList from '../../navHamburgerList/navHamburgerList';\n\ninterface HamburgerMenuProps {\n onClose: () => void;\n}\n\nconst HamburgerMenu = ({ onClose }: HamburgerMenuProps) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n {GroundTruthRoute.labelTranslationKey}\n \n {WeatherBugForAdvertisers.labelTranslationKey}\n \n \n \n );\n};\n\nconst containerKeyframes = keyframes`\n 0% {\n width: 0px;\n }\n 100% {\n width: 100%;\n }\n`;\n\nconst Container = styled.div`\n position: fixed;\n inset: 0;\n background-color: ${({ theme }) => theme.colors.brandBg + 'f2'};\n z-index: 999;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n overflow: auto;\n\n animation-name: ${containerKeyframes};\n animation-duration: 0.25s;\n animation-timing-function: ease-in-out;\n animation-delay: 0s;\n animation-iteration-count: 1;\n animation-direction: normal;\n animation-fill-mode: none;\n animation-play-state: running;\n`;\n\nconst TopContainer = styled.div`\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 30px;\n margin-bottom: 30px;\n`;\n\nconst BottomContainer = styled.div`\n overflow: auto;\n height: calc(100% - 160px);\n width: 100%;\n`;\n\nconst CloseIconContainer = styled.div`\n border-radius: 100%;\n width: 40px;\n height: 40px;\n border: 2px solid ${({ theme }) => theme.colors.base + '80'};\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n`;\n\nconst BrandContainer = styled.div`\n display: none;\n ${({ theme }) => theme.mediaQueries.mobile} {\n display: flex;\n max-height: 60px;\n bottom: 0px;\n left: 0px;\n width: 100%;\n padding: 16px 0px;\n text-align: center;\n justify-content: center;\n }\n`;\n\nconst BrandLink = styled.a`\n color: ${({ theme }) => theme.colors.base};\n text-decoration: none;\n font-size: 16px;\n font-weight: 600;\n line-height: 20.11px;\n text-align: left;\n`;\n\nconst CorporateLink = styled(BrandLink)`\n &::after {\n content: ' • ';\n color: ${({ theme }) => theme.colors.base};\n margin: 0 7px;\n }\n &:last-of-type::after {\n content: '';\n }\n`;\n\nexport default HamburgerMenu;\n","import Link from 'next/link';\nimport { useState } from 'react';\nimport styled from 'styled-components';\nimport HamburgerMenu from '../../../modules/hamburgerMenu/_appRouter/hamburgerMenu';\nimport { primaryNavRoutes } from '../../../utilities/routes/navRoutes';\nimport { HamburgerLogoIcon } from '../../icons/logos/hamburgerLogoIcon';\nimport { TextOnlyLogoIcon } from '../../icons/logos/textOnlyLogoIcon';\nimport { WeatherBugLargeIcon } from '../../icons/logos/weatherBugLargeIcon';\nimport { NavNonLinkItem } from '../../navNonLinkItem/navNonLinkItem';\n\nconst NavbarLogo = () => {\n const [hamburgerMenuOpen, setHamburgerMenuOpen] = useState(false);\n\n const toggleHamburgerMenu = () => {\n setHamburgerMenuOpen(!hamburgerMenuOpen);\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n {hamburgerMenuOpen && }\n \n \n );\n};\n\nconst LargeScreenLogoLink = styled(Link)`\n display: flex;\n align-items: center;\n ${({ theme }) => theme.mediaQueries.navHamburgerMenuQuery} {\n display: none;\n }\n`;\n\nconst HamburgerLogoContainer = styled.div`\n display: none;\n ${({ theme }) => theme.mediaQueries.navHamburgerMenuQuery} {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n } ;\n`;\n\nconst TextLogoContainer = styled.div`\n display: flex;\n margin-top: 4px;\n ${({ theme }) => theme.mediaQueries.mobile} {\n display: none;\n margin-top: 0;\n }\n`;\n\nconst ClickableContainer = styled.div`\n display: flex;\n cursor: pointer;\n`;\n\nexport default NavbarLogo;\n","import { useRef, useState, useCallback, useEffect } from 'react';\nimport { noop } from '../utils/noop.js';\n\n/**\r\n * useOutsideClickRef hook\r\n * Checks if a click happened outside a Ref. Handy for dropdowns, modals and popups etc.\r\n *\r\n * @param handler Callback to fire on outside click\r\n * @param when A boolean which which activates the hook only when it is true. Useful for conditionally enable the outside click\r\n * @returns An array with first item being ref\r\n * @see https://rooks.vercel.app/docs/useOutsideClick\r\n */\r\nfunction useOutsideClickRef(handler, when = true) {\r\n const savedHandler = useRef(handler);\r\n const [node, setNode] = useState(null);\r\n const memoizedCallback = useCallback((event) => {\r\n if (node && !node.contains(event.target)) {\r\n savedHandler.current(event);\r\n }\r\n }, [node]);\r\n useEffect(() => {\r\n savedHandler.current = handler;\r\n });\r\n const ref = useCallback((nodeElement) => {\r\n setNode(nodeElement);\r\n }, []);\r\n useEffect(() => {\r\n if (when) {\r\n document.addEventListener(\"click\", memoizedCallback, true);\r\n document.addEventListener(\"ontouchstart\", memoizedCallback, true);\r\n return () => {\r\n document.removeEventListener(\"click\", memoizedCallback, true);\r\n document.removeEventListener(\"ontouchstart\", memoizedCallback, true);\r\n };\r\n }\r\n return noop;\r\n }, [when, memoizedCallback]);\r\n return [ref];\r\n}\n\nexport { useOutsideClickRef };\n","export const userButtonClickEvent = 'user.button.click';\nexport const defaultStationName = 'WeatherBug';\n","/* eslint-disable operator-linebreak */\n/* eslint-disable prettier/prettier */\nimport styled from 'styled-components';\n\nimport { clearLocationSearchSuggestions } from '@weatherbug/common-v2';\nimport Link from 'next/link';\nimport { FavoriteLocation, Locality } from '../../../../../../lib/services/locationDataService/types';\nimport { isValidString } from '../../../../../../lib/utils/guardUtils/guardUtils';\nimport {\n selectAppConfig,\n selectPageRouteInfo\n} from '../../../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { getUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userThunks';\nimport { useAppDispatch, useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport { FavoriteLocationIcon } from '../../../../../elements/icons/favoriteLocation/favoriteLocationIcon';\nimport { defaultStationName } from '../../../locationConstants';\nimport { getAppRouterLocationURL } from '../../../utilities';\nimport { LocationAlert } from '../../locationAlert/locationAlert';\n\nconst FavoriteLocationIconHeight = 17;\nconst FavoriteLocationIconWidth = 17;\n\nexport interface FavoriteLocationsListProps {\n sortedFavoriteLocations: FavoriteLocation[];\n}\n\nexport const FavoriteLocationsList = ({ sortedFavoriteLocations }: FavoriteLocationsListProps) => {\n const dispatch = useAppDispatch();\n const currentPageRouteInfo = useAppSelector(selectPageRouteInfo);\n const { config, pageRouteInfo } = useAppSelector(selectAppConfig);\n const { pageId } = pageRouteInfo || {};\n const { pageIdsToSupportLocationChanges2, pageIdsToSupportLocationChanges } = config || {};\n const shouldSupportActivelLocationChanges =\n pageId &&\n !pageIdsToSupportLocationChanges?.includes(pageId) &&\n !pageIdsToSupportLocationChanges2?.includes(pageId as string);\n\n const handleFavoritesActiveLocationChange = async (location: Locality, url: string) => {\n if (shouldSupportActivelLocationChanges && url) {\n // AppRouter should use soft client side navigation use the Link to take our users to the localized paths\n // router.push(url);\n } else {\n if (isValidString(location.SlugName)) {\n dispatch(getUserProfile({ locationSlugName: location.SlugName }));\n dispatch(clearLocationSearchSuggestions());\n }\n }\n };\n\n return (\n \n {sortedFavoriteLocations.map((favoriteLocation, index) => {\n const stationRouteString = favoriteLocation?.Location?.Station?.RouteString;\n const locationRouteString = (favoriteLocation?.Location?.Locality?.RouteString ||\n favoriteLocation?.Location?.Locality?.SlugName) as string;\n const favoriteLocationLatitude = favoriteLocation?.Location?.Locality?.Latitude;\n const favoriteLocationLongitude = favoriteLocation?.Location?.Locality?.Longitude;\n const favoriteLocationId = favoriteLocation?.Location?.Id;\n // TODO:\n // Handle these changes when migrating Maps page is migrated\n // const { Latitude, Longitude } = favoriteLocation?.Location?.Locality || {};\n // const mapPageParams = `center=${Latitude},${Longitude},${defaultMapZoom}&layerId=${defaultLayerId}`;\n // const locUrlWithParams = pageId === 'maps' ? `${locationRouteString}/?${mapPageParams}` : locationRouteString;\n\n const updatedRouteString = stationRouteString\n ? `${locationRouteString}?station=${stationRouteString}`\n : locationRouteString;\n const location = favoriteLocation?.Location?.Locality;\n\n const url = currentPageRouteInfo?.appRouterBasePagePath\n ? getAppRouterLocationURL(currentPageRouteInfo?.appRouterBasePagePath, updatedRouteString)\n : null;\n\n if (location && favoriteLocationLatitude && favoriteLocationLongitude && favoriteLocationId && url) {\n return (\n \n handleFavoritesActiveLocationChange(location, url)}\n >\n \n \n {favoriteLocation?.Location?.Locality?.DisplayCompositeName}\n \n {favoriteLocation?.Location?.Station?.StationName ?? defaultStationName}\n \n \n \n \n \n );\n } else {\n return null;\n }\n })}\n \n );\n};\n\nconst LocationsList = styled.ul`\n display: flex;\n flex-direction: column;\n max-height: 335px;\n height: auto;\n overflow-y: auto;\n list-style: none;\n padding: 0;\n background-color: ${({ theme }) => theme.colors.base};\n margin: 0;\n`;\n\nconst ListItem = styled.li`\n padding-left: 10px;\n cursor: pointer;\n &:hover {\n background-color: ${({ theme }) => theme.colors.hoverBackgroundColor};\n }\n`;\n\nconst ListItemLink = styled(Link)`\n display: flex;\n align-items: center;\n color: ${({ theme }) => theme.colors.listItemLinkGray};\n font-size: 16px;\n font-weight: 400;\n text-overflow: ellipsis;\n overflow: hidden;\n text-decoration: none;\n padding-top: 10px;\n padding-bottom: 10px;\n border-bottom: 1px solid ${({ theme }) => theme.colors.borderBottomColor};\n`;\n\nconst DisplayNameContainer = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 70%;\n margin-left: 10px;\n`;\n\nconst StationContainer = styled.span`\n font-size: 11px;\n font-weight: 400;\n color: ${({ theme }) => theme.colors.stationContainerGray};\n`;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable prettier/prettier */\nimport sortBy from 'lodash.sortby';\nimport { useCallback, useEffect, useState } from 'react';\nimport styled from 'styled-components';\n\nimport { selectUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppDispatch, useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport GearIcon from '../../../../../elements/icons/gearIcon/gearIcon';\nimport { translate } from '../../../../../utilities/translate';\nimport { shouldDisplayLocationManagerPopup } from '../../../locationManagerPopup/dataLayer/slices/locationManagerPopupSlice';\nimport { FavoriteLocationsList } from './favoriteLocationsList';\n\nexport interface FavoriteLocationsDropdownProps {\n close: () => void;\n}\n\nexport const FavoriteLocationsDropdown = ({ close }: FavoriteLocationsDropdownProps) => {\n const dispatch = useAppDispatch();\n const { userProfile } = useAppSelector(selectUserProfile);\n const { FavoriteLocations: favoriteLocations } = userProfile || {};\n const [sortedFavoriteLocations, setSortedFavoriteLocations] = useState(favoriteLocations);\n\n const manageLocationsClick = useCallback(() => {\n dispatch(shouldDisplayLocationManagerPopup(true));\n close();\n }, [close, dispatch]);\n\n useEffect(() => {\n setSortedFavoriteLocations(sortBy(favoriteLocations, 'Position'));\n }, [favoriteLocations]);\n\n return (\n \n
{translate('favoriteLocations')}
\n {sortedFavoriteLocations && }\n \n \n {translate('manageLocations')}\n \n
\n );\n};\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 56px;\n right: 0;\n width: 100%;\n z-index: 99;\n`;\n\nconst Header = styled.div`\n padding: 6px 15px;\n font-size: 12px;\n font-weight: 400;\n line-height: 1.25;\n text-transform: uppercase;\n color: ${({ theme }) => theme.colors.base};\n background-color: ${({ theme }) => theme.colors.brandBg};\n`;\n\nconst ManageLocationsButton = styled.a`\n display: flex;\n align-items: center;\n font-size: 16px;\n font-weight: 400;\n text-transform: uppercase;\n padding: 0px;\n padding-left: 10px;\n padding-top: 12px;\n padding-bottom: 12px;\n color: ${({ theme }) => theme.colors.base};\n background-color: ${({ theme }) => theme.colors.brandBg};\n cursor: pointer;\n`;\n\nconst ManageLocationsText = styled.span`\n margin-left: 8px;\n`;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable operator-linebreak */\n/* eslint-disable prettier/prettier */\nimport { usePathname, useRouter } from 'next/navigation';\nimport {\n ChangeEvent,\n MutableRefObject,\n RefObject,\n useCallback,\n useDeferredValue,\n useEffect,\n useRef,\n useState\n} from 'react';\nimport { useKey } from 'rooks';\nimport styled from 'styled-components';\n\nimport {\n clearLocationSearchSuggestions,\n searchLocationBySearchString,\n setLocationSuggestionIndex\n} from '@weatherbug/common-v2';\nimport { type Locality } from '../../../../../../lib/services/locationDataService/types';\nimport { isValidString } from '../../../../../../lib/utils/guardUtils/guardUtils';\nimport { selectAppConfig } from '../../../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { selectUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { getUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userThunks';\nimport { useAppDispatch, useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport { SearchIcon } from '../../../../../elements/icons/search/searchIcon';\nimport { Input } from '../../../../../elements/input/input';\nimport { translate } from '../../../../../utilities/translate';\nimport { recentSearchLocationsSelector, setRecentSearchLocation } from '../../../dataLayer/slices/locationSlice';\nimport { selectManageLocationModal } from '../../../locationManagerPopup/dataLayer/slices/locationManagerPopupSlice';\nimport { getLocationUrl } from '../../../utilities';\nimport { keyCodes } from '../constants';\n\nexport interface LocationSearcherProps {\n toggleSuggestionPopup: (value: boolean) => void;\n}\n\nexport const LocationSearcher = ({ toggleSuggestionPopup }: LocationSearcherProps) => {\n const router = useRouter();\n const currentPath = usePathname();\n const recentSearchLocations = useAppSelector(recentSearchLocationsSelector);\n\n const { config, pageRouteInfo, stdParameters } = useAppSelector(selectAppConfig);\n const { authId, locationBaseUrl, pageIdsToSupportLocationChanges2, pageIdsToSupportLocationChanges, secret } =\n config || {};\n const { userProfile } = useAppSelector(selectUserProfile);\n const {\n CityName: cityName,\n DisplayCompositeName: displayCompositeName,\n TerritoryName: territoryName\n } = userProfile?.ActiveLocation?.Locality || {};\n const cityNameTerritoryName =\n isValidString(cityName) && isValidString(territoryName) ? `${cityName}, ${territoryName}` : '';\n const cityTerritoryName = displayCompositeName || cityNameTerritoryName;\n\n const dispatch = useAppDispatch();\n const locationSuggestionIndex = useAppSelector((state) => state.locationSearch.locationSuggestionIndex);\n const locationSearchResults = useAppSelector((state) => state.locationSearch.locationSearchResults);\n const manageLocationDialog = useAppSelector(selectManageLocationModal);\n const { isLocationManagerPopupDisplayed } = manageLocationDialog || {};\n const isRecentSearchLocationListDisplayed =\n locationSearchResults?.length > 0 ? false : !!recentSearchLocations?.length;\n const { pageId } = pageRouteInfo || {};\n const shouldSupportActivelLocationChanges =\n pageId &&\n pageIdsToSupportLocationChanges?.includes(pageId) &&\n !pageIdsToSupportLocationChanges2?.includes(pageId as string);\n\n const [locationInputHasFocus, setLocationInputHasFocus] = useState(false);\n const [searchText, setSearchText] = useState('');\n const deferredSearchText = useDeferredValue(searchText);\n const inputRef = useRef();\n\n useEffect(() => {\n if (locationInputHasFocus) {\n if (\n (locationSearchResults?.length && deferredSearchText) ||\n (recentSearchLocations?.length && !deferredSearchText)\n ) {\n toggleSuggestionPopup(true);\n }\n }\n if (!locationInputHasFocus && !deferredSearchText && !isLocationManagerPopupDisplayed) {\n dispatch(clearLocationSearchSuggestions());\n if (isRecentSearchLocationListDisplayed) {\n setTimeout(() => {\n toggleSuggestionPopup(false);\n }, 150);\n } else {\n toggleSuggestionPopup(false);\n }\n }\n }, [\n locationInputHasFocus,\n locationSearchResults,\n deferredSearchText,\n toggleSuggestionPopup,\n recentSearchLocations,\n dispatch,\n isRecentSearchLocationListDisplayed,\n isLocationManagerPopupDisplayed\n ]);\n\n useEffect(() => {\n if (searchText === '') {\n dispatch(clearLocationSearchSuggestions());\n }\n }, [searchText, dispatch]);\n\n useEffect(() => {\n if (!locationInputHasFocus && deferredSearchText) {\n setTimeout(() => {\n setSearchText('');\n }, 150);\n }\n }, [locationInputHasFocus, deferredSearchText]);\n\n useEffect(() => {\n if (authId && locationBaseUrl && secret && stdParameters && deferredSearchText) {\n dispatch(\n searchLocationBySearchString({\n searchString: deferredSearchText,\n baseUrl: locationBaseUrl,\n authId,\n secret,\n stdParameters: stdParameters as unknown as Record,\n verbose: true,\n refresh: true,\n maxResults: 10\n })\n );\n }\n }, [authId, deferredSearchText, dispatch, locationBaseUrl, secret, stdParameters]);\n\n const onSearchInputChange = useCallback((e: ChangeEvent) => {\n const searchText = e.currentTarget.value;\n setSearchText(searchText);\n }, []);\n\n const onFocusChanged = (inputHasFocus: boolean) => {\n setLocationInputHasFocus(inputHasFocus);\n };\n\n const escapePressed = () => {\n setSearchText('');\n };\n\n const enterPressed = () => {\n const selectedLocation = locationSearchResults[locationSuggestionIndex];\n\n if (selectedLocation && currentPath) {\n const locationRouteString = selectedLocation?.RouteString || selectedLocation?.SlugName;\n const url = getLocationUrl(currentPath, locationRouteString);\n\n dispatch(setRecentSearchLocation(selectedLocation as Locality));\n\n if (shouldSupportActivelLocationChanges && url) {\n router.push(url);\n } else {\n if (isValidString(selectedLocation.SlugName)) {\n dispatch(getUserProfile({ locationSlugName: selectedLocation.SlugName }));\n dispatch(clearLocationSearchSuggestions());\n }\n }\n setLocationInputHasFocus(false);\n inputRef.current?.blur();\n }\n };\n\n const upArrowPressed = (event: KeyboardEvent) => {\n if (searchText?.length > 1) {\n dispatch(setLocationSuggestionIndex(false));\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const downArrowPressed = (event: KeyboardEvent) => {\n if (searchText?.length > 1) {\n dispatch(setLocationSuggestionIndex(true));\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n useKey([keyCodes.escape], escapePressed, {\n target: inputRef as RefObject,\n eventTypes: ['keydown']\n });\n useKey([keyCodes.enter], enterPressed, {\n target: inputRef as RefObject,\n eventTypes: ['keydown']\n });\n useKey([keyCodes.arrowUp], upArrowPressed, {\n target: inputRef as RefObject,\n eventTypes: ['keydown']\n });\n useKey([keyCodes.arrowDown], downArrowPressed, {\n target: inputRef as RefObject,\n eventTypes: ['keydown']\n });\n\n const placeholderText =\n locationInputHasFocus && cityTerritoryName ? translate('searchInputPlaceholder') : cityTerritoryName;\n\n return (\n \n \n }\n value={searchText || ''}\n onSearchInputChange={onSearchInputChange}\n onFocusChanged={onFocusChanged}\n placeholder={placeholderText}\n />\n \n \n \n \n \n );\n};\n\nconst LocationInputContainer = styled.div`\n display: flex;\n align-items: center;\n position: relative;\n\n ${({ theme }) => theme.mediaQueries.mobile} {\n width: 100%;\n }\n`;\n\nconst LocationSearcherInputContentWrapper = styled.div`\n display: flex;\n align-items: center;\n\n ${({ theme }) => theme.mediaQueries.mobile} {\n width: 100%;\n }\n`;\nconst SearchIconContainer = styled.div`\n margin-left: -22px;\n transform: rotate(270deg);\n cursor: pointer;\n display: flex;\n`;\n","/* eslint-disable prettier/prettier */\n/* eslint-disable operator-linebreak */\nimport { clearLocationSearchSuggestions, isValidString } from '@weatherbug/common-v2';\nimport Link from 'next/link';\nimport { useEffect, useState } from 'react';\nimport styled from 'styled-components';\nimport { Locality } from '../../../../../../lib/services/locationDataService/types';\nimport {\n selectAppConfig,\n selectPageRouteInfo\n} from '../../../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { getUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userThunks';\nimport { useAppDispatch, useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport { setRecentSearchLocation } from '../../../dataLayer/slices/locationSlice';\nimport { getAppRouterLocationURL } from '../../../utilities';\n\nexport interface LocationSuggestionListItemProps {\n location: Locality;\n selected: boolean;\n}\n\nexport const LocationSuggestionListItem = ({ location, selected }: LocationSuggestionListItemProps) => {\n const [listItemIsSelected, setListItemIsSelected] = useState(false);\n const dispatch = useAppDispatch();\n\n const { config, pageRouteInfo } = useAppSelector(selectAppConfig);\n const { pageIdsToSupportLocationChanges2, pageIdsToSupportLocationChanges } = config || {};\n const { pageId } = pageRouteInfo || {};\n const locationSearchResults = useAppSelector((state) => state.locationSearch.locationSearchResults);\n const locationSuggestionIndex = useAppSelector((state) => state.locationSearch.locationSuggestionIndex);\n const currentPageRouteInfo = useAppSelector(selectPageRouteInfo);\n\n const locationRouteString = location?.RouteString || location?.SlugName;\n const url = currentPageRouteInfo?.appRouterBasePagePath\n ? getAppRouterLocationURL(currentPageRouteInfo?.appRouterBasePagePath, locationRouteString)\n : null;\n const shouldSupportActivelLocationChanges =\n !pageIdsToSupportLocationChanges?.includes(pageId as string) &&\n !pageIdsToSupportLocationChanges2?.includes(pageId as string);\n\n useEffect(() => {\n if (locationSearchResults?.length) {\n const selectedListItem = locationSearchResults[locationSuggestionIndex];\n if (selectedListItem && locationSearchResults?.length && location?.CityId === selectedListItem?.CityId) {\n setListItemIsSelected(true);\n } else if (listItemIsSelected) {\n setListItemIsSelected(false);\n }\n }\n }, [locationSuggestionIndex, location?.CityId, locationSearchResults, listItemIsSelected]);\n\n const handleSuggestionsActiveLocationChange = async () => {\n dispatch(setRecentSearchLocation(location));\n if (shouldSupportActivelLocationChanges && url) {\n // AppRouter should use soft client side navigation use the Link to take our users to the localized paths\n // router.push(url);\n } else {\n if (isValidString(location.SlugName)) {\n dispatch(getUserProfile({ locationSlugName: location.SlugName }));\n dispatch(clearLocationSearchSuggestions());\n }\n }\n };\n\n return (\n \n \n {location?.DisplayCompositeName}\n \n \n );\n};\n\ninterface ListItemProps {\n selected: boolean;\n}\nconst ListItem = styled.li`\n display: flex;\n height: 54px;\n border-bottom: ${({ theme }) => `1px solid ${theme.colors.borderBottomColor}`};\n border-left: ${({ theme, selected }) =>\n selected ? `4px solid ${theme.colors.theAccent}` : `4px solid ${theme.colors.base}`};\n cursor: pointer;\n color: ${({ theme, selected }) =>\n selected ? `${theme.colors.theAccent}` : `${theme.colors.locationSearchTextColor}`};\n &:hover {\n background-color: ${({ theme }) => theme.colors.dividerLineWeaker};\n }\n`;\n\nconst LocationLink = styled(Link)`\n display: block;\n padding: 16px;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: inherit;\n text-decoration: none;\n`;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable prettier/prettier */\n/* eslint-disable @typescript-eslint/ban-ts-comment */\nimport styled from 'styled-components';\nimport { selectUserProfile } from '../../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppSelector } from '../../../../../../store/redux/storeHooks/hooks';\nimport { recentSearchLocationsSelector } from '../../../dataLayer/slices/locationSlice';\nimport { LocationSuggestionListItem } from './locationSuggestionListItem';\n\nexport const LocationSuggestionList = () => {\n const { userProfile } = useAppSelector(selectUserProfile);\n const recentSearchLocations = useAppSelector(recentSearchLocationsSelector);\n const { CityId } = userProfile?.ActiveLocation?.Locality || {};\n\n const locationSearchResults = useAppSelector((state) => state.locationSearch.locationSearchResults);\n const recentSearchLocationsLength = recentSearchLocations?.length | 0;\n const hasResults = locationSearchResults?.length > 0 || recentSearchLocationsLength > 0;\n const suggestionLocations = locationSearchResults?.length > 0 ? locationSearchResults : recentSearchLocations;\n\n return (\n \n {suggestionLocations?.map((location) => {\n return (\n \n );\n })}\n \n );\n};\n\ninterface ContainerProps {\n hasResults: boolean;\n}\nconst Container = styled.ul`\n position: absolute;\n top: 38px;\n left: 0;\n right: 0;\n color: ${({ theme }) => theme.colors.listItemLinkGray};\n background-color: ${({ theme }) => theme.colors.base};\n list-style: none;\n font-weight: 400;\n font-size: 16px;\n z-index: 100;\n padding: 0;\n border-top: ${({ theme, hasResults }) => (hasResults ? `1px solid ${theme.colors.borderBottomColor}` : '')};\n`;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable prettier/prettier */\nimport React from 'react';\nimport { useOutsideClickRef } from 'rooks';\nimport styled from 'styled-components';\n\nimport { selectUserProfile } from '../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppSelector } from '../../../../../store/redux/storeHooks/hooks';\nimport { ArrowIcon } from '../../../../elements/icons/arrow/arrowIcon';\nimport { ArrowDirections } from '../../../../elements/icons/iconConstants';\nimport { FavoriteLocationButton } from '../favoriteLocationButton/favoriteLocationButton';\nimport { FavoriteLocationsDropdown } from '../favoriteLocationsDropdown/_appRouterComponents/favoriteLocationsDropDown';\nimport { LocationAlert } from '../locationAlert/locationAlert';\nimport { LocationSearcher } from '../locationSearcher/_appRouterComponents/locationSearcher';\nimport { LocationSuggestionList } from '../locationSuggestionList/_appRouterComponents/locationSuggestionList';\n\nexport interface LocationSelectorViewParams {\n toggleLocationSuggestionPopup: (value: boolean) => void;\n toggleFavoriteLocationsDropdown: () => void;\n showFavoriteLocationsDropdown: boolean;\n latitude: number;\n longitude: number;\n activeLocationId: string;\n setShowFavoriteLocationsDropdown: React.Dispatch>;\n showLocationSuggestionPopup: boolean;\n}\n\nconst defaultAlertsRoute = 'https://www.weatherbug.com/alerts/';\n\nexport const LocationSelectorView = ({\n toggleLocationSuggestionPopup,\n toggleFavoriteLocationsDropdown,\n showFavoriteLocationsDropdown,\n latitude,\n longitude,\n activeLocationId,\n setShowFavoriteLocationsDropdown,\n showLocationSuggestionPopup\n}: LocationSelectorViewParams) => {\n const { userProfile } = useAppSelector(selectUserProfile);\n const { SlugName } = userProfile?.ActiveLocation?.Locality || {};\n\n const [containerRef] = useOutsideClickRef(() => setShowFavoriteLocationsDropdown(false));\n const locationAlertRoute = SlugName ? `${defaultAlertsRoute}${SlugName}` : defaultAlertsRoute;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n {showFavoriteLocationsDropdown && (\n setShowFavoriteLocationsDropdown(false)} />\n )}\n {showLocationSuggestionPopup && }\n \n );\n};\n\nconst Container = styled.div`\n display: flex;\n height: 54px;\n align-items: center;\n position: relative;\n border-left: 1px solid ${({ theme }) => theme.colors.listItemBorderGray};\n color: ${({ theme }) => theme.colors.listItemLinkGray};\n ${({ theme }) => theme.mediaQueries.mobile} {\n display: grid;\n grid-template-columns: 23px 1fr 23px 33px;\n justify-content: center;\n width: 100%;\n max-width: 100%;\n border-left: none;\n gap: 0.2rem;\n }\n`;\n\nconst ArrowContainer = styled.div`\n display: flex;\n padding-left: 16px;\n padding-right: 16px;\n cursor: pointer;\n height: 56px;\n align-items: center;\n justify-content: center;\n margin-left: 4px;\n &:hover {\n background-color: ${({ theme }) => theme.colors.hoverBackgroundColor};\n }\n ${({ theme }) => theme.mediaQueries.mobile} {\n width: 100%;\n padding: 0;\n margin-left: 0;\n }\n`;\n\nconst AlertContainer = styled.div`\n display: flex;\n height: 54px;\n border-left: 1px solid ${({ theme }) => theme.colors.listItemBorderGray};\n align-items: center;\n ${({ theme }) => theme.mediaQueries.mobile} {\n border-left: none;\n width: 100%;\n }\n`;\n\nconst LocationAlertLink = styled.a`\n display: flex;\n height: 100%;\n align-items: center;\n justify-content: center;\n &:hover {\n background-color: ${({ theme }) => theme.colors.hoverBackgroundColor};\n }\n`;\n","/* eslint-disable operator-linebreak */\n/* eslint-disable prettier/prettier */\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { getNotificationsStatus } from '@weatherbug/common-v2';\nimport { isValidNumber, isValidString } from '../../../../../lib/utils/guardUtils/guardUtils';\nimport { selectAppConfig } from '../../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { selectUserProfile } from '../../../../../store/redux/common/dataLayer/user/slices/userSlice';\nimport { useAppDispatch, useAppSelector } from '../../../../../store/redux/storeHooks/hooks';\nimport { LocationSelectorView } from './locationSelectorView';\n\nconst LocationSelector = () => {\n const dispatch = useAppDispatch();\n const { config, stdParameters } = useAppSelector(selectAppConfig);\n const { authId, notificationsBaseUrl: baseUrl, secret } = config || {};\n const { userProfile } = useAppSelector(selectUserProfile);\n const { ActiveLocation } = userProfile || {};\n const activeLocationId = ActiveLocation?.Id;\n const { Latitude, Longitude } = ActiveLocation?.Locality || {};\n\n const [showFavoriteLocationsDropdown, setShowFavoriteLocationsDropdown] = useState(false);\n const [showLocationSuggestionPopup, setShowLocationSuggestionPopup] = useState(false);\n\n useEffect(() => {\n if (\n isValidString(baseUrl) &&\n isValidString(authId) &&\n isValidString(secret) &&\n isValidString(secret) &&\n isValidNumber(Latitude) &&\n isValidNumber(Longitude)\n ) {\n dispatch(\n getNotificationsStatus({\n baseUrl: baseUrl as string,\n authId: authId as string,\n secret: secret as string,\n latitude: Latitude as number,\n longitude: Longitude as number,\n stdParameters: stdParameters as unknown as Record,\n verbose: false,\n refresh: true,\n emLocationId: activeLocationId as string\n })\n );\n }\n }, [Latitude, Longitude, activeLocationId, authId, baseUrl, dispatch, secret, stdParameters]);\n\n const toggleLocationSuggestionPopup = useCallback(\n (open: boolean) => {\n const newValue = !!open;\n if (newValue !== showLocationSuggestionPopup) {\n if (showFavoriteLocationsDropdown) {\n setShowFavoriteLocationsDropdown(false);\n }\n setShowLocationSuggestionPopup(newValue);\n }\n },\n [showLocationSuggestionPopup, showFavoriteLocationsDropdown]\n );\n\n const toggleFavoriteLocationsDropdown = useCallback(() => {\n if (showLocationSuggestionPopup) {\n setShowFavoriteLocationsDropdown(false);\n }\n setShowFavoriteLocationsDropdown(!showFavoriteLocationsDropdown);\n }, [showLocationSuggestionPopup, showFavoriteLocationsDropdown]);\n\n return (\n \n );\n};\n\nexport default LocationSelector;\n","import styled from 'styled-components';\nimport NavbarLogo from '../../../elements/navbarLogo/_appRouter/navbarLogo';\nimport LocationSelector from '../../location/locationSelector/_appRouterComponents/locationSelector';\nimport NavPrimaryList from '../../navPrimaryList/navPrimaryList';\n\nexport const PrimaryNavbar = () => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Container = styled.header`\n display: flex;\n width: 100%;\n height: 54px;\n background-color: ${({ theme }) => theme.colors.base};\n font-family: ${({ theme }) => theme.typography.fontFamilies.secondary}, sans-serif;\n padding-left: 25px;\n justify-content: space-between;\n align-items: center;\n\n ${({ theme }) => theme.mediaQueries.mobile} {\n margin: auto;\n max-width: 100%;\n padding-left: 3%;\n padding-right: 3%;\n position: relative;\n }\n\n ${({ theme }) => theme.mediaQueries.large} {\n justify-content: center;\n padding-left: 0px;\n }\n`;\n\nconst NavContainer = styled.nav`\n display: flex;\n justify-content: flex-start;\n align-items: center;\n gap: 38px;\n ${({ theme }) => theme.mediaQueries.mobile} {\n gap: 0;\n }\n`;\n\nconst NavContentWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n ${({ theme }) => theme.mediaQueries.large} {\n max-width: calc(1218px + 8%);\n padding-left: 4%;\n padding-right: 4%;\n }\n ${({ theme }) => theme.mediaQueries.mobile} {\n gap: 0.7rem;\n }\n`;\n","import styled from 'styled-components';\nimport NavLinkItem from '../../../elements/navLinkItem/navLinkItem';\nimport { NavNonLinkItem } from '../../../elements/navNonLinkItem/navNonLinkItem';\nimport SettingsContainer from '../../../elements/settings/_appRouter/settingsContainer';\nimport { utilityNavRoutes } from '../../../utilities/routes/navRoutes';\nimport { translate } from '../../../utilities/translate';\nimport { SignInOutWrapper } from '../../auth/signInOutWrapper/signInOutWrapper';\n\nconst NavUtilityList = () => {\n return (\n \n \n \n \n {utilityNavRoutes.map(({ path, labelTranslationKey }) => {\n return (\n \n );\n })}\n \n \n );\n};\n\nconst StyledUtilityList = styled.ul`\n display: flex;\n color: ${({ theme }) => theme.colors.base};\n height: 30px;\n flex: 1 1 0%;\n justify-content: flex-end;\n align-items: center;\n margin: 0px 9px 0px 0px;\n list-style: none;\n\n li:not(:last-child) {\n &:after {\n content: '';\n display: flex;\n margin: 3.5px 8px 2px;\n width: 3px;\n height: 3px;\n background-color: ${({ theme }) => theme.colors.base};\n border-radius: 50%;\n opacity: 0.5;\n align-items: center;\n }\n }\n\n ${({ theme }) => theme.mediaQueries.mobile} {\n display: none;\n }\n`;\n\nexport default NavUtilityList;\n","import styled from 'styled-components';\nimport NavLinkItem from '../../../elements/navLinkItem/navLinkItem';\nimport { GroundTruthRoute, WeatherBugForAdvertisers } from '../../../utilities/routes/navRoutes';\nimport NavUtilityList from '../../navUtilityList/_appRouter/navUtilityList';\n\nexport const UtilityNavbar = () => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nconst Container = styled.nav`\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n height: 30px;\n padding: 7px 0px 6px 0px;\n background-color: ${({ theme }) => theme.colors.brandBg};\n\n ${({ theme }) => theme.mediaQueries.mobile} {\n display: none;\n }\n\n ${({ theme }) => theme.mediaQueries.large} {\n justify-content: center;\n }\n`;\n\nconst UtilityNavContentWrapper = styled.div`\n display: flex;\n align-items: center;\n width: 100%;\n ${({ theme }) => theme.mediaQueries.large} {\n max-width: calc(1218px + 8%);\n padding-left: 4%;\n padding-right: 4%;\n }\n`;\n","import { PrimaryNavbar } from '../../../modules/primaryNavbar/_appRouterComponents/primaryNavbar';\nimport { UtilityNavbar } from '../../../modules/utilityNavbar/_appRouter/utilityNavbar';\n\nexport const Navbar = () => {\n return (\n <>\n \n \n \n );\n};\n","import { useMemo } from 'react';\nimport styled from 'styled-components';\nimport { DisplayAdWidgetWrapper } from '../../../../components/modules/ads/displayAds/widget/displayAdWidgetWrapper';\nimport { useDeviceType } from '../../../../hooks/common/useDeviceType/useDeviceType';\nimport { selectAppConfig } from '../../../../store/redux/common/dataLayer/appConfig/slices/appConfigSlice';\nimport { useAppSelector } from '../../../../store/redux/storeHooks/hooks';\n\nexport const Persistent320x50MobileWebAd = () => {\n const { isMobile } = useDeviceType();\n const { pageRouteInfo, config } = useAppSelector(selectAppConfig);\n const { pageId } = pageRouteInfo || {};\n\n const { persistent320x50AdForMobileWeb } = config || {};\n\n const pageCfg = useMemo(() => {\n if (!persistent320x50AdForMobileWeb?.ConfiguredPagesWithPersistent320x50Ads?.length || !pageId) {\n return;\n }\n\n const pageCfg = persistent320x50AdForMobileWeb?.ConfiguredPagesWithPersistent320x50Ads?.find(\n (cfg) => cfg?.PageId === pageId\n );\n\n return pageCfg;\n }, [persistent320x50AdForMobileWeb, pageId]);\n\n if (!isMobile || !pageCfg || !pageCfg?.IsEnabled) {\n return null;\n }\n\n return (\n \n \n \n );\n};\n\nconst Container = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n background-color: #2f6e8c;\n padding: 7px;\n`;\n","import { useEffect, useState } from 'react';\nimport { Persistent320x50MobileWebAd } from './persistent320x50MobileWebAd';\n\nexport const Persistent320x50Renderer = () => {\n const [isClient, setIsClient] = useState(false);\n\n useEffect(() => {\n setIsClient(true);\n }, []);\n return isClient ? : null;\n};\n","'use client';\n\nimport styled from 'styled-components';\nimport { NotificationsFooter } from '../../../components/modules/notificationsFooter/notificationsFooter';\nimport { Persistent320x50Renderer } from '../adComponents/persistent320x50MobileWebAd/persistent320x50Renderer';\n\nexport const FloatingSectionDisplay = () => {\n return (\n \n \n \n \n );\n};\n\nconst Container = styled.div`\n position: fixed;\n display: flex;\n flex-direction: column;\n width: 100%;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 99;\n`;\n","'use client';\n\nimport { type ReactNode } from 'react';\nimport Footer from '../../../components/layouts/footer/footer';\nimport { Navbar } from '../../../components/layouts/navbar/_appRouterComponents/navbar';\nimport { SmartAppBannerLazyLoad } from '../../../components/modules/smartAppBanner/smartAppBannerLazyLoad';\nimport { FloatingSectionDisplay } from './floatingSectionDisplay';\n\ntype BaseLayoutProps = {\n children: ReactNode;\n};\n\nexport const BaseLayout = ({ children }: BaseLayoutProps) => {\n return (\n <>\n \n \n {children}\n \n