(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(240058),l=e.i(64412),n=e.i(677997),o=e.i(995113),r=e.i(702957),s=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),p=e.i(876329),g=e.i(160937),m=e.i(64344),h=e.i(51398),f=e.i(240027),x=e.i(632137),v=e.i(546446);e.i(609717);var w=e.i(950771),y=e.i(537989);e.i(647872);var C=e.i(494889),b=e.i(611540),S=e.i(738426),A=e.i(468104),k=e.i(18358),j=e.i(381477),I=e.i(190344),P=e.i(427977),D=e.i(725287),N=e.i(559421),R=e.i(388706),L=e.i(498076),M=e.i(581014),U=e.i(304116),T=e.i(379276),_=e.i(269153),E=e.i(528600),$=e.i(837879),B=e.i(683199),O=e.i(677691),F=e.i(429745),H=e.i(269186),V=e.i(328166),z=e.i(226602),W=e.i(697380),G=e.i(512134),q=e.i(521350),Y=e.i(358273);let K="wx-next/get-app-button:dismissed-session",Q=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,L.useIsMobile)(),a=(0,D.usePathname)(),l=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:n,dismiss:o}=function(){let e=(0,G.useIsClient)(),[t,a]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,q.isLocalStorageAvailable)())return null;try{return localStorage.getItem(K)}catch{return null}}();if(!e)return!1;let t=(0,Y.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,i.useCallback)(()=>{let e=(0,Y.getMetricsSession)()?.sessionId;if(e&&(0,q.isLocalStorageAvailable)())try{localStorage.setItem(K,e)}catch{}a(!0)},[])}}(),{href:r}=(0,O.useAppInstallLink)("floating-button","floating-button"),s=(0,S.useTrackInstallPromptClick)("floating-button"),c=(0,A.useTrackModuleClick)();if(!e||n||Q.some(e=>a.includes(e)))return null;let d=`calc(3.5rem + ${l}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:d},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href:r,onClick:()=>s("get-the-app"),className:"relative z-2 flex h-full items-center gap-2 pr-2 pl-4 font-semibold text-white no-underline focus:outline-none",children:(0,t.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:()=>{c("floating-get-the-app-button","dismiss"),o()},className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(z.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,z=(0,L.useIsMobile)(),W=(0,D.usePathname)(),G=(0,N.useCanonicalBasePath)(),[q,Y]=(0,i.useState)(!1),{href:K}=(0,O.useAppInstallLink)("my-plans","my-plans"),Q=(0,S.useTrackInstallPromptClick)("my-plans"),X=(e=(0,k.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,A.useTrackModuleClick)(),ee=(0,_.useIsSamsungPartner)(),et=(0,v.useAtomValue)(y.pageIdAtom),ei=(0,M.useTranslations)("SidebarNavigation"),{user:ea}=(0,E.useUser)(),{isUserPremium:el}=ea,en=(0,$.useSubscriptionsEnabled)(),eo=(0,B.usePremiumSource)(),{location:er,isLoading:es}=(0,l.useLocation)(),ec=(0,v.useAtomValue)(w.pageLocaleAtom),ed=(0,v.useAtomValue)(C.newsHubEnabledAtom),eu=(0,I.useVideoNavUrl)(),{data:ep}=(0,j.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eg=(0,i.useMemo)(()=>{if(es||!er)return[];let e=er.placeId||"",i=er.featureId,a=er.canonicalID,l=(0,U.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:G,skipCanonical:ee}),x=(0,U.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:G,skipCanonical:ee}),v=G?(0,R.navTypeForSuffix)(W.split("/").pop()):null,w="en-US"===ec?"/":`/${ec}`,y=W===w||"/"!==w&&W===`${w}/`||(G?"forecast"===v:W.includes("/weather/today/")||W.includes("/weather/hourbyhour/")||W.includes("/weather/tenday/")||W.includes("/weather/monthly/")||W.includes("/forecast/allergy/")||W.includes("/forecast/air-quality/")||W.includes("/forecast/cold-flu/")),C=G?"radar"===v:W.includes("/weather/radar/")||W.includes("/weather/maps/"),S=W.includes("/subscribe"),A="video"===et,k=W===b.URLS.news||W.startsWith(`${b.URLS.news}/`)||T.NEWS_PAGE_IDS.includes(et??""),j="en-US"===ec&&ed,I=ep?.videoLinkLocaleInclude?.["en-US"],P=I?.override?`?${I?.adRef}`:"",D=eu?`${eu}${P}`:"",N="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:N}),activeIcon:(0,t.jsx)(s.PartlyCloudyBoldFilled,{className:N}),isActive:y},...j?[{name:"News",href:b.URLS.news,icon:(0,t.jsx)(h.News,{className:N}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:N}),isActive:k}]:eu?[{name:ei("video"),href:D,icon:(0,t.jsx)(c.VideoPlayerBold,{className:N}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:N}),isActive:A}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Y(!0)},icon:(0,t.jsx)(g.CalendarBold,{className:N}),activeIcon:(0,t.jsx)(m.CalendarBoldFilled,{className:N}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:N}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:N}),isActive:C},...en&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(n.Lightning,{className:N}),activeIcon:(0,t.jsx)(o.LightningFilled,{className:N}),isActive:S,onClick:()=>eo({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[es,er,ec,W,et,ed,eu,ep,G,eo,ee,X]);if(!z)return null;let em="en-US"===ec&&!ee;return 0===eg.length?em?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[em&&(0,t.jsx)(J,{}),(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:eg.map(e=>{let i=(0,x.cn)("flex flex-1 flex-col items-center justify-center gap-0.5 rounded-3xl text-xs text-gray-900 transition-colors","hover:bg-gray-100 active:bg-gray-200",{"bg-gray-100 text-blue-500":e.isActive}),l=(0,x.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.default,{href:e.href,className:i,"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:i,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name)})})})}),(0,t.jsx)(F.InstallPromptSheet,{open:q,onOpenChange:Y,title:"My Plans",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(H.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(H.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(H.Card,{src:V.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:K,onGetAppClick:()=>Z("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>Z("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>Q("learn-more")})]})}],432124)},316810,e=>{"use strict";var t=e.i(902875),i=e.i(632137);e.s(["default",0,({className:e})=>(0,t.jsx)("span",{className:(0,i.cn)("text-xxs bg-brand-200 ml-2 inline-flex h-[19px] items-center justify-center rounded-md border-2 border-white px-[3px] py-1 font-bold text-white",e),children:"New"})])},414338,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(730921),l=e.i(581014),n=e.i(877957),o=e.i(62544),r=e.i(901351),s=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(546446),p=e.i(540768),g=e.i(682142),m=e.i(782937),h=e.i(695881),f=e.i(333350),x=e.i(64412),v=e.i(950771),w=e.i(537989),y=e.i(695203),C=e.i(158662),b=e.i(358273),S=e.i(777638),A=e.i(924776),k=e.i(409628),j=e.i(605781);let I=(0,h.createLogger)("useTrackConsentChange"),P={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var D=e.i(611540),N=e.i(553329);let R=async e=>{let t;await (0,N.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},L=({isUserLoggedIn:e,regime:h,deviceClass:N,experience:L,isPremiumUser:M})=>{let U=(0,l.useTranslations)("PrivacyConsentModal"),T=(0,a.useLocale)(),_=(0,D.interpolateUrl)(D.URLS.privacyPolicy,{locale:T}),[E,$]=(0,i.useState)(!1),[B,O]=(0,i.useState)(!1),[F,H]=(0,i.useState)(!1),V=(()=>{let e=(0,u.useAtomValue)(w.pageIdAtom),t=(0,u.useAtomValue)(v.pageLocaleAtom),a=(0,u.useAtomValue)(y.deviceClassAtom),l=(0,u.useAtomValue)(C.experimentJoinListAtom),{location:n}=(0,x.useLocation)(),o=(0,A.useIsHightouchReady)(),r=(0,i.useCallback)(()=>{let e=(0,g.getCICookie)(),i=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),o=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),r=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),s=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=s?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,f=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,x=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),v=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),w=navigator?.cookieEnabled??!1,y=(0,p.getCookie)("partner")||"",C=(0,m.getPartnerByPattern)(y)??y,A=(0,b.getMetricsSession)(),j=A?.sessionId||"",I=new Date(A?.sessionStartTime||0).toISOString(),P=new Date,D=P.getHours(),N=k.WEEK_DAYS[P.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:a,partner:C,sessionId:j,sessionStartTime:I,siteMode:"normal",dayOfWeek:N,hourOfDay:D,regime:r??"",cookiesEnabled:w,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:h,interestBasedAds:f,priv:s,privProducts:c,saleOfData:x,saleOfDataAuthorization:x,sensitiveDataAuthorization:v,campaign:(0,S.getCampaign)(),experimentJoinList:l,weatherMode:"normal",physicalCountry:i??"",physicalState:o??"",caUser:"US"===i&&"CA"===o,wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[t,a,l,n]),s=(0,i.useCallback)((t,i)=>{if("sensitive-data"===t&&i)return(0,j.trackSensitiveDataOptin)(r());let a={...r(),pageId:e??"",wlocDMA:n?.dmaCd??null};return"sensitive-data"===t?(0,j.trackSensitiveDataOptout)(a):i?(0,j.trackSodOptin)(a):(0,j.trackSodOptout)(a)},[r,e,n]);return(0,i.useCallback)((e,t)=>{let i=`${P[e]}-${t?"optin":"optout"}`;if(f.default)return o?(I.info(`Hightouch: Event "${i}" tracked`),s(e,t)):void I.warn(`Hightouch: Event "${i}" skipped - SDK not ready`)},[o,s])})();(0,i.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||M||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(O(!0),$(!0)):e&&i&&h===c.Regime.USA_CCPA&&(H(!0),$(!0))},[h,M,e]);let z=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await r.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},W=t=>{let i=window,a=window.top,l=i.DprSdk||a?.DprSdk;if(!l)return void console.error("Unable to fix conflict, missing DprSdk.");l.setUserConsents({[s.Purpose.SALE_OF_DATA]:t});let n=R(()=>V(s.Purpose.SALE_OF_DATA,t));e&&z({purpose:s.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:n}),B?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||n.then(()=>window.location.reload())):F&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),$(!1)},G="",q="";if(B?(G="gpcConflictHeader",q="gpcConflictParagraph",h===c.Regime.USA_CCPA&&(q+="_usa-ccpa")):F&&(G="saleOfDataConflictHeader",q="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&(q+="_usa-ccpa")),q)return(0,t.jsx)(o.Dialog,{open:E,onOpenChange:$,children:(0,t.jsxs)(o.DialogContent,{className:`text-center ${"desktop"!==N?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===L?"wu-theme":""} `,onEscapeKeyDown:e=>{(F||B)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[G&&(0,t.jsx)(o.DialogHeader,{children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-semibold",children:U(G)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:U.rich(q,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:_,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(o.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(n.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:U("optInButtonText")}),(0,t.jsx)(n.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:U("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,L,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,L],414338)},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),a=e.i(546446),l=e.i(540768),n=e.i(682142),o=e.i(782937),r=e.i(695881),s=e.i(333350),c=e.i(64412),d=e.i(950771),u=e.i(537989),p=e.i(695203),g=e.i(158662),m=e.i(358273),h=e.i(122124),f=e.i(777638),x=e.i(727365),v=e.i(896363),w=e.i(924776),y=e.i(409628),C=e.i(605781);let b=(0,r.createLogger)("useTrackInteraction"),S=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),A=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,a.useAtomValue)(u.pageIdAtom),r=(0,a.useAtomValue)(d.pageLocaleAtom),k=(0,a.useAtomValue)(p.deviceClassAtom),j=(0,a.useAtomValue)(g.experimentJoinListAtom),I=(0,i.usePathname)(),{location:P}=(0,c.useLocation)(),D=(0,w.useIsHightouchReady)(),N=(0,t.useCallback)(t=>{let i=(0,n.getCICookie)(),a=i?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,g=d?.includes("functional-technology")??!1,w=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,C=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,b=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),D=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),N=navigator?.cookieEnabled??!1,R=(0,l.getCookie)("partner")||"",L=(0,o.getPartnerByPattern)(R)??R,M=(0,m.getMetricsSession)(),U=M?.sessionId||"",T=new Date(M?.sessionStartTime||0).toISOString(),_=new Date,E=_.getHours(),$=y.WEEK_DAYS[_.getDay()]??"",B=e&&["article","video"].includes(e)?I?.split("/").slice(0,-1).join("/")??"":(0,h.getAnonymizedPath)(I??""),O=(0,x.normalizeWlocType)(P?.type),F=P?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:B,referrer:document.referrer,locale:r,deviceClass:k,partner:L,sessionId:U,sessionStartTime:T,siteMode:"normal",dayOfWeek:$,hourOfDay:E,regime:c??"",cookiesEnabled:N,gpcSignalOptOut:p,functionalTechnologies:g,geographicallyRelevantAds:w,interestBasedAds:C,priv:d,privProducts:u,saleOfDataAuthorization:b,sensitiveDataAuthorization:D,campaign:(0,f.getCampaign)(),experimentJoinList:j,weatherMode:"normal",physicalCountry:a??"",physicalState:s??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,wlocId:P?.placeId??null,wlocFeatureId:P?.featureId??null,wlocFeatureSource:null!=F&&A.has(F)?F:void 0,wlocTags:P?.tags?.length?(0,v.parseArrayToString)(P.tags):null,wlocType:null!==O&&S.has(O)?O:void 0,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[e,r,k,j,I,P]);return(0,t.useCallback)(e=>{if(s.default){if(!D)return void b.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,C.trackInteraction)(N(e)),b.info('Hightouch: Event "interaction" tracked')}catch(e){b.error('Hightouch: Event "interaction" failed',{error:e})}}},[D,N])}])},683199,e=>{"use strict";var t=e.i(247865),i=e.i(546446),a=e.i(128541),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,i.useSetAtom)(a.purchaseSourceAttributionAtom),n=(0,i.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:a})=>{e({sourcePage:n||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:a??null})},[e,n])}])},468104,269186,328166,e=>{"use strict";var t=e.i(247865),i=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,i.useSendInteractionEvent)();return(0,t.useCallback)((t,i)=>{e({moduleId:t,interactionType:"click",interactionElement:i},{flushImmediately:!0})},[e])}],468104);var a=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:i,left:l,width:n}){return(0,a.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:i,left:l,width:n}})},"CompositeFrame",0,function({left:e,top:t,width:i,height:l,children:n}){return(0,a.jsx)("div",{className:"absolute",style:{left:e,top:t,width:i,height:l},children:n})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:l,cx:n,cy:o,rx:r,ry:s}){let c=(0,t.useId)();return(0,a.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${i}`,preserveAspectRatio:"none",children:[(0,a.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,a.jsx)("ellipse",{cx:n,cy:o,rx:r,ry:s,fill:l})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:i,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],269186);let l={src:e.i(834005).default,width:516,height:380,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAoklEQVR42h3Lyw6CMBRF0f7/ZzFxZEKiMYKiJjz6oAVuW4Fc0WPDYM/WFodTl12LG5flnavHk4eRePKRpe75WNhMnCubN02Dtm33jDEg7+GGAZfXmAtlXKjrGl3XQimFdV2xzDMiTQm+gxgnYqcV4mAxx4CQbu8MFl1jpYkFJTBqCW86UEJSSoQEtkj4MLMIYaa+t9xbx9rYPR8ib1/wwj/6A1qGsw/Ra/bcAAAAAElFTkSuQmCC"};e.s(["default",0,l],328166)},598513,e=>{"use strict";var t=e.i(947118),i=e.i(737801),a=e.i(329017),l=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",n=(0,t.useIsInitialized)(),o=(0,i.useEventAttributes)(),r=(0,a.useTrackInteraction)();return(0,l.useCallback)((t,i={})=>{r(t);let a={...o,...t};if(!n)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o,n,r])}])},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=n;let a=e.r(426606),l=e.r(16689);async function n({queryId:e,channel:t,territory:i,language:o="en-US",startIndex:r=0,limit:s,relatedSeed:c}){let d=new URLSearchParams({channel:t,language:o});i&&d.set("territory",i),c&&(d.set("seedId",c.id),d.set("seedCollection",c.collection)),r>0&&d.set("startIndex",String(r)),void 0!==s&&d.set("limit",String(s));let u=`https://${(0,l.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${d.toString()}`,p=await (0,a.fetchJsonWithoutCredentials)(u);return Array.isArray(p)?p:[]}},718043,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},i.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},i.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},i.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:i}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${i}/${e}`}},i.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:i=0,limit:n=10,sort:o="-publishdate"}){let r={q:Object.keys(t).reduce((e,i)=>{let a=t[i];return a instanceof Array?[...e,...a.map(e=>l(i,e))]:[...e,l(i,a)]},[]).join(";"),pg:`${i},${n}`,format:"json",sort:o},s=(0,a.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},i.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:i=0,limit:l=10,sort:n="-publishdate"}){let o={q:t,pg:`${i},${l}`,format:"json",sort:n},r=(0,a.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},i.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:i=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${i}`}},i.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=e.r(678651);function l(e,t){let i=`'${t.$in}'`;return t.$in instanceof Array&&(i=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${i})`}},427977,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getQuickNav=void 0;let a=e.r(414655),l=e.r(678651),n=e.r(718043);i.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,n.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},645968,e=>{"use strict";var t=e.i(742436),i=e.i(283366);e.s(["default",0,function(e,a){let l=(0,t.useExperimentContext)();return((0,i.useExposure)(e),l)?l.variant(e,a):a}])},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video Player"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="VideoPlayer",e.s(["VideoPlayer",0,n])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Book"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="Book",e.s(["Book",0,n])},129932,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="SkincareBold",e.s(["SkincareBold",0,n])},800177,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,n])},677997,738426,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="Lightning",e.s(["Lightning",0,n],677997);var o=e.i(598513);let r={"my-plans":"my-plans-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install"},s={"my-plans":{"get-the-app":"Get the app","learn-more":"Learn more"},"24-hour-radar":{"get-the-app":"Get the app","learn-more":"Learn more"},"floating-button":{"get-the-app":"Get the App"}};e.s(["useTrackInstallPromptClick",0,function(e){let t=(0,o.useSendInteractionEvent)();return(0,i.useCallback)(i=>{t({moduleId:r[e],interactionType:"click",interactionElement:s[e][i]},{flushImmediately:!0})},[t,e])}],738426)},995113,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...n,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="LightningFilled",e.s(["LightningFilled",0,n])},429745,e=>{"use strict";var t=e.i(902875),i=e.i(62544),a=e.i(226602),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:n,title:o,headline:r,description:s,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:g="Get the app",onGetAppClick:m,learnMoreHref:h,learnMoreLabel:f="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:w,dismissLabel:y,onDismissClick:C})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:n,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,l.cn)("flex flex-col gap-6 overflow-y-auto border-0 border-b border-black/10 bg-white px-8 py-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(i.DialogClose,{"aria-label":v,onClick:w,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(a.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),o?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:o}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:r}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:d,className:"size-full rounded-lg object-cover"})}):null),(0,t.jsxs)("div",{className:"flex flex-col gap-2 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:r}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:s})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:p,onClick:m,className:"flex h-12 w-40 items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:g}),h&&(0,t.jsx)("a",{href:h,onClick:x,className:"flex h-12 w-full max-w-60 items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:f}),!h&&y&&(0,t.jsx)(i.DialogClose,{onClick:C,className:"flex h-12 w-full max-w-60 cursor-pointer items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:y})]})]})})])},731672,e=>{"use strict";var t=e.i(546446),i=e.i(965586),a=e.i(671525),l=e.i(889753),n=e.i(45846),o=e.i(284007),r=e.i(756227),s=e.i(358273),c=e.i(247865),d=e.i(540768),u=e.i(682142),p=e.i(782937),g=e.i(695881),m=e.i(333350),h=e.i(64412),f=e.i(950771),x=e.i(537989),v=e.i(695203),w=e.i(158662),y=e.i(777638),C=e.i(924776),b=e.i(409628),S=e.i(605781);let A=(0,g.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(l.userPreferencesAtom),g=(0,r.useResetAuthState)(),{refresh:k}=(0,a.usePageNavigation)(),j=((e={})=>{let i=(0,t.useAtomValue)(x.pageIdAtom),a=(0,t.useAtomValue)(f.pageLocaleAtom),l=(0,t.useAtomValue)(v.deviceClassAtom),n=(0,t.useAtomValue)(w.experimentJoinListAtom),{location:o}=(0,h.useLocation)(),r=(0,C.useIsHightouchReady)(),{url:g,logoutMethod:k}=e;return(0,c.useCallback)(()=>{if(!m.default||!r)return;let e=(0,u.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),c=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),h=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),f=window.DprSdk?.getGdprConsentOptInsString()??"",x=window.DprSdk?.getCcpaSaleOptInString()??"",v=window.navigator?.globalPrivacyControl??!1,w=f?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,j=navigator?.cookieEnabled??!1,I=(0,d.getCookie)("partner")||"",P=(0,p.getPartnerByPattern)(I)??I,D=(0,s.getMetricsSession)(),N=D?.sessionId||"",R=D?.sessionStartTime||0,L=new Date,M=L.getHours(),U=b.WEEK_DAYS[L.getDay()]??"",T=-L.getTimezoneOffset()/60,_=document.referrer,E={url:g??window.location.pathname,logoutMethod:k??"manual",referrer:_,privProducts:x,deviceTimeZone:T,pageId:i??"",locale:a,deviceClass:l,sessionId:N,sessionStartTime:R,partner:P,wlocCity:o?.city??null,wlocCountry:o?.countryCode??null,wlocState:o?.adminDistrictCode??null,wlocDMA:o?.dmaCd??null,dayOfWeek:U,regime:h??"",cookiesEnabled:j,gpcSignalOptOut:v,functionalTechnologies:w,geographicallyRelevantAds:C,priv:f,hourOfDay:M,physicalCountry:t??"",physicalState:c??"",campaign:(0,y.getCampaign)()??void 0,tpcc:(0,y.getTpcc)(),linkReferral:(0,y.getLinkReferral)(),experimentJoinList:n,weatherMode:"normal",samsungVersion:(0,y.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)};try{(0,S.trackUserLoggedout)(E),A.info('Hightouch: Event "user-loggedout" tracked')}catch(e){A.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[g,k,i,a,l,n,o,r])})();return async()=>{try{return(0,s.regenerateMetricsSession)(),await n.upsxClient.auth.logout(),j(),g(),e(o.RESET),(0,i.deleteCookie)("twc-user",{domain:".weather.com"}),k({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",l="weather.com",n=`https://apps.apple.com/us/app/the-weather-channel/${i}`,o=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,n,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,o],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:n,currentUrl:o,allowAppsFlyer:r,deepLinkValue:s}){if(!r||!n||null===e)return"";let c="android"===e?t:i,d=encodeURIComponent(n.replace(/ /g,"_")),u=`${a}/${c}?pid=WWW&af_adset=${d}&c=${l}`;return s&&(u+=`&deep_link_value=${encodeURIComponent(s)}`),"ios"===e&&o&&(u+=`&af_ios_fallback=${encodeURIComponent(o)}`),u}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),a=e.i(16730),l=e.i(881282);e.s(["useAppInstallLink",0,function(e,n){let[o,r]=(0,t.useState)(null),[s,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{r((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let p=(0,a.getAppsFlyerLink)({platform:o,trackAdset:e,currentUrl:s,allowAppsFlyer:d,deepLinkValue:n}),g="android"===o?i.PLAY_STORE_URL:i.APP_STORE_URL;return{href:p||g,platform:o}}])}]);