(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,995181,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(546446),i=e.i(730921),s=e.i(581014),n=e.i(965586),r=e.i(632137),o=e.i(226602),u=e.i(611540);let m=(0,e.i(981030).atom)(!1),c="tou-notice-dismissed",h=new Date("2027-04-30");var d=e.i(498076),b=e.i(725296),g=e.i(1567),v=e.i(947118),p=e.i(782552);let k=[b.Regime.GDPR,b.Regime.LGPD,b.Regime.EXEMPT,b.Regime.LATAM_CO,b.Regime.LATAM_DO,b.Regime.LATAM_PE,b.Regime.USA,b.Regime.USA_CCPA,b.Regime.USA_CO,b.Regime.USA_CT,b.Regime.USA_VA,b.Regime.CA,b.Regime.TR_KVKK,b.Regime.KR,b.Regime.JP,b.Regime.CA_QC],f=new Date("2026-05-30"),y=({regime:e,className:b})=>{let y=(0,s.useTranslations)("TouNotice"),P=(0,i.useLocale)(),j=(0,u.interpolateUrl)(u.URLS.termsOfUse,{locale:P}),w=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:P}),[x,S]=(0,a.useAtom)(m),C=(0,l.useRef)(null),_=(0,l.useRef)(!1),A=(0,d.useIsMobile)(),I=(0,v.useIsInitialized)(),z=(0,g.useTrackModuleViewed)(),q=(0,p.useTrackModuleViewed)(),T=(0,l.useRef)(!1),[R,U]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=(0,n.getCookie)("partner")?.toString().toLowerCase();U(e?.includes("samsung")??!1)},[]);let E=k.includes(e),N=new Date{E&&N&&((0,n.getCookie)(c)||S(!0))},[E,N,S]),(0,l.useEffect)(()=>{x&&E&&N&&I&&!_.current&&(_.current=!0,z({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[x,E,N,I,z]),(0,l.useEffect)(()=>{x&&E&&N&&!T.current&&(T.current=!0,q({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[x,E,N,q]);let L=(0,l.useCallback)(()=>{(0,n.setCookie)(c,"true",{expires:h}),S(!1)},[S]);if((0,l.useEffect)(()=>{if(!x||A)return;let e=e=>{C.current&&!C.current.contains(e.target)&&L()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[x,A,L]),!x||!E||!N)return null;let M=y("heading"),D="text-[#252422] underline hover:text-[#252422]/80",$=y.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:D,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:w,target:"_blank",rel:"noopener noreferrer",className:D,children:e})}),V=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:M})}),(0,t.jsx)("button",{onClick:L,className:"ml-2 flex h-6 w-6 items-center justify-center rounded-full text-[#252422] hover:bg-[#252422]/10 focus-visible:ring-2 focus-visible:ring-[#252422]/40 focus-visible:outline-none","aria-label":"Dismiss notice",children:(0,t.jsx)(o.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:$})]});return A?(0,t.jsx)("div",{className:(0,r.cn)(R?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",b),"aria-label":"Privacy and Terms of Use Notice",children:V}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,r.cn)("relative",b),children:(0,t.jsx)("div",{ref:C,className:(0,r.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",R?"bg-white":"bg-[#CBDEF0]"),children:V})})};e.s(["PrivacyTOUNoticeClient",0,y,"default",0,y],995181)},247977,748315,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(581014),i=e.i(725287),s=e.i(611540),n=e.i(388706),r=e.i(304116),o=e.i(269153),u=e.i(457492),m=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:c,placeQuery:h,canonicalPath:d,canonicalID:b,locale:g,showHealthTabs:v}){let p=(0,a.useTranslations)("SidebarNavigation"),k=(0,i.usePathname)(),f=(0,o.useIsSamsungPartner)(),y=e?(0,m.decodeLocId)(e):e,{links:P,basePath:j}=(0,l.useMemo)(()=>{if(d&&!f){let e=y?`l/${y}`:void 0,t=v&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:p("today"),slug:"today"},{label:p("hourly"),slug:"hourbyhour"},{label:p("tenday"),slug:"tenday"},...e?[{label:p("monthly"),slug:"monthly",href:(0,s.interpolateUrl)(s.URLS.monthly,{locale:g,locId:y})}]:[],...t],basePath:d}}let e="en-US"===g?"/weather":`/${g}/weather`,t=y??"",l=h?`?${h}`:"",a=e=>`${(0,r.buildLocationPageHref)({pageType:e,locale:g,canonicalID:b,featureId:c,placeId:t,skipCanonical:f})}${l}`,i=v?[{label:"Allergies",slug:"allergy",href:a("allergy")},{label:"Air Quality",slug:"air-quality",href:a("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:a("cold-flu")}]:[];return{links:[{label:p("today"),slug:"today",href:a("today")},{label:p("hourly"),slug:"hourbyhour",href:a("hourbyhour")},{label:p("tenday"),slug:"tenday",href:a("tenday")},{label:p("monthly"),slug:"monthly",href:`${(0,s.interpolateUrl)(s.URLS.monthly,{locale:g,locId:c&&n.CANONICAL_PAGE_TYPES.includes("monthly")?c:t})}${l}`},...i],basePath:e}},[d,b,y,c,h,g,v,f,p]),w=(0,l.useMemo)(()=>{let e=k.replace(/\/day-\d+$/,"");if(e!==k){let e=P.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=P.findIndex(t=>{let{slug:l}=t,a=n.BASE_BY_PAGE[l];return!!a&&k.includes(`${a}byFeatureId/`)||k.includes(`/weather/${l}/`)||k.includes(`/forecast/${l}/`)||e.endsWith(`/${l}`)});return -1!==t?t:0},[k,P]);return(0,t.jsx)(u.SubnavigationUI,{links:P,basePath:j,activeIndex:w})}],247977);var c=e.i(959194),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,c.getPartner)()!==h.Partner.SAMSUNG}],748315)},345715,e=>{"use strict";var t=e.i(902875),l=e.i(581014),a=e.i(281687),i=e.i(457492),s=e.i(247977),n=e.i(748315);let r=["en-US"],o=(e,t)=>`/redir?id=autodetect&page=${e}&locale=${t}`;e.s(["HomeForecastSubnav",0,function({locale:e}){let u=(0,l.useTranslations)("SidebarNavigation"),m=(0,a.useChromeLocation)(),c=m?.placeId;if(!c){if(!r.includes(e))return null;let l=[{label:u("today"),slug:"today",href:o("today",e)},{label:u("hourly"),slug:"hourbyhour",href:o("hourly",e)},{label:u("tenday"),slug:"tenday",href:o("tenday",e)},{label:u("monthly"),slug:"monthly",href:o("monthly",e)},{label:"Allergies",slug:"allergy",href:o("allergy",e)},{label:"Air Quality",slug:"air-quality",href:o("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:o("cold-flu",e)}];return(0,t.jsx)(i.SubnavigationUI,{links:l,basePath:"",activeIndex:0})}return(0,t.jsx)(s.ForecastSubnav,{placeId:c,featureId:m?.featureId,canonicalID:m?.canonicalID,locale:e,showHealthTabs:(0,n.canShowHealthTabs)(e)})}])},1567,782552,e=>{"use strict";var t=e.i(947118),l=e.i(737801),a=e.i(546446),i=e.i(513539),s=e.i(247865);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",n=(0,t.useIsInitialized)(),r=(0,l.useEventAttributes)(),o=(0,a.useAtomValue)(i.layoutStateAtom);return(0,s.useCallback)(({moduleId:t,modulePosition:l})=>{if(!n)return void console.warn("MParticle is not initialized");let a={...r,moduleId:t,modulePosition:String(l),layoutState:o};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[r,n,o])}],1567);var n=e.i(725287),r=e.i(540768),o=e.i(682142),u=e.i(782937),m=e.i(695881),c=e.i(333350),h=e.i(64412),d=e.i(950771),b=e.i(537989),g=e.i(695203),v=e.i(158662),p=e.i(358273),k=e.i(122124),f=e.i(777638),y=e.i(727365),P=e.i(896363),j=e.i(924776),w=e.i(409628),x=e.i(605781);let S=(0,m.createLogger)("useTrackModuleViewed"),C=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),_=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),A=[];function I(e){(0,x.trackModuleViewed)(e),S.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}e.s(["useTrackModuleViewed",0,()=>{let e=(0,n.usePathname)(),t=(0,a.useAtomValue)(b.pageIdAtom),l=(0,a.useAtomValue)(d.pageLocaleAtom),m=(0,a.useAtomValue)(g.deviceClassAtom),x=(0,a.useAtomValue)(i.layoutStateAtom),S=(0,a.useAtomValue)(v.experimentJoinListAtom),{location:z}=(0,h.useLocation)(),q=(0,j.useIsHightouchReady)(),T=(0,s.useCallback)(({moduleId:a,modulePosition:i})=>{let s=(0,o.getCICookie)(),n=s?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),c=s?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),h=s?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",b=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,v=d?.includes("functional-technology")??!1,j=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,A=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,I=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),q=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),T=navigator?.cookieEnabled??!1,R=(0,r.getCookie)("partner")||"",U=(0,u.getPartnerByPattern)(R)??R,E=(0,p.getMetricsSession)(),N=E?.sessionId||"",L=new Date(E?.sessionStartTime||0).toISOString(),M=new Date,D=M.getHours(),$=w.WEEK_DAYS[M.getDay()]??"",V="article"===t||"video"===t?(0,k.stripLastPartOfSlug)(e??""):(0,k.getAnonymizedPath)(e??""),O=(0,y.normalizeWlocType)(z?.type),F=z?.featureSource??null;return{moduleId:a,modulePosition:String(i),layoutState:x??void 0,pageId:t??"",url:V,referrer:document.referrer,locale:l,deviceClass:m,partner:U,sessionId:N,sessionStartTime:L,siteMode:"normal",dayOfWeek:$,hourOfDay:D,regime:h??"",cookiesEnabled:T,gpcSignalOptOut:g,functionalTechnologies:v,geographicallyRelevantAds:j,interestBasedAds:A,priv:d,privProducts:b,saleOfDataAuthorization:I,sensitiveDataAuthorization:q,campaign:(0,f.getCampaign)(),experimentJoinList:S,weatherMode:"normal",physicalCountry:n??"",physicalState:c??"",wlocCity:z?.city??null,wlocCountry:z?.countryCode??null,wlocState:z?.adminDistrictCode??null,wlocDMA:z?.dmaCd??null,wlocId:z?.placeId??null,wlocFeatureId:z?.featureId??null,wlocFeatureSource:null!=F&&_.has(F)?F:void 0,wlocTags:z?.tags?.length?(0,P.parseArrayToString)(z.tags):null,wlocType:null!==O&&C.has(O)?O:void 0,appVersion:"292b8a53c066c9d4a278830c85aa0c17db4ab2e9".slice(0,10)}},[e,t,l,m,x,S,z]);return(0,s.useEffect)(()=>{if(!q||0===A.length)return;let e=A;A=[],e.forEach(I)},[q]),(0,s.useCallback)(e=>{if(!c.default)return;let t=T(e);q?I(t):A.push(t)},[q,T])}],782552)},887908,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3d-1kbutbj1gv.js"].map(t=>e.l(t))).then(()=>t(147168)))},991894,e=>{e.v(t=>Promise.all(["static/immutable/chunks/22euvwis66vmb.js"].map(t=>e.l(t))).then(()=>t(39086)))},840623,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n8msz19yvqd6.js"].map(t=>e.l(t))).then(()=>t(882330)))},660824,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0xxeeocmy2aye.js"].map(t=>e.l(t))).then(()=>t(530212)))},317297,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2616xyz29bjwr.js"].map(t=>e.l(t))).then(()=>t(680602)))},355962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37hnuu5dy6sit.js"].map(t=>e.l(t))).then(()=>t(503885)))},765014,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3um12qzwmc8k_.js"].map(t=>e.l(t))).then(()=>t(872251)))},876327,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tyxy3-hxmn50.js"].map(t=>e.l(t))).then(()=>t(947387)))},921282,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ma3aggvms9ma.js"].map(t=>e.l(t))).then(()=>t(493948)))},959395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0f3g-lp97vkng.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/immutable/chunks/329zyt8hnwe7y.js"].map(t=>e.l(t))).then(()=>t(314459)))},563854,e=>{e.v(t=>Promise.all(["static/immutable/chunks/16536_5evh7u0.js"].map(t=>e.l(t))).then(()=>t(643246)))},48629,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zgos4ygxa0bb.js"].map(t=>e.l(t))).then(()=>t(769885)))},762150,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0p2m8whl54tha.js"].map(t=>e.l(t))).then(()=>t(1892)))},541661,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0y1c5urz16cs_.js"].map(t=>e.l(t))).then(()=>t(478186)))},565343,e=>{e.v(t=>Promise.all(["static/immutable/chunks/06xr-i7ondto9.js"].map(t=>e.l(t))).then(()=>t(294782)))},393816,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0ff1-4vnz_78l.js"].map(t=>e.l(t))).then(()=>t(855621)))},75726,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0yr40fq9cik4v.js"].map(t=>e.l(t))).then(()=>t(748540)))},72951,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mw623e8v1oie.js"].map(t=>e.l(t))).then(()=>t(360647)))},276567,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2853l-wt_g4_t.js"].map(t=>e.l(t))).then(()=>t(501462)))},951283,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1hb99379n909x.js"].map(t=>e.l(t))).then(()=>t(273498)))},416614,e=>{e.v(t=>Promise.all(["static/immutable/chunks/084ypheui9pug.js"].map(t=>e.l(t))).then(()=>t(901728)))},592630,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0s_0vvr_qgag9.js"].map(t=>e.l(t))).then(()=>t(507085)))},423373,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p3orq86c5ifv.js"].map(t=>e.l(t))).then(()=>t(62159)))},815954,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qaf2w3zk3w27.js"].map(t=>e.l(t))).then(()=>t(61161)))},15398,e=>{e.v(t=>Promise.all(["static/immutable/chunks/02xiqt9zvf6gh.js"].map(t=>e.l(t))).then(()=>t(762526)))},776943,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1ytb6oy4ikrz6.js"].map(t=>e.l(t))).then(()=>t(97569)))},284458,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3nxkndkqavswg.js"].map(t=>e.l(t))).then(()=>t(877390)))},261156,e=>{e.v(t=>Promise.all(["static/immutable/chunks/38l6gmiu5_9ku.js"].map(t=>e.l(t))).then(()=>t(827382)))},389867,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3hk3rd5e71dc4.js"].map(t=>e.l(t))).then(()=>t(702479)))},900346,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0t4h2wlc7n595.js"].map(t=>e.l(t))).then(()=>t(389327)))},96219,e=>{e.v(t=>Promise.all(["static/immutable/chunks/381m8qf6cbhtp.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/immutable/chunks/31nq3o47_azko.js"].map(t=>e.l(t))).then(()=>t(894202)))},829350,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p8724zzw5ewi.js"].map(t=>e.l(t))).then(()=>t(447314)))},391939,e=>{e.v(t=>Promise.all(["static/immutable/chunks/396y1w1ozc-fu.js"].map(t=>e.l(t))).then(()=>t(72575)))},252521,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0lmym4f8kyevf.js"].map(t=>e.l(t))).then(()=>t(661446)))},408674,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bk2xo-o_s-vf.js"].map(t=>e.l(t))).then(()=>t(783769)))},846784,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-9yeudlt40j_.js"].map(t=>e.l(t))).then(()=>t(873667)))},713848,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0qp3xhy3q8zip.js"].map(t=>e.l(t))).then(()=>t(889507)))},407657,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-2wb7wpbqbgn.js"].map(t=>e.l(t))).then(()=>t(75960)))},415546,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0tsqv73kd2uwg.js"].map(t=>e.l(t))).then(()=>t(667728)))},781723,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17nasyndzgye8.js"].map(t=>e.l(t))).then(()=>t(654703)))},197999,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hwzkvu2g7pco.js"].map(t=>e.l(t))).then(()=>t(272493)))},103659,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17hryngooc2j1.js"].map(t=>e.l(t))).then(()=>t(296920)))},625303,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d-xb8qt0v27_.js"].map(t=>e.l(t))).then(()=>t(718437)))},148486,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3q96qady37ql-.js"].map(t=>e.l(t))).then(()=>t(946515)))},957284,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zx_ucotfu7pf.js"].map(t=>e.l(t))).then(()=>t(48914)))},92368,e=>{e.v(t=>Promise.all(["static/immutable/chunks/19pzyqeq9654w.js"].map(t=>e.l(t))).then(()=>t(789895)))},226507,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3jelzfg203nfe.js"].map(t=>e.l(t))).then(()=>t(538258)))},132409,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nmdno2r5jhr2.js"].map(t=>e.l(t))).then(()=>t(3017)))},626117,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mltvvqhcgund.js"].map(t=>e.l(t))).then(()=>t(825086)))},395624,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1q-jk2-pdev6-.js"].map(t=>e.l(t))).then(()=>t(600726)))},494738,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3_ndi79lx21jd.js"].map(t=>e.l(t))).then(()=>t(512028)))},774463,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3t1n31-ogxy75.js"].map(t=>e.l(t))).then(()=>t(155062)))},752465,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3iyt_l7ny1i-k.js"].map(t=>e.l(t))).then(()=>t(777844)))},67832,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1jtfbjn7tl5lf.js"].map(t=>e.l(t))).then(()=>t(414064)))},2638,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2jkxj9298b3gp.js"].map(t=>e.l(t))).then(()=>t(198051)))},916531,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0wdahy0c-g55j.js"].map(t=>e.l(t))).then(()=>t(369675)))},744883,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1yxzgbbc9k2zy.js"].map(t=>e.l(t))).then(()=>t(581947)))},880187,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17dedv282ubqs.js"].map(t=>e.l(t))).then(()=>t(747997)))},164295,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0srphq_p8tbzl.js"].map(t=>e.l(t))).then(()=>t(702162)))},521662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0mi2a4br_qp3u.js"].map(t=>e.l(t))).then(()=>t(782697)))},403395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0pvy0xx928tqy.js"].map(t=>e.l(t))).then(()=>t(573581)))},661123,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1n29uczdwr6s-.js"].map(t=>e.l(t))).then(()=>t(711818)))},48208,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n6233oisp1f-.js"].map(t=>e.l(t))).then(()=>t(625444)))},476493,e=>{e.v(t=>Promise.all(["static/immutable/chunks/234hfx_o8ubit.js"].map(t=>e.l(t))).then(()=>t(328877)))},650095,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-83gv2_8qjed.js"].map(t=>e.l(t))).then(()=>t(601862)))},945801,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3a02q729huh9w.js"].map(t=>e.l(t))).then(()=>t(566248)))},909969,e=>{e.v(t=>Promise.all(["static/immutable/chunks/41skq4kn8ohe8.js"].map(t=>e.l(t))).then(()=>t(218776)))},155043,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nxr0_6i1lqtd.js"].map(t=>e.l(t))).then(()=>t(869146)))},353962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2hut6c8sprk2i.js"].map(t=>e.l(t))).then(()=>t(367128)))},666922,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qb4sm1bny98e.js"].map(t=>e.l(t))).then(()=>t(856593)))},72998,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2sx3cwgqxp3i5.js"].map(t=>e.l(t))).then(()=>t(970479)))},722332,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3e4lkh1cm8zsc.js"].map(t=>e.l(t))).then(()=>t(476881)))},171913,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37viczxedu6th.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0b6c2xomqe187.js"].map(t=>e.l(t))).then(()=>t(22872)))},632092,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3cmxbqj3xp7vq.js"].map(t=>e.l(t))).then(()=>t(45677)))},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0vvbxf_wv0u_l.js"].map(t=>e.l(t))).then(()=>t(451309)))},235577,e=>{"use strict";var t=e.i(902875),l=e.i(523084),a=e.i(47524),i=e.i(632137),s=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:r,size:o="default",variant:u="light",className:m}){let c="sm"===o,h=(0,i.cn)("text-current",c?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(s.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===u?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===u?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===u?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",c?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",r&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",r&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",r&&"pointer-events-none opacity-0",m),children:"left"===e?(0,t.jsx)(l.ChevronLeft,{className:h}):(0,t.jsx)(a.ChevronRight,{className:h})})}])},457492,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(632137),i=e.i(546446),s=e.i(663333),n=e.i(235577),r=e.i(315730),o=e.i(240058);let u=(0,a.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),m=e=>{let{activeIndex:l,index:i,link:s}=e,n=l===i,r=(0,a.cn)(u,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:l}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>l(i,s),className:(0,a.cn)("cursor-pointer",r),"aria-current":n?"page":void 0,children:s.label})}let{basePath:m,mpa:c}=e,h=s.href??("/"===s.slug?m||"/":`${m}/${s.slug}`);return(0,t.jsx)(o.default,{href:h,mpa:c,className:r,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:s.label})},c=(0,l.memo)(e=>{let{links:l,activeIndex:o,className:u,constrained:c=!0}=e,h=(0,i.useAtomValue)(s.deviceClassAtom),{ref:d,showLeft:b,showRight:g,scrollLeft:v,scrollRight:p}=(0,r.useHorizontalScroll)({enabled:"mobile"!==h&&"tablet"!==h,scrollAmount:200,contentKey:l});return(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",c&&"md:mr-auto md:max-w-[min(958px,100%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":b}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!b,onClick:v,direction:"left"}),(0,t.jsx)("div",{ref:d,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:l.map((l,a)=>e.onSelect?(0,t.jsx)(m,{link:l,index:a,activeIndex:o,onSelect:e.onSelect},`${l.label}_${l.slug}`):(0,t.jsx)(m,{link:l,index:a,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${l.label}_${l.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":g}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!g,onClick:p,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,l)=>e.label===t.links[l]?.label&&e.slug===t.links[l]?.slug&&e.href===t.links[l]?.href));c.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,c],457492)},315730,e=>{"use strict";var t=e.i(147732),l=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:a=200,contentKey:i}={}){let s=(0,l.useRef)(null),n=(0,l.useRef)(null),r=(0,l.useRef)(!1),[o,u]=(0,l.useState)(!1),[m,c]=(0,l.useState)(!1),h=(0,l.useCallback)(()=>{let t=s.current;if(!t||!e){u(!1),c(!1);return}let{scrollLeft:l,scrollWidth:a,clientWidth:i}=t,n=Math.abs(l),o=n>2,m=n+i(0,t.debounce)(h,150),[h]),b=(0,l.useCallback)(()=>{null===n.current&&(n.current=requestAnimationFrame(()=>{h(),n.current=null}))},[h]);(0,l.useEffect)(()=>{let t=s.current;return t&&(r.current="rtl"===getComputedStyle(t).direction),h(),e&&(t?.addEventListener("scroll",b),window.addEventListener("resize",d)),()=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=null,t?.removeEventListener("scroll",b),d.cancel(),window.removeEventListener("resize",d)}},[e,h,b,d,i]);let g=(0,l.useCallback)(()=>s.current?.scrollBy({left:-a,behavior:"smooth"}),[a]),v=(0,l.useCallback)(()=>s.current?.scrollBy({left:a,behavior:"smooth"}),[a]);return{ref:s,showLeft:o,showRight:m,scrollLeft:g,scrollRight:v}}])}]);