(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,553329,e=>{"use strict";async function t(e){try{return{data:await e,error:null}}catch(e){return{data:null,error:e}}}e.s(["tryCatch",0,t])},776169,809991,e=>{"use strict";var t=e.i(546446),r=e.i(889753),i=e.i(301904),a=e.i(901351),n=e.i(310847),l=e.i(528600),s=e.i(617874),o=e.i(858040),c=e.i(553329),u=e.i(592121),d=e.i(245943);let p=(0,e.i(695881).createLogger)("useMapSettings");e.s(["WEB_MAP_SETTINGS_PLATFORM",0,"twc","useMapSettings",0,function(e="twc"){let{user:{isUserLoggedIn:t}}=(0,l.useUser)();return{saveMapSettings:(0,u.useCallback)(async r=>{if(!t)return!1;let{error:i}=await (0,c.tryCatch)(a.upsxClient.preference.updateMapSettings(e,r));if(!i)return!0;if(i instanceof d.APIError&&404===i.code){let{error:t}=await (0,c.tryCatch)(a.upsxClient.preference.createMapSettings(e,r));return!t||(p.warn("Failed to create map settings",t),!1)}return p.warn("Failed to update map settings",i),!1},[t,e])}}],809991),e.s(["usePreferences",0,function(){let{user:{isUserLoggedIn:e}}=(0,l.useUser)(),[u,d]=(0,t.useAtom)(r.userPreferencesAtom),[p,f]=(0,t.useAtom)(n.wxuUserPreferenceAtom),m=async()=>{let{data:e,error:t}=await (0,c.tryCatch)(a.upsxClient.preference.getMapSettings("twc"));if(t||!e)return null;let{animationSpeed:r,autoplay:i,opacity:n,roadOverlay:l,style:s}=e,o={...void 0!==r&&{animationSpeed:r},...void 0!==i&&{autoplay:i},...void 0!==n&&{opacity:n},...void 0!==l&&{roadOverlay:l},...void 0!==s&&{style:s}};return Object.keys(o).length>0?o:null},y=async e=>{try{await a.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},h=async(t,r=!0)=>{try{let i,a=(i={...u,...t},d(i),f({...p,...t,locations:i.locations}),i);if(t?.unit){let e=(0,s.unitsSystemByName)(t.unit),r=e?.code||"e";(0,o.setCookie)(s.UNITS_COOKIE_KEY,r,{domain:"weather.com"})}return r&&e&&await y(a),{success:!0}}catch(e){return console.error("Failed to update preferences:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update preferences"}}};return{syncPreferencesFromUpsx:async()=>{try{let[e,t]=await Promise.all([a.upsxClient.preference.getPreference(),m()]);if(!e?.userID)return null;let{mapSettings:r,...n}=e,l={...n,mapSettings:{...i.DEFAULT_MAP_SETTINGS,...t}};return h(l,!1),l}catch{return null}},updatePreferences:h}}],776169)},491045,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),i=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,r);e.s(["purchaseSourceAttributionAtom",0,i])},185312,(e,t,r)=>{t.exports=e.r(16129)},318849,e=>{"use strict";let t=!1,r="upsx-recent-purchase-at";e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"hasRecentPurchase",0,e=>{try{let t=localStorage.getItem(r);if(!t)return!1;let i=Number(t);if(!Number.isFinite(i))return!1;return Date.now()-it,"markRecentPurchase",0,()=>{try{localStorage.setItem(r,String(Date.now()))}catch{}}])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,i){var a;let n,l=(0,t.useStore)(i),s=(a=l,(n=r.get(a))||(n=new WeakSet,r.set(a,n)),n);for(let[t,...r]of e)(!s.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(s.add(t),l.set(t,...r))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},513539,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(null),i=(0,t.atom)(null);e.s(["activeEventAtom",0,i,"layoutStateAtom",0,r])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),i=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let a=(0,i.useStore)(),n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{for(let[e,t]of n.current)a.get(e)!==t&&a.set(e,t)})}])},688070,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["isWebViewOnlyAtom",0,t])},328343,562209,e=>{"use strict";var t=e.i(592121),r=e.i(546446),i=e.i(737801),a=e.i(688070);e.s(["useEnrolledInExperimentEvent",0,()=>{let e=(0,i.useEventAttributes)(),n=(0,r.useAtomValue)(a.isWebViewOnlyAtom);return(0,t.useCallback)((t,r={})=>{if(n)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!t)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!t.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${t.flag_key} - no experiment_key (feature flag only)`);try{let i={...e,newVariant:t.variant||"",newExperiment:t.flag_key,newExperimentKey:t.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,i,r),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${t.flag_key||"unknown"}:${t.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[e,n])}],328343);var n=e.i(546584),l=e.i(553329);let s="production"!==n.default.env.VERCEL_TARGET_ENV,o=new Set;e.s(["resetTrackedExposures",0,function(){o.clear()},"trackAmplitudeExposure",0,function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){s&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){s&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let i=`${e.flag_key}::${e.variant??""}`;if(o.has(i)){s&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${i}`);return}o.add(i);let a={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:s?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,l.tryCatch)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a),keepalive:!0}));return r?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",r):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):s&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}],562209)},283366,e=>{"use strict";e.s(["getExposureVariantOverride",()=>y,"resetExposures",()=>h,"useExposure",()=>g]);var t=e.i(592121),r=e.i(695881),i=e.i(333350),a=e.i(358273),n=e.i(742436);let l=(0,r.createLogger)("useExposure"),s="wxu-exp-exposed:",o=new Set,c=()=>{try{return(0,a.getMetricsSession)()?.sessionId||null}catch{return null}},u=e=>{try{let t=localStorage.getItem(s+e);return new Set(t?JSON.parse(t):[])}catch{return new Set}},d=(e,t)=>{try{for(let t=localStorage.length-1;t>=0;t--){let r=localStorage.key(t);r?.startsWith(s)&&r!==s+e&&localStorage.removeItem(r)}localStorage.setItem(s+e,JSON.stringify([...t]))}catch{}},p=e=>{if(0===o.size)return;let t=u(e);for(let e of o)t.add(e);d(e,t),o.clear()},f=e=>{let t=c();return t?(p(t),u(t).has(e)):o.has(e)},m=new Map;function y(e){return m.get(e)}function h(){o.clear(),m.clear();let e=c();if(e)try{localStorage.removeItem(s+e)}catch{}}function g(e,r){let a=void 0!==r,s=r?.variant,y=(0,t.useContext)(n.ExperimentContext);(0,t.useEffect)(()=>{if(!i.default||!y||f(e)||a&&void 0===s)return;let{client:t}=y;if(!t)return;let r=()=>{if(!f(e)){(e=>{let t=c();if(!t)return o.add(e);p(t);let r=u(t);r.add(e),d(t,r)})(e),void 0!==s&&m.set(e,s);try{t.exposure(e)}catch(e){l.error("Failed to track exposure:",e)}}};window.mParticle?.isInitialized?.()?r():window.mParticle?.ready?.(r)},[y,e,a,s])}},742436,e=>{"use strict";e.s(["ExperimentContext",()=>m,"ExperimentProvider",()=>y,"default",()=>g,"useExperimentContext",()=>h],742436);var t=e.i(546584),r=e.i(699173),i=e.i(592121),a=e.i(185312),n=e.i(333350),l=e.i(546446),s=e.i(328343),o=e.i(158662),c=e.i(528600),u=e.i(562209),d=e.i(283366);let p="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",f="production"!==t.default.env.VERCEL_TARGET_ENV,m=(0,i.createContext)(null),y=({children:e,scriptSrc:t})=>{let y=(0,s.useEnrolledInExperimentEvent)(),h=(0,l.useSetAtom)(o.experimentJoinListAtom),{user:g}=(0,c.useUser)(),[v,w]=(0,i.useState)(!1),[x,E]=(0,i.useState)(!1),[,b]=(0,i.useState)(0),C=(0,i.useRef)(void 0),T=(0,i.useRef)(void 0);C.current=g.userID||void 0,T.current=g.anonId||void 0;let A=(0,i.useRef)(new Set),I=(0,i.useRef)({}),S=function(e,t){let r=(0,i.useRef)(null),[a,l]=(0,i.useState)(!1),s=(0,i.useRef)(e);return s.current=e,(0,i.useEffect)(()=>{if(!a&&n.default&&p&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{r.current=window.Experiment.initialize(p,{debug:f,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!1,exposureTrackingProvider:{track:e=>{try{s.current(e),f&&console.debug("[Experiment] Exposure tracked:",e)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},source:"localStorage"}),l(!0),f&&console.debug("[Experiment] SDK initialized (will fetch from API)")}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[a,t]),r.current}((0,i.useCallback)(e=>{let t=(0,d.getExposureVariantOverride)(e.flag_key),r=void 0!==t?{...e,variant:t}:e,i=`${r.flag_key}::${r.variant??""}`;if(A.current.has(i))return;A.current.add(i);let[a]=JSON.parse(JSON.stringify(Object.entries({[r.flag_key]:{key:r.variant}}).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",i=Math.floor(Date.now()/1e3);return`${e},${r},${i}`})));a&&(I.current={...I.current,[r.flag_key]:a},h(JSON.stringify(Object.values(I.current)))),y(r),(0,u.trackAmplitudeExposure)({exposure:r,userId:C.current,deviceId:T.current})},[y,h]),v);return(0,i.useEffect)(()=>{(async()=>{if(!S)return;let e=g.anonId;if(!e&&!g.userID){f&&console.debug("[Experiment] No user identifier available"),E(!0);return}let t={device_id:e,...g.userID?{user_id:g.userID}:{},user_properties:{}};f&&console.debug("[Experiment] Fetching experiments from API for user:",t);try{await S.fetch(t)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{E(!0)}})()},[S,g.anonId,g.userID]),(0,i.useEffect)(()=>{A.current.clear(),(0,u.resetTrackedExposures)(),(0,d.resetExposures)(),I.current={},h(null),b(e=>e+1)},[g.userID,h]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{src:t,strategy:"afterInteractive",onLoad:()=>{w(!0),f&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,r.jsx)(m.Provider,{value:{client:S,variant:(e,t)=>{if(!S)return t;let r=S.variant(e,t);return f&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!S)return Promise.resolve();if(!e){let e=g.anonId;if(e||g.userID){let t={device_id:e,...g.userID?{user_id:g.userID}:{},user_properties:{}};return S.fetch(t)}}return S.fetch(e)},isFetchComplete:x},children:e})]})},h=()=>{let e=(0,i.useContext)(m);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e},g=y},456215,e=>{"use strict";e.s(["isSnowCastWebView",0,function(e){return"snowcast"===e||e.startsWith("snowcast-")},"isWebViewIos",0,function(e){return"ios"===e||e.endsWith("-ios")}])},647292,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["webViewPlatformAtom",0,t])},630986,e=>{"use strict";var t=e.i(546446),r=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(r.metricsArticleDataAtom)])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},598513,e=>{"use strict";var t=e.i(947118),r=e.i(737801),i=e.i(592121);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",a=(0,t.useIsInitialized)(),n=(0,r.useEventAttributes)();return(0,i.useCallback)((t,r={})=>{let i={...n,...t};if(!a)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,i),r.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[n,a])}])},269153,e=>{"use strict";var t=e.i(546446),r=e.i(763886),i=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(r.partnerAtom)===i.Partner.SAMSUNG}])},559421,e=>{"use strict";var t=e.i(961123),r=e.i(89887),i=e.i(64412),a=e.i(942400),n=e.i(269153),l=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:o}=(0,i.useLocation)(),c=(0,a.usePageLocale)(),u=(0,n.useIsSamsungPartner)();if(!(0,l.useIsClient)()||u)return;let d=e?.canonicalLocation,p=e?.featureId;if(!(d?.length||p&&!s.includes("/l/")))return;let f=o?.canonicalID;if(f)return(0,r.buildLocationCanonicalBase)(f,c);if(s.includes("/byFeatureId/"))return;let m=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return m.substring(0,m.lastIndexOf("/"))}])},683199,e=>{"use strict";var t=e.i(592121),r=e.i(546446),i=e.i(491045),a=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,r.useSetAtom)(i.purchaseSourceAttributionAtom),n=(0,r.useAtomValue)(a.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:r,sourceUpsellPlacement:i})=>{e({sourcePage:n||null,sourceModule:t,sourceElement:r,sourceUpsellPlacement:i??null})},[e,n])}])},512134,e=>{"use strict";var t=e.i(592121);e.s(["useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e}])},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,i){return`${t(e,r)}/${i}`}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,navType:"radar",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],r=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType]));let i=Object.fromEntries(t.map(e=>[e.suffix,e.pageType])),a=Object.fromEntries(t.map(e=>[e.pageType,e.base])),n=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),l=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),s=Object.fromEntries(t.map(e=>[e.pageType,e.navType]));t.filter(e=>"forecast"===e.navType).map(e=>e.pageType),t.filter(e=>"radar"===e.navType).map(e=>e.pageType);let o=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let c=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,a,"CANONICAL_ELIGIBLE_BY_PAGE",0,o,"CANONICAL_PAGE_TYPES",0,r,"PAGE_TYPE_TO_SUFFIX",0,l,"PAGE_TYPE_TO_URL_KEY",0,n,"SIDEBAR_CANONICAL_LINKS",0,c,"navTypeForSuffix",0,function(e){let t=e?i[e]:void 0;return t?s[t]:null}])},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),i=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:a,canonicalID:n,featureId:l,placeId:s,canonicalBasePath:o,skipCanonical:c=!1}){let u=i.PAGE_TYPE_TO_SUFFIX[e],d=i.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return o&&d?`${o}/${u}`:d&&n?(0,t.buildLocationCanonicalPath)(n,a,u):(0,r.interpolateLocationUrl)(r.URLS[i.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:a,locId:s??l??"",featureId:l}:{locale:a,locId:s??""})}])},16689,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCmsBaseUrl=function(){return window.location.host}},734357,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getVideoNavLink=n;let i=e.r(426606),a=e.r(16689);async function n({channel:e,language:t="en-US",partner:r,contentQueryId:l}){let s=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];r&&s.push(encodeURIComponent(r));let o=l?`?cq=${encodeURIComponent(l)}`:"",c=`https://${(0,a.getCmsBaseUrl)()}/${s.join("/")}${o}`,u=await (0,i.fetchJsonWithoutCredentials)(c);return u&&"url"in u?u.url??null:null}},514514,e=>{"use strict";var t=e.i(592121);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:l,className:s="",children:o,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...a,width:r,height:r,stroke:e,strokeWidth:l?24*Number(n)/Number(r):n,className:i("lucide",s),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,a)=>{let l=(0,t.forwardRef)(({className:l,...s},o)=>(0,t.createElement)(n,{ref:o,iconNode:a,className:i(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...s}));return l.displayName=r(e),l}],514514)},612977,e=>{"use strict";var t=e.i(592121),r=e.i(147732);function i(e,i){let[a,n]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{n(e)},i);return t(e),()=>{t.cancel()}},[e,i]),a}e.s(["default",0,i,"useDebounce",0,i])},523084,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":a,...n,children:[i?(0,t.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:a,...e}));n.displayName="ChevronLeft",e.s(["ChevronLeft",0,n])},47524,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":a,...n,children:[i?(0,t.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:a,...e}));n.displayName="ChevronRight",e.s(["ChevronRight",0,n])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),i=e.i(889753);let a=(0,t.atom)(e=>e(i.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(a)===r.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(a)===r.UNIT_METRIC),s=(0,t.atom)(e=>e(a)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,s,"isImperialUnitsAtom",0,n,"isMetricUnitsAtom",0,l,"userUnitPreferenceAtom",0,a])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)},123590,e=>{"use strict";var t=e.i(947118),r=e.i(737801),i=e.i(630986),a=e.i(592121);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",n=(0,t.useIsInitialized)(),l=(0,r.useEventAttributes)(),s=(0,i.useCMSAttributes)();return(0,a.useCallback)(t=>{let r={createdDate:s?.createdDate||"",contentId:s?.contentId||"",publishDate:s?.publishDate||"",author:s?.author||"",collection:s?.collection||"",entitlements:s?.entitlements||"",provider:s?.provider||"",linkType:t.linkType,linkURL:t.linkURL,linkText:t.linkText||"",moduleId:t.moduleId||"",tagsKeyword:t.tagsKeyword??s?.tagsKeyword,...l,physicalCountry:l.physicalCountry||"",physicalState:l.physicalState||"",wlocCity:l.wlocCity||"",wlocCountry:l.wlocCountry||"",wlocState:l.wlocState||"",regime:l.regime||""};if(!n)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[s?.createdDate,s?.contentId,s?.publishDate,s?.author,s?.collection,s?.entitlements,s?.provider,l,n])}])},957174,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":a,...n,children:[i?(0,t.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Book"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:a,...e}));n.displayName="Book",e.s(["Book",0,n])},956667,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":r,"aria-describedby":a,...n,children:[i?(0,t.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Video Player"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:a,...e}));n.displayName="VideoPlayer",e.s(["VideoPlayer",0,n])},97506,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getContentQueryMedia=n;let i=e.r(426606),a=e.r(16689);async function n({queryId:e,channel:t,territory:r,language:l="en-US",startIndex:s=0,limit:o,relatedSeed:c}){let u=new URLSearchParams({channel:t,language:l});r&&u.set("territory",r),c&&(u.set("seedId",c.id),u.set("seedCollection",c.collection)),s>0&&u.set("startIndex",String(s)),void 0!==o&&u.set("limit",String(o));let d=`https://${(0,a.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${u.toString()}`,p=await (0,i.fetchJsonWithoutCredentials)(d);return Array.isArray(p)?p:[]}},645968,e=>{"use strict";var t=e.i(742436),r=e.i(283366);e.s(["default",0,function(e,i){let a=(0,t.useExperimentContext)();return((0,r.useExposure)(e),a)?a.variant(e,i):i}])}]);